
Luma Uni 1 Text-to-Image API by LUMA
Luma Uni 1 text-to-image (Luma AI generations API): generate a high-fidelity image from a text prompt. Supports multiple aspect ratios and png/jpeg output.
Luma Uni 1 Text-to-Image is developed by a third-party provider. Atlas Cloud (operated by Atlas Cloud AI LLC) provides access to it and does not own it. All trademarks belong to their respective owners.
Luma Uni 1 Text-to-Image
Luma Uni 1 text-to-image (Luma AI generations API) generates a high-fidelity image from a text prompt. Generation is asynchronous: submit the request, then poll for the final image URL.
Highlights
- Text-to-image: Describe the subject, style, and composition.
- Common aspect ratios: 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9.
- Output format:
jpegorpng.
Parameters
| Parameter | Required | Description |
|---|---|---|
model | Yes | luma/uni-1/text-to-image |
prompt | Yes | Text description of the image to generate. |
aspect_ratio | No | Frame aspect ratio (width:height). Defaults to 16:9. |
output_format | No | Output image format: jpeg or png. Defaults to jpeg. |
How To Use
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Authorization: Bearer $AIP_API_KEY" \ -H "Content-Type: application/json" \ --data-raw '{ "model": "luma/uni-1/text-to-image", "prompt": "A glass of iced coffee on a marble countertop, morning light streaming through a window.", "aspect_ratio": "16:9", "output_format": "jpeg" }'
Notes
- Generation is asynchronous. Poll
/api/v1/model/prediction/{request_id}for the final image URL. - The output image is transferred to AtlasCloud storage before it is returned.



















