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 R2V generates video from 1–3 reference images and a prompt. It uses the async task API — submit a task, then poll until ready.

Key capabilities

  • Reference-to-video — Use 1–3 images as visual references
  • 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-r2v",
    "prompt": "A woman in a red qipao gracefully unfolds a folding fan",
    "images": [
      "https://example.com/ref1.jpg",
      "https://example.com/ref2.jpg",
      "https://example.com/ref3.jpg"
    ],
    "parameters": {
      "resolution": "720P",
      "ratio": "16:9",
      "duration": 5,
      "watermark": false
    }
  }'

Parameters

ParameterTypeRequiredDescription
modelstringYesMust be happyhorse-1.0-r2v
promptstringYesText description of the desired video
imagesstring[]Yes1–3 reference image URLs
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 R2V.

Task Query

Poll task status and retrieve the final video URL.