HappyHorse 1.0
POST https://api.beatapi.io/v1/videos/tasks
Animate a photo into 3–15 seconds of 720p or 1080p video. Image input is required.
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 happyhorse-1.0.
Value: happyhorse-1.0
prompt string required
What should happen in the shot — the motion, the expression, the camera.
Length: 1 to 5000 characters
images string[] required
Source images as public HTTPS URLs. At least one is required.
Count: 1 to 9 items
duration integer optional
Requested output duration in seconds.
Default: 5
Range: 3 to 15
aspect_ratio enum<string> optional
Output video aspect ratio.
Available options: 16:9, 9:16, 1:1, 4:3, 3:4
Default: "16:9"
resolution enum<string> optional
Output resolution tier. Price scales with it.
Available options: 720p, 1080p
Default: "720p"
Request examples
Image to video
Multiple source images
Response
A successful request returns HTTP 201.

