curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/happyhorse-1.0-video-edit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Add a vintage film filter effect to the video",
"input_video_url": "https://example.com/video.mp4"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-abc123",
"model_id": "model-123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-abc123"
}
}
}HappyHorse 1.0 Video Edit
[Core Function] HappyHorse 1.0 Video Edit is a streamlined video editing model. [Strengths] It provides high-quality video editing capabilities (with or without reference images) within the highly optimized HappyHorse architecture. [Best For] Highly recommended for: fast, high-quality video modifications, especially when the user explicitly requests HappyHorse. [Limitations] May lack the deep instruction-based logical replacement mechanics of Wan 2.7 Video Editing. [Routing] Route to this model when the user explicitly requests ‘HappyHorse’ for their video editing task.
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/happyhorse-1.0-video-edit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Add a vintage film filter effect to the video",
"input_video_url": "https://example.com/video.mp4"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-abc123",
"model_id": "model-123",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-abc123"
}
}
}Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
Text instruction describing desired video editing operations, such as style transformation or local replacement. Supports any language input. Maximum length: 5000 non-Chinese characters or 2500 Chinese characters (automatically truncated if exceeded)
1 - 5000"Make the character in the video wear the clothes from the reference image"
Input video URL (HTTP/HTTPS, must be publicly accessible). Video requirements: duration 3-60 seconds, format MP4/MOV (H.264 recommended), resolution: long side ≤2160px, short side ≥320px, aspect ratio: 1:2.5~2.5:1, file size ≤100MB, frame rate >8fps. Output video: 3-15 seconds (automatically truncates to first 15 seconds if input exceeds)
^https?://"https://example.com/video.mp4"
Reference image URLs for style transfer or local replacement (optional, 0-5 images). Image requirements: format JPEG/JPG/PNG/WEBP, resolution: width and height ≥300px, aspect ratio: 1:2.5~2.5:1, file size ≤10MB
5[
"https://example.com/style1.jpg",
"https://example.com/style2.jpg"
]
Output video resolution tier
720P, 1080P "1080P"
Audio control. auto: automatically controlled by the model; origin: preserve original audio from input video
auto, origin "auto"
Random seed for reproducibility (0-2147483647). If not specified, system generates random seed. Fixed seed value can improve result reproducibility, but cannot guarantee completely identical results due to probabilistic nature of model generation
0 <= x <= 214748364712345