{"servers":[{"url":"https://api.modellix.ai/api/v1/alibaba/wan2.2-animate-mix"}],"post":{"description":"[Core Function] Wan 2.2 Animate Mix - Character Replacement in Video is a legacy video editing and motion transfer model. [Strengths] Provided enhanced dynamic camera movements and rich lighting effects. Maintained for backward compatibility. [Best For] Existing legacy integrations and workflows that strictly depend on this specific model version's quirks. [Limitations] Do NOT use this for new creations. It is a legacy model maintained for backward compatibility. [Routing] Only use if explicitly requested; otherwise use Wan 2.7 Video Editing.","operationId":"wan22AnimateMixAsync","requestBody":{"content":{"application/json":{"examples":{"professional_mode":{"summary":"Professional mode - high-quality film production","value":{"check_image":true,"image_url":"https://example.com/lead_actor.jpg","mode":"wan-pro","video_url":"https://example.com/scene_footage.mp4"}},"quick_preview":{"summary":"Quick preview - skip detection for faster results","value":{"check_image":false,"image_url":"https://example.com/character.jpg","mode":"wan-std","video_url":"https://example.com/scene.mp4"}},"standard_mode":{"summary":"Standard mode - cost-effective character replacement","value":{"image_url":"https://example.com/new_actor.jpg","mode":"wan-std","video_url":"https://example.com/original_scene.mp4"}}},"schema":{"properties":{"check_image":{"default":true,"description":"Whether to perform image quality detection. When true (default), validates input image quality and content. When false, skips detection for faster processing. Recommended to keep true for production use to ensure best results","example":true,"type":"boolean"},"image_url":{"description":"Character image URL to replace the video protagonist (HTTP/HTTPS, publicly accessible, no Chinese or non-ASCII characters). Format: JPG/JPEG/PNG/BMP/WEBP. Size: width and height both in [200, 4096] pixels, aspect ratio 1:3 to 3:1. File size: ≤ 5MB. Content requirement: ensure the character in image has similar aspect ratio to the character in reference video for best results","example":"https://example.com/new_character.jpg","format":"uri","type":"string"},"mode":{"description":"Model service mode. Options: (1) 'wan-std': Standard mode - faster generation, cost-effective, suitable for quick preview and basic character replacement; (2) 'wan-pro': Professional mode - higher animation smoothness and better quality, suitable for film post-production and final output","enum":["wan-std","wan-pro"],"example":"wan-std","type":"string"},"video_url":{"description":"Reference video URL with the original character to be replaced (HTTP/HTTPS, publicly accessible, no Chinese or non-ASCII characters). Format: MP4/AVI/MOV. Duration: 2-30 seconds. Size: width and height both in [200, 2048] pixels, aspect ratio 1:3 to 3:1. File size: ≤ 200MB. The model will replace the character in this video while preserving scene, lighting, and color tone. Tip: Higher resolution and frame rate improve output quality","example":"https://example.com/original_scene.mp4","format":"uri","type":"string"}},"required":["image_url","video_url","mode"],"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":"Wan 2.2 Animate Mix - Character Replacement in Video","x-mint":{"href":"alibaba/wan-2-2-animate-mix"}}}