happyhorse
HappyHorse 1.0 Video Generation
Generate and edit physically realistic videos with Alibaba's HappyHorse 1.0 models via inference.sh CLI.
Quick Start
Requires inference.sh CLI (
belt). Install instructions
belt login
belt app run alibaba/happyhorse-1-0-t2v --input '{"prompt": "a horse galloping across a sunlit meadow"}'
HappyHorse Models
| Model | App ID | Best For |
|---|---|---|
| T2V | alibaba/happyhorse-1-0-t2v |
Text-to-video, physically realistic motion |
| I2V | alibaba/happyhorse-1-0-i2v |
Animate a single image |
| R2V | alibaba/happyhorse-1-0-r2v |
Preserve characters from up to 9 reference images |
| Video Edit | alibaba/happyhorse-1-0-video-edit |
Edit existing videos with natural language |
All models support 720P/1080P resolution, up to 15 seconds duration.
Examples
Text-to-Video
belt app run alibaba/happyhorse-1-0-t2v --input '{
"prompt": "a golden retriever running through autumn leaves in a park, slow motion",
"duration": 10,
"resolution": "1080P",
"ratio": "16:9"
}'
Image-to-Video
Animate a still image:
belt app run alibaba/happyhorse-1-0-i2v --input '{
"first_frame": "https://your-image.jpg",
"prompt": "gentle camera zoom, clouds moving in the sky",
"duration": 8,
"resolution": "720P"
}'
Reference-to-Video (Character Preservation)
Generate videos that preserve characters from reference images (up to 9):
belt app run alibaba/happyhorse-1-0-r2v --input '{
"prompt": "a woman walking through a busy market street",
"reference_images": ["https://portrait.jpg"],
"duration": 10,
"resolution": "720P"
}'
Multi-Character Reference
belt app run alibaba/happyhorse-1-0-r2v --input '{
"prompt": "two friends sitting at a cafe having coffee",
"reference_images": ["https://person1.jpg", "https://person2.jpg"],
"ratio": "16:9"
}'
Video Editing
Edit existing videos using natural language instructions:
belt app run alibaba/happyhorse-1-0-video-edit --input '{
"video": "https://your-video.mp4",
"prompt": "change the background to a snowy mountain landscape"
}'
Video Editing with Reference Images
belt app run alibaba/happyhorse-1-0-video-edit --input '{
"video": "https://your-video.mp4",
"prompt": "replace the person with the character from the reference image",
"reference_images": ["https://character.jpg"]
}'
Video Editing with Audio Control
belt app run alibaba/happyhorse-1-0-video-edit --input '{
"video": "https://your-video.mp4",
"prompt": "make the scene look like a rainy day",
"audio_setting": "generate"
}'
Pricing
| Resolution | Price |
|---|---|
| 720P | $0.14 per second |
| 1080P | $0.24 per second |
Video Edit is billed on input + output duration.
Parameters (T2V)
| Parameter | Type | Default | Description |
|---|---|---|---|
prompt |
string | required | Text description of the video |
duration |
integer | 5 | Duration in seconds (3–15) |
resolution |
enum | 720P | 720P or 1080P |
ratio |
enum | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 |
seed |
integer | random | Reproducible generation |
watermark |
boolean | false | Add HappyHorse watermark |
Parameters (I2V)
| Parameter | Type | Default | Description |
|---|---|---|---|
first_frame |
file | required | First frame image (JPEG, PNG, WebP) |
prompt |
string | - | Optional text description |
duration |
integer | 5 | Duration in seconds (3–15) |
resolution |
enum | 720P | 720P or 1080P |
seed |
integer | random | Reproducible generation |
Parameters (R2V)
| Parameter | Type | Default | Description |
|---|---|---|---|
prompt |
string | required | Text description of the scene |
reference_images |
array | required | Up to 9 character reference images |
duration |
integer | 5 | Duration in seconds (3–15) |
resolution |
enum | 720P | 720P or 1080P |
ratio |
enum | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 |
seed |
integer | random | Reproducible generation |
Parameters (Video Edit)
| Parameter | Type | Default | Description |
|---|---|---|---|
video |
file | required | Video to edit (MP4/MOV, H.264) |
prompt |
string | required | Editing instruction |
reference_images |
array | - | Up to 5 reference images |
audio_setting |
enum | auto | auto, generate, or keep_original |
resolution |
enum | 720P | 720P or 1080P |
seed |
integer | random | Reproducible generation |
Search HappyHorse Apps
belt app list --search "happyhorse"
Related Skills
# Full platform skill (all 250+ apps)
npx skills add inference-sh/skills@infsh-cli
# All video generation models
npx skills add inference-sh/skills@ai-video-generation
# Seedance 2.0
npx skills add inference-sh/skills@seedance
# Google Veo
npx skills add inference-sh/skills@google-veo
# Image generation (for image-to-video)
npx skills add inference-sh/skills@ai-image-generation
Browse all video apps: belt app list --category video
Documentation
- Running Apps - How to run apps via CLI
- Streaming Results - Real-time progress updates
- Content Pipeline Example - Building media workflows
More from inference-sh/skills
agent-tools
Run 250+ AI apps via inference.sh CLI - image generation, video creation, LLMs, search, 3D, Twitter automation. Models: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa, OpenRouter, and many more. Use when running AI apps, generating images/videos, calling LLMs, web search, or automating Twitter. Triggers: inference.sh, infsh, ai model, run ai, serverless ai, ai api, flux, veo, claude api, image generation, video generation, openrouter, tavily, exa search, twitter api, grok
745ai-image-generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image
736ai-video-generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse
733twitter-automation
Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet
662web-search
Web search and content extraction with Tavily and Exa via inference.sh CLI. Apps: Tavily Search, Tavily Extract, Exa Search, Exa Answer, Exa Extract. Capabilities: AI-powered search, content extraction, direct answers, research. Use for: research, RAG pipelines, fact-checking, content aggregation, agents. Triggers: web search, tavily, exa, search api, content extraction, research, internet search, ai search, search assistant, web scraping, rag, perplexity alternative
626agent-browser
Browser automation for AI agents via inference.sh. Navigate web pages, interact with elements using @e refs, take screenshots, record video. Capabilities: web scraping, form filling, clicking, typing, drag-drop, file upload, JavaScript execution. Use for: web automation, data extraction, testing, agent browsing, research. Triggers: browser, web automation, scrape, navigate, click, fill form, screenshot, browse web, playwright, headless browser, web agent, surf internet, record video
625