Veo 3.1
POST https://api.beatapi.io/v1/videos/tasks
Generate fixed 8-second videos with selectable Quality, Fast, or Lite tiers and 720p, 1080p, or 4K output. Text and frame generation default to Quality at 720p; reference images require Fast or Lite.
Supported modes
Async flow: Create the task, save data.id, then poll the Task with GET /v1/tasks/{task_id}. On succeeded, read data.output.media. On failed, read data.error_code and data.error_message, then follow the error and retry policy.
Using a local file? upload a local input first and pass the returned data.url.
Authorization
Authorization string required
Send your BeatAPI API key as a Bearer token. Create one on the Dashboard.
Keep permanent API keys on trusted servers. Content-Type: application/json is required for the request body. Idempotency-Key is optional when the endpoint exposes it and is recommended for safe retries with the exact same body.
Request body
model string required
Must be veo-3.1.
Value: veo-3.1
prompt string required
Video generation instructions.
Length: 1 to 5000 characters
images string[] optional
One first-frame image or first- and last-frame images as public HTTPS URLs.
Count: 1 to 2 items
aspect_ratio enum<string> optional
Output video aspect ratio.
Available options: 16:9, 9:16, auto
Default: "16:9"
resolution enum<string> optional
Output video resolution. 4k and 4K are equivalent. Price depends on quality and resolution.
Available options: 720p, 1080p, 4k, 4K
Default: "720p"
quality enum<string> optional
Text or frame generation tier. Reference-image generation tier.
Available options: Quality, Fast, Lite
Default: "Quality", "Fast"
watermark string optional
Optional watermark text forwarded to the selected model.
enable_translation boolean optional
Allow prompt translation before generation.
reference_images string[] required for some modes
Public HTTPS reference images.
Count: 1 to 3 items
Request examples
Quality
Fast
Lite
First and last frames
Reference images (Fast)
Response
A successful request returns HTTP 201.

