v1

latestOpenAPI 3.1.02026-07-2671117149.2 KB
Apis

Create Translated Tts

post/translated-tts

Request body

project_namestring nullable

Enter a distinctive name for your project that reflects its purpose or content. This name will be displayed in your CAMB.AI workspace dashboard and used to organize related assets, transcriptions, etc.. . Choose something memorable that helps you quickly identify this specific project among your other voice, audio and localization tasks.

project_descriptionstring nullable

Provide details about your project's goals and specifications. Include information such as the target languages for translation or dubbing, desired voice characteristics, emotional tones to capture, or specific audio processing requirements, outlining the workflow here can serve as valuable documentation for organizational purposes.

textstring required

The input text content that you want to translate and convert to speech. Provide clear, well-structured text for optimal results.

voice_idinteger required

A unique identifier for the specific voice to use for speech synthesis in the target language. Each voice has distinct characteristics including tone, accent, and speaking style.

ageinteger nullable

The simulated age of the speaker in years, which influences voice characteristics. Defaults to 28 if not specified. Set to null to use the default voice age.

formality1 | 2
gender0 | 1 | 2 | 9

The gender of the speaker.

source_languagestring required
target_languagestring required
chosen_dictionariesinteger[] nullable

An optional list of dictionary IDs selected by the user. Each entry must be an integer corresponding to a valid dictionary ID. If provided, at least one ID is required.

Response

Successful Response

{"stackTrail":"paths:/translated-tts:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}