> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jinba.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Luma Credentials

Configure your Luma AI API credentials to generate videos, images, and use other Luma AI services from your Jinba Flow workflows.

## Prerequisites

* A Luma AI account
* Access to Luma AI API

## Getting Your API Key

1. Visit the [Luma AI website](https://lumalabs.ai/)
2. Sign in to your account or create a new one
3. Navigate to your account settings or API section
4. Click "Generate API Key" or "Create new API key"
5. Give your API key a descriptive name
6. 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

1. Go to your workspace settings in Jinba Flow
2. Navigate to the "Secret" section
3. Find "Luma" in the list of available credentials
4. Click "Configure" or "Add New"
5. Enter your Luma AI API key in the designated field
6. 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
