videos

Animate one strict opening image

Create an asynchronous video task whose input image is the required first frame, not a loose visual reference. The selected model must support every explicit control.

post/v1/videos/image-to-video

Request

  • Base URL
    https://api.beatra.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared. Required headers: Idempotency-Key

Headers

x-request-id, string nullable
Idempotency-Key, string required
authorization, string nullable

Request body

ImageToVideoRequest required
metadata, object nullable

Caller-supplied metadata; ≤16 keys, key ≤64 chars, value ≤512 chars

callback_url, string nullable

HTTPS URL beatra will POST the final Task envelope to when the Task reaches a terminal state

callback_signing_key_id, string nullable

Optional standalone callback signing key. Omit for unsigned callback delivery; requires callback_url when provided.

model, 'auto' | 'minimax-h3' | 'wan3.0-video' | 'wan3.0-video-prime' | 'happyhorse-1.1-i2v' | 'wan2.7-i2v' | 'seedance-2' | 'seedance-2-fast' | 'seedance-2-mini' | 'seedance-2.5'

Use auto for request-dependent selection from the ordered live candidates. A concrete model is evaluated exactly as requested and is never substituted.

negative_prompt, string nullable

Content or qualities to avoid when supported by the selected model.

duration, union

Requested output duration as integer seconds, or 'auto' when the selected model may choose its documented duration. Omit to use the selected model default.

aspect_ratio, '16:9' | '9:16' | '1:1' | '4:3' | '3:4' | '4:5' | '5:4' | '21:9' | '9:21' | 'adaptive' nullable

Explicit output ratio when the selected model accepts it. Omit for a declared model default, source-derived ratio, or fixed model behavior.

resolution, '480p' | '720p' | '1080p' | '2k' | '4k' nullable

Requested model-defined output resolution tier. Omit to use the selected model's declared default; unsupported tiers are rejected rather than coerced.

seed, integer nullable
enhance_prompt, boolean nullable

Ask the selected model to rewrite the prompt before generation. Omit or use null to keep the prompt exactly as written.

watermark, boolean nullable

Whether generated video should include the model watermark.

generate_audio, boolean nullable

Whether the selected model should generate synchronized audio.

web_search, boolean nullable

Whether the selected model may use web search during generation.

return_last_frame, boolean nullable

Whether to return the generated video's last frame as an image artifact.

output_format, 'mp4' | 'mov' nullable

Optional output container. Omit or use mp4 for the existing default; models that advertise mov can return MOV without transcoding.

prompt, string nullable

Optional motion, scene, and camera instructions for animating the opening image.

image, union required

Required strict first-frame image; this is not a loose visual reference.

driving_audio, union

Optional driving audio. Supplying it requires a model that supports this control.

Response

Task accepted

TaskEnvelope required

Standard Task envelope.

Returned by every async-creation endpoint, GET /v1/tasks/{id}, and the body of customer callback POSTs.

object, 'task'
task_id, string required
status, 'queued' | 'running' | 'succeeded' | 'failed' | 'canceled' required
capability, string required
workload_type, 'model' | 'social_operation'
model, string nullable

Caller-requested model verbatim (may be 'auto'). Null for social_operation tasks.

resolved_model, string nullable

Actual model that ran (null until execution starts; equals model for explicit-model calls)

model_selection_reason, unknown
social, SocialTaskIdentity nullable
metadata, object nullable
input, object nullable
progress, AppApiV1SchemasCommonTaskProgress nullable
output, object nullable
warnings, TaskWarning[]
error, AppApiV1SchemasCommonTaskError nullable
usage, UsageObject nullable
billing, TaskBilling nullable
callback, TaskCallback nullable
created_at, string date-time required
started_at, string date-time nullable
deadline_at, string date-time nullable
completed_at, string date-time nullable
cancel_requested_at, string date-time nullable
links, TaskLinks required

Changes

No recorded changes to this operation across all 46 revisions of this API.