{"openapi":"3.1.0","info":{"title":"MiniMax (BYOK) API","version":"0.1.0","description":"MiniMax (BYOK) lets an AI assistant read your own MiniMax data through the MiniMax API with a key you supply (MiniMax API key (pay-as-you-go or M Plan subscription key)). Read-only: 8 tools (list_models, get_model, list_files, get_file, list_video_tasks, get_video_task, get_speech_task, list_voices). The BYOK key travels with each request, is used for that one call only and is never stored,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-minimax.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-minimax/docs"},"termsOfService":"https://connectorbay.com/byok-minimax/terms"},"servers":[{"url":"https://byok-minimax.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-minimax/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_models":{"post":{"operationId":"list_models","summary":"List the MiniMax models available through the OpenAI-compatible API with owner and creation time. Use for \"Which models ","description":"List the MiniMax models available through the OpenAI-compatible API with owner and creation time. Use for \"Which models does MiniMax offer through its API\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_modelsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_model":{"post":{"operationId":"get_model","summary":"Get one model's id, owner and creation time. Use for \"Is the MiniMax-M2.7 model available\".","description":"Get one model's id, owner and creation time. Use for \"Is the MiniMax-M2.7 model available\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"model_id":{"description":"Model id, for example MiniMax-M2.7.","maxLength":200,"title":"Model Id","type":"string"}},"required":["model_id"],"title":"get_modelArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_files":{"post":{"operationId":"list_files","summary":"List uploaded and generated files for one purpose with name, size and creation time (Unix seconds). Contents are not ret","description":"List uploaded and generated files for one purpose with name, size and creation time (Unix seconds). Contents are not returned. Use for \"Which voice clone files have I uploaded to MiniMax\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"purpose":{"description":"File purpose to list.","enum":["voice_clone","prompt_audio","t2a_async_input","video_generation_input"],"title":"Purpose","type":"string"}},"required":["purpose"],"title":"list_filesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_file":{"post":{"operationId":"get_file","summary":"Get metadata of one file: name, size, purpose and creation time. File ids come from list_files or from finished video an","description":"Get metadata of one file: name, size, purpose and creation time. File ids come from list_files or from finished video and speech tasks. Use for \"What is MiniMax file 123456\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"file_id":{"description":"Numeric file id.","minimum":1,"title":"File Id","type":"integer"}},"required":["file_id"],"title":"get_fileArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_video_tasks":{"post":{"operationId":"list_video_tasks","summary":"List video generation tasks from the last 7 days with status, model, resolution, duration, usage and any error. Video li","description":"List video generation tasks from the last 7 days with status, model, resolution, duration, usage and any error. Video links are not returned. Use for \"Which MiniMax video tasks failed recently\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"page_num":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page Num"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Tasks per page.","title":"Page Size"},"status":{"anyOf":[{"enum":["queued","running","succeeded","failed","cancelled"],"type":"string"},{"type":"null"}],"default":null,"description":"Only tasks with this status.","title":"Status"},"model":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only tasks of this model, for example MiniMax-H3.","title":"Model"},"task_type":{"anyOf":[{"enum":["generation","h3_context_ir","regeneration"],"type":"string"},{"type":"null"}],"default":null,"description":"Only tasks of this type.","title":"Task Type"}},"title":"list_video_tasksArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_video_task":{"post":{"operationId":"get_video_task","summary":"Get one video generation task: status, model, resolution, duration, usage and any error. The video link is not returned.","description":"Get one video generation task: status, model, resolution, duration, usage and any error. The video link is not returned. Use for \"Is my MiniMax video task finished\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"task_id":{"description":"Task id returned when the video task was created.","maxLength":200,"title":"Task Id","type":"string"}},"required":["task_id"],"title":"get_video_taskArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_speech_task":{"post":{"operationId":"get_speech_task","summary":"Get the status of an asynchronous text-to-speech task (processing, success, failed or expired) and its result file id. U","description":"Get the status of an asynchronous text-to-speech task (processing, success, failed or expired) and its result file id. Use for \"Did my MiniMax async speech task 123456 finish\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"task_id":{"description":"Numeric task id returned when the speech task was submitted.","minimum":1,"title":"Task Id","type":"integer"}},"required":["task_id"],"title":"get_speech_taskArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_voices":{"post":{"operationId":"list_voices","summary":"List voice ids available to the account: system voices, quick-cloned voices and generated voices, with names and descrip","description":"List voice ids available to the account: system voices, quick-cloned voices and generated voices, with names and descriptions. Use for \"Which MiniMax voices can I use\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"voice_type":{"anyOf":[{"enum":["system","voice_cloning","voice_generation","all"],"type":"string"},{"type":"null"}],"default":"all","description":"Which voices to list.","title":"Voice Type"}},"title":"list_voicesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}