{"servers":[{"url":"https://api.modellix.ai/api/v1/vidu/viduq2-pro-digital-human"}],"post":{"description":"[Core Function] Vidu Q2 Pro Digital Human is a premium portrait animation model. [Strengths] It excels at generating highly realistic, expressive digital humans from a single portrait image, featuring precise lip-sync to audio and natural facial micro-expressions. [Best For] Highly recommended for: professional virtual spokespersons, high-end educational videos, news anchoring, and realistic character animation. [Limitations] Do NOT use this model for complex full-body physical interactions or videos longer than 10 seconds. [Routing] Use this by default for 'talking head' or 'digital human' requests prioritizing realism over speed.","operationId":"viduQ2ProDigitalHumanAsync","requestBody":{"content":{"application/json":{"examples":{"basic":{"summary":"Portrait image only","value":{"image_url":"https://example.com/executive.jpg"}},"with_audio":{"summary":"With audio for lip sync","value":{"audio_url":"https://example.com/broadcast.mp3","image_url":"https://example.com/anchor.jpg","resolution":"1080p"}},"with_prompt":{"summary":"With motion description","value":{"image_url":"https://example.com/teacher.jpg","prompt":"Teacher explains with an engaging smile, nodding and emphasizing key points"}}},"schema":{"description":"Vidu Q2 digital human request.","properties":{"audio_url":{"description":"Audio file URL. When provided, the digital human's lip movements will synchronize to this audio track.","example":"https://example.com/speech.mp3","minLength":1,"type":"string"},"image_url":{"description":"Portrait image URL or base64 data URI","example":"https://example.com/portrait.jpg","minLength":1,"type":"string"},"prompt":{"description":"Motion or speech description for the digital human","example":"Presenter speaks confidently, making eye contact with the camera","maxLength":2000,"minLength":1,"type":"string"},"resolution":{"default":"720p","description":"Video resolution","enum":["540p","720p","1080p"],"example":"1080p","type":"string"}},"required":["image_url"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"example":{"code":0,"data":{"get_result":{"method":"GET","url":"https://api.modellix.ai/api/v1/tasks/task-vidu-dh-002"},"model_id":"vidu/viduq2-pro-digital-human","status":"pending","task_id":"task-vidu-dh-002"},"message":"success"},"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":{"example":"GET","type":"string"},"url":{"example":"https://api.modellix.ai/api/v1/tasks/task-abc123","type":"string"}},"type":"object"},"model_id":{"description":"Model ID in `provider/model` format","example":"vidu/viduq3-pro-fast-i2v","type":"string"},"status":{"description":"Task status","enum":["pending","processing"],"example":"pending","type":"string"},"task_id":{"description":"Unique task identifier for polling","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"},"400":{"content":{"application/json":{"example":{"code":400,"message":"Invalid parameters: parameter 'first_frame_image' is required"},"schema":{"properties":{"code":{"example":400,"type":"integer"},"message":{"example":"Invalid parameters: parameter 'first_frame_image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Invalid request parameters"},"401":{"content":{"application/json":{"example":{"code":401,"message":"Authentication failed: invalid API key"},"schema":{"properties":{"code":{"example":400,"type":"integer"},"message":{"example":"Invalid parameters: parameter 'first_frame_image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Unauthorized - Invalid or missing API Key"},"429":{"content":{"application/json":{"example":{"code":429,"message":"Rate limit exceeded: 100 requests per minute, retry after 60 seconds"},"schema":{"properties":{"code":{"example":400,"type":"integer"},"message":{"example":"Invalid parameters: parameter 'first_frame_image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Too many requests - Rate limit exceeded","headers":{"X-RateLimit-Limit":{"description":"Maximum requests per minute","schema":{"example":100,"type":"integer"}},"X-RateLimit-Remaining":{"description":"Remaining quota in current window","schema":{"example":0,"type":"integer"}},"X-RateLimit-Reset":{"description":"Rate limit window reset time (Unix timestamp)","schema":{"example":1704067260,"type":"integer"}}}},"500":{"content":{"application/json":{"example":{"code":500,"message":"Internal server error"},"schema":{"properties":{"code":{"example":400,"type":"integer"},"message":{"example":"Invalid parameters: parameter 'first_frame_image' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Internal server error"}},"summary":"Vidu Q2 Pro Digital Human","x-mint":{"href":"vidu/viduq2-pro-digital-human"}}}