Prerequisites
- A Luma AI account
- Access to Luma AI API
Getting Your API Key
- Visit the Luma AI website
- Sign in to your account or create a new one
- Navigate to your account settings or API section
- Click “Generate API Key” or “Create new API key”
- Give your API key a descriptive name
- Copy the generated API key (you’ll only see it once)
API Features
Luma AI provides various AI-powered services:Video Generation
- Text-to-video - Generate videos from text descriptions
- Image-to-video - Create videos from images
- Video editing - Modify existing videos
- Video enhancement - Improve video quality
Image Generation
- Text-to-image - Generate images from text descriptions
- Image editing - Modify existing images
- Image enhancement - Improve image quality
- Style transfer - Apply artistic styles to images
3D Generation
- Text-to-3D - Generate 3D models from text
- Image-to-3D - Create 3D models from images
- 3D editing - Modify 3D models
Setting Up in Jinba Flow
- Go to your workspace settings in Jinba Flow
- Navigate to the “Secret” section
- Find “Luma” in the list of available credentials
- Click “Configure” or “Add New”
- Enter your Luma AI API key in the designated field
- Click “Save” to store your credentials
Usage
Once configured, you can use Luma AI in your flows to:- Generate videos from text descriptions
- Create images from text prompts
- Generate 3D models and assets
- Edit and enhance existing media
- Apply AI-powered effects and styles
- Convert between different media formats
API Endpoints
Video Generation
- Create video - Generate videos from text or images
- Edit video - Modify existing videos
- Enhance video - Improve video quality
- Get video status - Check generation progress
Image Generation
- Create image - Generate images from text
- Edit image - Modify existing images
- Enhance image - Improve image quality
- Style transfer - Apply artistic styles
3D Generation
- Create 3D model - Generate 3D models from text or images
- Edit 3D model - Modify existing 3D models
- Export 3D model - Export in various formats
Generation Parameters
Video Generation
- Prompt - Text description of the desired video
- Duration - Length of the generated video
- Resolution - Video resolution (e.g., 1920x1080)
- Style - Visual style and aesthetic
- Seed - Random seed for reproducible results
Image Generation
- Prompt - Text description of the desired image
- Resolution - Image resolution
- Style - Artistic style to apply
- Aspect ratio - Image aspect ratio
- Quality - Generation quality level
3D Generation
- Prompt - Text description of the desired 3D model
- Complexity - Model complexity level
- Format - Output format (OBJ, GLB, etc.)
- Texture quality - Texture resolution