Skip to main content
Model ID
luma-uni-1.1
Calling method: sync

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/json

2. Model Specifications

  • Pricing: 0.0404/image(T2I)0.0404/image (T2I) | 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

Provide prompt and optional aspect_ratio. The model generates a new image from your description.

Image Editing

Provide prompt and an image (URL). Describe changes in plain language — swap backgrounds, shift lighting, apply styles — without prompt scaffolding.

4. Parameter Reference

ParameterTypeRequiredDescription
promptstringYesDescribe the image or the edit you want (plain language).
aspect_ratioenumNoOutput aspect ratio. Default: 1:1.
imageimageNoSource image URL for editing mode.

5. Example CURL Request

curl -X POST "https://console.gmicloud.ai/api/v1/ie/requestqueue/apikey/requests" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "luma-uni-1.1",
    "payload": {
      "prompt": "A glass of iced coffee on a marble countertop, morning light streaming through a window",
      "aspect_ratio": "16:9"
    }
  }'

6. Checking Request Status

Endpoint: GET /api/v1/ie/requestqueue/apikey/requests/{request_id}
  • 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.