đ Introducing MARS8 Series â Four Powerful Variants | Available on All Major Clouds | Learn about the model here
đ Introducing MARS8 Series â Four Powerful Variants | Available on All Major Clouds | Learn about the model here
Submits a request to initiate a task for creating a human-like voice from a given text prompt.
curl --request POST \
--url https://client.camb.ai/apis/text-to-voice \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"text": "<string>",
"voice_description": "<string>"
}
'{
"task_id": "<string>"
}This endpoint enables you to generate custom, human-like synthetic voices based on your descriptive text prompts. Rather than selecting from pre-defined voice options, this innovative approach allows you to craft voices tailored to your specific needs by simply describing the voice characteristics you want. The endpoint initiates an asynchronous process, returning a task_id that you can use to monitor the generation progress and eventually retrieve your custom voice.Documentation Index
Fetch the complete documentation index at: https://docs.camb.ai/llms.txt
Use this file to discover all available pages before exploring further.
task_id that you can use to track the generation process./text-to-voice/{task_id} endpoint.{
"text": "Welcome to our application. I'll be your guide through all the features and capabilities available to you.",
"voice_description": "A warm and friendly middle-aged woman with a slight British accent. She speaks clearly and articulately, with a soothing tone that conveys expertise and trustworthiness. Her voice has a natural musical quality without being overly dramatic."
}
task_id that you can use to check the status of your voice generation task:
{
"task_id": "your_task_id"
"status": "PENDING"
}
/text-to-voice/{task_id} endpoint using the task_id received in the initial response.
The x-api-key is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.
The text content that will be converted into synthesized speech. This text will be spoken by your generated voice and serves as a sample of the voice's capabilities.
A detailed description (minimum 18 words/100+ characters) of the desired voice characteristics. Be specific about gender, age, accent, emotional tone, speaking style, or cultural context to guide the synthesis engine in creating an authentic voice.
Successful response
A JSON that contains the unique identifier for the task. This is used to query the status of the text to voice task that is running. It is returned when a create request is made for creating a text to voice task.
curl --request POST \
--url https://client.camb.ai/apis/text-to-voice \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"text": "<string>",
"voice_description": "<string>"
}
'{
"task_id": "<string>"
}