CAMB.AI
camb_aiCAMB.AI provides hosted APIs for multilingual dubbing, speech synthesis, transcription, translation, voice cloning, and audio generation.
Acciones disponibles (8)
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.
Dub MediaCAMB_AI_DUB_MEDIAAcciónDub media from a URL into one or more target languages, wait for completion, and return the output video, audio, and structured transcript.
CAMB_AI_DUB_MEDIAAcciónDub media from a URL into one or more target languages, wait for completion, and return the output video, audio, and structured transcript.
Parámetros de entrada
media_urlstringObligatorioPublic or signed URL of the audio or video media to dub.
source_languagestringObligatorioLocale tag for the spoken source language, such as en-us.
timeout_secondsnumberMaximum wall-clock seconds to wait for completion (10-900). This is not sent to CAMB.AI.
target_languagesstring[]ObligatorioOne or more target locale tags for dubbed outputs.
transcription_modestringenumfast is quicker; slow may improve transcription accuracy.
fastslow
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
Generate SubtitlesCAMB_AI_GENERATE_SUBTITLESAcciónGenerate translated subtitles for media in one or more languages, wait for CAMB.AI to finish, and return structured subtitle cues.
CAMB_AI_GENERATE_SUBTITLESAcciónGenerate translated subtitles for media in one or more languages, wait for CAMB.AI to finish, and return structured subtitle cues.
Parámetros de entrada
folder_idintegerOptional positive workspace folder ID for the subtitle run.
media_urlstringObligatorioPublic or signed URL of the source audio or video.
source_languagestringObligatorioLocale tag for the spoken source language, such as en-us.
timeout_secondsnumberMaximum wall-clock seconds to wait for completion (10-900). This is not sent to CAMB.AI.
target_languagesstring[]ObligatorioOne or more locale tags for subtitle output.
formatting_optionsobjectOptional subtitle segmentation settings applied to every target language.
transcription_modestringenumfast is quicker; slow may improve transcription accuracy.
fastslow
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 Run ResultCAMB_AI_GET_RUN_RESULTAcciónFetch the structured JSON result for a successful CAMB.AI translation, transcription, dubbing, or subtitle run when its run ID is known.
CAMB_AI_GET_RUN_RESULTAcciónFetch the structured JSON result for a successful CAMB.AI translation, transcription, dubbing, or subtitle run when its run ID is known.
Parámetros de entrada
run_idintegerObligatorioPositive run ID returned when the task reached SUCCESS.
workflowstringObligatorioenumRun family that produced the run ID.
translationtranscriptiondubbingsubtitles
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 Task StatusCAMB_AI_GET_TASK_STATUSAcciónCheck one CAMB.AI translation, transcription, dubbing, or subtitle task without waiting. Use this to recover a task after a workflow timeout or when a task ID is already known.
CAMB_AI_GET_TASK_STATUSAcciónCheck one CAMB.AI translation, transcription, dubbing, or subtitle task without waiting. Use this to recover a task after a workflow timeout or when a task ID is already known.
Parámetros de entrada
task_idstringObligatorioTask ID returned by the corresponding creation workflow.
workflowstringObligatorioenumTask family that created the task ID.
translationtranscriptiondubbingsubtitles
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 Supported LanguagesCAMB_AI_LIST_LANGUAGESAcciónList CAMB.AI source and target languages, including locale tags and numeric IDs used by generation tools.
CAMB_AI_LIST_LANGUAGESAcciónList CAMB.AI source and target languages, including locale tags and numeric IDs used by generation tools.
Parámetros de entrada
Sin parámetros.
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 VoicesCAMB_AI_LIST_VOICESAcciónFind CAMB.AI voices by name, description, language ID, gender, or publication state before choosing a voice for speech workflows.
CAMB_AI_LIST_VOICESAcciónFind CAMB.AI voices by name, description, language ID, gender, or publication state before choosing a voice for speech workflows.
Parámetros de entrada
limitintegerMaximum matching voices to return after local filtering (1-100).
genderintegerProvider gender code to match exactly when known.
searchstringCase-insensitive text to match in voice_name, description, or tags.
language_idintegerNumeric language ID to match; obtain IDs from CAMB_AI_LIST_LANGUAGES.
published_onlybooleanWhen true, return only voices marked is_published.
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
Transcribe MediaCAMB_AI_TRANSCRIBE_MEDIAAcciónTranscribe an uploaded audio/video file or a media URL, wait for CAMB.AI to finish, and return a structured speaker-and-timing transcript.
CAMB_AI_TRANSCRIBE_MEDIAAcciónTranscribe an uploaded audio/video file or a media URL, wait for CAMB.AI to finish, and return a structured speaker-and-timing transcript.
Parámetros de entrada
languagestringObligatorioSpoken source locale tag, such as en-us.
media_urlstringPublic or signed audio/video URL; provide this or media_file, not both.
media_fileobjectA file the caller hands IN. ``s3key`` is an S3/R2 reference (production) or a base64 ``data:`` URL (self-hosted ``FILE_BACKEND=base64``) — the ``FileStore`` knows which. Mirrors ``mercury/tools/files.py`` field-for-field.
timeout_secondsnumberMaximum wall-clock seconds to wait for completion (10-900); not sent to CAMB.AI.
formatting_optionsobjectOptional transcript segmentation settings. Set maximum and minimum segment duration in seconds or maximum characters per segment.
transcription_modestringenumfast is quicker; slow may improve transcription accuracy.
fastslow
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
Translate TextCAMB_AI_TRANSLATE_TEXTAcciónTranslate one or more text segments and wait for CAMB.AI to return all translated segments in input order.
CAMB_AI_TRANSLATE_TEXTAcciónTranslate one or more text segments and wait for CAMB.AI to return all translated segments in input order.
Parámetros de entrada
ageintegerIntended audience age used to adapt the translated vocabulary.
textsstring[]ObligatorioNon-empty text segments to translate; translated segments preserve this order.
genderintegerenumCAMB.AI gender code for grammatical-gender preference: 0, 1, 2, or 9.
0129formalitystringenumTone preference for the translation: formal or informal.
formalinformalsource_languagestringObligatorioSource locale tag from CAMB_AI_LIST_LANGUAGES.
target_languagestringObligatorioTarget locale tag from CAMB_AI_LIST_LANGUAGES.
timeout_secondsnumberMaximum wall-clock seconds to wait for completion (10-900). Not sent to CAMB.AI.
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