Generate one to four images from text
Create an asynchronous image-generation task without source images. `auto` selects a live model that can satisfy the complete request; a concrete model is validated exactly as requested and is never substituted.
Request Body
application/jsonRequiredmetadataMetadataCaller-supplied metadata; ≤16 keys, key ≤64 chars, value ≤512 chars
callback_urlCallback UrlHTTPS URL Beatra will POST the final Task envelope to when the Task reaches a terminal state
callback_signing_key_idCallback Signing Key IdOptional standalone callback signing key. Omit for unsigned callback delivery; requires callback_url when provided.
modelModelUse auto for compatibility-based selection from the configured live candidates. A concrete model is evaluated exactly as requested and is never substituted.
"auto"Value in: "auto" | "gpt-image-2" | "image-01" | "image-01-live" | "wan2.7-image-pro" | "wan2.7-image" | "qwen-image-2.0-pro" | "qwen-image-2.0"promptRequired prompt containing at least one non-whitespace character.
1Pattern: "\\S"countCountRequested output image count. The public range is one through four, and the selected model must support the exact count; Beatra does not split the request.
1Minimum: 1Maximum: 4canvasCanvasDesired output canvas. Presets are quality tiers, and target dimensions may be normalized or vary; inspect output images for actual dimensions.
{"type":"preset","tier":"2K","aspect":"16:9"}seedSeedOptional random seed. Supplying it constrains model eligibility; omit it for model-managed randomness.
negative_promptNegative PromptOptional content or qualities to avoid. Supplying it constrains model eligibility and is rejected when no compatible model is available.
enhance_promptEnhance PromptOmit or use null to retain the selected model's documented default; an explicit boolean constrains model eligibility.
palettePaletteThree to ten weighted RGB colors. Runtime validation requires the weights to sum exactly to 1.0000.
output_relationshipImageOutputRelationshipUse independent for unrelated results, or sequence for a related image set. An explicit value constrains model eligibility and is rejected when unsupported.
"independent"Value in: "independent" | "sequence"reasoningReasoningOmit or use null to retain the selected model's documented default; an explicit boolean constrains model eligibility.
Header Parameters
X-Request-IdstringOptional client request id echoed in the response.
Idempotency-Key1Maximum length: 128AuthorizationBearer API key.
Task accepted