Fish Audio
fish_audioFish Audio provides speech synthesis, transcription, voice cloning, and conversational 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.
Configure AgentFISH_AUDIO_CONFIGURE_AGENTAcciónPartially update an agent's draft prompt, voice, and core conversation behavior without publishing it.
FISH_AUDIO_CONFIGURE_AGENTAcciónPartially update an agent's draft prompt, voice, and core conversation behavior without publishing it.
Parámetros de entrada
agent_idstringObligatorioAgent ID to configure.
timezonestringConversation timezone, up to 64 characters.
eagernessstringenumResponse timing: relaxed, balanced, or eager.
relaxedbalancedeagerrecord_audiobooleanWhether future sessions should record audio.
first_messagestringFixed greeting text when first_message_mode is fixed.
interruptiblebooleanWhether callers may interrupt the agent while it speaks.
system_promptstringReplacement draft system prompt; Fish Audio limits it to 4000 tokens.
voice_model_idstringReplacement voice model ID returned by List Voice Models.
speaking_languagestringenumSpeaking language: en, ja, zh, ko, es, fr, or de.
enjazhkoesfrdefirst_message_modestringenumGreeting mode: off, fixed, or prompt.
offfixedpromptfirst_message_promptstringInstructions for generating the greeting when first_message_mode is prompt.
max_duration_secondsintegerMaximum session duration from 60 to 3600 seconds.
interruption_sensitivitystringenumInterruption sensitivity: low, balanced, or high.
lowbalancedhigh
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
Create AgentFISH_AUDIO_CREATE_AGENTAcciónCreate a private Fish Audio agent, optionally with an initial prompt, voice, and core conversation settings. The new agent remains a draft until separately published.
FISH_AUDIO_CREATE_AGENTAcciónCreate a private Fish Audio agent, optionally with an initial prompt, voice, and core conversation settings. The new agent remains a draft until separately published.
Parámetros de entrada
namestringObligatorioAgent name (1-120 characters).
descriptionstringAgent purpose or operator-facing description (up to 2000 characters).
record_audiobooleanWhether sessions should record audio.
first_messagestringFixed initial greeting when first_message_mode is fixed.
system_promptstringInitial system prompt; Fish Audio limits it to 4000 tokens.
voice_model_idstringVoice model ID returned by List Voice Models.
speaking_languagestringenumSpeaking language: en, ja, zh, ko, es, fr, or de.
enjazhkoesfrdefirst_message_modestringenumInitial greeting mode: off, fixed, or prompt.
offfixedpromptmax_duration_secondsintegerMaximum session duration from 60 to 3600 seconds.
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 AgentFISH_AUDIO_DELETE_AGENTAcciónPermanently delete a Fish Audio agent by ID; use only when deletion is explicitly intended.
FISH_AUDIO_DELETE_AGENTAcciónPermanently delete a Fish Audio agent by ID; use only when deletion is explicitly intended.
Parámetros de entrada
agent_idstringObligatorioID of the agent 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 Account BalanceFISH_AUDIO_GET_ACCOUNT_BALANCEAcciónReturn the connected Fish Audio account's package allowance and API credit so an agent can distinguish free quota from paid credit.
FISH_AUDIO_GET_ACCOUNT_BALANCEAcciónReturn the connected Fish Audio account's package allowance and API credit so an agent can distinguish free quota from paid credit.
Parámetros de entrada
team_idstringOptional team ID whose API credit should be checked; omit for the connected account's active workspace.
check_free_creditbooleanAsk Fish Audio to include current free-credit eligibility in the API-credit result.
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 AgentFISH_AUDIO_GET_AGENTAcciónReturn an agent's workspace metadata together with its current draft conversation configuration.
FISH_AUDIO_GET_AGENTAcciónReturn an agent's workspace metadata together with its current draft conversation configuration.
Parámetros de entrada
agent_idstringObligatorioAgent ID returned by List Agents or Create Agent.
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 ModelFISH_AUDIO_GET_VOICE_MODELAcciónGet a Fish Audio voice model by ID and inspect whether it is trained and suitable for synthesis.
FISH_AUDIO_GET_VOICE_MODELAcciónGet a Fish Audio voice model by ID and inspect whether it is trained and suitable for synthesis.
Parámetros de entrada
model_idstringObligatorioVoice model ID returned by List Voice Models.
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 AgentsFISH_AUDIO_LIST_AGENTSAcciónSearch agents in the connected Fish Audio workspace, including draft or archived agents when requested.
FISH_AUDIO_LIST_AGENTSAcciónSearch agents in the connected Fish Audio workspace, including draft or archived agents when requested.
Parámetros de entrada
searchstringCase-insensitive search across agent names and descriptions.
page_sizeintegerMaximum agents to return in this page (1-100).
next_cursorstringContinuation cursor from a previous response. Omit for the first page; pass it back unchanged to fetch the next page.
include_archivedbooleanWhether to include archived agents.
publication_statestringenumPublication state to include: all, live, or draft.
alllivedraft
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 SessionsFISH_AUDIO_LIST_AGENT_SESSIONSAcciónList conversation sessions for the workspace or a specific agent, filtered by lifecycle status, caller, or creation time.
FISH_AUDIO_LIST_AGENT_SESSIONSAcciónList conversation sessions for the workspace or a specific agent, filtered by lifecycle status, caller, or creation time.
Parámetros de entrada
agent_idstringOnly return sessions belonging to this agent ID.
statusesstring[]Lifecycle statuses to include: pending, active, completed, failed, or unknown. A comma-separated string is also accepted.
page_sizeintegerMaximum sessions to return in this page (1-100).
next_cursorstringContinuation cursor from a previous response. Omit for the first page; pass it back unchanged to fetch the next page.
caller_numberstringExact E.164 caller number for phone sessions.
created_afterstringReturn sessions created after this ISO 8601 timestamp.
created_beforestringReturn sessions created before this ISO 8601 timestamp.
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 Voice ModelsFISH_AUDIO_LIST_VOICE_MODELSAcciónSearch public or workspace-owned Fish Audio voice models. Before synthesis, select an item whose type is tts; svc model IDs are not compatible with TTS.
FISH_AUDIO_LIST_VOICE_MODELSAcciónSearch public or workspace-owned Fish Audio voice models. Before synthesis, select an item whose type is tts; svc model IDs are not compatible with TTS.
Parámetros de entrada
tagsstring[]Filter by one or more model tags. A single or comma-separated string is accepted.
titlestringFilter models by title.
sort_bystringenumSort models by score, task_count, or created_at.
scoretask_countcreated_atauthor_idstringFilter public models by author ID; ignored when owned_only is true.
languagesstring[]Filter by one or more language codes such as en, es, or ja.
page_sizeintegerMaximum models in this page (1-100).
owned_onlybooleanReturn only models owned by the active workspace instead of public discovery models.
next_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
Synthesize SpeechFISH_AUDIO_SYNTHESIZE_SPEECHAcciónGenerate downloadable speech with Fish Audio's free S2.1 model using one or more discovered voice model IDs.
FISH_AUDIO_SYNTHESIZE_SPEECHAcciónGenerate downloadable speech with Fish Audio's free S2.1 model using one or more discovered voice model IDs.
Parámetros de entrada
textstringObligatorioText to synthesize. For multiple voices, use <|speaker:0|>, <|speaker:1|>, and matching indexes in voice_model_ids.
speednumberSpeaking-rate multiplier from 0.5 to 2.0.
top_pnumberNucleus-sampling diversity from 0 to 1.
formatstringenumOutput format: mp3, wav, pcm, or opus.
mp3wavpcmopusvolumenumberOutput volume adjustment in decibels.
latencystringenumLatency-quality tradeoff: normal, balanced, or low.
normalbalancedlowtemperaturenumberExpressiveness from 0 to 1; higher values are more varied.
normalize_textbooleanNormalize English and Chinese text, including numbers, before synthesis.
voice_model_idsstring[]ObligatorioOne voice model ID for normal speech, or multiple IDs in speaker-tag order for dialogue. A single string is accepted as a one-item list.
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