{"servers":[{"url":"https://api.modellix.ai/api/v1/alibaba/wan2.6-t2v/async"}],"post":{"description":"Wan text-to-video model generates videos from text with rich artistic styles. Wan 2.6 adds multi-shot narrative, automatic dubbing, and custom audio support.","operationId":"wan26T2vAsync","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,"seed":12345,"shot_type":"multi","size":"1920*1080"}},"basic":{"summary":"Basic video generation","value":{"prompt":"A cute cat running in the moonlight."}},"with_audio":{"summary":"With custom audio","value":{"audio_url":"https://example.com/audio.mp3","duration":5,"prompt":"A serene beach at sunset","size":"1280*720"}}},"schema":{"properties":{"audio_url":{"description":"Custom audio URL (supports wav/mp3, 3-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":"Video content description, supports Chinese and English","example":"A cute cat running in the moonlight","maxLength":1500,"minLength":1,"type":"string"},"prompt_extend":{"default":false,"description":"Enable prompt intelligent rewriting","example":false,"type":"boolean"},"seed":{"description":"Random seed for reproducibility","example":42,"maximum":2147483647,"minimum":0,"type":"integer"},"shot_type":{"description":"Shot type","enum":["single","multi"],"example":"single","type":"string"},"size":{"default":"1920*1080","description":"Video resolution in format 'width*height'","enum":["1280*720","720*1280","960*960","1088*832","832*1088","1920*1080","1080*1920","1440*1440","1632*1248","1248*1632"],"example":"1920*1080","type":"string"}},"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.6 T2V","x-mint":{"href":"alibaba/wan-2-6-t2v"}}}