Skip to navigation

BeatAPI Video API

View as Markdown

Create one asynchronous video generation task with a stable BeatAPI model ID.

ModelInput modesRequired fieldsMain controls
minimax-h3Text, first/last frames, visual references; the standard lanemodel, prompt4–30s (2K up to 15s); 480p/768p/1080p/2K; 16–30s bill at twice the per-second rate
minimax-h3-fastThe same model and inputs on the priority lanemodel, promptSame limits as minimax-h3, at twice its per-second rate
minimax-h3-normalSlower, lower-priced text, frames, or visual referencesmodel, prompt5–15s; 480p/768p/1080p; native audio, no audio input
grok-imagine-video-1.5Text, first frame, up to seven reference imagesmodel, prompt1–15s, 480p/720p/1080p; 1080p accepts at most one image
seedance-2Text, first/last frames, multimodal referencesmodel, prompt4–15s, up to 4K, generated audio
seedance-2-fastText, first/last frames, multimodal referencesmodel, prompt4–15s, 480p/720p, generated audio
seedance-2-miniText, first/last frames, multimodal referencesmodel, prompt4–15s, 480p/720p, no generate_audio field
veo-3.1Text, first/last frames, reference imagesmodel, promptNo duration field; quality quality/fast/lite; 720p/1080p/4K
seedance-2.5Text, first/last frames, larger multimodal reference setsmodel, prompt4–30s, 480p/720p/1080p, generated audio and seed
seedance-2.5-flashText, first/last frames, reference images, videos and audio; no editing or extendingmodel, prompt4–30s, 480p/720p, generated audio and seed
kling-v3Text, first/last frames, multi-shot, reusable elementsmodel, prompt3–15s, std (720p) or pro (1080p), optional sound
kling-v4Text, frames in time order, reference images, videos and voices, named elementsmodel, prompt3–30s, 720p/1080p, audio always generated
kling-v4-flashText, a first frame, reference images and videosmodel, prompt3–20s, 720p only, audio always generated
wan-3.0Text, first/last frames, reference videos and audiomodel, prompt2–30s, 480p/720p/1080p
wan-3.0-primeSame inputs as Wan 3.0 under its own model ID and pricemodel, prompt4–30s, 480p/720p/1080p
happyhorse-1.1Text, first frame, up to nine reference imagesmodel, prompt3–15s, 720p/1080p
gemini-omni-1.1-flashText, first/last frames, reference images with optional reference videosmodel, prompt3–10s, 720p/1080p/4K, sound always generated
gemini-omni-1.2-flashText, first/last frames, reference images with optional reference videosmodel, prompt3–15s, 720p/1080p/4K, sound always generated
minimax-h3-maxText, first frame, first and last framesmodel, prompt5–15s, 480p/768p/1080p, seed
minimax-h3-max-turboSame contract as H3 Maxmodel, prompt5–15s, 480p/768p/1080p, half the per-second rate
magi-2Text, first and last frames, reference images, videos and audiomodel, prompt4–30s, 1080p only, generated audio and seed
magi-2-betaText, reference images, videos and audio; one fixed price per videomodel, prompt4–30s, 1080p only, always with audio
seedance-2-betaText, reference images and audio; one fixed price per video by resolutionmodel, prompt4–15s, 480p–4K, always with audio
seedance-2-fast-betaText, reference images, videos and audio; one fixed price per video by resolutionmodel, prompt4–15s, 480p/720p, always with audio
seedance-2.5-betaText, reference images, videos and audio; one fixed price per video by resolutionmodel, prompt4–30s, 480p–4K, always with audio
seedance-2.5-flash-betaText, reference images, videos and audio; one fixed price per video by resolutionmodel, prompt4–30s, 480p/720p, always with audio

Open the matching model page for every field, default, enum, combination rule, request example, response, and error behavior.

Choose a model by task

Find the task, send the fields in the second column, and pick one of the models in the third. The last column is the highest resolution and the longest clip among the models in that row; the table above gives each model’s own limits.

TaskFields to sendModelsHighest resolution and longest clip
Text to videomodel, promptAll models above4K, 30 s
First framemodel, prompt, images (1 link)All models above4K, 30 s
First and last framemodel, prompt, images (2 links)All models above except grok-imagine-video-1.5, happyhorse-1.1 and kling-v4-flash4K, 30 s
Reference imagesmodel, prompt, reference_imagesminimax-h3, minimax-h3-fast, minimax-h3-normal, grok-imagine-video-1.5, seedance-2, seedance-2-fast, seedance-2-mini, veo-3.1, seedance-2.5, seedance-2.5-flash, seedance-2-beta, seedance-2-fast-beta, seedance-2.5-beta, seedance-2.5-flash-beta, kling-v4, kling-v4-flash, happyhorse-1.1, gemini-omni-1.1-flash, gemini-omni-1.2-flash, magi-2, magi-2-beta4K, 30 s
Reference videos for motion, camera work or contentmodel, prompt, reference_videosminimax-h3, minimax-h3-fast, minimax-h3-normal, seedance-2, seedance-2-fast, seedance-2-mini, seedance-2.5, seedance-2.5-flash, seedance-2-fast-beta, seedance-2.5-beta, seedance-2.5-flash-beta, kling-v4, kling-v4-flash, wan-3.0, wan-3.0-prime, gemini-omni-1.1-flash, gemini-omni-1.2-flash, magi-2, magi-2-beta4K, 30 s
Reference audiomodel, prompt, reference_audios, with a reference image or videominimax-h3, minimax-h3-fast, seedance-2, seedance-2-fast, seedance-2-mini, seedance-2.5, seedance-2.5-flash, seedance-2-beta, seedance-2-fast-beta, seedance-2.5-beta, seedance-2.5-flash-beta, kling-v4, wan-3.0, wan-3.0-prime, magi-2, magi-2-beta4K, 30 s
Edit or extend a videomodel, prompt, reference_videos, task_type (edit or extend)seedance-2.51080p, 30 s
Named elements or several shots in one taskmodel, prompt, elements; multi_prompt on kling-v3kling-v3, kling-v41080p, 30 s

