happyhorse-1.0-video-edit
happyhorse-1.0-video-edit is available through TTAPI. Text- and image-to-video generation with clear per-second billing.
Same input, two HappyHorse generations
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.
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.
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.
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.
Per-action, in quota
Usage is metered in quota by model, action, and output settings.
Headers and submit parameters
Use the endpoint below with your TTAPI key and the request fields shown.
/happyhorse/api/v1/services/aigc/video-generation/video-editSubmit a HappyHorse EDIT task.
Official reference/happyhorse/api/v1/tasks/{task_id}Retrieve a HappyHorse task result.
Official referenceHeaders
TT-API-KEYstringrequiredYour TTAPI API key.
Content-TypestringrequiredUse application/json.
Body
modelstringrequiredHappyHorse task model such as happyhorse-1.1-t2v.
input.promptstringconditionalText prompt for generation or editing.
input.mediaobject[]conditionalFirst-frame image, reference images, or source video for the selected workflow.
parameters.resolutionenumoptional720P or 1080P output.
parameters.durationintegeroptionalClip duration in seconds.
parameters.ratioenumoptionalOutput aspect ratio for supported workflows.
parameters.watermarkbooleanoptionalWhether to include the HappyHorse watermark.
parameters.seedintegeroptionalRandom seed from 0 to 2147483647.
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"}}'