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
Jinba Flow uses Luma AI through two tools:LUMA_TEXT_TO_VIDEO generates a video from a text prompt (inputs prompt, model, aspect_ratio, resolution, loop, duration), and LUMA_TEXT_TO_IMAGE generates an image (inputs prompt, model, aspect_ratio).
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
Select the saved secret (typeLUMA_API_KEY) in the Luma Labs API Key field (api_key config) of LUMA_TEXT_TO_VIDEO or LUMA_TEXT_TO_IMAGE. See the video generation tools page for the tool inputs and output.