{"servers":[{"url":"https://api.modellix.ai/api/v1/alibaba/happyhorse-1.0-video-edit"}],"post":{"description":"[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.","operationId":"happyhorse10VideoEditAsync","requestBody":{"content":{"application/json":{"examples":{"advanced":{"summary":"Advanced with all parameters","value":{"audio_setting":"origin","input_video_url":"https://example.com/video.mp4","prompt":"Transform the video scene to match the artistic style of the reference image","reference_images":["https://example.com/style.jpg"],"resolution":"1080P","seed":12345}},"basic_edit":{"summary":"Basic video editing without reference images","value":{"input_video_url":"https://example.com/video.mp4","prompt":"Add a vintage film filter effect to the video"}},"max_references":{"summary":"Using maximum 5 reference images","value":{"input_video_url":"https://example.com/video.mp4","prompt":"Complex scene editing with multiple reference elements","reference_images":["https://example.com/ref1.jpg","https://example.com/ref2.jpg","https://example.com/ref3.jpg","https://example.com/ref4.jpg","https://example.com/ref5.jpg"],"resolution":"720P"}},"multiple_references":{"summary":"Multiple reference images for complex editing","value":{"audio_setting":"origin","input_video_url":"https://example.com/video.mp4","prompt":"Apply the style and colors from the reference images to transform the video scene","reference_images":["https://example.com/style1.jpg","https://example.com/style2.jpg","https://example.com/style3.jpg"],"resolution":"1080P"}},"with_reference":{"summary":"Video editing with reference image","value":{"input_video_url":"https://example.com/video.mp4","prompt":"Make the character in the video wear the clothes from the image","reference_images":["https://example.com/clothes.jpg"]}}},"schema":{"properties":{"audio_setting":{"default":"auto","description":"Audio control. auto: automatically controlled by the model; origin: preserve original audio from input video","enum":["auto","origin"],"example":"auto","type":"string"},"input_video_url":{"description":"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)","example":"https://example.com/video.mp4","format":"uri","pattern":"^https?://","type":"string"},"prompt":{"description":"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)","example":"Make the character in the video wear the clothes from the reference image","maxLength":5000,"minLength":1,"type":"string"},"reference_images":{"description":"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","example":["https://example.com/style1.jpg","https://example.com/style2.jpg"],"items":{"example":"https://example.com/reference.jpg","format":"uri","type":"string"},"maxItems":5,"minItems":0,"type":"array"},"resolution":{"default":"1080P","description":"Output video resolution tier","enum":["720P","1080P"],"example":"1080P","type":"string"},"seed":{"description":"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","example":12345,"maximum":2147483647,"minimum":0,"type":"integer"}},"required":["prompt","input_video_url"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Response code, 0 indicates success","example":0,"type":"integer"},"data":{"description":"Detailed data about the submitted asynchronous task.","properties":{"get_result":{"description":"API information to query the task result","properties":{"method":{"description":"HTTP method","example":"GET","type":"string"},"url":{"description":"Full URL to query the task result","example":"https://api.modellix.ai/api/v1/tasks/task-abc123","type":"string"}},"type":"object"},"model_id":{"description":"Model ID","example":"model-123","type":"string"},"status":{"description":"Task status","enum":["pending","processing"],"example":"pending","type":"string"},"task_id":{"description":"Unique task identifier","example":"task-abc123","type":"string"}},"required":["status","task_id","model_id"],"type":"object"},"message":{"description":"Response message","example":"success","type":"string"}},"required":["code","message","data"],"type":"object"}}},"description":"Task submitted successfully"}},"summary":"HappyHorse 1.0 Video Edit","x-mint":{"href":"alibaba/happyhorse-1-0-video-edit"}}}