Luma Uni-1.1 API Documentation
Luma Uni-1.1 is a decoder-only autoregressive transformer where text and image tokens share a single sequence — reasoning and image generation run in the same model. Ranked top-3 on Image Arena across Text-to-Image and Image Edit. Generation time ~30s per image.1. API Endpoint & Authentication
Base URL: https://console.gmicloud.ai Endpoint: POST /api/v1/ie/requestqueue/apikey/requests Header: Authorization: Bearer YOUR_API_KEY Content-Type: application/json2. Model Specifications
- Pricing: 0.0434/image (edit)
- Output: 2048px (2K) resolution, PNG or JPEG
- Generation time: ~30 seconds
- Features: Text-to-Image, Natural-language Image Editing
3. Generation Modes
Text-to-Image
Provideprompt and optional aspect_ratio. The model generates a new image from your description.
Image Editing
Provideprompt and an image (URL). Describe changes in plain language — swap backgrounds, shift lighting, apply styles — without prompt scaffolding.
4. Parameter Reference
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | Yes | Describe the image or the edit you want (plain language). |
| aspect_ratio | enum | No | Output aspect ratio. Default: 1:1. |
| image | image | No | Source image URL for editing mode. |
5. Example CURL Request
6. Checking Request Status
- queued: Request is waiting to be processed.
- processing: Image generation is in progress (~30s).
- success: Generation completed. URL available in outcome.media_urls.
- failed: Image generation failed.