Model names

NameWhat it meansExamples
No suffixThe main line of a family.minimax-h3, seedance-2.5, kling-v4
-fastminimax-h3-fast is the same model on the priority lane, at twice the minimax-h3 rate. seedance-2-fast is Seedance 2.0 at a lower price, at 480p and 720p only.minimax-h3-fast, seedance-2-fast
-normalA slower, lower-priced lane of the same model.minimax-h3-normal
-mini, -flashseedance-2-mini has the lowest list price in the Seedance family. seedance-2.5-flash is a faster, lower-cost sibling of Seedance 2.5. Each has its own ID and request contract.seedance-2-mini, seedance-2.5-flash
-turboThe same contract as minimax-h3-max at half its per-second rate.minimax-h3-max-turbo
-primeThe Wan 3.0 contract under its own model ID and price.wan-3.0-prime

Most video models are billed by the seconds of video they produce, at the rate of the resolution you choose; veo-3.1 is billed per 8-second video by quality and resolution. Models with a “with video input” price also bill the seconds of reference video. GET /v1/pricing lists every price, and a spec can carry surcharges: what each reference image, second of reference video or element adds to it. The model page explains its own billing.

Not available right now

These models have a page but are not on the live GET /v1/media/models list. A create request for them is answered with 503 processing_unavailable and nothing is charged; an ID BeatAPI has never listed is 400 bad_request. Check the list before you build on them.

ModelInput modesRequired fieldsMain controls
happyhorse-1.0Image to video only, up to nine source anglesmodel, prompt, images3–15s, 720p/1080p
kling-2.6-motion-controlOne uploaded character image and one uploaded motion videomodel, images, reference_videos3–30s motion video, 720p/1080p, billed per second
kling-3-motion-controlMotion transfer with orientation and background controlsmodel, images, reference_videos3–30s motion video, 720p/1080p, billed per second

List available models

GET /v1/media/models

ParameterLocationTypeRequiredAllowed values
media_typeQuerystringNoimage, video

This public endpoint does not require authentication.

curl "https://api.beatapi.io/v1/media/models?media_type=video"
{
"data": {
"object": "list",
"data": [
{
"id": "minimax-h3",
"object": "generation_model",
"name": "MiniMax H3",
"media_type": "video",
"input_modes": ["text", "image", "frames", "reference"],
"requires_topup": true
}
]
}
}
FieldTypeMeaning
idstringStable public model alias
objectstringgeneration_model
namestringDisplay name
media_typestringimage or video
input_modesstring[]Any of text, image, frames, reference
requires_topupbooleantrue: the model is refused with 403 forbidden until the account’s first top-up. false: at least one tier is open before it, not every call

Each entry also carries contract_version, availability, availability_checked_at, input_schema (the request contract of the model), output_type, price_key, validation_state and validated_at. Internal provider routing is not part of the public contract.

Shared create contract

POST /v1/videos/tasks

Video tasks use https://api.beatapi.io. From Asia, if requests to it drop the connection or time out, use the Asia-optimized route https://api-asia.beatapi.io: same key, same paths, and it also serves file uploads (/v1/files) and task queries (/v1/tasks).

HeaderTypeRequiredRules
AuthorizationstringYesBearer <BEATAPI_API_KEY>
Content-TypestringYesapplication/json
Idempotency-KeystringNo, recommendedUp to 255 characters; one key per logical create

The body must match exactly one model schema. model is the discriminator; unknown fields are rejected.

curl https://api.beatapi.io/v1/videos/tasks \
-X POST \
-H "Authorization: Bearer $BEATAPI_API_KEY" \
-H "Idempotency-Key: video-seedance-2-5-001" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.5",
"prompt": "A cinematic tracking shot through a rain-lit night market.",
"duration": 5,
"aspect_ratio": "16:9",
"resolution": "720p"
}'

A valid request returns 201 Created with data.id, task_kind="video", the selected model, status="queued", usage metrics, and request_id. Poll GET /v1/tasks/{task_id}, waiting data.poll_after_seconds between calls, until succeeded or failed; successful video is in data.output.media[] and data.output.url.

An exact idempotent replay returns the accepted task. Reusing a key with a different body returns 409 idempotency_conflict.

Shared errors

HTTPCommon codeClient action
400bad_requestFix fields, values, combinations, counts, or media URLs
400content_policy_violationChange the prompt or input; do not resend unchanged
401missing_api_key / invalid_api_keySend the Bearer key, or replace a wrong, expired, disabled, or exhausted one
402insufficient_creditsTop up before creating a new task
403forbiddenNot allowed for this key or account — for example a model not available on free credit
409idempotency_conflictReuse the key only with the exact same body
429rate_limit_exceededHonor Retry-After
500internal_errorRetry once with backoff
503processing_unavailable / processing_timeout / processing_failed / result_transfer_failedRetry with backoff; nothing was charged

Error responses include error.code, an English error.message, error.retryable, error.request_id, and error.retry_after_seconds on a 429. A task that fails after it was accepted is still read with 200: see data.error_code and Errors for every code and retry rule. The per-model pages below are the production request contracts.