HappyHorse Video
HappyHorse video generation and editing services support text-to-video, first-frame image-to-video, reference image-to-video, and video editing.
This is only a basic call example. See the full docs for more parameters and advanced usage.
View DocsHappyHorse Video API
Use a single, reliable REST API for text-to-video, first-frame image-to-video, reference-image-to-video, and video editing. Integrate creative storyboards, product assets, character references, and post-production workflows into your own product.
Cover the key actions in video production
Use a unified request structure for common video generation and editing tasks.
Text-to-video
Enter camera directions, scenes, and actions to quickly generate short video prototypes.
First-frame image-to-video
Use a fixed first frame to control composition and bring static visuals naturally to life.
Reference-image-to-video
Use multiple reference images to guide characters, props, styles, and visual elements.
Video editing
Apply style transfer, outfit changes, and partial replacements using input videos and reference images.
export ACEDATACLOUD_API_KEY="YOUR_API_KEY"
curl -X POST 'https://api.acedata.cloud/happyhorse/videos' \
-H "authorization: Bearer $ACEDATACLOUD_API_KEY" \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-d '{
"action": "image_to_video",
"model": "happyhorse-1.1-i2v",
"image_url": "https://cdn.acedata.cloud/b1c82e4937.png",
"prompt": "A cinematic white horse lifts its head, the mane moves gently in the sunrise wind, slow camera push in, warm film lighting",
"resolution": "720P",
"duration": 5,
"async": true
}'Submission Response JSON
The following response excerpt from the existing API guide shows the fields used to read the result. The example model, task identifiers, and media content come from that historical example; refer to the actual response for this request.
{
"task_id": "b8976e18-32dc-4718-9ed8-1ea090fcb6ea",
"trace_id": "fb751e1e-4705-49ea-9fd4-5024b7865ea2"
}Query the Original Task
Replace id with the task_id from the submission response, using the same API Key.
curl --request POST "https://api.acedata.cloud/happyhorse/tasks" \
--header "Authorization: Bearer $ACEDATACLOUD_API_KEY" \
--header "Content-Type: application/json" \
--data '{"action":"retrieve","id":"YOUR_TASK_ID"}'Processing Response JSON
Example of key fields while processing; continue querying the same task ID.
{
"id": "b8976e18-32dc-4718-9ed8-1ea090fcb6ea"
}Completion Response JSON
The following response excerpt from the existing API guide shows the fields used to read the result. The example model, task identifiers, and media content come from that historical example; refer to the actual response for this request.
{
"id": "b8976e18-32dc-4718-9ed8-1ea090fcb6ea",
"type": "videos",
"finished_at": 1769262774.423,
"response": {
"success": true,
"task_id": "b8976e18-32dc-4718-9ed8-1ea090fcb6ea",
"trace_id": "fb751e1e-4705-49ea-9fd4-5024b7865ea2",
"data": [
{
"id": "1469cfc3-3004-4d9e-ab10-xxxxxx",
"state": "succeeded",
"video_url": "https://cdn.acedata.cloud/happyhorse/c8cbf53aa0.mp4"
}
]
}
}Submit a Video Task in One Request
Use async to return a task ID immediately, then query the result via /happyhorse/tasks; if you provide callback_url, the final result will be pushed to your service when the task is complete.
Choose an action
Text-to-video, image-to-video, reference images, and editing all use the same endpoint.
Provide media
Images and videos must have publicly accessible URLs; Ace Data Cloud CDN is recommended.
Query the result
Use task_id to retrieve the final CDN video URL, duration, and resolution.
Three Use Cases for Real-World Products
From marketing assets to content tools, HappyHorse is better suited as a reliable video capability module than a one-off toy.
Brand Video Prototypes
Quickly generate short videos of products, characters, and scenes using text and a first frame to validate visual directions.
Character and Prop Consistency
Use multiple reference images to lock in characters, outfits, props, and visual styles.
Video Post-Production
Apply style transfer, partial replacement, and audio preservation strategies to existing clips.
Launch Video Capabilities in Three Steps
Use Ace Data Cloud's unified authentication, billing, task, and callback model for a clear, manageable integration path.
Copy the General Application API Key
Sign in to the application list, open General Application, and click the copy button to the right of API KEY. Keep the Key on your server and use it to replace YOUR_API_KEY in the example.

Submit a Task
Pass prompt, image_url, image_urls, or video_url according to the action.
Retrieve the Result
Get a downloadable CDN video URL through the task API or callback.
Why Use a Unified API
Bring model calls, task polling, CDN transfers, error classification, and billing records together on the platform.
| Capability | Ace Data Cloud HappyHorse | Some Others |
|---|---|---|
| Multiple video actions | Unified /happyhorse/videos | Combine multiple endpoints yourself |
| Output files | Automatically transferred to CDN | Temporary URLs often expire |
| Billing | Recorded by actual seconds | Requires your own usage ledger |
| Failure handling | Structured error codes | Inconsistent error messages |
Choose a Model by Task
1.1 models are preferred for generation tasks; video editing currently uses 1.0 video-edit.
happyhorse-1.1-t2v
The default text-to-video model, suitable for generating short videos from scripts and shot descriptions.
happyhorse-1.1-i2v
Control composition and visual tone with a first-frame image, ideal for animating product and character images.
happyhorse-1.1-r2v
Use multiple reference images to guide characters and props, ideal for scenarios requiring greater consistency.
happyhorse-1.0-video-edit
Edit an input video, with the option to preserve the original audio.
Clear Per-Second Pricing
Failed tasks are not charged; video editing is billed based on the combined input and output duration.
720P Generation
- Ideal for rapid prototyping
- Supports t2v / i2v / r2v
- 3–15 second output
1080P Generation
- Clearer deliverables
- Ideal for commercial previews
- Unified task lookup
Video Editing
- Input + output duration
- Supports reference images
- Original audio can be retained
Frequently Asked Questions
Common questions about parameters, assets, and billing before launch.
What input assets does HappyHorse support?
Text-to-video requires only a prompt; first-frame image-to-video requires image_url; reference image-to-video requires 1–9 image_urls; video editing requires video_url, with 0–5 optional reference images.
Does the returned video URL expire?
The documentation and API response provide an accessible CDN URL.
How should I handle long generation times?
We recommend using async or callback_url. The API first returns a task_id, which you can use to query /happyhorse/tasks or wait for a callback.
Are failed tasks charged?
No. Only tasks that are successfully completed and have their results recorded are billed by duration and resolution.
Related Video Capabilities
If you need different model ecosystems or more specialized video capabilities, you can combine these public services.
Integrate HappyHorse into Your Video Product
Use a unified Token, unified billing, and unified task queries to reliably integrate video generation and editing capabilities into your application.
Generate or edit HappyHorse videos from text, first frames, multiple reference images, or video, with synchronous, asynchronous, and callback delivery.
Retrieve one or multiple HappyHorse video tasks, including progress, final videos, and elapsed time.
Packages
We offer various credit packages. The more you purchase, the higher the discount you receive.
up to46% OFF