{"servers":[{"url":"https://api.modellix.ai/api/v1/pixverse/video-restyle"}],"post":{"description":"[Core Function] PixVerse Restyle re-renders an existing video into a new visual style. [Strengths] Consistent style transfer across all frames. [Best For] Turning footage into anime/3D/painterly looks, stylized remixes. [Limitations] Do NOT use this to change content, motion, or add new scenes; it only re-renders the visual style of an existing video. It requires an input video, and you must provide EITHER restyle_id (a preset style code from the PixVerse restyle list) OR restyle_prompt (free-text style, max 2048 chars), not both. [Routing] Use when the user wants to change the look of an existing video. Use restyle_id for an official preset, restyle_prompt for a custom style.","operationId":"pixverseVideoRestyleAsync","requestBody":{"content":{"application/json":{"examples":{"preset":{"summary":"Preset style (restyle_id)","value":{"restyle_id":"cyberpunk","video":"https://example.com/clip.mp4"}},"prompt":{"summary":"Custom style (restyle_prompt)","value":{"restyle_prompt":"Japanese anime style, soft cel shading","video":"https://example.com/clip.mp4"}}},"schema":{"description":"PixVerse restyle request. Requires an input video plus a style source: provide EITHER restyle_id, OR restyle_prompt. The two are mutually exclusive.","properties":{"restyle_id":{"description":"Preset restyle (semantic code; as of 2026-06-26): felted-art, origami, ukiyo-e, cyberpunk, clay, baroque, van-gogh, animal-world. Mutually exclusive with restyle_prompt.","enum":["felted-art","origami","ukiyo-e","cyberpunk","clay","baroque","van-gogh","animal-world"],"example":"cyberpunk","type":"string"},"restyle_prompt":{"description":"Free-text style description. Mutually exclusive with restyle_id.","example":"Japanese anime style, soft cel shading","maxLength":2048,"minLength":1,"type":"string"},"seed":{"description":"Random seed (omit for random).","example":0,"maximum":2147483647,"minimum":0,"type":"integer"},"video":{"description":"Input video URL (publicly accessible).","example":"https://example.com/clip.mp4","minLength":1,"type":"string"}},"required":["video"],"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-pixverse-restyle-001"},"model_id":"pixverse/video-restyle","status":"pending","task_id":"task-pixverse-restyle-001"},"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":"pixverse/lipsync","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 'video' is required"},"schema":{"properties":{"code":{"example":400,"type":"integer"},"message":{"example":"Invalid parameters: parameter 'video' 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 'video' 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 'video' 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 'video' is required","type":"string"}},"required":["code","message"],"type":"object"}}},"description":"Internal server error"}},"summary":"Restyle Video","x-mint":{"href":"pixverse/video-restyle"}}}