{ "info": { "name": "Camb.AI API", "description": "Generative voice AI from Camb.AI - text-to-speech (MARS), end-to-end dubbing, translation (BOLI), voice discovery and cloning, and transcription. Base URL: https://client.camb.ai/apis. Authenticate with an x-api-key header. Most operations are asynchronous: POST to start a task, GET /{resource}/{task_id} to poll until status is SUCCESS, then fetch the result. Paths are grounded in https://docs.camb.ai.", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "x-api-key", "type": "string" }, { "key": "value", "value": "{{apiKey}}", "type": "string" }, { "key": "in", "value": "header", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://client.camb.ai/apis", "type": "string" }, { "key": "apiKey", "value": "", "type": "string" } ], "item": [ { "name": "Text-to-Speech", "item": [ { "name": "Stream text-to-speech", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "body": { "mode": "raw", "raw": "{\n \"text\": \"Hello from Camb.AI\",\n \"language\": \"en-us\",\n \"voice_id\": 147320,\n \"speech_model\": \"mars-8.1-flash-beta\"\n}" }, "url": { "raw": "{{baseUrl}}/tts-stream", "host": ["{{baseUrl}}"], "path": ["tts-stream"] }, "description": "Synthesize speech and return a binary audio stream." } }, { "name": "Create TTS task (deprecated)", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "body": { "mode": "raw", "raw": "{\n \"text\": \"Hello from Camb.AI\",\n \"voice_id\": 147320,\n \"language\": \"en-us\"\n}" }, "url": { "raw": "{{baseUrl}}/tts", "host": ["{{baseUrl}}"], "path": ["tts"] }, "description": "Deprecated. Start an async TTS task; use POST /tts-stream for new integrations." } }, { "name": "Poll TTS task", "request": { "method": "GET", "header": [], "url": { "raw": "{{baseUrl}}/tts/:task_id", "host": ["{{baseUrl}}"], "path": ["tts", ":task_id"], "variable": [{ "key": "task_id", "value": "" }] }, "description": "Returns TTS task status and, when complete, the run_id." } }, { "name": "Download TTS audio", "request": { "method": "GET", "header": [], "url": { "raw": "{{baseUrl}}/tts-result/:run_id", "host": ["{{baseUrl}}"], "path": ["tts-result", ":run_id"], "variable": [{ "key": "run_id", "value": "" }] }, "description": "Downloads the generated audio for a completed TTS run." } } ] }, { "name": "Dubbing", "item": [ { "name": "Create dubbing task", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "body": { "mode": "raw", "raw": "{\n \"video_url\": \"https://example.com/clip.mp4\",\n \"source_language\": \"en-us\",\n \"target_languages\": [\"es-es\", \"fr-fr\"]\n}" }, "url": { "raw": "{{baseUrl}}/dub", "host": ["{{baseUrl}}"], "path": ["dub"] }, "description": "Start an end-to-end dubbing task for a media URL." } }, { "name": "Poll dubbing task", "request": { "method": "GET", "header": [], "url": { "raw": "{{baseUrl}}/dub/:task_id", "host": ["{{baseUrl}}"], "path": ["dub", ":task_id"], "variable": [{ "key": "task_id", "value": "" }] }, "description": "Returns dubbing task status and, when complete, the dubbed outputs." } } ] }, { "name": "Translation", "item": [ { "name": "Create translation task", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "body": { "mode": "raw", "raw": "{\n \"texts\": [\"Hello world\"],\n \"source_language\": \"en-us\",\n \"target_language\": \"es-es\"\n}" }, "url": { "raw": "{{baseUrl}}/translate", "host": ["{{baseUrl}}"], "path": ["translate"] }, "description": "Translate an array of texts with the BOLI model." } }, { "name": "Poll translation task", "request": { "method": "GET", "header": [], "url": { "raw": "{{baseUrl}}/translate/:task_id", "host": ["{{baseUrl}}"], "path": ["translate", ":task_id"], "variable": [{ "key": "task_id", "value": "" }] }, "description": "Returns translation task status and, when complete, the translated texts." } } ] }, { "name": "Transcription", "item": [ { "name": "Create transcription task", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "language", "value": "en-us", "type": "text" }, { "key": "media_url", "value": "https://example.com/audio.mp3", "type": "text" } ] }, "url": { "raw": "{{baseUrl}}/transcribe", "host": ["{{baseUrl}}"], "path": ["transcribe"] }, "description": "Transcribe speech from a media file or media URL." } }, { "name": "Poll transcription task", "request": { "method": "GET", "header": [], "url": { "raw": "{{baseUrl}}/transcribe/:task_id", "host": ["{{baseUrl}}"], "path": ["transcribe", ":task_id"], "variable": [{ "key": "task_id", "value": "" }] }, "description": "Returns transcription task status and, when complete, the transcript." } } ] }, { "name": "Voices", "item": [ { "name": "List voices", "request": { "method": "GET", "header": [], "url": { "raw": "{{baseUrl}}/list-voices", "host": ["{{baseUrl}}"], "path": ["list-voices"] }, "description": "List public, shared, and custom voices." } }, { "name": "Create custom voice", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "voice_name", "value": "My Voice", "type": "text" }, { "key": "file", "type": "file", "src": "" } ] }, "url": { "raw": "{{baseUrl}}/create-custom-voice", "host": ["{{baseUrl}}"], "path": ["create-custom-voice"] }, "description": "Clone a custom voice from a reference audio sample." } }, { "name": "Design voice from text", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "body": { "mode": "raw", "raw": "{\n \"voice_description\": \"A warm, calm female narrator\"\n}" }, "url": { "raw": "{{baseUrl}}/text-to-voice", "host": ["{{baseUrl}}"], "path": ["text-to-voice"] }, "description": "Generate candidate voices from a natural-language description." } }, { "name": "Delete custom voice", "request": { "method": "DELETE", "header": [], "url": { "raw": "{{baseUrl}}/delete-voice/:voice_id", "host": ["{{baseUrl}}"], "path": ["delete-voice", ":voice_id"], "variable": [{ "key": "voice_id", "value": "" }] }, "description": "Permanently remove a custom voice." } } ] }, { "name": "Languages", "item": [ { "name": "List source languages", "request": { "method": "GET", "header": [], "url": { "raw": "{{baseUrl}}/source-languages", "host": ["{{baseUrl}}"], "path": ["source-languages"] }, "description": "List supported source languages." } }, { "name": "List target languages", "request": { "method": "GET", "header": [], "url": { "raw": "{{baseUrl}}/target-languages", "host": ["{{baseUrl}}"], "path": ["target-languages"] }, "description": "List supported target languages." } } ] } ] }