Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.anyfast.ai/llms.txt

Use this file to discover all available pages before exploring further.

HappyHorse 1.0 I2V animates a single first-frame image into a short video. It uses the async task API — submit a task, then poll until ready.

Key capabilities

  • Image-to-video — Use one image as the first frame, drive motion via prompt
  • Resolution — 720P / 1080P
  • Aspect ratios — 16:9, 9:16, 1:1, 4:3, 3:4
  • Duration — 3–15 seconds
  • Watermark control — Optionally disable the bottom-right watermark

Workflow

1. POST /v1/video/generations  →  task_id
2. GET  /v1/video/generations/{task_id}  →  poll until SUCCESS / FAILURE
3. Read data.result_url  (valid 24 hours)

Quick example

curl -X POST https://www.anyfast.ai/v1/video/generations \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "happyhorse-1.0-i2v",
    "prompt": "Camera slowly zooms in, the scene comes to life",
    "image": "https://example.com/first-frame.png",
    "parameters": {
      "resolution": "720P",
      "duration": 5,
      "watermark": false
    }
  }'
The image field accepts a single URL. The images: [...] array form is also accepted — only the first item is used as the first frame.

Parameters

ParameterTypeRequiredDescription
modelstringYesMust be happyhorse-1.0-i2v
promptstringYesText description of the desired motion
imagestringYesFirst-frame image URL
resolutionstringNo720P / 1080P. Default: 1080P
ratiostringNo16:9, 9:16, 1:1, 4:3, 3:4. Default: 16:9
durationintegerNoSeconds, 3–15. Default: 5
watermarkbooleanNoDefault true. Set false to remove watermark
seedintegerNoRandom seed [0, 2147483647]

Billing

Charged by resolution tier × user-requested duration. Pre-deducted amount equals the final amount. Failed tasks are automatically refunded.

API Reference

Interactive playground for HappyHorse 1.0 I2V.

Task Query

Poll task status and retrieve the final video URL.