# Luma AI integration

> Luma Agents API: generate, edit, reframe and layer images (uni-1, uni-1-max) and videos (Ray 3.2), with a Files API for reusable inputs.

- Authentication: apiKey

## Tools (12)

- **Complete File Upload**: Finalize a presigned upload after PUTting the bytes, which starts ingest and moderation.
- **Delete File**: Soft-delete an uploaded file so it can no longer be referenced by new generations.
- **Edit Image**: Edit an existing image with a text instruction, keeping what the prompt does not mention.
- **Edit Video**: Restyle or transform an existing video with Ray 3.2 video-to-video, with strength, controls and keyframes.
- **Extract Image Layers**: Split an image into up to 10 ordered transparent PNG layers (layering).
- **Generate Image**: Create an image from a text prompt (optionally guided by reference images) with uni-1 or uni-1-max.
- **Generate Video**: Create a video with Ray 3.2 from text, anchor images, keyframes, or by extending a prior video.
- **Get File**: Get metadata and ingest state for one uploaded file.
- **Get Generation**: Poll a generation's state and get presigned output URLs once it completes.
- **List Files**: List uploaded files, newest first, with optional purpose and state filters.
- **Reframe Video**: Outpaint an existing video to a new aspect ratio with Ray 3.2.
- **Upload File**: Upload an image or video once to reference by file_id; inline multipart or a presigned PUT for large files.

Connect Luma AI in General Input: https://www.generalinput.com/apps/luma-ai