API Free WeekHundreds of APIs are free to call this week.Browse free APIs

Happy Horse 1.1 Text to Video

alibaba/happy-horse/1.1/text-to-video

Happy Horse 1.1 is Alibaba's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.

Base price
$0.90USD / run
Execution
async
Model type
video
Input fields
5

Try the model

Playground

Open playground
Input
Text prompt describing the desired video. Max 2500 characters.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
Output video resolution tier. Allowed values: 720p, 1080p.
Output video duration in seconds (3-15). Allowed values: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15.
Random seed for reproducibility (0-2147483647).
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Specifications

Pricing

Base price
$0.90 / run
Billing formula
(params.resolution ?? "1080p") == "1080p" ? (params.duration ?? 5) * 0.18 : (params.duration ?? 5) * 0.14

Context & modalities

Input
Schema-defined
Output
video

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
Alibaba
Model ID
alibaba/happy-horse/1.1/text-to-video
Execution
async
API
Unified Run API
Endpoint
/v1/run

API README

PRICED DRAFT — MANUAL REVIEW REQUIRED exact_model_mode: alibaba/happy-horse/v1.1/text-to-video original_unit: For every second of 720p video you generated, you will be charged $0.14/second. For 1080p video you will be charged $0.18/second. method: readable per-output-second tiers result_base_price: 0.9 result_price_formula: (params.resolution ?? "1080p") == "1080p" ? (params.duration ?? 5) * 0.18 : (params.duration ?? 5) * 0.14 review_status: pending; model remains disabled checked_at: 2026-08-16

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
alibaba/happy-horse/1.1/text-to-video
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "alibaba/happy-horse/1.1/text-to-video",
  "prompt": "A little girl walking on the road at sunset, cinematic lighting, smooth camera movement.",
  "duration": 5,
  "resolution": "1080p"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All language models
ModelContextInput / 1MOutput / 1MReleased
Alibaba———Jun 22, 2026
Alibaba———Oct 4, 2026
Alibaba———Oct 4, 2026
Alibaba———Aug 24, 2026
Alibaba———Aug 24, 2026
Alibaba———Aug 24, 2026