Luma Uni-1
Model Overview
API Schema
post
Body
modelstring · enumRequiredPossible values:
promptstring · min: 1 · max: 6000Required
Text description of the image to generate.
typestring · enumOptionalDefault:
Generation kind: "image" (text-to-image / reference) or "image_edit".
imagePossible values: aspect_ratiostring · enumOptionalPossible values:
Output aspect ratio. Omit to let the model choose automatically.
stylestring · enumOptionalDefault:
Rendering style. Defaults to "auto".
autoPossible values: output_formatstring · enumOptionalPossible values:
Output image format (png or jpeg).
web_searchbooleanOptionalDefault:
Ground the generation with web search.
falseimage_urlstring · uriOptional
A reference image URL for image generation, or source image URL for image editing.
image_urlsstring · uri[] · max: 9Optional
Up to 9 reference image URLs (or uploaded files).
Responses
200
Successful response.
application/json
post/v1/images/generations
200
Successful response.
Code Example
Last updated
Was this helpful?