Inworld AI
inworld_aiInworld AI provides native APIs for speech synthesis, speech recognition, voice management, model discovery, embeddings, knowledge, and router management.
Acciones disponibles (6)
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 EmbeddingsINWORLD_AI_CREATE_EMBEDDINGSAcciónGenerate one complete embedding vector per input text with an Inworld-hosted embedding model. Batches can produce large responses.
INWORLD_AI_CREATE_EMBEDDINGSAcciónGenerate one complete embedding vector per input text with an Inworld-hosted embedding model. Batches can produce large responses.
Parámetros de entrada
textsstring[]ObligatorioTexts to embed, in output order. A call accepts 1-16 texts; each returned vector can be large.
model_idstringEmbedding model ID. The default model was verified against the live API.
service_providerstringEmbedding service provider identifier. Use SERVICE_PROVIDER_INWORLD with the verified default model.
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 Voice PreviewINWORLD_AI_GET_VOICE_PREVIEWAcciónGenerate the provider-selected, unmetered MP3 preview for a voice and return it as a downloadable file.
INWORLD_AI_GET_VOICE_PREVIEWAcciónGenerate the provider-selected, unmetered MP3 preview for a voice and return it as a downloadable file.
Parámetros de entrada
model_idstringObligatorioTTS model used to select the preview.
voice_idstringObligatorioVoice ID from LIST_VOICES. System voice IDs are valid for previews.
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 ModelsINWORLD_AI_LIST_MODELSAcciónList Inworld-supported models and the pricing, modality, context, and output limits needed to choose a model. The endpoint returns the complete model catalog and can produce a moderately large response.
INWORLD_AI_LIST_MODELSAcciónList Inworld-supported models and the pricing, modality, context, and output limits needed to choose a model. The endpoint returns the complete model catalog and can produce a moderately large response.
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 VoicesINWORLD_AI_LIST_VOICESAcciónReturn one page of voices available for preview or speech synthesis, with optional filtering, language selection, and sorting. The filter and languages parameters are mutually exclusive.
INWORLD_AI_LIST_VOICESAcciónReturn one page of voices available for preview or speech synthesis, with optional filtering, language selection, and sorting. The filter and languages parameters are mutually exclusive.
Parámetros de entrada
cursorstringContinuation token returned by a previous call; omit for the first page.
filterstringOptional AIP-160 filter, for example source = "IVC" for workspace-owned voices or source = "SYSTEM" for system voices. Cannot be combined with languages.
order_bystringComma-separated voice fields to sort by, with optional desc after a field.
languagesstring[]Optional BCP-47 language codes to include, such as en-US. Cannot be combined with filter.
page_sizeintegerMaximum voices to return in this page (1-2000). Smaller pages reduce response size.
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 SpeechINWORLD_AI_SYNTHESIZE_SPEECHAcciónSynthesize short text with an Inworld voice and return the complete audio as a downloadable file. Long text can exceed tool payload limits; prefer short text and compressed MP3 output.
INWORLD_AI_SYNTHESIZE_SPEECHAcciónSynthesize short text with an Inworld voice and return the complete audio as a downloadable file. Long text can exceed tool payload limits; prefer short text and compressed MP3 output.
Parámetros de entrada
textstringObligatorioText to speak (1-2000 characters). Prefer short text because generated base64 audio can exceed Composio/runtime payload limits.
bit_rateintegerOptional encoded-audio bit rate supported by the selected encoding and model.
languagestringOptional BCP-47 language code when language should be selected explicitly.
model_idstringObligatorioTTS model ID, for example inworld-tts-2.
voice_idstringObligatorioVoice ID from LIST_VOICES. System voice IDs are accepted by synthesis.
speaking_ratenumberOptional speech-speed multiplier supported by the selected model.
audio_encodingstringenumOutput audio encoding. MP3 is recommended to minimize transport size.
MP3LINEAR16OGG_OPUSMULAWALAWFLACsample_rate_hertzintegerOptional output sample rate in hertz supported by the selected encoding and model.
enhance_generationbooleanWhether to enable the provider's generation enhancement when supported by the selected model.
apply_text_normalizationstringenumText-normalization mode. ON expands values such as numbers and abbreviations, OFF reads text as written, and APPLY_TEXT_NORMALIZATION_UNSPECIFIED lets Inworld decide.
ONOFFAPPLY_TEXT_NORMALIZATION_UNSPECIFIED
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 AudioINWORLD_AI_TRANSCRIBE_AUDIOAcciónSynchronously transcribe a short audio file and return the final transcript, timestamps, and usage. Prefer compressed input to limit base64 payload growth.
INWORLD_AI_TRANSCRIBE_AUDIOAcciónSynchronously transcribe a short audio file and return the final transcript, timestamps, and usage. Prefer compressed input to limit base64 payload growth.
Parámetros de entrada
promptsstring[]Optional words or phrases that help the model recognize expected names or terminology.
languagestringOptional language code such as en; omit to use provider detection or default behavior.
model_idstringSynchronous STT model ID. The default was live-verified; groq/whisper-large-v3 is also supported for synchronous use.
audio_fileobjectObligatorioShort audio file to transcribe. Prefer compressed MP3 and avoid large files because the API embeds audio as base64 JSON.
audio_encodingstringenumEncoding of audio_file; it must match the uploaded audio bytes. Use AUTO_DETECT for self-describing formats when the encoding is unknown.
AUTO_DETECTLINEAR16MP3OGG_OPUSFLACsample_rate_hertzintegerSample rate in hertz for raw audio; omit for self-describing container formats such as MP3.
number_of_channelsintegerChannel count for raw audio; omit for self-describing container formats such as MP3.
include_word_timestampsbooleanWhether to include per-word timestamps in the transcription.
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