{"components":{"schemas":{"ErrorResponse":{"properties":{"error":{"properties":{"code":{"enum":["missing_parameter","invalid_parameter","unsupported_parameter","unsupported_value","task_not_found"],"type":"string"},"message":{"type":"string"},"param":{"type":"string"},"type":{"example":"invalid_request_error","type":"string"}},"required":["type","code","message","param"],"type":"object"}},"required":["error"],"type":"object"},"VideoGeneration":{"properties":{"completed_at":{"format":"int64","type":["integer","null"]},"created_at":{"format":"int64","type":"integer"},"error":{"oneOf":[{"$ref":"#/components/schemas/ErrorResponse/properties/error"},{"type":"null"}]},"id":{"example":"vid_01K2ABC123","type":"string"},"model":{"type":"string"},"object":{"const":"video.generation","type":"string"},"outputs":{"items":{"properties":{"type":{"const":"video","type":"string"},"url":{"format":"uri","type":"string"}},"required":["type","url"],"type":"object"},"type":"array"},"progress":{"maximum":100,"minimum":0,"type":["integer","null"]},"started_at":{"format":"int64","type":["integer","null"]},"status":{"enum":["queued","processing","completed","failed","cancelled"],"type":"string"}},"required":["id","object","model","status","outputs","created_at"],"type":"object"},"VideoRequestAlibabaWan27I2v":{"additionalProperties":false,"description":"Image-to-video generation with optional end-frame control. Resolution adapts to the input image, so aspect_ratio is not configurable.","properties":{"duration":{"default":5,"description":"Generated video duration in seconds.","maximum":15,"minimum":2,"type":"integer"},"end_image":{"description":"Optional end-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"image":{"description":"Primary input or first-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"model":{"description":"Model ID used to route the request.","enum":["alibaba/wan-2.7-i2v"],"type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"prompt_extend":{"description":"Whether the upstream model should expand or enhance the prompt.","type":"boolean"},"resolution":{"default":"720p","description":"Output video resolution.","enum":["480p","720p","1080p"],"type":"string"},"seed":{"description":"Random seed; use -1 for a random result.","minimum":-1,"type":"integer"}},"required":["model","prompt","image"],"title":"Wan 2.7 I2V","type":"object"},"VideoRequestAlibabaWan27I2vSpicy":{"additionalProperties":false,"description":"Image-to-video generation. Animates a single source image from a text prompt, with optional end-frame control.","properties":{"audio_enable":{"description":"Whether to generate audio together with the video.","type":"boolean"},"duration":{"default":5,"description":"Generated video duration in seconds.","maximum":15,"minimum":2,"type":"integer"},"end_image":{"description":"Optional end-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"image":{"description":"Primary input or first-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"model":{"description":"Model ID used to route the request.","enum":["alibaba/wan-2.7-i2v-spicy"],"type":"string"},"negative_prompt":{"description":"Content to avoid in the generated video.","type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"prompt_extend":{"description":"Whether the upstream model should expand or enhance the prompt.","type":"boolean"},"resolution":{"default":"720p","description":"Output video resolution.","enum":["720p","1080p"],"type":"string"},"seed":{"description":"Random seed; use -1 for a random result.","minimum":-1,"type":"integer"}},"required":["model","prompt","image"],"title":"Wan 2.7 I2V Spicy","type":"object"},"VideoRequestAlibabaWan27I2vUncensored":{"additionalProperties":false,"description":"Image-to-video generation with the same parameters as wan-2.7-i2v-spicy, without content moderation.","properties":{"audio_enable":{"description":"Whether to generate audio together with the video.","type":"boolean"},"duration":{"default":5,"description":"Generated video duration in seconds.","maximum":15,"minimum":2,"type":"integer"},"end_image":{"description":"Optional end-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"image":{"description":"Primary input or first-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"model":{"description":"Model ID used to route the request.","enum":["alibaba/wan-2.7-i2v-uncensored"],"type":"string"},"negative_prompt":{"description":"Content to avoid in the generated video.","type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"prompt_extend":{"description":"Whether the upstream model should expand or enhance the prompt.","type":"boolean"},"resolution":{"default":"720p","description":"Output video resolution.","enum":["720p","1080p"],"type":"string"},"seed":{"description":"Random seed; use -1 for a random result.","minimum":-1,"type":"integer"}},"required":["model","prompt","image"],"title":"Wan 2.7 I2V Uncensored","type":"object"},"VideoRequestAlibabaWan27Ref2vUncensored":{"additionalProperties":false,"description":"Reference-to-video generation from up to 3 images and 3 videos.","properties":{"audio_enable":{"description":"Whether to generate audio together with the video.","type":"boolean"},"duration":{"default":5,"description":"Generated video duration in seconds.","maximum":15,"minimum":2,"type":"integer"},"images":{"description":"Reference images; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":3,"type":"array"},"model":{"description":"Model ID used to route the request.","enum":["alibaba/wan-2.7-ref2v-uncensored"],"type":"string"},"negative_prompt":{"description":"Content to avoid in the generated video.","type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"prompt_extend":{"description":"Whether the upstream model should expand or enhance the prompt.","type":"boolean"},"resolution":{"default":"720p","description":"Output video resolution.","enum":["720p","1080p"],"type":"string"},"seed":{"description":"Random seed; use -1 for a random result.","minimum":-1,"type":"integer"},"videos":{"description":"Reference videos; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":3,"type":"array"}},"required":["model","prompt"],"title":"Wan 2.7 Ref2V Uncensored","type":"object"},"VideoRequestAlibabaWan27T2v":{"additionalProperties":false,"description":"Text-to-video generation with no source image required.","properties":{"aspect_ratio":{"description":"Output video aspect ratio.","enum":["adaptive","16:9","9:16","1:1","4:3","3:4"],"type":"string"},"duration":{"default":5,"description":"Generated video duration in seconds.","maximum":15,"minimum":2,"type":"integer"},"model":{"description":"Model ID used to route the request.","enum":["alibaba/wan-2.7-t2v"],"type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"prompt_extend":{"description":"Whether the upstream model should expand or enhance the prompt.","type":"boolean"},"resolution":{"default":"720p","description":"Output video resolution.","enum":["480p","720p","1080p"],"type":"string"},"seed":{"description":"Random seed; use -1 for a random result.","minimum":-1,"type":"integer"}},"required":["model","prompt"],"title":"Wan 2.7 T2V","type":"object"},"VideoRequestAlibabaWan30I2vSpicy":{"additionalProperties":false,"description":"Image-to-video generation with a wider duration range, more resolutions, and configurable aspect ratio.","properties":{"aspect_ratio":{"description":"Output video aspect ratio.","enum":["adaptive","16:9","9:16","1:1","4:3","3:4"],"type":"string"},"audio_enable":{"description":"Whether to generate audio together with the video.","type":"boolean"},"duration":{"default":5,"description":"Generated video duration in seconds.","maximum":30,"minimum":2,"type":"integer"},"end_image":{"description":"Optional end-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"image":{"description":"Primary input or first-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"model":{"description":"Model ID used to route the request.","enum":["alibaba/wan-3.0-i2v-spicy"],"type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"resolution":{"default":"720p","description":"Output video resolution.","enum":["480p","720p","1080p"],"type":"string"},"seed":{"description":"Random seed; use -1 for a random result.","maximum":2147483647,"minimum":-1,"type":"integer"}},"required":["model","prompt","image"],"title":"Wan 3.0 I2V Spicy","type":"object"},"VideoRequestAlibabaWan30Ref2vSpicy":{"additionalProperties":false,"description":"Reference-to-video generation from images, videos, and/or audio references, with configurable duration/resolution/aspect ratio.","properties":{"aspect_ratio":{"description":"Output video aspect ratio.","enum":["adaptive","16:9","9:16","1:1","4:3","3:4"],"type":"string"},"audio_enable":{"description":"Whether to generate audio together with the video.","type":"boolean"},"audios":{"description":"Reference audio clips; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":5,"type":"array"},"duration":{"default":5,"description":"Generated video duration in seconds.","maximum":30,"minimum":2,"type":"integer"},"images":{"description":"Reference images; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":10,"type":"array"},"model":{"description":"Model ID used to route the request.","enum":["alibaba/wan-3.0-ref2v-spicy"],"type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"resolution":{"default":"720p","description":"Output video resolution.","enum":["480p","720p","1080p"],"type":"string"},"seed":{"description":"Random seed; use -1 for a random result.","maximum":2147483647,"minimum":-1,"type":"integer"},"videos":{"description":"Reference videos; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":5,"type":"array"}},"required":["model","prompt"],"title":"Wan 3.0 Ref2V Spicy","type":"object"},"VideoRequestBytedanceSeedance20I2vSpicy":{"additionalProperties":false,"description":"Image-to-video generation with resolutions up to 4K and 7 aspect ratio presets, including 21:9.","properties":{"aspect_ratio":{"description":"Output video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"type":"string"},"audio_enable":{"description":"Whether to generate audio together with the video.","type":"boolean"},"duration":{"default":5,"description":"Generated video duration in seconds.","maximum":15,"minimum":4,"type":"integer"},"end_image":{"description":"Optional end-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"image":{"description":"Primary input or first-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"model":{"description":"Model ID used to route the request.","enum":["bytedance/seedance-2.0-i2v-spicy"],"type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"resolution":{"default":"720p","description":"Output video resolution.","enum":["480p","720p","1080p","4k"],"type":"string"},"seed":{"description":"Random seed; use -1 for a random result.","maximum":4294967296,"minimum":-1,"type":"integer"}},"required":["model","prompt","image"],"title":"Seedance 2.0 I2V Spicy","type":"object"},"VideoRequestBytedanceSeedance20Ref2vSpicy":{"additionalProperties":false,"description":"Reference-to-video generation from images, videos, and/or audio references, with resolutions up to 4K.","properties":{"aspect_ratio":{"description":"Output video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"type":"string"},"audio_enable":{"description":"Whether to generate audio together with the video.","type":"boolean"},"audios":{"description":"Reference audio clips; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":3,"type":"array"},"duration":{"default":5,"description":"Generated video duration in seconds.","maximum":15,"minimum":4,"type":"integer"},"images":{"description":"Reference images; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":9,"type":"array"},"model":{"description":"Model ID used to route the request.","enum":["bytedance/seedance-2.0-ref2v-spicy"],"type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"resolution":{"default":"720p","description":"Output video resolution.","enum":["480p","720p","1080p","4k"],"type":"string"},"seed":{"description":"Random seed; use -1 for a random result.","maximum":4294967296,"minimum":-1,"type":"integer"},"videos":{"description":"Reference videos; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":3,"type":"array"}},"required":["model","prompt"],"title":"Seedance 2.0 Ref2V Spicy","type":"object"},"VideoRequestBytedanceSeedance25I2vSpicy":{"additionalProperties":false,"description":"Image-to-video generation with an extended duration range of up to 30 seconds.","properties":{"aspect_ratio":{"description":"Output video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"type":"string"},"audio_enable":{"description":"Whether to generate audio together with the video.","type":"boolean"},"duration":{"default":5,"description":"Generated video duration in seconds.","maximum":30,"minimum":4,"type":"integer"},"end_image":{"description":"Optional end-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"image":{"description":"Primary input or first-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"model":{"description":"Model ID used to route the request.","enum":["bytedance/seedance-2.5-i2v-spicy"],"type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"resolution":{"default":"720p","description":"Output video resolution.","enum":["480p","720p"],"type":"string"},"seed":{"description":"Random seed; use -1 for a random result.","maximum":4294967296,"minimum":-1,"type":"integer"}},"required":["model","prompt","image"],"title":"Seedance 2.5 I2V Spicy","type":"object"},"VideoRequestBytedanceSeedance25Ref2vSpicy":{"additionalProperties":false,"description":"Reference-to-video generation from up to 30 images, 10 videos, and 10 audio clips, with an auto-duration mode.","properties":{"aspect_ratio":{"description":"Output video aspect ratio.","enum":["adaptive","16:9","4:3","1:1","3:4","9:16","21:9"],"type":"string"},"audio_enable":{"description":"Whether to generate audio together with the video.","type":"boolean"},"audios":{"description":"Reference audio clips; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":10,"type":"array"},"duration":{"anyOf":[{"const":-1},{"maximum":30,"minimum":4,"type":"integer"}],"default":5,"description":"Generated video duration in seconds.","type":"integer"},"images":{"description":"Reference images; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":30,"type":"array"},"model":{"description":"Model ID used to route the request.","enum":["bytedance/seedance-2.5-ref2v-spicy"],"type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"resolution":{"default":"720p","description":"Output video resolution.","enum":["480p","720p"],"type":"string"},"seed":{"description":"Random seed; use -1 for a random result.","maximum":4294967296,"minimum":-1,"type":"integer"},"videos":{"description":"Reference videos; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":10,"type":"array"}},"required":["model","prompt"],"title":"Seedance 2.5 Ref2V Spicy","type":"object"},"VideoRequestMinimaxMinimaxH3I2vSpicy":{"additionalProperties":false,"description":"Image-to-video generation with 5-15 second output at 768p, 2K, or 4K resolution.","properties":{"duration":{"default":5,"description":"Generated video duration in seconds.","maximum":15,"minimum":5,"type":"integer"},"image":{"description":"Primary input or first-frame image; accepts an HTTPS URL or Base64 data URL.","type":"string"},"model":{"description":"Model ID used to route the request.","enum":["minimax/minimax-h3-i2v-spicy"],"type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"resolution":{"default":"768p","description":"Output video resolution.","enum":["768p","2k","4k"],"type":"string"}},"required":["model","prompt","image"],"title":"MiniMax H3 I2V Spicy","type":"object"},"VideoRequestMinimaxMinimaxH3Ref2vSpicy":{"additionalProperties":false,"description":"Reference-to-video generation from up to 9 images, 9 videos, and 9 audio clips at resolutions up to 4K.","properties":{"aspect_ratio":{"description":"Output video aspect ratio.","enum":["21:9","16:9","4:3","1:1","3:4","9:16"],"type":"string"},"audios":{"description":"Reference audio clips; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":9,"type":"array"},"duration":{"default":5,"description":"Generated video duration in seconds.","maximum":15,"minimum":5,"type":"integer"},"images":{"description":"Reference images; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":9,"type":"array"},"model":{"description":"Model ID used to route the request.","enum":["minimax/minimax-h3-ref2v-spicy"],"type":"string"},"prompt":{"description":"Text prompt describing the desired video.","type":"string"},"resolution":{"default":"768p","description":"Output video resolution.","enum":["768p","2k","4k"],"type":"string"},"videos":{"description":"Reference videos; each item accepts an HTTPS URL or Base64 data URL.","items":{"description":"HTTPS URL or Base64 data URL.","type":"string"},"maxItems":9,"type":"array"}},"required":["model","prompt","aspect_ratio"],"title":"MiniMax H3 Ref2V Spicy","type":"object"}},"securitySchemes":{"BearerAuth":{"bearerFormat":"API key","scheme":"bearer","type":"http"}}},"info":{"description":"Unified API for AI video generation. Model request schemas are generated from the production Model Registry.","title":"AIAPIAIAPI API","version":"1.0.0"},"openapi":"3.1.0","paths":{"/v1/video/generations":{"post":{"operationId":"createVideoGeneration","requestBody":{"content":{"application/json":{"examples":{"VideoRequestAlibabaWan27I2v":{"summary":"Wan 2.7 I2V","value":{"duration":5,"image":"https://example.com/reference.jpg","model":"alibaba/wan-2.7-i2v","prompt":"A cinematic camera movement through a forest","resolution":"720p"}},"VideoRequestAlibabaWan27I2vSpicy":{"summary":"Wan 2.7 I2V Spicy","value":{"duration":5,"image":"https://example.com/reference.jpg","model":"alibaba/wan-2.7-i2v-spicy","prompt":"A cinematic camera movement through a forest","resolution":"720p"}},"VideoRequestAlibabaWan27I2vUncensored":{"summary":"Wan 2.7 I2V Uncensored","value":{"duration":5,"image":"https://example.com/reference.jpg","model":"alibaba/wan-2.7-i2v-uncensored","prompt":"A cinematic camera movement through a forest","resolution":"720p"}},"VideoRequestAlibabaWan27Ref2vUncensored":{"summary":"Wan 2.7 Ref2V Uncensored","value":{"duration":5,"images":["https://example.com/reference.jpg"],"model":"alibaba/wan-2.7-ref2v-uncensored","prompt":"A cinematic camera movement through a forest","resolution":"720p"}},"VideoRequestAlibabaWan27T2v":{"summary":"Wan 2.7 T2V","value":{"duration":5,"model":"alibaba/wan-2.7-t2v","prompt":"A cinematic camera movement through a forest","resolution":"720p"}},"VideoRequestAlibabaWan30I2vSpicy":{"summary":"Wan 3.0 I2V Spicy","value":{"duration":5,"image":"https://example.com/reference.jpg","model":"alibaba/wan-3.0-i2v-spicy","prompt":"A cinematic camera movement through a forest","resolution":"720p"}},"VideoRequestAlibabaWan30Ref2vSpicy":{"summary":"Wan 3.0 Ref2V Spicy","value":{"duration":5,"images":["https://example.com/reference.jpg"],"model":"alibaba/wan-3.0-ref2v-spicy","prompt":"A cinematic camera movement through a forest","resolution":"720p"}},"VideoRequestBytedanceSeedance20I2vSpicy":{"summary":"Seedance 2.0 I2V Spicy","value":{"duration":5,"image":"https://example.com/reference.jpg","model":"bytedance/seedance-2.0-i2v-spicy","prompt":"A cinematic camera movement through a forest","resolution":"720p"}},"VideoRequestBytedanceSeedance20Ref2vSpicy":{"summary":"Seedance 2.0 Ref2V Spicy","value":{"duration":5,"images":["https://example.com/reference.jpg"],"model":"bytedance/seedance-2.0-ref2v-spicy","prompt":"A cinematic camera movement through a forest","resolution":"720p"}},"VideoRequestBytedanceSeedance25I2vSpicy":{"summary":"Seedance 2.5 I2V Spicy","value":{"duration":5,"image":"https://example.com/reference.jpg","model":"bytedance/seedance-2.5-i2v-spicy","prompt":"A cinematic camera movement through a forest","resolution":"720p"}},"VideoRequestBytedanceSeedance25Ref2vSpicy":{"summary":"Seedance 2.5 Ref2V Spicy","value":{"duration":5,"images":["https://example.com/reference.jpg"],"model":"bytedance/seedance-2.5-ref2v-spicy","prompt":"A cinematic camera movement through a forest","resolution":"720p"}},"VideoRequestMinimaxMinimaxH3I2vSpicy":{"summary":"MiniMax H3 I2V Spicy","value":{"duration":5,"image":"https://example.com/reference.jpg","model":"minimax/minimax-h3-i2v-spicy","prompt":"A cinematic camera movement through a forest","resolution":"768p"}},"VideoRequestMinimaxMinimaxH3Ref2vSpicy":{"summary":"MiniMax H3 Ref2V Spicy","value":{"aspect_ratio":"21:9","duration":5,"images":["https://example.com/reference.jpg"],"model":"minimax/minimax-h3-ref2v-spicy","prompt":"A cinematic camera movement through a forest","resolution":"768p"}}},"schema":{"oneOf":[{"$ref":"#/components/schemas/VideoRequestAlibabaWan27I2v"},{"$ref":"#/components/schemas/VideoRequestAlibabaWan27I2vSpicy"},{"$ref":"#/components/schemas/VideoRequestAlibabaWan27I2vUncensored"},{"$ref":"#/components/schemas/VideoRequestAlibabaWan27Ref2vUncensored"},{"$ref":"#/components/schemas/VideoRequestAlibabaWan27T2v"},{"$ref":"#/components/schemas/VideoRequestAlibabaWan30I2vSpicy"},{"$ref":"#/components/schemas/VideoRequestAlibabaWan30Ref2vSpicy"},{"$ref":"#/components/schemas/VideoRequestBytedanceSeedance20I2vSpicy"},{"$ref":"#/components/schemas/VideoRequestBytedanceSeedance20Ref2vSpicy"},{"$ref":"#/components/schemas/VideoRequestBytedanceSeedance25I2vSpicy"},{"$ref":"#/components/schemas/VideoRequestBytedanceSeedance25Ref2vSpicy"},{"$ref":"#/components/schemas/VideoRequestMinimaxMinimaxH3I2vSpicy"},{"$ref":"#/components/schemas/VideoRequestMinimaxMinimaxH3Ref2vSpicy"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"example":{"completed_at":null,"created_at":1786960800,"error":null,"id":"vid_01K2ABC123","model":"minimax/minimax-h3-ref2v-spicy","object":"video.generation","outputs":[],"progress":null,"started_at":null,"status":"queued"},"schema":{"$ref":"#/components/schemas/VideoGeneration"}}},"description":"Task accepted"},"400":{"content":{"application/json":{"example":{"error":{"code":"unsupported_value","message":"The parameter value is not supported by this model.","param":"duration","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid request"},"401":{"content":{"application/json":{"example":{"error":{"code":"unsupported_value","message":"The parameter value is not supported by this model.","param":"duration","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid or missing API key"}},"security":[{"BearerAuth":[]}],"summary":"Create a video generation task"}},"/v1/video/generations/{task_id}":{"get":{"operationId":"getVideoGeneration","parameters":[{"description":"The id returned by the create endpoint.","in":"path","name":"task_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"example":{"completed_at":1786960900,"created_at":1786960800,"error":null,"id":"vid_01K2ABC123","model":"minimax/minimax-h3-ref2v-spicy","object":"video.generation","outputs":[{"type":"video","url":"https://cdn.example.com/videos/vid_01K2ABC123.mp4"}],"progress":100,"started_at":1786960805,"status":"completed"},"schema":{"$ref":"#/components/schemas/VideoGeneration"}}},"description":"Current task status"},"401":{"content":{"application/json":{"example":{"error":{"code":"unsupported_value","message":"The parameter value is not supported by this model.","param":"duration","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Invalid or missing API key"},"404":{"content":{"application/json":{"example":{"error":{"code":"unsupported_value","message":"The parameter value is not supported by this model.","param":"duration","type":"invalid_request_error"}},"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Task not found"}},"security":[{"BearerAuth":[]}],"summary":"Get video generation task status"}}},"servers":[{"url":"https://aiapiaiapi.com"}]}