happyhorse-1.0-video-edit

by AlibabaVideo

happyhorse-1.0-video-edit is available through TTAPI. Text- and image-to-video generation with clear per-second billing.

InputPrompttext
Models7available
FlowAsyncresult URL
Pricefrom 8.4quota / sec
Example clipVideo preview
Ming hanfu wardrobe replacement

Using Image 1 as the reference, replace the woman's clothing in the source video with the misty-blue Ming dynasty hanfu. Keep the garment fitted to her body and motion, let the wide sleeves move naturally with her arms, and preserve the layered collar and front panels as she turns. Match the crane and floral embroidery, fabric sheen, shadows, and material response to the original lighting. Keep her expression, hairstyle, skin tone, environment, and camera path completely unchanged.

720P · 1.1
Examples

Same input, two HappyHorse generations

01 · Ming hanfu wardrobe replacementEDIT
Prompt

Using Image 1 as the reference, replace the woman's clothing in the source video with the misty-blue Ming dynasty hanfu. Keep the garment fitted to her body and motion, let the wide sleeves move naturally with her arms, and preserve the layered collar and front panels as she turns. Match the crane and floral embroidery, fabric sheen, shadows, and material response to the original lighting. Keep her expression, hairstyle, skin tone, environment, and camera path completely unchanged.

02 · Traditional ink-wash conversionEDIT
Prompt

Using the visual characteristics of Image 1, transform the entire source video into a traditional black-and-white Chinese ink-wash painting. Rebuild the mountains, mist, architecture, and every visible element with expressive brushwork and varied ink density while keeping the original camera movement and scene structure unchanged. The result should feel monochromatic, atmospheric, and spatially coherent.

03 · Minecraft voxel conversionEDIT
Prompt

Transform the entire video into the Minecraft voxel style based on the visual aesthetic of Image 1. Convert every subject, character, and environment into 3D blocks with low-resolution pixel textures, and match the lighting and colors of the reference world. Keep the original movement, character actions, and camera tracking path completely unchanged so the scene feels rebuilt inside a Minecraft world.

Capabilities

What you can build with happyhorse-1.0-video-edit

Prompt driven generation

Submit a concise prompt and get production-ready video output through one TTAPI job.

Core controls only

Keep integration simple with prompt, model, output settings, and callback handling.

Async result flow

Use polling or webhook callbacks so long-running generations do not block your UI.

Ready for product UI

Return HappyHorse results that can be displayed, stored, or passed into downstream workflows.

Pricing

Per-action, in quota

Usage is metered in quota by model, action, and output settings.

Video generationOfficial pricing
ResolutionPriceUnit
720P8.4 quota/ second
1080P14.4 quota/ second
API request

Headers and submit parameters

Use the endpoint below with your TTAPI key and the request fields shown.

SubmitPOST
/happyhorse/api/v1/services/aigc/video-generation/video-edit

Submit a HappyHorse EDIT task.

Official reference
FetchGET
/happyhorse/api/v1/tasks/{task_id}

Retrieve a HappyHorse task result.

Official reference
POSThttps://api.ttapi.io/happyhorse/api/v1/services/aigc/video-generation/video-edit

Headers

TT-API-KEYstringrequired

Your TTAPI API key.

Content-Typestringrequired

Use application/json.

Body

modelstringrequired

HappyHorse task model such as happyhorse-1.1-t2v.

input.promptstringconditional

Text prompt for generation or editing.

input.mediaobject[]conditional

First-frame image, reference images, or source video for the selected workflow.

parameters.resolutionenumoptional

720P or 1080P output.

parameters.durationintegeroptional

Clip duration in seconds.

parameters.ratioenumoptional

Output aspect ratio for supported workflows.

parameters.watermarkbooleanoptional

Whether to include the HappyHorse watermark.

parameters.seedintegeroptional

Random seed from 0 to 2147483647.

Open the official TTAPI documentation
Integrate

From key to first result

Copy the resolved endpoint, authentication headers, and request body for this model.

curl --request POST \
  --url https://api.ttapi.io/happyhorse/api/v1/services/aigc/video-generation/video-edit \
  --header 'TT-API-KEY: $TTAPI_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"model":"happyhorse-1.0-video-edit","input":{"prompt":"slow dolly shot through a lantern-lit alley","media":[{"type":"video","url":"https://example.com/source.mp4"},{"type":"reference_image","url":"https://example.com/reference.jpg"}]},"parameters":{"resolution":"720P","watermark":false,"audio_setting":"auto"}}'