Edit a base image with optional references and regions
Changed onCreate an asynchronous edit task where images[0] is the base image and later images are ordered references. Optional normalized regions target inputs by index. auto selects a compatible live model; a concrete model is never substituted.
Request
- Base URLhttps://api.beatra.ai (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: Idempotency-Key
Headers
Request body
Edit a base image with optional ordered references and normalized regions.
Caller-supplied metadata; ≤16 keys, key ≤64 chars, value ≤512 chars
HTTPS URL beatra will POST the final Task envelope to when the Task reaches a terminal state
Optional standalone callback signing key. Omit for unsigned callback delivery; requires callback_url when provided.
Use auto for compatibility-based selection from the configured live candidates. A concrete model is evaluated exactly as requested and is never substituted.
Required prompt containing at least one non-whitespace character.
Requested 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.
Desired output canvas. The default is a 2K tier derived from the first base image's ratio; actual output dimensions remain authoritative.
Optional random seed. Supplying it constrains model eligibility; omit it for model-managed randomness.
Optional content or qualities to avoid. Supplying it constrains model eligibility and is rejected when no compatible model is available.
Ask the model to rewrite the prompt before generation. Omit or use null to keep the prompt exactly as written; an explicit boolean constrains model eligibility.
Three to ten weighted RGB colors. Runtime validation requires the weights to sum exactly to 1.0000.
Ordered inputs; images[0] is the base and later entries are references.
Flat normalized rectangles keyed by an input image_index. Runtime validation enforces cross-coordinate and collection relations.
Response
Task accepted
Standard Task envelope.
Returned by every async-creation endpoint, GET /v1/tasks/{id}, and the body of customer callback POSTs.
Caller-requested model verbatim (may be 'auto'). Null for social_operation tasks.
Actual model that ran (null until execution starts; equals model for explicit-model calls)
Changes
- breaking
removed the enum value
image-01-liveof the request propertymodel - info
added the new
minimax-h3-imageenum value to the request propertymodel
- breaking