Dialogue to audio: a script with several speakers as one MP3, plus captions
dialogueTurn a script into a multi-voice conversation: write one line per turn as "Name: text", each speaker gets their own natural voice (Deepgram Aura-2, English or Spanish, or pick voices), and the whole dialogue comes back as one MP3 with SRT captions naming the speaker, timed from the real audio. Up to 6 speakers and 2,500 characters. Use for podcast intros, language-lesson dialogues, explainer videos, ads and game or story scenes. Example: script=Anna: Welcome back to the show! Ben: Thanks, it is great to be here.. Price $0.10/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"script": "<script>"
},
"name": "dialogue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language: en or es (default en) | |
| script | Yes | One turn per line as Name: text (up to 6 speakers, 2,500 characters) | |
| voices | No | Voice per speaker, as JSON {"Anna":"luna"} or Anna=luna, Ben=orion (default: a different voice each, in order) | |
| captions | No | srt (default) or vtt |