v10

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-07-0973261.3 KB
Generations

Get a generation

Poll for generation status and output. On completion, the response includes presigned URLs to download the generated images.

get/generations/{generation_id}

Path parameters

generation_idstring uuid required

Generation UUID returned by POST /generations

Response

Generation status

idstring uuid required

Generation identifier

type'image' | 'image_edit' | 'video' | 'video_edit' | 'video_reframe' required

The kind of generation to perform

state'queued' | 'processing' | 'completed' | 'failed' required

Current state of the generation

model'uni-1' | 'uni-1-max' | 'ray-3.2' required

Model identifier. uni-1 is the default image tier; uni-1-max produces higher-quality output than uni-1 at a higher per-image price. ray-3.2 is the public video model for text-to-video, image-to-video, and video-to-video editing.

created_atstring required

Creation timestamp

failure_reasonstring nullable

Human-readable failure description

failure_code'content_moderated' | 'generation_failed' | 'budget_exhausted' | 'output_not_found' | 'image_too_large' | 'unsupported_format' | 'corrupt_input' | 'invalid_request' | 'rate_limited'

Machine-readable failure code for programmatic handling