HappyHorse MCP
Generate and edit videos using HappyHorse in the AI Agent through MCP.
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 DocsUse 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.
Use a unified request structure for common video generation and editing tasks.
Enter camera directions, scenes, and actions to quickly generate short video prototypes.
Use a fixed first frame to control composition and bring static visuals naturally to life.
Use multiple reference images to guide characters, props, styles, and visual elements.
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
}'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"
}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"}'Example of key fields while processing; continue querying the same task ID.
{
"id": "b8976e18-32dc-4718-9ed8-1ea090fcb6ea"
}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"
}
]
}
}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.
Text-to-video, image-to-video, reference images, and editing all use the same endpoint.
Images and videos must have publicly accessible URLs; Ace Data Cloud CDN is recommended.
Use task_id to retrieve the final CDN video URL, duration, and resolution.
From marketing assets to content tools, HappyHorse is better suited as a reliable video capability module than a one-off toy.
Quickly generate short videos of products, characters, and scenes using text and a first frame to validate visual directions.
Use multiple reference images to lock in characters, outfits, props, and visual styles.
Apply style transfer, partial replacement, and audio preservation strategies to existing clips.
Use Ace Data Cloud's unified authentication, billing, task, and callback model for a clear, manageable integration path.
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.

Pass prompt, image_url, image_urls, or video_url according to the action.
Get a downloadable CDN video URL through the task API or callback.
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 |
1.1 models are preferred for generation tasks; video editing currently uses 1.0 video-edit.
The default text-to-video model, suitable for generating short videos from scripts and shot descriptions.
Control composition and visual tone with a first-frame image, ideal for animating product and character images.
Use multiple reference images to guide characters and props, ideal for scenarios requiring greater consistency.
Edit an input video, with the option to preserve the original audio.
Failed tasks are not charged; video editing is billed based on the combined input and output duration.
Common questions about parameters, assets, and billing before launch.
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.
The documentation and API response provide an accessible CDN URL.
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.
No. Only tasks that are successfully completed and have their results recorded are billed by duration and resolution.
If you need different model ecosystems or more specialized video capabilities, you can combine these public services.
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.
We offer various credit packages. The more you purchase, the higher the discount you receive.
up to46% OFFGenerate and edit videos using HappyHorse in the AI Agent through MCP.
Configuration Method
Connect the current service in Claude Code:
mcpServers service entry below into .mcp.json in the project root directory, retaining the existing configuration.ACEDATACLOUD_API_TOKEN in the terminal: use export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN' on macOS/Linux, and $env:ACEDATACLOUD_API_TOKEN = 'YOUR_API_TOKEN' in Windows PowerShell; replace YOUR_API_TOKEN with your Ace Data Cloud API Token.claude in the same terminal where this variable has been set; new terminals or desktop-launched clients must also be able to read this variable./mcp to confirm that the service is connected and the tools have been loaded; when using the project configuration for the first time, check and approve the service as prompted.export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN'
claude mcp add --scope user --transport http 'happyhorse-mcp' 'https://happyhorse.mcp.acedata.cloud/mcp' --header 'Authorization: Bearer ${ACEDATACLOUD_API_TOKEN}'
Provide parameter descriptions, input material requirements, and task processing guidelines for HappyHorse video generation and editing for AI Agent.
Install the current Skill to Claude Code. Project-level configurations are shared across the repository, while user-level configurations apply to all projects on this machine.
npx skills add acedatacloud/skills --skill 'happyhorse-video' -a 'claude-code' --yes