generation_failure_code: "content_moderated" or "generation_failed" or "budget_exhausted" or 6 more
Machine-readable failure code for programmatic handling
"content_moderated"
"generation_failed"
"budget_exhausted"
"output_not_found"
"image_too_large"
"unsupported_format"
"corrupt_input"
"invalid_request"
"rate_limited"
generation_output: object {type, url}
A single generated output
type: string
Media type (e.g. image)
url: string
Presigned URL (1hr expiry)
model: "uni-1" or "uni-1-max"
Model identifier. uni-1 is the default tier; uni-1-max produces higher-quality output than uni-1 at a higher per-image price. Both models are available to all accounts — see Pricing for per-image rates.