{"info":{"version":"1","description":"Every image, video, audio and chat model invideo runs, with one key. Media models: POST /v1/request, then GET /v1/request/{id}. Chat models: the providers' own APIs (Anthropic Messages, OpenAI Chat Completions and Responses, Gemini generateContent) at the same paths, so their SDKs work with base_url = https://platform-api.invideo.io. No key is needed for the catalogue, this file and the health check.","title":"invideo Platform API","contact":{"name":"invideo Platform","url":"https://platform.invideo.io"}},"components":{"parameters":{"ChatIdempotencyKey":{"in":"header","name":"Idempotency-Key","description":"A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`.","required":false,"schema":{"type":"string","maxLength":255,"minLength":1}},"IdempotencyKey":{"in":"header","name":"Idempotency-Key","description":"Retrying with the same key and the same body gives the first request (no second run, no second charge); the same key with another body is 422 `idempotency_key_reused`.","required":false,"schema":{"type":"string"}}},"headers":{"Retry-After":{"description":"Seconds to wait before the next try (on a 429 or 503).","schema":{"type":"integer"}},"x-invideo-cost-breakdown":{"description":"The settled customer charge as JSON in the header of a binary or plain-text result.","schema":{"type":"string","contentMediaType":"application/json","contentSchema":{"$ref":"#/components/schemas/CustomerCharge"}}},"x-invideo-cost-usd":{"description":"Exact settled customer charge in USD when known before the response headers are sent.","schema":{"type":"string"}},"x-request-id":{"description":"Our request id: the id of the request's logs.","schema":{"type":"string"}}},"responses":{"InsufficientBalance":{"description":"`insufficient_balance`: the balance is $0 or less, or less is available than this request's estimate (`balance_usd`, `available_usd`, `needed_usd`). Add funds in the console (Billing).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Invalid":{"description":"`invalid_input` (with `detail`), `idempotency_key_reused` or `model_not_priced`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"No such model or request (or not on for this workspace).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"ServerError":{"description":"Something went wrong on our end. Please try again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"TooMany":{"description":"`rate_limited` (requests a minute), `too_many_open_requests` or `spend_limit_exceeded` (with `limit_usd`, `spent_usd`, `scope`, `period` and `resets_at`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"}}},"Unauthorized":{"description":"The API key is missing, invalid, disabled or expired.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"Request":{"type":"object","required":["id","model","status"],"properties":{"error":{"type":["object","null"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"type":{"type":"string"},"retryable":{"type":"boolean"}}},"id":{"type":"string"},"output":{"type":["object","null"],"properties":{"message":{"type":"object","description":"A chat request's answer: content, tool_calls, finish_reason."},"text":{"type":"string","description":"A vision request's answer (kind text from an image model). The same text is also in `files`."},"usage":{"type":"object","description":"A chat request's tokens by kind."},"files":{"type":"array","items":{"$ref":"#/components/schemas/File"}},"kind":{"type":"string","enum":["image","video","audio","text","transcript","model_3d","world"]},"transcript":{"type":"object","description":"A speech-to-text request's result: text, language_code, language_probability, duration (seconds) and words (text, start, end, type, speaker_id). Its full JSON is also in `files`."},"task_id":{"type":["string","null"],"description":"A 3D request's task id (kind model_3d or world). Pass a rigging request's task_id as rig_task_id to animate it."}}},"status":{"$ref":"#/components/schemas/Status"},"mode":{"type":"string"},"format":{"type":"string","enum":["anthropic_messages","openai_chat","openai_responses","gemini"],"description":"A chat request's door."},"started_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"},"model":{"type":"string"},"finished_at":{"type":["string","null"],"format":"date-time"},"cost_usd":{"type":["string","null"],"description":"What it was charged once it ended (\"0\" when it failed); null while open."},"zdr":{"type":"boolean","description":"A zero data retention request: no input, answer or log is kept."},"zdr_retention_seconds":{"type":["integer","null"],"description":"A `zdr` request: how long its output files are kept after the run."},"request_log_url":{"type":"string","description":"Where to read the request log. Not checked when you poll: a log that is no longer available answers 410 `log_expired` there."},"response_log_url":{"type":"string","description":"Where to read the response log (none for a rejected call). Not checked when you poll: a log that is no longer available answers 410 `log_expired` there."},"log_expired":{"type":"boolean","description":"Set when a read of the logs found them no longer available."},"output_expires_at":{"type":["string","null"],"format":"date-time","description":"A `zdr` request: when its output files are deleted; null once they are gone."},"token_cost_breakdown":{"type":"object","description":"Available when the captured chat charge can be itemized. Dollar amounts are decimal strings.","properties":{"lines":{"type":"array","items":{"type":"object","properties":{"tokens":{"type":"integer"},"kind":{"type":"string"},"reasoning_tokens":{"type":["integer","null"]},"cost_usd":{"type":"string"},"usd_per_million":{"type":"string"}}}},"total_usd":{"type":"string"},"adjustment":{"type":["object","null"],"properties":{"kind":{"type":"string","enum":["additional_usage","rounding"]},"cost_usd":{"type":"string"}}}}},"passthrough":{"type":["boolean","null"],"description":"A chat request: sent to the model's own provider as is."}}},"Input_nano-banana-2-1":{"type":"object","description":"`input` of Nano Banana 2.1 (nano-banana-2-1, mode generate).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"title":"Aspect ratio"},"output_mime_type":{"default":"image/png","enum":["image/png","image/jpeg"],"title":"Output format"},"prompt":{"type":"string","title":"Prompt","maxLength":30000,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":14,"minItems":0},"resolution":{"default":"1K","enum":["1K","2K","4K"],"title":"Resolution"},"thinking":{"default":"medium","enum":["minimal","medium","high"],"title":"Thinking"}},"additionalProperties":false},"Input_nanobanana-lite":{"type":"object","description":"`input` of Nano Banana Lite (nanobanana-lite, mode generate).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"title":"Aspect ratio"},"output_mime_type":{"default":"image/png","enum":["image/png","image/jpeg"],"title":"Output format"},"prompt":{"type":"string","title":"Prompt","maxLength":30000,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":14,"minItems":0},"thinking":{"default":"minimal","enum":["minimal","high"],"title":"Thinking"}},"additionalProperties":false},"Status":{"type":"string","enum":["queued","running","succeeded","failed","rejected"]},"Input_gemini-omni-flash-11-preview":{"type":"object","description":"`input` of Gemini Omni Flash 1.1 (gemini-omni-flash-11-preview, mode frames).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["16:9","9:16"],"title":"Aspect ratio"},"duration":{"default":6,"enum":[3,4,5,6,7,8,9,10],"title":"Duration"},"first_frame_url":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)","title":"First frame"},"last_frame_url":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)","title":"Last frame"},"prompt":{"type":"string","title":"Prompt","maxLength":5000,"minLength":1},"resolution":{"default":"720p","enum":["360p","720p","1080p","4k"],"title":"Resolution"}},"additionalProperties":false},"Input_gemini-omni-flash-12-preview-reference":{"type":"object","description":"`input` of Gemini Omni Flash 1.2 (gemini-omni-flash-12-preview-reference, mode reference).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["16:9","9:16"],"title":"Aspect ratio"},"duration":{"default":6,"enum":[3,4,5,6,7,8,9,10],"title":"Duration"},"prompt":{"type":"string","title":"Prompt","maxLength":5000,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":5,"minItems":0},"reference_video_urls":{"default":[],"type":"array","title":"Reference videos","items":{"type":"string","format":"uri","description":"An https URL or a data URI (MP4, MOV or WebM video)"},"maxItems":3,"minItems":0},"resolution":{"default":"720p","enum":["360p","720p","1080p","4k"],"title":"Resolution"}},"additionalProperties":false},"File":{"type":"object","properties":{"name":{"type":["string","null"],"description":"A stem's label when a run makes several audio files."},"width":{"type":["integer","null"]},"duration":{"type":["number","null"],"description":"Seconds."},"url":{"type":"string","description":"A link valid for one hour."},"content_type":{"type":"string"},"height":{"type":["integer","null"]},"thumbnail_url":{"type":["string","null"]},"preview_url":{"type":["string","null"]},"size_bytes":{"type":["integer","null"]}}},"Input_lyria-3-clip":{"type":"object","description":"`input` of Google Lyria 3 Clip (lyria-3-clip, mode generate).","required":["prompt"],"properties":{"prompt":{"type":"string","title":"Prompt","maxLength":5000,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":10,"minItems":0}},"additionalProperties":false},"Input_veo-3-1-fast":{"type":"object","description":"`input` of Veo 3.1 Fast (veo-3-1-fast, mode frames).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["16:9","9:16"],"title":"Aspect ratio"},"duration":{"default":8,"enum":[4,6,8],"title":"Duration"},"first_frame_url":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)","title":"First frame"},"generate_audio":{"default":true,"type":"boolean","title":"Audio"},"last_frame_url":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)","title":"Last frame"},"negative_prompt":{"type":"string","title":"Negative prompt","maxLength":3000,"minLength":1},"prompt":{"type":"string","title":"Prompt","maxLength":3000,"minLength":1},"resolution":{"default":"720p","enum":["720p","1080p","4k"],"title":"Resolution"},"seed":{"default":-1,"maximum":2147483647,"type":"integer","title":"Seed","minimum":-1}},"additionalProperties":false},"Input_veo-3":{"type":"object","description":"`input` of Veo 3 (veo-3, mode generate).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["16:9","9:16"],"title":"Aspect ratio"},"duration":{"default":8,"enum":[4,6,8],"title":"Duration (s)"},"enhance_prompt":{"default":true,"type":"boolean","title":"Enhance the prompt"},"generate_audio":{"default":true,"type":"boolean","title":"Sound"},"image_url":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)","title":"Start frame"},"negative_prompt":{"type":"string","title":"Negative prompt","maxLength":2500,"minLength":1},"prompt":{"type":"string","title":"Prompt","maxLength":5000,"minLength":1},"resolution":{"default":"720p","enum":["720p","1080p"],"title":"Resolution"},"seed":{"default":-1,"maximum":2147483647,"type":"integer","title":"Seed","minimum":-1}},"additionalProperties":false},"Input_gemini-omni-flash-12-preview-extend":{"type":"object","description":"`input` of Gemini Omni Flash 1.2 (gemini-omni-flash-12-preview-extend, mode extend).","required":["prompt","extend_video_url"],"properties":{"duration":{"default":6,"enum":[3,4,5,6,7,8,9,10],"title":"Duration"},"extend_video_url":{"type":"string","format":"uri","description":"An https URL or a data URI (MP4, MOV or WebM video)","title":"Video to extend"},"prompt":{"type":"string","title":"Prompt","maxLength":5000,"minLength":1},"resolution":{"default":"720p","enum":["360p","720p","1080p","4k"],"title":"Resolution"}},"additionalProperties":false},"Input_gemini-3-1-flash-tts":{"type":"object","description":"`input` of Gemini 3.1 Flash TTS (gemini-3-1-flash-tts, mode generate).","required":["prompt","voice_1"],"properties":{"prompt":{"type":"string","title":"Prompt","maxLength":50000,"minLength":1},"speaker_1":{"type":"string","title":"Speaker name","maxLength":100,"minLength":1},"speaker_2":{"type":"string","title":"Second speaker name","maxLength":100,"minLength":1},"voice_1":{"enum":["Zephyr","Puck","Charon","Kore","Fenrir","Leda","Orus","Aoede","Callirrhoe","Autonoe","Enceladus","Iapetus","Umbriel","Algieba","Despina","Erinome","Algenib","Rasalgethi","Laomedeia","Achernar","Alnilam","Schedar","Gacrux","Pulcherrima","Achird","Zubenelgenubi","Vindemiatrix","Sadachbia","Sadaltager","Sulafat"],"title":"Voice"},"voice_2":{"enum":["Zephyr","Puck","Charon","Kore","Fenrir","Leda","Orus","Aoede","Callirrhoe","Autonoe","Enceladus","Iapetus","Umbriel","Algieba","Despina","Erinome","Algenib","Rasalgethi","Laomedeia","Achernar","Alnilam","Schedar","Gacrux","Pulcherrima","Achird","Zubenelgenubi","Vindemiatrix","Sadachbia","Sadaltager","Sulafat"],"title":"Second voice"}},"additionalProperties":false},"Input_gemini-omni-flash-12-preview-edit":{"type":"object","description":"`input` of Gemini Omni Flash 1.2 (gemini-omni-flash-12-preview-edit, mode edit).","required":["prompt","edit_video_url"],"properties":{"edit_video_url":{"type":"string","format":"uri","description":"An https URL or a data URI (MP4, MOV or WebM video)","title":"Video to edit"},"prompt":{"type":"string","title":"Prompt","maxLength":5000,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":5,"minItems":0}},"additionalProperties":false},"Input_nano-banana":{"type":"object","description":"`input` of Nano Banana (nano-banana, mode generate).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"title":"Aspect ratio"},"prompt":{"type":"string","title":"Prompt","maxLength":30000,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":8,"minItems":0}},"additionalProperties":false},"Input_gemini-omni-flash-11-preview-extend":{"type":"object","description":"`input` of Gemini Omni Flash 1.1 (gemini-omni-flash-11-preview-extend, mode extend).","required":["prompt","extend_video_url"],"properties":{"duration":{"default":6,"enum":[3,4,5,6,7,8,9,10],"title":"Duration"},"extend_video_url":{"type":"string","format":"uri","description":"An https URL or a data URI (MP4, MOV or WebM video)","title":"Video to extend"},"prompt":{"type":"string","title":"Prompt","maxLength":5000,"minLength":1},"resolution":{"default":"720p","enum":["360p","720p","1080p","4k"],"title":"Resolution"}},"additionalProperties":false},"Input_nano-banana-pro":{"type":"object","description":"`input` of Nano Banana Pro (nano-banana-pro, mode generate).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"title":"Aspect ratio"},"prompt":{"type":"string","title":"Prompt","maxLength":30000,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":8,"minItems":0},"resolution":{"default":"1K","enum":["1K","2K","4K"],"title":"Resolution"}},"additionalProperties":false},"Input_nano-banana-2":{"type":"object","description":"`input` of Nano Banana 2 (nano-banana-2, mode ingredients).","required":["prompt"],"properties":{"aspect_ratio":{"default":"1:1","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9"],"title":"Aspect ratio"},"prompt":{"type":"string","title":"Prompt","maxLength":30000,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":14,"minItems":0}},"additionalProperties":false},"DoorError":{"type":"object","description":"Anthropic: {type: \"error\", error: {type, message, code}, request_id}. OpenAI: {error: {type, code, message, param}}. Gemini: {error: {code, message, status, code_name}}."},"Input_veo-3-1-ingredients":{"type":"object","description":"`input` of Veo 3.1 (veo-3-1-ingredients, mode ingredients).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["16:9"],"title":"Aspect ratio"},"duration":{"default":8,"enum":[8],"title":"Duration"},"generate_audio":{"default":true,"type":"boolean","title":"Audio"},"prompt":{"type":"string","title":"Prompt","maxLength":3000,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":3,"minItems":0},"resolution":{"default":"720p","enum":["720p","1080p","4k"],"title":"Resolution"}},"additionalProperties":false},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"A code that says what happened."},"message":{"type":"string","description":"What to do next."},"detail":{"type":"array","description":"`invalid_input`: one entry per field.","items":{"type":"object","properties":{"type":{"type":"string"},"msg":{"type":"string"},"loc":{"type":"array","items":{"type":"string"}}}}}}},"Input_nanobanana-2":{"type":"object","description":"`input` of Nano Banana 2 (nanobanana-2, mode generate).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["auto","1:1","1:4","1:8","2:3","3:2","3:4","4:1","4:3","4:5","5:4","8:1","9:16","16:9","21:9"],"title":"Aspect ratio"},"image_search_grounding":{"default":false,"type":"boolean","title":"Image search"},"prompt":{"type":"string","title":"Prompt","maxLength":30000,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":8,"minItems":0},"resolution":{"default":"1K","enum":["1K","2K","4K"],"title":"Resolution"},"thinking":{"default":"minimal","enum":["minimal","high"],"title":"Thinking"},"web_search_grounding":{"default":false,"type":"boolean","title":"Web search"}},"additionalProperties":false},"Input_gemini-omni-flash-12-preview":{"type":"object","description":"`input` of Gemini Omni Flash 1.2 (gemini-omni-flash-12-preview, mode frames).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["16:9","9:16"],"title":"Aspect ratio"},"duration":{"default":6,"enum":[3,4,5,6,7,8,9,10,11,12,13,14,15],"title":"Duration"},"first_frame_url":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)","title":"First frame"},"last_frame_url":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)","title":"Last frame"},"prompt":{"type":"string","title":"Prompt","maxLength":5000,"minLength":1},"resolution":{"default":"720p","enum":["360p","720p","1080p","4k"],"title":"Resolution"}},"additionalProperties":false},"Model":{"type":"object","description":"A model with its modes, units, prices (yours), `price_summary`; one model also has `request`, `input_schema`, `inputs`, `output`; a chat model its `chat` card and `endpoints`.","required":["id","name","modality"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"modes":{"type":"array","items":{"type":"string"}},"chat":{"type":"object"},"provider":{"type":"string","description":"Who makes the model."},"input_schema":{"type":"object"},"modality":{"type":"string"},"price_summary":{"type":"object"},"prices":{"type":"array","items":{"type":"object"}}}},"Input_veo-3-1":{"type":"object","description":"`input` of Veo 3.1 (veo-3-1, mode frames).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["16:9","9:16"],"title":"Aspect ratio"},"duration":{"default":8,"enum":[4,6,8],"title":"Duration"},"first_frame_url":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)","title":"First frame"},"generate_audio":{"default":true,"type":"boolean","title":"Audio"},"last_frame_url":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)","title":"Last frame"},"negative_prompt":{"type":"string","title":"Negative prompt","maxLength":3000,"minLength":1},"prompt":{"type":"string","title":"Prompt","maxLength":3000,"minLength":1},"resolution":{"default":"720p","enum":["720p","1080p","4k"],"title":"Resolution"},"seed":{"default":-1,"maximum":2147483647,"type":"integer","title":"Seed","minimum":-1}},"additionalProperties":false},"Input_veo-3-fast":{"type":"object","description":"`input` of Veo 3 Fast (veo-3-fast, mode generate).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["16:9","9:16"],"title":"Aspect ratio"},"duration":{"default":8,"enum":[4,6,8],"title":"Duration (s)"},"enhance_prompt":{"default":true,"type":"boolean","title":"Enhance the prompt"},"generate_audio":{"default":true,"type":"boolean","title":"Sound"},"image_url":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)","title":"Start frame"},"negative_prompt":{"type":"string","title":"Negative prompt","maxLength":2500,"minLength":1},"prompt":{"type":"string","title":"Prompt","maxLength":5000,"minLength":1},"resolution":{"default":"720p","enum":["720p","1080p"],"title":"Resolution"},"seed":{"default":-1,"maximum":2147483647,"type":"integer","title":"Seed","minimum":-1}},"additionalProperties":false},"Input_lyria-3-pro":{"type":"object","description":"`input` of Google Lyria 3 Pro (lyria-3-pro, mode generate).","required":["prompt"],"properties":{"duration_s":{"default":60,"enum":[15,30,45,60,90,120,180],"title":"Duration (s)"},"prompt":{"type":"string","title":"Prompt","maxLength":4974,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":10,"minItems":0}},"additionalProperties":false},"Input_veo-3-1-lite":{"type":"object","description":"`input` of Veo 3.1 Lite (veo-3-1-lite, mode frames).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["16:9","9:16"],"title":"Aspect ratio"},"duration":{"default":8,"enum":[4,6,8],"title":"Duration"},"first_frame_url":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)","title":"First frame"},"generate_audio":{"default":true,"type":"boolean","title":"Generate audio"},"last_frame_url":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)","title":"Last frame"},"prompt":{"type":"string","title":"Prompt","maxLength":5000,"minLength":1},"resolution":{"default":"720p","enum":["720p","1080p"],"title":"Resolution"}},"additionalProperties":false},"Input_gemini-omni-flash-12-preview-upscale":{"type":"object","description":"`input` of Gemini Omni Flash 1.2 (gemini-omni-flash-12-preview-upscale, mode upscale).","required":["video_url"],"properties":{"target_resolution":{"default":"1080p","enum":["720p","1080p","4k"],"title":"Target resolution"},"video_url":{"type":"string","format":"uri","description":"An https URL or a data URI (MP4, MOV or WebM video)","title":"Video"}},"additionalProperties":false},"CustomerCharge":{"type":"object","required":["total_usd","lines"],"properties":{"lines":{"type":"array","items":{"type":"object","required":["item","quantity","unit_price_usd","amount_usd"],"properties":{"item":{"type":"string"},"quantity":{"type":"string"},"amount_usd":{"type":"string"},"unit_price_usd":{"type":"string"}}}},"total_usd":{"type":"string","description":"Exact settled total in USD."}}},"Input_veo-3-1-fast-ingredients":{"type":"object","description":"`input` of Veo 3.1 Fast (veo-3-1-fast-ingredients, mode ingredients).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["16:9"],"title":"Aspect ratio"},"duration":{"default":8,"enum":[8],"title":"Duration"},"generate_audio":{"default":true,"type":"boolean","title":"Audio"},"prompt":{"type":"string","title":"Prompt","maxLength":3000,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":3,"minItems":0},"resolution":{"default":"720p","enum":["720p","1080p","4k"],"title":"Resolution"}},"additionalProperties":false},"Input_gemini-omni-flash-11-preview-reference":{"type":"object","description":"`input` of Gemini Omni Flash 1.1 (gemini-omni-flash-11-preview-reference, mode reference).","required":["prompt"],"properties":{"aspect_ratio":{"default":"16:9","enum":["16:9","9:16"],"title":"Aspect ratio"},"duration":{"default":6,"enum":[3,4,5,6,7,8,9,10],"title":"Duration"},"prompt":{"type":"string","title":"Prompt","maxLength":5000,"minLength":1},"reference_image_urls":{"default":[],"type":"array","title":"Reference images","items":{"type":"string","format":"uri","description":"An https URL or a data URI (PNG, JPEG or WebP image)"},"maxItems":5,"minItems":0},"reference_video_urls":{"default":[],"type":"array","title":"Reference videos","items":{"type":"string","format":"uri","description":"An https URL or a data URI (MP4, MOV or WebM video)"},"maxItems":3,"minItems":0},"resolution":{"default":"720p","enum":["360p","720p","1080p","4k"],"title":"Resolution"}},"additionalProperties":false},"Input_lyria-002":{"type":"object","description":"`input` of Google Lyria-002 (lyria-002, mode generate).","required":["prompt"],"properties":{"prompt":{"type":"string","title":"Prompt","maxLength":2000,"minLength":1},"seed":{"default":-1,"maximum":2147483647,"type":"integer","title":"Seed","minimum":-1}},"additionalProperties":false},"ModelList":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"}}}},"object":{"const":"list","type":"string"},"models":{"type":"array","items":{"$ref":"#/components/schemas/Model"}}}}},"securitySchemes":{"bearer":{"scheme":"bearer","type":"http","description":"Your invideo Platform API key (`iv_...`), made in the console: `Authorization: Bearer iv_...`."},"anthropic_key":{"in":"header","name":"x-api-key","type":"apiKey","description":"The same key as the Anthropic SDK sends it (the chat doors)."},"gemini_key":{"in":"header","name":"x-goog-api-key","type":"apiKey","description":"The same key as the google-genai SDK sends it (the Gemini door). Never `?key=`: refused."}}},"paths":{"/adobe/v2/status/{id}":{"get":{"description":"Submit supported Adobe reframe status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/adobe. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Adobe reframe status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Adobe reframe status reference","url":"https://developer.adobe.com/firefly-services/docs/firefly-api/"},"operationId":"adobeReframeStatus"}},"/minimax/v1/music_generation":{"post":{"description":"Submit supported MiniMax music fields with a Platform key. The provider base URL is https://platform-api.invideo.io/minimax. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"MiniMax music","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"MiniMax music reference","url":"https://platform.minimax.io/docs/api-reference/"},"operationId":"minimaxMusic","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/v1/catalog/{model}":{"get":{"parameters":[{"in":"path","name":"model","description":"The model's id.","required":true,"schema":{"type":"string"}}],"summary":"One public model with its input schema and list price (no key)","responses":{"200":{"description":"The model.","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooMany"}},"tags":["catalog"],"security":[],"operationId":"getCatalogModel"}},"/elevenlabs/v1/sound-generation":{"post":{"description":"Submit supported ElevenLabs sound effects fields with a Platform key. The provider base URL is https://platform-api.invideo.io/elevenlabs. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"ElevenLabs sound effects","responses":{"200":{"description":"Provider-shaped response.","content":{"audio/*":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-invideo-cost-breakdown":{"$ref":"#/components/headers/x-invideo-cost-breakdown"},"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"ElevenLabs sound effects reference","url":"https://elevenlabs.io/docs/api-reference/text-to-sound-effects/convert"},"operationId":"elevenlabsSoundGeneration","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/v1/messages":{"post":{"description":"The body and the answer are Anthropic Messages's own (see its docs): the provider's SDK works as is. Every chat model on every door (the model's own provider's format is passed through, others are translated). `id` is our request id, `model` the id you sent, and the usage carries your exact charged USD (`usage.cost` for OpenAI, `usage.cost_usd` for Anthropic, `usageMetadata.cost_usd` for Gemini). Images and PDFs: inline or a public https link (fetched by us; 20 MB each, 50 MB in all). Audio and video in: Gemini models only (Gemini `inlineData`/`fileData`, Chat `input_audio`, Responses `input_audio`; 20 MB in all), priced at the model's audio rate (`chat.token_prices.audio_input_per_m`); any other model answers 400. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`. Streaming: Anthropic's SSE events (message_start ... message_stop); the charge is on message_delta's usage.","parameters":[{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"Anthropic Messages, every chat model","responses":{"200":{"description":"Anthropic Messages answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]},{"anthropic_key":[]}],"externalDocs":{"description":"Anthropic Messages reference","url":"https://docs.anthropic.com/en/api/messages"},"operationId":"anthropicMessages","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Anthropic Messages request body."}}}}}},"/v1/openapi.json":{"get":{"summary":"This description (no key)","responses":{"200":{"description":"OpenAPI 3.1.","content":{"application/json":{"schema":{"type":"object"}}}}},"tags":["meta"],"security":[],"operationId":"openapi"}},"/v1/models":{"get":{"description":"`models` (ours) and `data` (OpenAI's list shape). With an `anthropic-version` header: Anthropic's shape. Chat models carry a `chat` card (formats, aliases, features, context window, max output, token prices).","parameters":[{"in":"query","name":"modality","required":false,"schema":{"type":"string","enum":["image","video","audio","text","3d","vision"]}}],"summary":"The models your workspace may call, with your prices","responses":{"200":{"description":"The models.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelList"}}}},"401":{"$ref":"#/components/responses/Unauthorized"}},"tags":["models"],"operationId":"listModels"}},"/higgsfield/v1/image2video/dop":{"post":{"description":"Submit supported Higgsfield DOP fields with a Platform key. The provider base URL is https://platform-api.invideo.io/higgsfield. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Higgsfield DOP","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Higgsfield DOP reference","url":"https://open.higgsfield.ai/quick-start"},"operationId":"higgsfieldDop","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/phota/v2/phota/generate":{"post":{"description":"Submit supported Phota generate fields with a Platform key. The provider base URL is https://platform-api.invideo.io/phota. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Phota generate","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["download_urls"],"properties":{"download_urls":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["job_id","status","poll_url"],"properties":{"status":{"type":"string"},"job_id":{"type":"string"},"poll_url":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Phota generate reference","url":"https://docs.photalabs.com/"},"operationId":"photaGenerate","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/reve/v1/image/create":{"post":{"description":"Submit supported Reve create fields with a Platform key. The provider base URL is https://platform-api.invideo.io/reve. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Reve create","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Reve create reference","url":"https://reve.com/"},"operationId":"reveCreate","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/deepseek/v1/chat/completions":{"post":{"description":"Call a supported DeepSeek model in its native shape. Completed JSON includes x-invideo-cost-usd. Streams carry the final charge in usage.cost in the final usage chunk. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`.","parameters":[{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"DeepSeek native chat","responses":{"200":{"description":"DeepSeek answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]}],"externalDocs":{"description":"DeepSeek reference","url":"https://api-docs.deepseek.com/api/create-chat-completion"},"operationId":"deepseek_chat","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"DeepSeek request body."}}}}}},"/v1/request/{id}":{"get":{"description":"Always 200 for a request that exists, failed or not. Output files are links valid for one hour. Itemized chat charges include the token counts, prices per million and captured total.","parameters":[{"in":"path","name":"id","description":"The request's id.","required":true,"schema":{"type":"string"}}],"summary":"Read a request","responses":{"200":{"description":"The request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Request"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}},"tags":["media"],"operationId":"getRequest"}},"/elevenlabs/v1/speech-to-speech/{voice_id}":{"post":{"description":"Submit supported ElevenLabs speech to speech fields with a Platform key. The provider base URL is https://platform-api.invideo.io/elevenlabs. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"voice_id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"ElevenLabs speech to speech","responses":{"200":{"description":"Provider-shaped response.","content":{"audio/*":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-invideo-cost-breakdown":{"$ref":"#/components/headers/x-invideo-cost-breakdown"},"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"ElevenLabs speech to speech reference","url":"https://elevenlabs.io/docs/api-reference/speech-to-speech/convert"},"operationId":"elevenlabsSpeechToSpeech","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/adobe/v1/status/{id}":{"get":{"description":"Submit supported Adobe dubbing status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/adobe. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Adobe dubbing status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Adobe dubbing status reference","url":"https://developer.adobe.com/firefly-services/docs/firefly-api/"},"operationId":"adobeDubStatus"}},"/runware/v1":{"post":{"description":"Submit supported Runware submit or poll one task fields with a Platform key. The provider base URL is https://platform-api.invideo.io/runware. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Runware submit or poll one task","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Runware submit or poll one task reference","url":"https://runware.ai/docs/models-api/task-polling"},"operationId":"runwareTask","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["taskType","taskUUID"],"properties":{"model":{"type":"string"},"taskType":{"type":"string"},"taskUUID":{"type":"string"}},"additionalProperties":true},"maxItems":1,"minItems":1}}}}}},"/bach/api/vdr/video/v2":{"post":{"description":"Submit supported Bach video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/bach. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Bach video","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Bach video reference","url":"https://docs.bachai.com/"},"operationId":"bachVideo","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/pixverse/openapi/v2/video/transition/generate":{"post":{"description":"Submit supported PixVerse transition fields with a Platform key. The provider base URL is https://platform-api.invideo.io/pixverse. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"PixVerse transition","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"PixVerse transition reference","url":"https://docs.platform.pixverse.ai/"},"operationId":"pixverseTransition","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/replicate/v1/predictions":{"post":{"description":"Submit supported Replicate create a prediction fields with a Platform key. The provider base URL is https://platform-api.invideo.io/replicate. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable. Use Prefer: wait for a bounded wait. Streaming is unavailable.","parameters":[],"summary":"Replicate create a prediction","responses":{"201":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["id","status","urls"],"properties":{"id":{"type":"string"},"status":{"type":"string"},"urls":{"type":"object","properties":{"get":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Replicate create a prediction reference","url":"https://replicate.com/docs/reference/http"},"operationId":"replicateCreate","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"extra":{"type":"object","additionalProperties":true},"input":{"type":"object","additionalProperties":true},"stream":{"const":false},"version":{"type":"string"},"model":{"type":"string"}},"additionalProperties":true}}}}}},"/kling/tasks":{"get":{"description":"Submit supported Kling task status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/kling. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Kling task status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Kling task status reference","url":"https://kling.ai/document-api/api/video/3-0-omni/video-omni"},"operationId":"klingTasks"}},"/phota/v2/phota/remix":{"post":{"description":"Submit supported Phota remix fields with a Platform key. The provider base URL is https://platform-api.invideo.io/phota. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Phota remix","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["download_urls"],"properties":{"download_urls":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["job_id","status","poll_url"],"properties":{"status":{"type":"string"},"job_id":{"type":"string"},"poll_url":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Phota remix reference","url":"https://docs.photalabs.com/"},"operationId":"photaRemix","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/elevenlabs/v1/text-to-speech/{voice_id}":{"post":{"description":"Submit supported ElevenLabs text to speech fields with a Platform key. The provider base URL is https://platform-api.invideo.io/elevenlabs. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"voice_id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"ElevenLabs text to speech","responses":{"200":{"description":"Provider-shaped response.","content":{"audio/*":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-invideo-cost-breakdown":{"$ref":"#/components/headers/x-invideo-cost-breakdown"},"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"ElevenLabs text to speech reference","url":"https://elevenlabs.io/docs/api-reference/text-to-speech/convert"},"operationId":"elevenlabsTextToSpeech","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/xai/v1/videos/{id}":{"get":{"description":"Submit supported xAI video result fields with a Platform key. The provider base URL is https://platform-api.invideo.io/xai. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"xAI video result","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"xAI video result reference","url":"https://docs.x.ai/developers/model-capabilities/video/generation"},"operationId":"xaiVideoGet"}},"/luma/dream-machine/v1/generations/{id}":{"get":{"description":"Submit supported Luma generation result fields with a Platform key. The provider base URL is https://platform-api.invideo.io/luma. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Luma generation result","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Luma generation result reference","url":"https://docs.lumalabs.ai/docs/python-video-generation"},"operationId":"lumaGet"}},"/adobe/v3/status/{id}":{"get":{"description":"Submit supported Adobe Firefly status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/adobe. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Adobe Firefly status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Adobe Firefly status reference","url":"https://developer.adobe.com/firefly-services/docs/firefly-api/"},"operationId":"adobeStatus"}},"/tencent/v1/wand/vega-videos/tasks":{"post":{"description":"Submit supported Tencent Wand video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/tencent. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Tencent Wand video","responses":{"201":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Tencent Wand video reference","url":"https://cloud.tencent.com/document/product/1668"},"operationId":"tencentWandVideo","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/pixverse/openapi/v2/video/sound_effect/generate":{"post":{"description":"Submit supported PixVerse sound_effect fields with a Platform key. The provider base URL is https://platform-api.invideo.io/pixverse. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"PixVerse sound_effect","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"PixVerse sound_effect reference","url":"https://docs.platform.pixverse.ai/"},"operationId":"pixverseSoundEffect","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/adobe/v1/dub":{"post":{"description":"Submit supported Adobe dubbing fields with a Platform key. The provider base URL is https://platform-api.invideo.io/adobe. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Adobe dubbing","responses":{"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["jobId","statusUrl"],"properties":{"jobId":{"type":"string"},"statusUrl":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Adobe dubbing reference","url":"https://developer.adobe.com/firefly-services/docs/firefly-api/"},"operationId":"adobeDub","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"extra":{"type":"object","additionalProperties":true},"model":{"type":"string"}},"additionalProperties":true}}}}}},"/v1beta/models/{model}:generateContent":{"post":{"description":"The body and the answer are Gemini generateContent's own (see its docs): the provider's SDK works as is. Every chat model on every door (the model's own provider's format is passed through, others are translated). `id` is our request id, `model` the id you sent, and the usage carries your exact charged USD (`usage.cost` for OpenAI, `usage.cost_usd` for Anthropic, `usageMetadata.cost_usd` for Gemini). Images and PDFs: inline or a public https link (fetched by us; 20 MB each, 50 MB in all). Audio and video in: Gemini models only (Gemini `inlineData`/`fileData`, Chat `input_audio`, Responses `input_audio`; 20 MB in all), priced at the model's audio rate (`chat.token_prices.audio_input_per_m`); any other model answers 400. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`.","parameters":[{"in":"path","name":"model","description":"The model's id (our id or the provider's).","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"Gemini generateContent, every chat model","responses":{"200":{"description":"Gemini generateContent answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"gemini_key":[]},{"bearer":[]}],"externalDocs":{"description":"Gemini generateContent reference","url":"https://ai.google.dev/api/generate-content"},"operationId":"generateContent","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Gemini generateContent request body."}}}}}},"/adobe/v3/videos/generate":{"post":{"description":"Submit supported Adobe Firefly video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/adobe. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Adobe Firefly video","responses":{"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["jobId","statusUrl"],"properties":{"jobId":{"type":"string"},"statusUrl":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Adobe Firefly video reference","url":"https://developer.adobe.com/firefly-services/docs/firefly-api/"},"operationId":"adobeVideo","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"extra":{"type":"object","additionalProperties":true},"model":{"type":"string"}},"additionalProperties":true}}}}}},"/cleanvoice/v2/edits/{id}":{"get":{"description":"Submit supported Cleanvoice status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/cleanvoice. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Cleanvoice status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Cleanvoice status reference","url":"https://docs.cleanvoice.ai/"},"operationId":"cleanvoiceStatus"}},"/v1/request/{id}/logs/{which}":{"get":{"description":"`request` = what you sent, `response` = what it ended with. 60 reads a minute.","parameters":[{"in":"path","name":"id","description":"The request's id.","required":true,"schema":{"type":"string"}},{"in":"path","name":"which","required":true,"schema":{"type":"string","enum":["request","response"]}},{"in":"query","name":"download","description":"1 = as a file.","required":false,"schema":{"type":"string","enum":["1"]}}],"summary":"Read a request's log","responses":{"200":{"description":"The log.","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"$ref":"#/components/responses/NotFound"},"410":{"description":"This log is no longer available (deleted, or never written for this request).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/TooMany"}},"tags":["media"],"operationId":"getRequestLog"}},"/freepik/v1/ai/image-upscaler/{id}":{"get":{"description":"Submit supported Magnific image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/freepik. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Magnific image","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Magnific image reference","url":"https://docs.magnific.com/api-reference/"},"operationId":"magnificImageUpscalerStatus"}},"/tencent/v1/wand/vega-videos/tasks/{id}":{"get":{"description":"Submit supported Tencent Wand status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/tencent. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Tencent Wand status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Tencent Wand status reference","url":"https://cloud.tencent.com/document/product/1668"},"operationId":"tencentWandStatus"}},"/freepik/v1/ai/image-upscaler-precision-v2/{id}":{"get":{"description":"Submit supported Magnific image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/freepik. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Magnific image","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Magnific image reference","url":"https://docs.magnific.com/api-reference/"},"operationId":"magnificImageUpscalerPrecisionV2Status"}},"/pixverse/openapi/v2/video/image/generate":{"post":{"description":"Submit supported PixVerse image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/pixverse. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"PixVerse image","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"PixVerse image reference","url":"https://docs.platform.pixverse.ai/"},"operationId":"pixverseImage","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/bach/api/vdr/video/v2/{id}":{"get":{"description":"Submit supported Bach video status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/bach. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Bach video status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Bach video status reference","url":"https://docs.bachai.com/"},"operationId":"bachStatus"}},"/fishaudio/v1/tts":{"post":{"description":"Submit supported Fish Audio speech fields with a Platform key. The provider base URL is https://platform-api.invideo.io/fishaudio. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Fish Audio speech","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}},"audio/*":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-invideo-cost-breakdown":{"$ref":"#/components/headers/x-invideo-cost-breakdown"},"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Fish Audio speech reference","url":"https://docs.fish.audio/"},"operationId":"fishTts","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/fal/{app}/requests/{id}":{"get":{"description":"Submit supported fal queue result fields with a Platform key. The provider base URL is https://platform-api.invideo.io/fal. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"app","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}},{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"fal queue result","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"fal queue result reference","url":"https://fal.ai/docs/documentation/model-apis/inference/queue"},"operationId":"falResult"}},"/fal/{app}":{"post":{"description":"Submit supported fal queue submit fields with a Platform key. The provider base URL is https://platform-api.invideo.io/fal. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"app","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"fal queue submit","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"fal queue submit reference","url":"https://fal.ai/docs/documentation/model-apis/inference/queue"},"operationId":"falSubmit","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/v1/responses/{id}/cancel":{"post":{"parameters":[{"in":"path","name":"id","description":"The Platform request ID.","required":true,"schema":{"type":"string"}}],"summary":"Cancel a background Response","responses":{"200":{"description":"The retained result, current status or resumed events.","content":{"application/json":{"schema":{"type":"object"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid cursor or cancellation request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No retained result for this caller. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"410":{"description":"The stream expired or the request ran with zero data retention. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]}],"operationId":"cancelResponse"}},"/replicate/v1/predictions/{id}":{"get":{"description":"Submit supported Replicate get a prediction fields with a Platform key. The provider base URL is https://platform-api.invideo.io/replicate. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Replicate get a prediction","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Replicate get a prediction reference","url":"https://replicate.com/docs/reference/http"},"operationId":"replicateGet"}},"/freepik/v1/ai/skin-enhancer/{id}":{"get":{"description":"Submit supported Magnific image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/freepik. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Magnific image","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Magnific image reference","url":"https://docs.magnific.com/api-reference/"},"operationId":"magnificSkinEnhancerStatus"}},"/v1/chat/completions/{id}":{"get":{"parameters":[{"in":"path","name":"id","description":"The Platform request ID.","required":true,"schema":{"type":"string"}}],"summary":"Retrieve a stored Chat Completion","responses":{"200":{"description":"The retained result, current status or resumed events.","content":{"application/json":{"schema":{"type":"object"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid cursor or cancellation request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No retained result for this caller. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"410":{"description":"The stream expired or the request ran with zero data retention. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]}],"operationId":"retrieveChatCompletion"}},"/perplexity/chat/completions":{"post":{"description":"Call a supported Perplexity model in its native shape. Completed JSON includes x-invideo-cost-usd. Streams carry the final charge in usage.cost in the final usage chunk. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`.","parameters":[{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"Perplexity native chat","responses":{"200":{"description":"Perplexity answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]}],"externalDocs":{"description":"Perplexity reference","url":"https://docs.perplexity.ai/api-reference/chat-completions-post"},"operationId":"perplexity_chat","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Perplexity request body."}}}}}},"/runway/v1/tasks/{id}":{"get":{"description":"Submit supported Runway task fields with a Platform key. The provider base URL is https://platform-api.invideo.io/runway. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Runway task","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Runway task reference","url":"https://docs.dev.runwayml.com/api/"},"operationId":"runwayTask"}},"/v1/catalog":{"get":{"parameters":[],"summary":"Every public model with its list price (no key)","responses":{"200":{"description":"The catalogue.","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooMany"}},"tags":["catalog"],"security":[],"operationId":"listCatalog"}},"/xai/v1/images/{id}":{"get":{"description":"Submit supported xAI image result fields with a Platform key. The provider base URL is https://platform-api.invideo.io/xai. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"xAI image result","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["request_id","status"],"properties":{"status":{"type":"string"},"request_id":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"xAI image result reference","url":"https://docs.x.ai/developers/rest-api-reference/inference/images"},"operationId":"xaiImageStatus"}},"/v1/images/edits":{"post":{"description":"Submit supported OpenAI image edits fields with a Platform key. The provider base URL is https://platform-api.invideo.io. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"OpenAI image edits","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"OpenAI image edits reference","url":"https://platform.openai.com/docs/api-reference/images/createEdit"},"operationId":"openaiImagesEdits","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/elevenlabs/v1/speech-to-speech/{voice_id}/stream":{"post":{"description":"Submit supported ElevenLabs speech to speech (buffered) fields with a Platform key. The provider base URL is https://platform-api.invideo.io/elevenlabs. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"voice_id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"ElevenLabs speech to speech (buffered)","responses":{"200":{"description":"Provider-shaped response.","content":{"audio/*":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-invideo-cost-breakdown":{"$ref":"#/components/headers/x-invideo-cost-breakdown"},"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"ElevenLabs speech to speech (buffered) reference","url":"https://elevenlabs.io/docs/api-reference/speech-to-speech/stream"},"operationId":"elevenlabsSpeechToSpeechBuffered","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/ltx/v2/video-to-video-hdr":{"post":{"description":"Submit supported LTX video-to-video-hdr fields with a Platform key. The provider base URL is https://platform-api.invideo.io/ltx. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"LTX video-to-video-hdr","responses":{"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"LTX video-to-video-hdr reference","url":"https://docs.ltx.video/"},"operationId":"ltxVideoToVideoHdrPost","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/mureka/v1/instrumental/query/{id}":{"get":{"description":"Submit supported Mureka instrumental status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/mureka. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Mureka instrumental status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Mureka instrumental status reference","url":"https://platform.mureka.ai/docs/"},"operationId":"murekaInstrumentalStatus"}},"/freepik/v1/ai/skin-enhancer/creative":{"post":{"description":"Submit supported Magnific image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/freepik. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Magnific image","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Magnific image reference","url":"https://docs.magnific.com/api-reference/"},"operationId":"magnificSkinEnhancerCreative","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/v1/audio/transcriptions":{"post":{"description":"Submit supported OpenAI transcriptions fields with a Platform key. The provider base URL is https://platform-api.invideo.io. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"OpenAI transcriptions","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}},"text/plain":{"schema":{"type":"string"}},"text/vtt":{"schema":{"type":"string"}}},"headers":{"x-invideo-cost-breakdown":{"$ref":"#/components/headers/x-invideo-cost-breakdown"},"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"OpenAI transcriptions reference","url":"https://platform.openai.com/docs/api-reference/audio/createTranscription"},"operationId":"openaiTranscriptions","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/runway/v1/text_to_video":{"post":{"description":"Submit supported Runway text to video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/runway. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Runway text to video","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Runway text to video reference","url":"https://docs.dev.runwayml.com/api/"},"operationId":"runwayTextToVideo","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model"],"properties":{"extra":{"type":"object","additionalProperties":true},"ratio":{"type":"string","description":"A width:height pair, required for models with an aspect ratio input."},"duration":{"type":"integer"},"model":{"type":"string"},"promptImage":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"object","required":["uri","position"],"properties":{"position":{"enum":["first","last","reference"]},"uri":{"type":"string"}},"additionalProperties":true}}]},"promptText":{"type":"string"}},"additionalProperties":true}}}}}},"/freepik/v1/ai/skin-enhancer/flexible":{"post":{"description":"Submit supported Magnific image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/freepik. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Magnific image","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Magnific image reference","url":"https://docs.magnific.com/api-reference/"},"operationId":"magnificSkinEnhancerFlexible","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/ltx/v2/text-to-video/{id}":{"get":{"description":"Submit supported LTX text-to-video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/ltx. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"LTX text-to-video","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"LTX text-to-video reference","url":"https://docs.ltx.video/"},"operationId":"ltxTextToVideoGet"}},"/heygen/v3/models/videos":{"post":{"description":"Submit supported HeyGen video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/heygen. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"HeyGen video","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"HeyGen video reference","url":"https://docs.heygen.com/"},"operationId":"heygenVideo","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/topaz/image/v1/download/{id}":{"get":{"description":"Submit supported Topaz image download fields with a Platform key. The provider base URL is https://platform-api.invideo.io/topaz. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Topaz image download","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Topaz image download reference","url":"https://developer.topazlabs.com/"},"operationId":"topazDownload"}},"/runway/v1/image_to_video":{"post":{"description":"Submit supported Runway image to video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/runway. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable. Positions first, last and reference map to supported inputs. Use a width:height ratio.","parameters":[],"summary":"Runway image to video","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Runway image to video reference","url":"https://docs.dev.runwayml.com/api/"},"operationId":"runwayImageToVideo","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model"],"properties":{"extra":{"type":"object","additionalProperties":true},"ratio":{"type":"string","description":"A width:height pair, required for models with an aspect ratio input."},"duration":{"type":"integer"},"model":{"type":"string"},"promptImage":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"object","required":["uri","position"],"properties":{"position":{"enum":["first","last","reference"]},"uri":{"type":"string"}},"additionalProperties":true}}]},"promptText":{"type":"string"}},"additionalProperties":true}}}}}},"/byteplus/api/v3/tts/unidirectional":{"post":{"description":"Submit supported BytePlus Seed TTS fields with a Platform key. The provider base URL is https://platform-api.invideo.io/byteplus. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"BytePlus Seed TTS","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"BytePlus Seed TTS reference","url":"https://docs.byteplus.com/en/docs/ModelArk"},"operationId":"byteplusSeedTts","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/pruna/v1/predictions/status/{id}":{"get":{"description":"Submit supported Pruna prediction status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/pruna. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Pruna prediction status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Pruna prediction status reference","url":"https://docs.api.pruna.ai/"},"operationId":"prunaStatus"}},"/v1/models/{model}":{"get":{"parameters":[{"in":"path","name":"model","description":"The model's id (a chat model's provider id works too).","required":true,"schema":{"type":"string"}}],"summary":"One model: how to call it, its input schema and your prices","responses":{"200":{"description":"The model.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Model"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}},"tags":["models"],"operationId":"getModel"}},"/cleanvoice/v2/edits":{"post":{"description":"Submit supported Cleanvoice audio or video edit fields with a Platform key. The provider base URL is https://platform-api.invideo.io/cleanvoice. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Cleanvoice audio or video edit","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Cleanvoice audio or video edit reference","url":"https://docs.cleanvoice.ai/"},"operationId":"cleanvoiceEdit","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/higgsfield/v1/text2image/soul":{"post":{"description":"Submit supported Higgsfield Soul fields with a Platform key. The provider base URL is https://platform-api.invideo.io/higgsfield. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Higgsfield Soul","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Higgsfield Soul reference","url":"https://open.higgsfield.ai/quick-start"},"operationId":"higgsfieldSoul","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/sarvam/text-to-speech":{"post":{"description":"Submit supported Sarvam speech fields with a Platform key. The provider base URL is https://platform-api.invideo.io/sarvam. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Sarvam speech","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Sarvam speech reference","url":"https://docs.sarvam.ai/"},"operationId":"sarvamTts","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/xai/v1/images/edits":{"post":{"description":"Submit supported xAI image edit fields with a Platform key. The provider base URL is https://platform-api.invideo.io/xai. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"xAI image edit","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["request_id","status"],"properties":{"status":{"type":"string"},"request_id":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"xAI image edit reference","url":"https://docs.x.ai/developers/rest-api-reference/inference/images"},"operationId":"xaiEditImage","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/heygen/v3/lipsyncs":{"post":{"description":"Submit supported HeyGen lipsync fields with a Platform key. The provider base URL is https://platform-api.invideo.io/heygen. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"HeyGen lipsync","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"HeyGen lipsync reference","url":"https://docs.heygen.com/"},"operationId":"heygenLipsync","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/pixverse/openapi/v2/video/lip_sync/generate":{"post":{"description":"Submit supported PixVerse lip_sync fields with a Platform key. The provider base URL is https://platform-api.invideo.io/pixverse. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"PixVerse lip_sync","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"PixVerse lip_sync reference","url":"https://docs.platform.pixverse.ai/"},"operationId":"pixverseLipSync","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/minimax/v1/voice_design":{"post":{"description":"Submit supported MiniMax voice design fields with a Platform key. The provider base URL is https://platform-api.invideo.io/minimax. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"MiniMax voice design","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"MiniMax voice design reference","url":"https://platform.minimax.io/docs/api-reference/"},"operationId":"minimaxVoiceDesign","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/reve/v1/image/remix":{"post":{"description":"Submit supported Reve remix fields with a Platform key. The provider base URL is https://platform-api.invideo.io/reve. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Reve remix","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Reve remix reference","url":"https://reve.com/"},"operationId":"reveRemix","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/byteplus/api/v3/chat/completions":{"post":{"description":"Call a supported BytePlus model in its native shape. Completed JSON includes x-invideo-cost-usd. Streams carry the final charge in usage.cost in the final usage chunk. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`.","parameters":[{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"BytePlus native chat","responses":{"200":{"description":"BytePlus answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]}],"externalDocs":{"description":"BytePlus reference","url":"https://docs.byteplus.com/en/docs/ModelArk"},"operationId":"byteplus_chat","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"BytePlus request body."}}}}}},"/minimax/v1/video_generation":{"post":{"description":"Submit supported MiniMax video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/minimax. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"MiniMax video","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["task_id","base_resp"],"properties":{"task_id":{"type":"string"},"base_resp":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"MiniMax video reference","url":"https://platform.minimax.io/docs/api-reference/video-generation-t2v"},"operationId":"minimaxVideo","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/mureka/v1/song/generate":{"post":{"description":"Submit supported Mureka song fields with a Platform key. The provider base URL is https://platform-api.invideo.io/mureka. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Mureka song","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Mureka song reference","url":"https://platform.mureka.ai/docs/"},"operationId":"murekaSong","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/ideogram/generate":{"post":{"description":"Submit supported Ideogram generate fields with a Platform key. The provider base URL is https://platform-api.invideo.io/ideogram. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Ideogram generate","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Ideogram generate reference","url":"https://developer.ideogram.ai/api-reference/api-reference/generate"},"operationId":"ideogramGenerate","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/replicate/v1/models/{owner}/{name}/predictions":{"post":{"description":"Submit supported Replicate create a prediction for a model fields with a Platform key. The provider base URL is https://platform-api.invideo.io/replicate. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable. Use Prefer: wait for a bounded wait. Streaming is unavailable.","parameters":[{"in":"path","name":"owner","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}},{"in":"path","name":"name","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Replicate create a prediction for a model","responses":{"201":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["id","status","urls"],"properties":{"id":{"type":"string"},"status":{"type":"string"},"urls":{"type":"object","properties":{"get":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Replicate create a prediction for a model reference","url":"https://replicate.com/docs/reference/http"},"operationId":"replicateCreateForModel","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"extra":{"type":"object","additionalProperties":true},"input":{"type":"object","additionalProperties":true},"stream":{"const":false},"version":{"type":"string"},"model":{"type":"string"}},"additionalProperties":true}}}}}},"/v1/audio/speech":{"post":{"description":"Submit supported OpenAI speech fields with a Platform key. The provider base URL is https://platform-api.invideo.io. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable. MP3 is the supported requested format. SSE and transcoding are unavailable.","parameters":[],"summary":"OpenAI speech","responses":{"200":{"description":"Provider-shaped response.","content":{"audio/*":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-invideo-cost-breakdown":{"$ref":"#/components/headers/x-invideo-cost-breakdown"},"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"OpenAI speech reference","url":"https://platform.openai.com/docs/api-reference/audio/createSpeech"},"operationId":"openaiSpeech","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["model"],"properties":{"input":{"type":"string"},"model":{"type":"string"},"voice":{"type":"string"},"response_format":{"enum":["mp3"]},"stream_format":{"enum":["audio"]}},"additionalProperties":true}}}}}},"/beeble/v1/switchx/generations/{id}":{"get":{"description":"Submit supported Beeble status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/beeble. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Beeble status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Beeble status reference","url":"https://docs.beeble.ai/"},"operationId":"beebleStatus"}},"/elevenlabs/v1/music":{"post":{"description":"Submit supported ElevenLabs music fields with a Platform key. The provider base URL is https://platform-api.invideo.io/elevenlabs. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"ElevenLabs music","responses":{"200":{"description":"Provider-shaped response.","content":{"audio/*":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-invideo-cost-breakdown":{"$ref":"#/components/headers/x-invideo-cost-breakdown"},"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"ElevenLabs music reference","url":"https://elevenlabs.io/docs/api-reference/music/compose"},"operationId":"elevenlabsMusic","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/byteplus/api/v3/tts/create":{"post":{"description":"Submit supported BytePlus Seed Audio fields with a Platform key. The provider base URL is https://platform-api.invideo.io/byteplus. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"BytePlus Seed Audio","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"BytePlus Seed Audio reference","url":"https://docs.byteplus.com/en/docs/ModelArk"},"operationId":"byteplusSeedAudio","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/v1/responses":{"post":{"description":"The body and the answer are OpenAI Responses's own (see its docs): the provider's SDK works as is. Every chat model on every door (the model's own provider's format is passed through, others are translated). `id` is our request id, `model` the id you sent, and the usage carries your exact charged USD (`usage.cost` for OpenAI, `usage.cost_usd` for Anthropic, `usageMetadata.cost_usd` for Gemini). Images and PDFs: inline or a public https link (fetched by us; 20 MB each, 50 MB in all). Audio and video in: Gemini models only (Gemini `inlineData`/`fileData`, Chat `input_audio`, Responses `input_audio`; 20 MB in all), priced at the model's audio rate (`chat.token_prices.audio_input_per_m`); any other model answers 400. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`. Streaming: Responses events carry sequence_number, from response.created through response.completed. The final usage includes the charge. Use background: true to detach and resume with GET /v1/responses/{id}.","parameters":[{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"OpenAI Responses, every chat model","responses":{"200":{"description":"OpenAI Responses answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]}],"externalDocs":{"description":"OpenAI Responses reference","url":"https://platform.openai.com/docs/api-reference/responses/create"},"operationId":"responses","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"OpenAI Responses request body."}}}}}},"/fal/{app}/requests/{id}/status":{"get":{"description":"Submit supported fal queue status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/fal. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"app","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}},{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"fal queue status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"fal queue status reference","url":"https://fal.ai/docs/documentation/model-apis/inference/queue"},"operationId":"falStatus"}},"/ltx/v2/text-to-video":{"post":{"description":"Submit supported LTX text-to-video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/ltx. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"LTX text-to-video","responses":{"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"LTX text-to-video reference","url":"https://docs.ltx.video/"},"operationId":"ltxTextToVideoPost","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/adobe/v3/images/generate-async":{"post":{"description":"Submit supported Adobe Firefly image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/adobe. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Adobe Firefly image","responses":{"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["jobId","statusUrl"],"properties":{"jobId":{"type":"string"},"statusUrl":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Adobe Firefly image reference","url":"https://developer.adobe.com/firefly-services/docs/firefly-api/"},"operationId":"adobeGenerate","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"extra":{"type":"object","additionalProperties":true},"model":{"type":"string"}},"additionalProperties":true}}}}}},"/pixverse/openapi/v2/video/text/generate":{"post":{"description":"Submit supported PixVerse text fields with a Platform key. The provider base URL is https://platform-api.invideo.io/pixverse. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"PixVerse text","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"PixVerse text reference","url":"https://docs.platform.pixverse.ai/"},"operationId":"pixverseText","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/adobe/v3/images/generate-similar-async":{"post":{"description":"Submit supported Adobe Firefly similar image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/adobe. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Adobe Firefly similar image","responses":{"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["jobId","statusUrl"],"properties":{"jobId":{"type":"string"},"statusUrl":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Adobe Firefly similar image reference","url":"https://developer.adobe.com/firefly-services/docs/firefly-api/"},"operationId":"adobeSimilar","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"extra":{"type":"object","additionalProperties":true},"model":{"type":"string"}},"additionalProperties":true}}}}}},"/phota/v2/phota/jobs/{id}":{"get":{"description":"Submit supported Phota job status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/phota. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Phota job status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Phota job status reference","url":"https://docs.photalabs.com/"},"operationId":"photaStatus"}},"/heygen/v3/models/videos/{id}":{"get":{"description":"Submit supported HeyGen video status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/heygen. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"HeyGen video status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"HeyGen video status reference","url":"https://docs.heygen.com/"},"operationId":"heygenVideoStatus"}},"/meshy/openapi/v2/text-to-3d":{"post":{"description":"Submit supported Meshy text to 3D fields with a Platform key. The provider base URL is https://platform-api.invideo.io/meshy. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Meshy text to 3D","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Meshy text to 3D reference","url":"https://docs.meshy.ai/en/api/text-to-3d"},"operationId":"meshyTextTo3d","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/pixverse/openapi/v2/video/result/{id}":{"get":{"description":"Submit supported PixVerse video result fields with a Platform key. The provider base URL is https://platform-api.invideo.io/pixverse. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"PixVerse video result","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"PixVerse video result reference","url":"https://docs.platform.pixverse.ai/"},"operationId":"pixverseResult"}},"/cartesia/tts/bytes":{"post":{"description":"Submit supported Cartesia text to speech fields with a Platform key. The provider base URL is https://platform-api.invideo.io/cartesia. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Cartesia text to speech","responses":{"200":{"description":"Provider-shaped response.","content":{"audio/*":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-invideo-cost-breakdown":{"$ref":"#/components/headers/x-invideo-cost-breakdown"},"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Cartesia text to speech reference","url":"https://docs.cartesia.ai/api-reference/tts/bytes"},"operationId":"cartesiaTts","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/byteplus/api/v3/contents/generations":{"post":{"description":"Submit supported BytePlus Seed Audio generation fields with a Platform key. The provider base URL is https://platform-api.invideo.io/byteplus. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"BytePlus Seed Audio generation","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"BytePlus Seed Audio generation reference","url":"https://docs.byteplus.com/en/docs/ModelArk"},"operationId":"byteplusSeedAudioGeneration","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/ltx/v2/audio-to-video/{id}":{"get":{"description":"Submit supported LTX audio-to-video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/ltx. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"LTX audio-to-video","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"LTX audio-to-video reference","url":"https://docs.ltx.video/"},"operationId":"ltxAudioToVideoGet"}},"/higgsfield/v1/job-sets/{id}":{"get":{"description":"Submit supported Higgsfield job status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/higgsfield. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Higgsfield job status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Higgsfield job status reference","url":"https://open.higgsfield.ai/quick-start"},"operationId":"higgsfieldJob"}},"/tencentmps":{"post":{"description":"Submit supported Tencent MPS submit or poll fields with a Platform key. The provider base URL is https://platform-api.invideo.io/tencentmps. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Tencent MPS submit or poll","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Tencent MPS submit or poll reference","url":"https://www.tencentcloud.com/document/product/1041"},"operationId":"tencentMps","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/openrouter/api/v1/chat/completions":{"post":{"description":"Call a supported OpenRouter model in its native shape. Completed JSON includes x-invideo-cost-usd. Streams carry the final charge in usage.cost in the final usage chunk. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`.","parameters":[{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"OpenRouter native chat","responses":{"200":{"description":"OpenRouter answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]}],"externalDocs":{"description":"OpenRouter reference","url":"https://openrouter.ai/docs/api/reference/overview"},"operationId":"openrouter_chat","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"OpenRouter request body."}}}}}},"/higgsfield/v2/image2video":{"post":{"description":"Submit supported Higgsfield motion fields with a Platform key. The provider base URL is https://platform-api.invideo.io/higgsfield. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Higgsfield motion","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Higgsfield motion reference","url":"https://open.higgsfield.ai/quick-start"},"operationId":"higgsfieldMotion","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/pruna/v1/predictions":{"post":{"description":"Submit supported Pruna prediction fields with a Platform key. The provider base URL is https://platform-api.invideo.io/pruna. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Pruna prediction","responses":{"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Pruna prediction reference","url":"https://docs.api.pruna.ai/"},"operationId":"prunaPredict","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/pixverse/openapi/v2/video/modify/generate":{"post":{"description":"Submit supported PixVerse modify fields with a Platform key. The provider base URL is https://platform-api.invideo.io/pixverse. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"PixVerse modify","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"PixVerse modify reference","url":"https://docs.platform.pixverse.ai/"},"operationId":"pixverseModify","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/v1beta/models/{model}:predictLongRunning":{"post":{"description":"Submit supported Gemini predictLongRunning (video) fields with a Platform key. The provider base URL is https://platform-api.invideo.io. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable. Submit a single instance and poll the operation.","parameters":[{"in":"path","name":"model","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Gemini predictLongRunning (video)","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Gemini predictLongRunning (video) reference","url":"https://ai.google.dev/gemini-api/docs/video"},"operationId":"geminiPredictLongRunning","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["instances"],"properties":{"extra":{"type":"object","additionalProperties":true},"parameters":{"type":"object","additionalProperties":true},"instances":{"type":"array","items":{"type":"object","additionalProperties":true},"maxItems":1,"minItems":1}},"additionalProperties":true}}}}}},"/pixverse/openapi/v2/video/upscale/generate":{"post":{"description":"Submit supported PixVerse upscale fields with a Platform key. The provider base URL is https://platform-api.invideo.io/pixverse. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"PixVerse upscale","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"PixVerse upscale reference","url":"https://docs.platform.pixverse.ai/"},"operationId":"pixverseUpscale","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/phota/v2/phota/edit":{"post":{"description":"Submit supported Phota edit fields with a Platform key. The provider base URL is https://platform-api.invideo.io/phota. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Phota edit","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["download_urls"],"properties":{"download_urls":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["job_id","status","poll_url"],"properties":{"status":{"type":"string"},"job_id":{"type":"string"},"poll_url":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Phota edit reference","url":"https://docs.photalabs.com/"},"operationId":"photaEdit","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/dashscope/api/v1/services/aigc/video-generation/video-synthesis":{"post":{"description":"Submit supported DashScope video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/dashscope. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"DashScope video","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"DashScope video reference","url":"https://help.aliyun.com/en/model-studio/image-to-video-guide"},"operationId":"dashscopeVideo","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/fishaudio/v1/voice-design":{"post":{"description":"Submit supported Fish Audio voice design fields with a Platform key. The provider base URL is https://platform-api.invideo.io/fishaudio. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Fish Audio voice design","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Fish Audio voice design reference","url":"https://docs.fish.audio/"},"operationId":"fishVoiceDesign","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/phota/v2/phota/enhance":{"post":{"description":"Submit supported Phota enhance fields with a Platform key. The provider base URL is https://platform-api.invideo.io/phota. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Phota enhance","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["download_urls"],"properties":{"download_urls":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["job_id","status","poll_url"],"properties":{"status":{"type":"string"},"job_id":{"type":"string"},"poll_url":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Phota enhance reference","url":"https://docs.photalabs.com/"},"operationId":"photaEnhance","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/pixverse/openapi/v2/video/mimic/generate":{"post":{"description":"Submit supported PixVerse mimic fields with a Platform key. The provider base URL is https://platform-api.invideo.io/pixverse. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"PixVerse mimic","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"PixVerse mimic reference","url":"https://docs.platform.pixverse.ai/"},"operationId":"pixverseMimic","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/heygen/v3/videos":{"post":{"description":"Submit supported HeyGen photo avatar fields with a Platform key. The provider base URL is https://platform-api.invideo.io/heygen. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"HeyGen photo avatar","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"HeyGen photo avatar reference","url":"https://docs.heygen.com/"},"operationId":"heygenPhotoAvatar","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/kling/omni-video/kling-3.0-omni":{"post":{"description":"Submit supported Kling 3 Omni fields with a Platform key. The provider base URL is https://platform-api.invideo.io/kling. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Kling 3 Omni","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Kling 3 Omni reference","url":"https://kling.ai/document-api/api/video/3-0-omni/video-omni"},"operationId":"klingOmni","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/v1/request":{"post":{"description":"Answers at once with the request's id; read it with GET /v1/request/{id} until it ends. Options go in `input` (an unknown top-level field is refused). The same `Idempotency-Key` with the same body gives the first request again.","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"summary":"Submit a request to a media model","responses":{"200":{"description":"Submitted.","content":{"application/json":{"schema":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string"},"status":{"$ref":"#/components/schemas/Status"}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/InsufficientBalance"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/Invalid"},"429":{"$ref":"#/components/responses/TooMany"},"500":{"$ref":"#/components/responses/ServerError"}},"tags":["media"],"operationId":"submitRequest","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Nano Banana Pro","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_nano-banana-pro"},"mode":{"const":"generate","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"nano-banana-pro","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Veo 3.1 Lite","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_veo-3-1-lite"},"mode":{"const":"frames","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"veo-3-1-lite","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Nano Banana 2","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_nanobanana-2"},"mode":{"const":"generate","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"nanobanana-2","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Nano Banana","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_nano-banana"},"mode":{"const":"generate","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"nano-banana","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Nano Banana Lite","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_nanobanana-lite"},"mode":{"const":"generate","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"nanobanana-lite","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Nano Banana 2.1","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_nano-banana-2-1"},"mode":{"const":"generate","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"nano-banana-2-1","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Veo 3.1","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_veo-3-1"},"mode":{"const":"frames","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"veo-3-1","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Veo 3.1","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_veo-3-1-ingredients"},"mode":{"const":"ingredients","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"veo-3-1-ingredients","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Veo 3.1 Fast","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_veo-3-1-fast"},"mode":{"const":"frames","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"veo-3-1-fast","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Veo 3.1 Fast","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_veo-3-1-fast-ingredients"},"mode":{"const":"ingredients","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"veo-3-1-fast-ingredients","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Gemini 3.1 Flash TTS","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_gemini-3-1-flash-tts"},"mode":{"const":"generate","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"gemini-3-1-flash-tts","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Google Lyria-002","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_lyria-002"},"mode":{"const":"generate","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"lyria-002","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Google Lyria 3 Clip","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_lyria-3-clip"},"mode":{"const":"generate","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"lyria-3-clip","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Google Lyria 3 Pro","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_lyria-3-pro"},"mode":{"const":"generate","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"lyria-3-pro","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Gemini Omni Flash 1.1","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_gemini-omni-flash-11-preview"},"mode":{"const":"frames","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"gemini-omni-flash-11-preview","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Gemini Omni Flash 1.1","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_gemini-omni-flash-11-preview-reference"},"mode":{"const":"reference","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"gemini-omni-flash-11-preview-reference","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Gemini Omni Flash 1.1","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_gemini-omni-flash-11-preview-extend"},"mode":{"const":"extend","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"gemini-omni-flash-11-preview-extend","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Gemini Omni Flash 1.2","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_gemini-omni-flash-12-preview"},"mode":{"const":"frames","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"gemini-omni-flash-12-preview","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Gemini Omni Flash 1.2","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_gemini-omni-flash-12-preview-reference"},"mode":{"const":"reference","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"gemini-omni-flash-12-preview-reference","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Gemini Omni Flash 1.2","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_gemini-omni-flash-12-preview-extend"},"mode":{"const":"extend","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"gemini-omni-flash-12-preview-extend","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Gemini Omni Flash 1.2","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_gemini-omni-flash-12-preview-edit"},"mode":{"const":"edit","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"gemini-omni-flash-12-preview-edit","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Gemini Omni Flash 1.2","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_gemini-omni-flash-12-preview-upscale"},"mode":{"const":"upscale","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"gemini-omni-flash-12-preview-upscale","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Veo 3","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_veo-3"},"mode":{"const":"generate","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"veo-3","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Veo 3 Fast","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_veo-3-fast"},"mode":{"const":"generate","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"veo-3-fast","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false},{"type":"object","title":"Nano Banana 2","required":["model","input"],"properties":{"input":{"$ref":"#/components/schemas/Input_nano-banana-2"},"mode":{"const":"ingredients","type":"string","description":"May be left out: each model has one mode."},"model":{"const":"nano-banana-2","type":"string"},"byok":{"type":"boolean","description":"Run on the workspace's own provider key (true) or on invideo's (false). Left out: as the workspace's settings say."},"zdr":{"type":"boolean","description":"Zero data retention: nothing of this request (input, output, logs) is kept, and the output files are deleted when `zdr_retention` seconds after the run have passed. Only for workspaces and models invideo turned it on for (`zdr` in the model list); otherwise 422 `model_not_zdr`. Every answer has the header `X-Invideo-Zero-Data-Retention`."},"zdr_retention":{"maximum":86400,"type":"integer","description":"How long to keep the output files of a `zdr` request, in seconds (300 to 86400; at most what invideo set for your workspace). Default: the value of your model, provider or workspace setting (Manage > Zero data retention), else 3600.","minimum":300}},"additionalProperties":false}],"discriminator":{"propertyName":"model"}}}}}}},"/ltx/v2/image-to-video":{"post":{"description":"Submit supported LTX image-to-video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/ltx. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"LTX image-to-video","responses":{"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"LTX image-to-video reference","url":"https://docs.ltx.video/"},"operationId":"ltxImageToVideoPost","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/cartesia/stt":{"post":{"description":"Submit supported Cartesia speech to text fields with a Platform key. The provider base URL is https://platform-api.invideo.io/cartesia. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable. Send a multipart file or the Platform JSON file URL form. Word timestamps are supported.","parameters":[],"summary":"Cartesia speech to text","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["type","request_id","text"],"properties":{"type":{"const":"transcript"},"text":{"type":"string"},"words":{"type":"array","items":{"type":"object","properties":{"start":{"type":"number"},"end":{"type":"number"},"word":{"type":"string"}},"additionalProperties":true}},"request_id":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Cartesia speech to text reference","url":"https://docs.cartesia.ai/api-reference/stt/transcribe"},"operationId":"cartesiaStt","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["file"],"properties":{"extra":{"type":"object","additionalProperties":true},"file":{"type":"string","description":"HTTPS URL or data URI."},"language":{"type":"string"},"model":{"type":"string"}},"additionalProperties":true}},"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"extra":{"type":"string"},"file":{"type":"string","format":"binary"},"language":{"type":"string"},"model":{"type":"string"}},"additionalProperties":true}}}}}},"/bfl/v1/{model}":{"post":{"description":"Submit supported BFL create fields with a Platform key. The provider base URL is https://platform-api.invideo.io/bfl. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"model","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"BFL create","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"BFL create reference","url":"https://docs.bfl.ai/api_integration/integration_guidelines.md"},"operationId":"bflCreate","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/recraft/v1/images/generations":{"post":{"description":"Submit supported Recraft image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/recraft. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Recraft image","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Recraft image reference","url":"https://www.recraft.ai/docs/api-reference/endpoints"},"operationId":"recraftGenerate","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/elevenlabs/v1/music/stem-separation":{"post":{"description":"Submit supported ElevenLabs stems fields with a Platform key. The provider base URL is https://platform-api.invideo.io/elevenlabs. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"ElevenLabs stems","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-invideo-cost-breakdown":{"$ref":"#/components/headers/x-invideo-cost-breakdown"},"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"ElevenLabs stems reference","url":"https://elevenlabs.io/docs/api-reference"},"operationId":"elevenlabsStems","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/freepik/v1/ai/skin-enhancer/faithful":{"post":{"description":"Submit supported Magnific image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/freepik. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Magnific image","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Magnific image reference","url":"https://docs.magnific.com/api-reference/"},"operationId":"magnificSkinEnhancerFaithful","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/v1beta/models/{model}:predict":{"post":{"description":"Submit supported Gemini predict (images) fields with a Platform key. The provider base URL is https://platform-api.invideo.io. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"model","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Gemini predict (images)","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Gemini predict (images) reference","url":"https://ai.google.dev/gemini-api/docs/imagen"},"operationId":"geminiPredict","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["instances"],"properties":{"extra":{"type":"object","additionalProperties":true},"parameters":{"type":"object","additionalProperties":true},"instances":{"type":"array","items":{"type":"object","additionalProperties":true},"maxItems":1,"minItems":1}},"additionalProperties":true}}}}}},"/heygen/v3/lipsyncs/{id}":{"get":{"description":"Submit supported HeyGen lipsync status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/heygen. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"HeyGen lipsync status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"HeyGen lipsync status reference","url":"https://docs.heygen.com/"},"operationId":"heygenLipsyncStatus"}},"/topaz/image/v1/enhance-gen/async":{"post":{"description":"Submit supported Topaz image enhance fields with a Platform key. The provider base URL is https://platform-api.invideo.io/topaz. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Topaz image enhance","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Topaz image enhance reference","url":"https://developer.topazlabs.com/"},"operationId":"topazImage","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/byteplus/api/v3/contents/generations/tasks":{"post":{"description":"Submit supported BytePlus video task fields with a Platform key. The provider base URL is https://platform-api.invideo.io/byteplus. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"BytePlus video task","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"BytePlus video task reference","url":"https://docs.byteplus.com/en/docs/ModelArk"},"operationId":"byteplusVideo","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/deepgram/v1/listen":{"post":{"description":"Submit supported Deepgram listen fields with a Platform key. The provider base URL is https://platform-api.invideo.io/deepgram. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Deepgram listen","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Deepgram listen reference","url":"https://developers.deepgram.com/reference/speech-to-text-api/listen"},"operationId":"deepgramListen","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"extra":{"type":"object","additionalProperties":true},"url":{"type":"string"}},"additionalProperties":true}},"audio/*":{"schema":{"type":"string","format":"binary"}}}}}},"/mureka/v1/instrumental/generate":{"post":{"description":"Submit supported Mureka instrumental fields with a Platform key. The provider base URL is https://platform-api.invideo.io/mureka. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Mureka instrumental","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Mureka instrumental reference","url":"https://platform.mureka.ai/docs/"},"operationId":"murekaInstrumental","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/mureka/v1/soundtrack/generate":{"post":{"description":"Submit supported Mureka soundtrack fields with a Platform key. The provider base URL is https://platform-api.invideo.io/mureka. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Mureka soundtrack","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Mureka soundtrack reference","url":"https://platform.mureka.ai/docs/"},"operationId":"murekaSoundtrack","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/xai/v1/images/generations":{"post":{"description":"Submit supported xAI image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/xai. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"xAI image","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["request_id","status"],"properties":{"status":{"type":"string"},"request_id":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"xAI image reference","url":"https://docs.x.ai/developers/rest-api-reference/inference/images"},"operationId":"xaiGenerateImage","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/adobe/v2/reframe":{"post":{"description":"Submit supported Adobe reframe fields with a Platform key. The provider base URL is https://platform-api.invideo.io/adobe. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Adobe reframe","responses":{"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["jobId","statusUrl"],"properties":{"jobId":{"type":"string"},"statusUrl":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Adobe reframe reference","url":"https://developer.adobe.com/firefly-services/docs/firefly-api/"},"operationId":"adobeReframe","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"extra":{"type":"object","additionalProperties":true},"model":{"type":"string"}},"additionalProperties":true}}}}}},"/v1/chat/completions":{"post":{"description":"The body and the answer are OpenAI Chat Completions's own (see its docs): the provider's SDK works as is. Every chat model on every door (the model's own provider's format is passed through, others are translated). `id` is our request id, `model` the id you sent, and the usage carries your exact charged USD (`usage.cost` for OpenAI, `usage.cost_usd` for Anthropic, `usageMetadata.cost_usd` for Gemini). Images and PDFs: inline or a public https link (fetched by us; 20 MB each, 50 MB in all). Audio and video in: Gemini models only (Gemini `inlineData`/`fileData`, Chat `input_audio`, Responses `input_audio`; 20 MB in all), priced at the model's audio rate (`chat.token_prices.audio_input_per_m`); any other model answers 400. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`. Streaming: chat.completion.chunk events, then `data: [DONE]`; the usage chunk carries the charge.","parameters":[{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"OpenAI Chat Completions, every chat model","responses":{"200":{"description":"OpenAI Chat Completions answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]}],"externalDocs":{"description":"OpenAI Chat Completions reference","url":"https://platform.openai.com/docs/api-reference/chat/create"},"operationId":"chatCompletions","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"OpenAI Chat Completions request body."}}}}}},"/elevenlabs/v1/text-to-speech/{voice_id}/stream":{"post":{"description":"Submit supported ElevenLabs text to speech (buffered) fields with a Platform key. The provider base URL is https://platform-api.invideo.io/elevenlabs. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"voice_id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"ElevenLabs text to speech (buffered)","responses":{"200":{"description":"Provider-shaped response.","content":{"audio/*":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-invideo-cost-breakdown":{"$ref":"#/components/headers/x-invideo-cost-breakdown"},"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"ElevenLabs text to speech (buffered) reference","url":"https://elevenlabs.io/docs/api-reference/text-to-speech/stream"},"operationId":"elevenlabsTextToSpeechBuffered","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/z-ai/api/paas/v4/chat/completions":{"post":{"description":"Call a supported Z.ai model in its native shape. Completed JSON includes x-invideo-cost-usd. Streams carry the final charge in usage.cost in the final usage chunk. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`.","parameters":[{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"Z.ai native chat","responses":{"200":{"description":"Z.ai answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]}],"externalDocs":{"description":"Z.ai reference","url":"https://docs.z.ai/api-reference/llm/chat-completion"},"operationId":"z_ai_chat","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Z.ai request body."}}}}}},"/ltx/v2/video-to-video-hdr/{id}":{"get":{"description":"Submit supported LTX video-to-video-hdr fields with a Platform key. The provider base URL is https://platform-api.invideo.io/ltx. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"LTX video-to-video-hdr","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"LTX video-to-video-hdr reference","url":"https://docs.ltx.video/"},"operationId":"ltxVideoToVideoHdrGet"}},"/xai/v1/chat/completions":{"post":{"description":"Call a supported xAI model in its native shape. Completed JSON includes x-invideo-cost-usd. Streams carry the final charge in usage.cost in the final usage chunk. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`.","parameters":[{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"xAI native chat","responses":{"200":{"description":"xAI answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]}],"externalDocs":{"description":"xAI reference","url":"https://docs.x.ai/developers/rest-api-reference/inference/chat"},"operationId":"xai_chat","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"xAI request body."}}}}}},"/mureka/v1/song/query/{id}":{"get":{"description":"Submit supported Mureka song status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/mureka. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Mureka song status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Mureka song status reference","url":"https://platform.mureka.ai/docs/"},"operationId":"murekaSongStatus"}},"/v1/images/generations":{"post":{"description":"Submit supported OpenAI images fields with a Platform key. The provider base URL is https://platform-api.invideo.io. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"OpenAI images","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"OpenAI images reference","url":"https://platform.openai.com/docs/api-reference/images/create"},"operationId":"openaiImagesGenerations","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/byteplusvision":{"post":{"description":"Submit supported BytePlus Vision submit or poll fields with a Platform key. The provider base URL is https://platform-api.invideo.io/byteplusvision. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"BytePlus Vision submit or poll","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"BytePlus Vision submit or poll reference","url":"https://docs.byteplus.com/en/docs/byteplus-vision"},"operationId":"byteplusVision","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/heygen/v1/video_status.get":{"get":{"description":"Submit supported HeyGen avatar status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/heygen. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"HeyGen avatar status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"HeyGen avatar status reference","url":"https://docs.heygen.com/"},"operationId":"heygenAvatarStatus"}},"/reve/v1/image/edit":{"post":{"description":"Submit supported Reve edit fields with a Platform key. The provider base URL is https://platform-api.invideo.io/reve. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Reve edit","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Reve edit reference","url":"https://reve.com/"},"operationId":"reveEdit","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/ltx/v2/image-to-video/{id}":{"get":{"description":"Submit supported LTX image-to-video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/ltx. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"LTX image-to-video","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"LTX image-to-video reference","url":"https://docs.ltx.video/"},"operationId":"ltxImageToVideoGet"}},"/luma/dream-machine/v1/generations":{"post":{"description":"Submit supported Luma generation fields with a Platform key. The provider base URL is https://platform-api.invideo.io/luma. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Luma generation","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Luma generation reference","url":"https://docs.lumalabs.ai/docs/python-video-generation"},"operationId":"lumaCreate","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/v1/responses/{id}":{"get":{"parameters":[{"in":"path","name":"id","description":"The Platform request ID.","required":true,"schema":{"type":"string"}},{"in":"query","name":"stream","schema":{"type":"boolean"}},{"in":"query","name":"starting_after","schema":{"type":"integer","minimum":0}}],"summary":"Retrieve or resume a Response","responses":{"200":{"description":"The retained result, current status or resumed events.","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid cursor or cancellation request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No retained result for this caller. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"410":{"description":"The stream expired or the request ran with zero data retention. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]}],"operationId":"retrieveResponse"}},"/freepik/v1/ai/image-upscaler":{"post":{"description":"Submit supported Magnific image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/freepik. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Magnific image","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Magnific image reference","url":"https://docs.magnific.com/api-reference/"},"operationId":"magnificImageUpscaler","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/elevenlabs/v1/speech-to-text":{"post":{"description":"Submit supported ElevenLabs speech to text fields with a Platform key. The provider base URL is https://platform-api.invideo.io/elevenlabs. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"ElevenLabs speech to text","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"ElevenLabs speech to text reference","url":"https://elevenlabs.io/docs/api-reference/speech-to-text/convert"},"operationId":"elevenlabsSpeechToText","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/v1/health":{"get":{"summary":"Is the API up (no key)","responses":{"200":{"description":"Up.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["ok"]}}}}}}},"tags":["meta"],"security":[],"operationId":"health"}},"/freepik/v1/ai/image-upscaler-precision-v2":{"post":{"description":"Submit supported Magnific image fields with a Platform key. The provider base URL is https://platform-api.invideo.io/freepik. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Magnific image","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Magnific image reference","url":"https://docs.magnific.com/api-reference/"},"operationId":"magnificImageUpscalerPrecisionV2","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/xai/v1/videos/generations":{"post":{"description":"Submit supported xAI video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/xai. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"xAI video","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"xAI video reference","url":"https://docs.x.ai/developers/model-capabilities/video/generation"},"operationId":"xaiVideoCreate","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/topaz/image/v1/status/{id}":{"get":{"description":"Submit supported Topaz image status fields with a Platform key. The provider base URL is https://platform-api.invideo.io/topaz. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[{"in":"path","name":"id","description":"Part of the path, as the provider's API defines it.","required":true,"schema":{"type":"string"}}],"summary":"Topaz image status","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Topaz image status reference","url":"https://developer.topazlabs.com/"},"operationId":"topazStatus"}},"/v1/balance":{"get":{"description":"Prepaid USD: `balance_usd` = everything added less everything charged; `available_usd` = the balance less what running requests set aside (a new request must fit in it); every spend limit that applies, with this period's spend and when it resets. Money never expires.","summary":"Read the workspace's balance and spend limits","responses":{"200":{"description":"The balance.","content":{"application/json":{"schema":{"type":"object","required":["balance_usd","available_usd","held_usd","budgets"],"properties":{"available_usd":{"type":"string"},"balance_usd":{"type":"string"},"budgets":{"type":"array","items":{"type":"object","properties":{"scope":{"type":"string","enum":["workspace","model","service_account"]},"period":{"type":"string","enum":["day","month"]},"model":{"type":"string","nullable":true},"resets_at":{"type":"string","format":"date-time"},"limit_usd":{"type":"string"},"spent_usd":{"type":"string"}}}},"held_usd":{"type":"string"}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}},"tags":["billing"],"operationId":"getBalance"}},"/beeble/v1/switchx/generations":{"post":{"description":"Submit supported Beeble video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/beeble. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Beeble video","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Beeble video reference","url":"https://docs.beeble.ai/"},"operationId":"beebleVideo","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/moonshot/v1/chat/completions":{"post":{"description":"Call a supported Moonshot AI model in its native shape. Completed JSON includes x-invideo-cost-usd. Streams carry the final charge in usage.cost in the final usage chunk. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`.","parameters":[{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"Moonshot AI native chat","responses":{"200":{"description":"Moonshot AI answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"bearer":[]}],"externalDocs":{"description":"Moonshot AI reference","url":"https://platform.moonshot.ai/docs/api/chat"},"operationId":"moonshot_chat","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Moonshot AI request body."}}}}}},"/elevenlabs/v1/text-to-dialogue":{"post":{"description":"Submit supported ElevenLabs dialogue fields with a Platform key. The provider base URL is https://platform-api.invideo.io/elevenlabs. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"ElevenLabs dialogue","responses":{"200":{"description":"Provider-shaped response.","content":{"audio/*":{"schema":{"type":"string","format":"binary"}}},"headers":{"x-invideo-cost-breakdown":{"$ref":"#/components/headers/x-invideo-cost-breakdown"},"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"ElevenLabs dialogue reference","url":"https://elevenlabs.io/docs/api-reference/text-to-dialogue/convert"},"operationId":"elevenlabsDialogue","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/ltx/v2/audio-to-video":{"post":{"description":"Submit supported LTX audio-to-video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/ltx. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"LTX audio-to-video","responses":{"202":{"description":"Accepted. Poll for the completed result.","content":{"application/json":{"schema":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"LTX audio-to-video reference","url":"https://docs.ltx.video/"},"operationId":"ltxAudioToVideoPost","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/v1beta/models/{model}:streamGenerateContent":{"post":{"description":"The body and the answer are Gemini streamGenerateContent (`?alt=sse`)'s own (see its docs): the provider's SDK works as is. Every chat model on every door (the model's own provider's format is passed through, others are translated). `id` is our request id, `model` the id you sent, and the usage carries your exact charged USD (`usage.cost` for OpenAI, `usage.cost_usd` for Anthropic, `usageMetadata.cost_usd` for Gemini). Images and PDFs: inline or a public https link (fetched by us; 20 MB each, 50 MB in all). Audio and video in: Gemini models only (Gemini `inlineData`/`fileData`, Chat `input_audio`, Responses `input_audio`; 20 MB in all), priced at the model's audio rate (`chat.token_prices.audio_input_per_m`); any other model answers 400. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`. Streaming: Gemini chunks as SSE; the last carries usageMetadata with the charge.","parameters":[{"in":"path","name":"model","description":"The model's id (our id or the provider's).","required":true,"schema":{"type":"string"}},{"in":"query","name":"alt","schema":{"type":"string","enum":["sse"]}},{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"Gemini streamGenerateContent (`?alt=sse`), every chat model","responses":{"200":{"description":"Gemini streamGenerateContent (`?alt=sse`) answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"gemini_key":[]},{"bearer":[]}],"externalDocs":{"description":"Gemini streamGenerateContent (`?alt=sse`) reference","url":"https://ai.google.dev/api/generate-content"},"operationId":"streamGenerateContent","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Gemini streamGenerateContent (`?alt=sse`) request body."}}}}}},"/kling/v1/videos/text2video":{"post":{"description":"Submit supported Kling text to video fields with a Platform key. The provider base URL is https://platform-api.invideo.io/kling. Use a model of the endpoint's kind and check its Platform input schema. Synchronous results are buffered. Poll task endpoints for results and the settled charge. Settled JSON includes an `invideo_cost` object with `total_usd` and `lines` alongside the charge scalar in the format's usage, metadata, or metrics. Webhooks and cancellation are unavailable.","parameters":[],"summary":"Kling text to video","responses":{"200":{"description":"Provider-shaped response.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}},"headers":{"x-invideo-cost-usd":{"$ref":"#/components/headers/x-invideo-cost-usd"}}},"400":{"description":"Malformed provider request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No matching task or model available to this key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"422":{"description":"A named field is unavailable for the model or this format. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["doors"],"security":[{"bearer":[]}],"externalDocs":{"description":"Kling text to video reference","url":"https://kling.ai/document-api"},"operationId":"klingText2Video","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provider-shaped input, limited to fields supported by the selected model.","additionalProperties":true}}}}}},"/minimax/anthropic/v1/messages":{"post":{"description":"Call a supported MiniMax model in its native shape. Completed JSON includes x-invideo-cost-usd. Streams carry the final charge in usage.cost_usd on message_delta. A matching `Idempotency-Key` retry returns 409 with the original request ID, even after the first request finishes. Read its status at `GET /v1/request/{id}`.","parameters":[{"$ref":"#/components/parameters/ChatIdempotencyKey"}],"summary":"MiniMax native chat","responses":{"200":{"description":"MiniMax answer (or its SSE stream).","content":{"application/json":{"schema":{"type":"object"}},"text/event-stream":{"schema":{"type":"string"}}},"headers":{"x-request-id":{"$ref":"#/components/headers/x-request-id"}}},"400":{"description":"Invalid, or `unsupported_parameter` (provider files, stored state, server tools, audio out, n > 1). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"401":{"description":"A missing or wrong key. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"402":{"description":"`insufficient_balance`: the workspace's balance is too low (add funds in Billing). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"404":{"description":"No such model, or an endpoint not run here (Files, Batches, count_tokens, embeddings...). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"409":{"description":"`request_already_submitted` includes the original request ID. `idempotency_key_reused` means the key belongs to a different request. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"413":{"description":"Too large (files: 20 MB each, 50 MB in all). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"429":{"description":"The workspace's rate or spend limit. In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"502":{"description":"The model's provider failed (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}},"503":{"description":"The model is busy (free). In the door's own error shape (Anthropic, OpenAI or Gemini); our code is in it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DoorError"}}}}},"tags":["chat"],"security":[{"anthropic_key":[]},{"bearer":[]}],"externalDocs":{"description":"MiniMax reference","url":"https://platform.minimax.io/docs/api-reference/text-anthropic-api"},"operationId":"minimax_messages","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"MiniMax request body."}}}}}}},"tags":[{"name":"media","description":"Image, video and audio models: submit a request, then read it."},{"name":"billing","description":"The workspace's prepaid USD balance and its spend limits."},{"name":"models","description":"Models and their prices for your workspace."},{"name":"catalog","description":"Every public model with its list price. No key."},{"name":"chat","description":"Chat models through the providers' own API shapes."},{"name":"doors","description":"Media models through the providers' own API shapes (OpenAI, ElevenLabs, Replicate, fal, Gemini, xAI, Runway, Luma, Deepgram, Cartesia and more), so their SDKs work with a new base URL."},{"name":"meta","description":"This description and the health check. No key."}],"servers":[{"url":"https://platform-api.invideo.io"}],"security":[{"bearer":[]}],"openapi":"3.1.0","externalDocs":{"description":"Docs (each page also as markdown)","url":"https://platform.invideo.io/docs"}}