[ PLAYGROUND ]fal-ai/happyhorse/v1/text-to-video
HappyHorse 1.0[ AUTH REQUIRED ]
ADD YOUR FAL KEY
TO RUN HAPPYHORSE 1.0 LIVE, PASTE YOUR FAL KEY IN SETTINGS. STAYS IN BROWSER. BILLS YOUR ACCOUNT.
HappyHorse 1.01.0
// ADD FAL KEY IN SETTINGS TO RUN LIVE
[ INTEGRATION ]
SHIP HAPPYHORSE 1.0.
// SAME ENDPOINT AS THE PLAYGROUND. PICK YOUR STACK. COPY. RUN.
ENDPOINT
fal-ai/happyhorse/v1/text-to-videoVIDEO01 · TYPESCRIPT
TS|example.ts
1import { fal } from "@fal-ai/client";23fal.config({ credentials: process.env.FAL_KEY });45const { data } = await fal.subscribe("fal-ai/happyhorse/v1/text-to-video", {6 input: {7 "prompt": "Documentary style interview at night. A barista in a rain jacket leans against a...",8 "duration": "5s",9 "resolution": "720p",10 "aspect_ratio": "16:9",11 "generate_audio": true,12 "language": "en"13 },14 logs: true,15});1617console.log(data);
02 · PYTHON
PYTHON|example.py
1import fal_client23result = fal_client.subscribe(4 "fal-ai/happyhorse/v1/text-to-video",5 arguments={6 "prompt": "Documentary style interview at night. A barista in a rain jacket leans against a...",7 "duration": "5s",8 "resolution": "720p",9 "aspect_ratio": "16:9",10 "generate_audio": true,11 "language": "en"12 },13 with_logs=True,14)1516print(result)
03 · HTTP
BASH|example.sh
1curl -X POST "https://queue.fal.run/fal-ai/happyhorse/v1/text-to-video" \2 -H "Authorization: Key $FAL_KEY" \3 -H "Content-Type: application/json" \4 -d '{ "prompt": "Documentary style interview at night. A barista in a rain jacket leans against a...", "duration": "5s", "resolution": "720p", "aspect_ratio": "16:9", "generate_audio": true, "language": "en" }'
[ INPUT PARAMS ]
| KEY | KIND | DEFAULT | OPTIONS |
|---|---|---|---|
| prompt | text (required) | · | Primary generation input |
| duration | select | 5s | 3 seconds, 5 seconds, 8 seconds, 10 seconds |
| resolution | select | 720p | 256p draft, 480p, 720p, 1080p |
| aspect_ratio | select | 16:9 | 16:9 landscape, 9:16 portrait, 1:1 square, 21:9 cinema |
| generate_audio | select | true | Native audio on, Silent render |
| language | select | en | English, Chinese, Japanese, Korean, German, French, Cantonese |
// FULL SCHEMA AT fal.ai/models/fal-ai/happyhorse/v1/text-to-video/llms.txt