HappyHorse Video API · Unified Video Generation and Editing Interface

HappyHorse Video API

Use a stable REST API to cover text-to-video, first-frame-to-video, reference-image-to-video, and video editing. Suitable for integrating creative storyboards, product materials, character references, and post-editing processes into your own products.

4 types of actions720P / 1080PAsynchronous callback + task query
🎬
4
Generation and Editing Modes
⏱️
3-15s
Output Video Duration
🖼️
1-9
Number of Reference Images
📡
REST
Unified API Entry

Key Actions for Video Production

No need to stitch processes between multiple vendor interfaces, HappyHorse consolidates common video generation and editing modes into a unified request structure.

✍️

Text-to-Video

Input shot language, scenes, and actions to quickly generate short video prototypes.

🖼️

First-Frame-to-Video

Control composition with a fixed first frame, allowing static visual materials to come to life.

🎭

Reference-Image-to-Video

Constrain characters, props, styles, and visual elements through multiple reference images.

✂️

Video Editing

Perform style transfer, outfit changes, and local replacements based on input videos and reference images.

curl
curl -X POST 'https://api.acedata.cloud/happyhorse/videos' \
  -H 'authorization: Bearer YOUR_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
  }'

Submit a video task

Use async to immediately return the task ID, and then query the results through `/happyhorse/tasks`; if a `callback_url` is provided, the final result will be pushed to your service after the task is completed.

1

Select action

Text-to-video, image-to-video, reference images, or editing all use the same entry point.

2

Provide materials

Images and videos must be publicly accessible URLs, it is recommended to use Ace Data Cloud CDN.

3

Query results

Get the final CDN video URL, duration, and resolution based on task_id.

Three types of scenarios suitable for integration into real products

From marketing materials to content tools, HappyHorse is more suitable as a stable video capability module rather than a one-time toy.

Brand short film prototype

Quickly generate product, character, and scene short films using text and the first frame to validate visual direction.

Consistency of characters and props

Lock in characters, costumes, props, and visual styles through multiple reference images.

Video post-editing

Perform style transfer, local replacement, and audio retention strategies on existing clips.

Three steps to launch video capabilities

Continuing with Ace Data Cloud's unified authentication, billing, task, and callback model, the integration path is clear and controllable.

01

Apply for Token

Create an application in the console to obtain a unified Bearer Token.

02

Submit task

Pass in prompt, image_url, image_urls, or video_url according to action.

03

Fetch results

Obtain downloadable CDN video URL through task API or callback.

Why Use a Unified API

Consolidate model calls, task polling, CDN storage, error classification, and billing records on the platform side.

CapabilityAce Data Cloud HappyHorseSome Others
Multiple video actionsUnified `/happyhorse/videos`Multiple interfaces to stitch together
Result filesAutomatic CDN storageCommon temporary URLs expire
BillingRecords based on actual secondsRequires self-built usage ledger
Error handlingStructured error codesUpstream error formats are unstable

Select Model by Task

1.1 Models are primarily used for generating tasks; video editing currently uses 1.0 video-edit.

T2V

happyhorse-1.1-t2v

Default text-to-video model, suitable for generating short films from scripts and shot descriptions.

I2V

happyhorse-1.1-i2v

Controls composition and visual tone with the first frame image, suitable for product images and character image animation.

R2V

happyhorse-1.1-r2v

Constrains characters and props with multiple reference images, suitable for scenes with higher consistency requirements.

EDIT

happyhorse-1.0-video-edit

Edits based on the input video and can choose to retain the original audio.

Clear Per-Second Pricing

Failed tasks are not billed; video editing is billed based on the total input and output duration returned by upstream.

720P Generation

As low as $0.105 / second
  • Suitable for rapid prototyping
  • Supports t2v / i2v / r2v
  • 3–15 seconds output
View Pricing

Video Editing

Based on actual seconds
  • Input + output duration
  • Supports reference images
  • Can retain original audio
View Parameters

Frequently Asked Questions

The parameters, materials, and billing issues that are most concerning before going live.

What input materials does HappyHorse support?

Text-to-video only requires a prompt; first-frame image-to-video requires image_url; reference image-to-video requires 1–9 image_urls; video editing requires video_url, and optionally 0–5 reference images.

Will the returned video URL expire?

Ace Data Cloud will transfer upstream results to the platform CDN, and the accessible CDN URL is used in the documentation and API responses.

How to handle long generation times?

It is recommended to use async or callback_url. The interface will first return task_id, and you can actively query through `/happyhorse/tasks` or wait for a callback.

Will failed tasks incur charges?

No. Only tasks that are successfully completed and recorded will be billed based on duration and resolution.

Integrate HappyHorse into your video product

Use unified Token, unified billing, and unified task queries to stably integrate video generation and editing capabilities into your application.