Home
Explore
Luma Uni 1
luma/uni-1/text-to-image
Luma Uni 1 Text-to-Image
text-to-image

Luma Uni 1 Text-to-Image API by LUMA

luma/uni-1/text-to-image
Text-to-image

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.

Compare models

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: jpeg or png.

Parameters

ParameterRequiredDescription
modelYesluma/uni-1/text-to-image
promptYesText description of the image to generate.
aspect_ratioNoFrame aspect ratio (width:height). Defaults to 16:9.
output_formatNoOutput 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.

Explore Similar Models

One API for All Media AI.

Explore all models