▥ Seedance 2.5 is here! ›
HappyHorse 1.0 Video Edit

HappyHorse 1.0 Video Edit API

Alibaba HappyHorse 1.0 Video Edit changes an existing video from a prompt, keeping its length.

Warm Official Live Priced by route Data privacy Zero training API docs

Input

prompt*string

Describe the change to make to the source video

route_modestring

Choose the provider route used for this request.

Lower-cost official route and the default for new requests and API keys.
video_url*string

Public HTTPS URL of the video to edit. The output is as long as the source.

resolutionstring

Higher resolutions may take longer to generate.

Default: "720p"
Indicative cost$0.125 / second of source videoThe output is as long as the source video, and you pay for each second of it · official-cheap

Output

Ready for a predictionAdjust the inputs, then run the model.
  1. Create an API key

    Create a key in the console and save it as the MLMUX_API_KEY environment variable.

    Create an API key
  2. Send a request

    Send the request to https://api.mlmux.com/v1/videos/generations with the model ID alibaba/happyhorse-1.0-video-edit. The example uses this page's default settings; change the prompt and options as needed.

  3. Read the result

    The response is a task. Poll its poll_url every few seconds until status is succeeded, then download the video, or set up a webhook to be notified.

curl https://api.mlmux.com/v1/videos/generations \
  -H "Authorization: Bearer $MLMUX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "alibaba/happyhorse-1.0-video-edit",
  "route_mode": "official-cheap",
  "prompt": "Make it look like a rainy evening and keep the camera move",
  "video_url": "https://your-cdn.example/source.mp4",
  "resolution": "720p"
}'

# The response is a task. Poll it until "status" is "succeeded", then read "video".
curl https://api.mlmux.com/v1/videos/generations/TASK_ID \
  -H "Authorization: Bearer $MLMUX_API_KEY"

Pricing

Video is billed per second of output at the resolution you choose. The price changes with resolution and route.

Learn more about pricing ↗

All video rates

Per second of output video, by resolution. Billing follows the seconds the provider reports. With a reference video, the reference video's own seconds are billed too, at the same rate.

Resolutionofficialofficial-cheap
720p$0.138 / s$0.125 / s
1080p$0.246 / s$0.222 / s

Readme

HappyHorse 1.0 Video Edit is available through MLMux with one request shape and two explicit route tiers.

Edit with a prompt

Pass a source video and describe the change: a new style, setting, weather, or look.

Same length as the source

The output is as long as the source video, at 720p or 1080p.

Billed per second

You pay for each second of the edited video, which matches the source's length.

Frequently asked questions

What is HappyHorse 1.0 Video Edit?

HappyHorse 1.0 Video Edit is a video generation model from Alibaba. On MLMux you can run it in the browser or call it through one API. Alibaba HappyHorse 1.0 Video Edit changes an existing video from a prompt, keeping its length.

How do I use the HappyHorse 1.0 Video Edit API?

Create an API key in the MLMux Console, then send a POST request to https://api.mlmux.com/v1/videos/generations with the key in the Authorization header and model set to alibaba/happyhorse-1.0-video-edit. The request returns a task: poll it, or receive a webhook when the video is ready.

What can HappyHorse 1.0 Video Edit do?

HappyHorse 1.0 Video Edit works on a source video you pass as video_url, and the output is as long as the source. Output resolutions: 720p or 1080p.

How much does HappyHorse 1.0 Video Edit cost?

MLMux is pay as you go, with no subscription or monthly fee, and 1 credit equals 1 US dollar. HappyHorse 1.0 Video Edit charges for each second of the video it returns, which is as long as the source: $0.125 per second on the default official-cheap route and $0.138 on the official route, at 720p. Rates for every resolution are listed in the pricing section of this page.

Can I try HappyHorse 1.0 Video Edit without writing code?

Yes. Sign in and use the playground at the top of this page to run HappyHorse 1.0 Video Edit with the same settings as the API. The playground's code views show the matching request for your settings, and the quick start below has copy-paste examples in cURL, Python, and JavaScript.