GlobalAiOpc

Happy Horse Video Edit - Create Task

Create a Happy Horse video edit task with happyhorse-1.0-video-edit

POST/kyyReactApiServer/v1/happyhorse-edit/videos

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 Key
All requests require a Bearer token in the request header:
cURL
Authorization: Bearer {{key}}

Base URL

https://zcbservice.aizfw.cn/kyyReactApiServer
baseUrl 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

modelbodystringrequired
Model name. Always use happyhorse-1.0-video-edit.
promptbodystringrequired
Video edit prompt. The maximum length is 2500 Chinese characters or 5000 non-Chinese characters.
referenceVideosbodyarrayrequired
Source video URL array. You must pass exactly 1 video.
Video limits:
  • Formats: MP4, MOV; H.264 is recommended
  • Duration: 3-60 seconds
  • Resolution: long side up to 4096 pixels, short side at least 360 pixels
  • Aspect ratio: 1:2.5 to 2.5:1
  • File size: up to 100MB
  • Frame rate: greater than 8fps
referenceImagesbodyarray
Reference image URL array. Optional, up to 5 images.
audioSettingbodystring
Audio control. Defaults to auto.
  • auto: let the model control audio
  • origin: keep the source video's original audio
resolutionbodystring
Output resolution. Defaults to 720P; available values are 720P and 1080P.
seedbodyinteger
Random seed from 0 to 2147483647. Defaults to 0.

Response Parameters

idstring
Unique identifier of the video generation task. Use it to query task status later.
objectstring
Object type. Always video.
createdinteger
Task creation timestamp.
modelstring
Model name used to create the task.
statusstring
Task status. On successful creation, it is always queued.
errorstring
Error information. It is usually null when task creation succeeds.
Important:
  • referenceVideos must contain exactly 1 video
  • If the input video is longer than 15 seconds, the first 15 seconds are used as the effective segment
  • referenceImages supports up to 5 images
  • audioSetting only supports auto or origin