API docs / Video models

HappyHorse 1.0 (Image to video) API

Animate an uploaded image with a prompt.

Model id
alibaba/happy-horse/image-to-video
Provider
Happy Horse
Output
Video
Price
From 488 credits per run, the same as on voor.ai. Options such as length or resolution can change it.

Request

POST https://voor.ai/v1/generations with "model": "alibaba/happy-horse/image-to-video". Poll GET /v1/tasks/{id} or receive the signed webhook. See the overview for keys, idempotency, webhooks and errors.

curl https://voor.ai/v1/generations \
  -H "Authorization: Bearer $VOOR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "alibaba/happy-horse/image-to-video",
  "input": {
    "prompt": "A red fox standing in fresh snow at golden hour, soft light",
    "first_frame": [
      "https://example.com/input.png"
    ]
  },
  "callback_url": "https://example.com/webhooks/voor"
}'

# Then poll the task (or wait for the webhook):
curl https://voor.ai/v1/tasks/TASK_ID \
  -H "Authorization: Bearer $VOOR_API_KEY"

Input parameters

NameTypeDetails
promptstring

Optional text prompt guiding the animation. Max 2500 characters.

Up to 2500 characters

first_framerequiredarray of URLs

URL of the first frame image. Formats: JPEG, JPG, PNG, BMP, WEBP. Dimensions must be at least 300px. Aspect ratio must be between 1:2.5 and 2.5:1. Max 10 MB. Each file: up to 10 MB.

Up to 1 files · Accepts image/*

resolutionstring

Output video resolution tier.

Default: 1080p

One of: 720p, 1080p

duration_secondsnumber

Output video duration in seconds (3-15).

Default: 5

One of: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

seednumber

Random seed for reproducibility (0-2147483647).