Cartesia
cartesiaCartesia provides real-time text-to-speech, speech-to-text, voice, model training, and managed voice agent APIs.
Acciones disponibles (10)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create Pronunciation DictionaryCARTESIA_CREATE_PRONUNCIATION_DICTIONARYAcciónCreate a reusable pronunciation dictionary for text-to-speech generation.
CARTESIA_CREATE_PRONUNCIATION_DICTIONARYAcciónCreate a reusable pronunciation dictionary for text-to-speech generation.
Parámetros de entrada
namestringObligatorioName for the pronunciation dictionary.
itemsobject[]Initial text-to-pronunciation mappings for the dictionary.
accessstringenumWho may use the dictionary: private restricts it to the owning organization; public allows any Cartesia user with its ID.
privatepublicdescriptionstringOptional description of the dictionary's purpose.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Pronunciation DictionaryCARTESIA_DELETE_PRONUNCIATION_DICTIONARYAcciónPermanently delete one pronunciation dictionary by ID.
CARTESIA_DELETE_PRONUNCIATION_DICTIONARYAcciónPermanently delete one pronunciation dictionary by ID.
Parámetros de entrada
dictionary_idstringObligatorioID of the pronunciation dictionary to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Pronunciation DictionaryCARTESIA_GET_PRONUNCIATION_DICTIONARYAcciónReturn one pronunciation dictionary and its complete text-to-pronunciation mappings.
CARTESIA_GET_PRONUNCIATION_DICTIONARYAcciónReturn one pronunciation dictionary and its complete text-to-pronunciation mappings.
Parámetros de entrada
dictionary_idstringObligatorioID of the pronunciation dictionary to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get VoiceCARTESIA_GET_VOICEAcciónReturn synthesis-relevant details for one Cartesia voice by ID.
CARTESIA_GET_VOICEAcciónReturn synthesis-relevant details for one Cartesia voice by ID.
Parámetros de entrada
voice_idstringObligatorioID of the voice to retrieve; obtainable from List Voices.
include_preview_urlbooleanInclude the voice's preview audio URL when true.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List AccentsCARTESIA_LIST_ACCENTSAcciónList supported accents, optionally filtered by language, locale, or voice-localization support.
CARTESIA_LIST_ACCENTSAcciónList supported accents, optionally filtered by language, locale, or voice-localization support.
Parámetros de entrada
localestringFilter by locale code, such as en-US or es-MX.
languagestringFilter by language code, such as en or es.
localizable_onlybooleanWhen true, return only accents available for voice localization.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Agent ModelsCARTESIA_LIST_AGENT_MODELSAcciónList language models available to Cartesia Managed Agents, including provider, latency, and pricing metadata.
CARTESIA_LIST_AGENT_MODELSAcciónList language models available to Cartesia Managed Agents, including provider, latency, and pricing metadata.
Parámetros de entrada
limitintegerMaximum models to return in this page (1-100).
cursorstringContinuation cursor returned by a previous call.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Pronunciation DictionariesCARTESIA_LIST_PRONUNCIATION_DICTIONARIESAcciónReturn one page of pronunciation dictionaries available to the connected account.
CARTESIA_LIST_PRONUNCIATION_DICTIONARIESAcciónReturn one page of pronunciation dictionaries available to the connected account.
Parámetros de entrada
limitintegerMaximum dictionaries to return in this page (1-100).
cursorstringContinuation cursor returned by a previous call. Omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List VoicesCARTESIA_LIST_VOICESAcciónSearch and filter Cartesia voices, returning one page of voice IDs and synthesis-relevant metadata.
CARTESIA_LIST_VOICESAcciónSearch and filter Cartesia voices, returning one page of voice IDs and synthesis-relevant metadata.
Parámetros de entrada
limitintegerMaximum voices to return in this page (1-100).
cursorstringContinuation cursor returned by a previous call. Omit for the first page.
genderstringenumFilter by voice gender presentation.
masculinefemininegender_neutrallanguagestringFilter by language or locale code, such as en or en-GB.
owned_onlybooleanWhen true, return only voices owned by the connected organization.
search_querystringSearch voice names, descriptions, or IDs.
include_archivedbooleanInclude archived voices when true.
include_preview_urlbooleanInclude each voice's preview audio URL when true.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Synthesize SpeechCARTESIA_SYNTHESIZE_SPEECHAcciónGenerate a downloadable audio file from one complete transcript using a selected Cartesia voice; usage is billed by transcript length.
CARTESIA_SYNTHESIZE_SPEECHAcciónGenerate a downloadable audio file from one complete transcript using a selected Cartesia voice; usage is billed by transcript length.
Parámetros de entrada
speednumberOptional generation speed setting for sonic-3 and newer.
accentstringOptional accent ID supported by the selected voice; normally omit to let Cartesia choose.
volumenumberOptional generation volume setting for sonic-3 and newer.
emotionstringenumOptional primary emotion to guide speech generation on sonic-3 and newer.
neutralhappyexcitedenthusiasticelatedeuphorictriumphantamazedsurprisedflirtatiouscuriouscontent+46encodingstringenumAudio encoding valid for the selected output container.
pcm_f32lepcm_s16lepcm_mulawpcm_alawlanguagestringTranscript language or locale code, such as en or en-GB.
model_idstringenumCartesia speech model to use.
sonic-3.6sonic-3.5sonic-3sonic-latestvoice_idstringObligatorioVoice ID from List Voices.
transcriptstringObligatorioComplete text to synthesize; usage is billed by transcript length.
sample_rateintegerenumOutput sample rate in hertz; must be valid for the selected container and encoding.
80001600022050240004410048000normalizationstringUse auto, off, or a language/locale code to control text normalization.
output_containerstringenumAudio file/container format.
wavmp3rawpronunciation_dictionary_idstringOptional pronunciation dictionary ID to apply; supported by sonic-3 and newer.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Pronunciation DictionaryCARTESIA_UPDATE_PRONUNCIATION_DICTIONARYAcciónUpdate a pronunciation dictionary and replace its mappings with the complete supplied item set.
CARTESIA_UPDATE_PRONUNCIATION_DICTIONARYAcciónUpdate a pronunciation dictionary and replace its mappings with the complete supplied item set.
Parámetros de entrada
namestringNew dictionary name; omit to leave the name unchanged.
itemsobject[]ObligatorioComplete intended mapping set. This replaces the dictionary's existing mappings, so include every mapping that should remain; an empty list clears all mappings.
accessstringenumNew access level; omit to leave it unchanged.
privatepublicdescriptionstringNew dictionary description; omit to leave it unchanged.
dictionary_idstringObligatorioID of the pronunciation dictionary to update.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not