{"servers":[{"url":"https://api.modellix.ai/api/v1/alibaba/wan3.0-t2v"}],"post":{"description":"[Core Function] Wan 3.0 T2V is Alibaba Wan 3.0 text-to-video generation with optional document or webpage reference. [Strengths] It generates up to 30-second video at 480P/720P/1080P with controllable aspect ratio and optional output audio, and can ground generation on a file or public webpage. [Best For] Highly recommended for: pure text-to-video storytelling, product ads driven by pptx/pdf briefs, turning public articles into short videos, and square or vertical social clips. [Limitations] At least one of prompt, file_url, or link_url is required; an empty body is rejected. Do NOT pass file_url and link_url together. Do NOT use this model if the user provides images or videos as primary media; route those to Wan 3.0 I2V or V2V. [Routing] Prefer this model for Wan 3.0 text-only or file/link-to-video. Use Wan 3.0 I2V for first-frame or reference-image workflows, and Wan 3.0 V2V when reference video is required.","operationId":"wan30T2vAsync","requestBody":{"content":{"application/json":{"examples":{"advanced":{"summary":"With generation parameters","value":{"audio":true,"duration":10,"prompt":"Epic dragon flying over mountains with dramatic lighting","ratio":"1:1","resolution":"1080P","seed":12345}},"basic":{"summary":"Basic text-to-video","value":{"prompt":"A cute cat running on a moonlit rooftop, cinematic."}},"reference_file":{"summary":"Reference file to video","value":{"duration":10,"file_url":"https://example.com/glass.pptx","prompt":"A premium smart glasses product ad, minimal and futuristic","resolution":"480P"}},"reference_file_only":{"summary":"file_url alone (prompt optional)","value":{"duration":8,"file_url":"https://example.com/glass.pptx","resolution":"720P"}},"reference_link":{"summary":"Reference webpage to video","value":{"duration":8,"link_url":"https://example.com/article","prompt":"Summarize the article as a short cinematic video","ratio":"9:16"}}},"schema":{"anyOf":[{"required":["prompt"]},{"required":["file_url"]},{"required":["link_url"]}],"description":"At least one of prompt, file_url, or link_url is required (anyOf below). file_url and link_url are mutually exclusive. resolution/ratio/duration/audio have defaults when omitted.","properties":{"audio":{"default":true,"description":"Whether the output video includes an audio track","example":true,"type":"boolean"},"duration":{"default":5,"description":"Video duration in seconds. Allowed values are integers from 2 to 30","enum":[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30],"example":5,"type":"integer"},"file_url":{"description":"Reference file URL. Supported formats: docx, doc, xlsx, xls, pptx, ppt, pdf, txt, key, pages, numbers, md. Max 100MB; page-based formats up to 50 pages. HTTP/HTTPS or oss:// temporary URL. Mutually exclusive with link_url. May be used alone or with prompt.","example":"https://example.com/glass.pptx","format":"uri","type":"string"},"link_url":{"description":"Public webpage URL that does not require login. HTTP/HTTPS only. Mutually exclusive with file_url. May be used alone or with prompt.","example":"https://example.com/article","format":"uri","type":"string"},"prompt":{"description":"Text prompt describing the desired video content. Supports Chinese and English. Max 20000 characters. Required unless file_url or link_url is provided.","example":"A cute cat running on a moonlit rooftop, cinematic.","maxLength":20000,"minLength":1,"type":"string"},"ratio":{"default":"1:1","description":"Specifies the aspect ratio for the generated video","enum":["16:9","4:3","1:1","3:4","9:16"],"example":"1:1","type":"string"},"resolution":{"default":"1080P","description":"Specifies the resolution tier for the generated video","enum":["480P","720P","1080P"],"example":"1080P","type":"string"},"seed":{"description":"Random number seed for reproducibility. Identical seeds cannot guarantee completely identical results","example":12345,"maximum":2147483647,"minimum":0,"type":"integer"}},"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 3.0 T2V","x-mint":{"href":"alibaba/wan3-0-t2v"}}}