ElevenLabs Text To Dialogue Eleven V3

Usage-based pricing
ae_elevenlabs_text_to_dialogue_eleven_v3

Turn multiple dialogue lines into speech, assigning a different voice to each line and optionally controlling language, pronunciation, and voice expressiveness.

TTSAudio
Usage-based pricing

Pricing

The charge per call is (max(120 × thousand input characters, 0)) AE credits. All applicable conditions are combined to calculate the total.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.seedinteger | unknownNoRandom seed for reproducibility.—
request_body.inputsarrayYesA list of dialogue inputs, each containing text and a voice ID which will be converted into speech.—
request_body.inputs[].textstringYesThe dialogue text—
request_body.inputs[].voicestringYesThe name or the ID of the voice to be used for the generation.—
request_body.stabilitynumber | unknownNoDetermines how stable the voice is and the randomness between each generation. Lower values introduce broader emotional range for the voice. Higher values can result in a monotonous voice with limited emotion. Must be one of 0.0, 0.5, 1.0, else it will be rounded to the nearest value.—
request_body.language_codestring | unknownNoLanguage code (ISO 639-1) used to enforce a language for the model. An error will be returned if language code is not supported by the model.—
request_body.use_speaker_boostboolean | unknownNoThis setting boosts the similarity to the original speaker. Using this setting requires a slightly higher computational load, which in turn increases latency.—
request_body.pronunciation_dictionary_locatorsarrayNoA list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request—
request_body.pronunciation_dictionary_locators[].version_idstring | unknownNoThe ID of the version of the pronunciation dictionary. If not provided, the latest version will be used.—
request_body.pronunciation_dictionary_locators[].pronunciation_dictionary_idstring | unknownNoThe ID of the pronunciation dictionary.—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit first, then query with the returned task_id until the task completes.

Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_elevenlabs_text_to_dialogue_eleven_v3' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "inputs": [
        {
          "text": "罪奴入局,先洗三缸颜料。",
          "voice": "Charlotte"
        },
        {
          "text": "手里抱的什么,拿来。",
          "voice": "Charlotte"
        }
      ],
      "language_code": "zh",
      "stability": 0.7,
      "use_speaker_boost": true
    }
  }
}'
Response exampleresponse.json
JSON
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "9b4ce747-3ba0-4feb-9955-aa556a8783d0"
}