{"servers":[{"url":"https://api.modellix.ai/api/v1/alibaba/wan2.7-t2v"}],"post":{"description":"[Core Function] Wan 2.7 T2V is Alibaba's flagship text-to-video generation model. [Strengths] It generates high-fidelity video directly from text with support for custom aspect ratios, audio generation, and intricate semantic adherence. [Best For] Highly recommended for: high-quality commercial video generation, professional storytelling, and dynamic cinematic sequences. [Limitations] Do NOT use this model if the user specifically requests the streamlined 'HappyHorse' workflow. [Routing] Use this model by default for high-end text-to-video requests on the Alibaba platform.","operationId":"wan27T2vAsync","requestBody":{"content":{"application/json":{"examples":{"advanced":{"summary":"Advanced with all parameters","value":{"duration":10,"negative_prompt":"blurry, low quality","prompt":"Epic dragon flying over mountains with dramatic lighting","prompt_extend":true,"ratio":"16:9","resolution":"1080P","seed":12345}},"basic":{"summary":"Basic video generation","value":{"prompt":"A cute cat running in the moonlight, multi-shot cinematic video."}},"square_video":{"summary":"Square video format","value":{"duration":8,"prompt":"A rotating 3D cube with colorful patterns","ratio":"1:1","resolution":"1080P"}},"with_audio":{"summary":"With custom audio","value":{"audio_url":"https://example.com/audio.mp3","duration":5,"prompt":"A serene beach at sunset","ratio":"9:16","resolution":"720P"}}},"schema":{"properties":{"audio_url":{"description":"Custom audio URL (supports wav/mp3, 2–30 seconds, ≤15MB)","example":"https://example.com/audio.mp3","format":"uri","type":"string"},"duration":{"default":5,"description":"Video duration in seconds (integer)","enum":[2,3,4,5,6,7,8,9,10,11,12,13,14,15],"example":5,"type":"integer"},"negative_prompt":{"description":"Negative prompt describing unwanted content","example":"blurry, low quality","maxLength":500,"type":"string"},"prompt":{"description":"Text prompt describing the desired video content. Supports Chinese and English","example":"A cute cat running in the moonlight, multi-shot cinematic video.","maxLength":5000,"minLength":1,"type":"string"},"prompt_extend":{"default":true,"description":"Enable prompt intelligent rewriting to enhance generation quality","example":true,"type":"boolean"},"ratio":{"default":"16:9","description":"Specifies the aspect ratio for the generated video","enum":["16:9","9:16","1:1","4:3","3:4"],"example":"16:9","type":"string"},"resolution":{"default":"1080P","description":"Specifies the resolution tier for the generated video","enum":["720P","1080P"],"example":"1080P","type":"string"},"seed":{"description":"Random number seed for reproducibility. Note: identical seeds cannot guarantee completely identical results due to model probabilistic nature","example":42,"maximum":2147483647,"minimum":0,"type":"integer"}},"required":["prompt"],"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.7 T2V","x-mint":{"href":"alibaba/wan-2-7-t2v"}}}