Generate video toward a strict last frame
Create an asynchronous video task constrained by a required last frame and an optional first frame. Use image-to-video when only the opening frame must be fixed.
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
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 request-dependent selection from the ordered live candidates. A concrete model is evaluated exactly as requested and is never substituted.
Content or qualities to avoid when supported by the selected model.
Requested output duration as integer seconds, or 'auto' when the selected model may choose its documented duration. Omit to use the selected model default.
Explicit output ratio when the selected model accepts it. Omit for a declared model default, source-derived ratio, or fixed model behavior.
Requested model-defined output resolution tier. Omit to use the selected model's declared default; unsupported tiers are rejected rather than coerced.
Ask the selected model to rewrite the prompt before generation. Omit or use null to keep the prompt exactly as written.
Whether generated video should include the model watermark.
Whether the selected model should generate synchronized audio.
Whether the selected model may use web search during generation.
Whether to return the generated video's last frame as an image artifact.
Optional output container. Omit or use mp4 for the existing default; models that advertise mov can return MOV without transcoding.
Optional instructions for the motion ending at the required last frame.
Optional image that must be the video's first frame. Omit it for a last-frame-only request when the selected model advertises that input combination.
Required image that must be the video's last frame.
Optional driving audio. Supplying it requires a model that supports this control.
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
No recorded changes to this operation across all 46 revisions of this API.