ElevenLabs TTS Eleven V3
按实际用量计费
ae_elevenlabs_tts_eleven_v3
使用所选音色和语言将文本转换为自然流畅的语音音频,并可选生成词级时间戳。
按实际用量计费
价格说明
| 条件 | 费用 |
|---|---|
| 每次调用 | 按实际输入字符数收费,每字符0.12 AE积分。 |
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
request_body | object | 是 | 暂无参数说明。 | — |
request_body.text | string | 是 | The text to convert to speech | — |
request_body.voice | string | 否 | The voice to use for speech generation | Rachel |
request_body.stability | number | 否 | Voice stability (0-1) | 0.5 |
request_body.timestamps | boolean | 否 | Whether to return timestamps for each word in the generated speech | false |
request_body.language_code | string | unknown | 否 | Language code (ISO 639-1) used to enforce a language for the model. | — |
request_body.apply_text_normalization | enum (auto | on | off) | 否 | This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. | auto |
调用示例
提交任务并查询完成结果
POST
/agent-api/v1/tool/executeX-Api-Key先提交任务,再用返回的 task_id 查询,直至完成。
请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_elevenlabs_tts_eleven_v3' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"language_code": "zh",
"stability": 0.3,
"text": "安美特 ANMITE,把一块会触摸的大屏,装进背包。",
"voice": "Brian"
}
}
}'返回示例response.json
{
"description": "task accepted; poll the result via query_tool with this task_id",
"query_tool": "ae_get_result",
"status": "created",
"task_id": "3c01feb7-e86c-46bb-a070-acdcfaf2ae70"
}



