mingyan
Happy Horse Video Edit - Create Task
Create a Happy Horse video edit task with happyhorse-1.0-video-edit
Happy Horse Video Edit Create Task
Create a video edit task with
happyhorse-1.0-video-edit. This API requires exactly 1 source video and optionally accepts up to 5 reference images.Authentication
Authentication
Get KeyAll requests require a Bearer token in the request header:
cURL
Authorization: Bearer {{key}}
Base URL
https://zcbservice.aizfw.cn/kyyReactApiServerbaseUrl is the shared prefix for all public APIs. The api field in the current page frontmatter shows the full endpoint. Use this baseUrl as the common prefix when reading or composing request paths.Request Parameters
modelbodystringrequiredModel name. Always use
happyhorse-1.0-video-edit.promptbodystringrequiredVideo edit prompt. The maximum length is
2500 Chinese characters or 5000 non-Chinese characters.referenceVideosbodyarrayrequiredSource video URL array. You must pass exactly
1 video.Video limits:
- Formats:
MP4,MOV;H.264is recommended - Duration:
3-60seconds - Resolution: long side up to
4096pixels, short side at least360pixels - Aspect ratio:
1:2.5to2.5:1 - File size: up to
100MB - Frame rate: greater than
8fps
referenceImagesbodyarrayReference image URL array. Optional, up to
5 images.audioSettingbodystringAudio control. Defaults to
auto.auto: let the model control audioorigin: keep the source video's original audio
resolutionbodystringOutput resolution. Defaults to
720P; available values are 720P and 1080P.seedbodyintegerRandom seed from
0 to 2147483647. Defaults to 0.Response Parameters
idstringUnique identifier of the video generation task. Use it to query task status later.
objectstringObject type. Always
video.createdintegerTask creation timestamp.
modelstringModel name used to create the task.
statusstringTask status. On successful creation, it is always
queued.errorstringError information. It is usually
null when task creation succeeds.Important:
referenceVideosmust contain exactly1video- If the input video is longer than
15seconds, the first15seconds are used as the effective segment referenceImagessupports up to5imagesaudioSettingonly supportsautoororigin

