{"uid":"cap_v7eYKB1F8OPoUoBGeUzw_","slug":"halowerk-tts-dialogue-multi-speaker-audio-generation-f48c94ef","name":"HALOWERK TTS Dialogue — Multi-Speaker Audio Generation","description":"Takes a script of up to 200 lines (together up to 12,000 characters), each with a speaker role and text, and returns one audio file: every role gets its own voice — assigned automatically from the voices of the chosen language, or set per role — and lines are separated by a pause you choose. Returned with the file are the start and end time of every line and an SRT, so the dialogue can be shown along. Languages: English, German, Spanish, French, Italian, Dutch, Japanese.","url":"https://medien.halowerk.com/v1/tts-dialogue?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lines":{"type":"array","items":{"type":"object","required":["speaker","text"],"properties":{"text":{"type":"string","maxLength":1500,"minLength":1},"speaker":{"type":"string","maxLength":40,"minLength":1}},"additionalProperties":false},"maxItems":200,"minItems":1},"voices":{"type":"object","description":"Optional voice per role, e.g. {\"Anna\": \"aura-2-aurelia-de\"}.","maxProperties":8,"additionalProperties":{"type":"string","maxLength":60}},"language":{"enum":["en","de","es","fr","it","nl","ja"],"type":"string"},"output_format":{"enum":["mp3","opus","wav"],"type":"string","default":"mp3"},"pause_seconds":{"type":"number","default":0.5,"maximum":3,"minimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.07","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.07/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.07","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JUs1dRjiWxYPn2lIynxwf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.07","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a multi-speaker script (up to 200 lines) into a single audio file where each speaker role gets its own distinct voice, with configurable pauses between lines and SRT subtitle output included.","exampleAgentPrompt":"Turn this two-character English dialogue script into an MP3 — assign different voices to 'Alice' and 'Bob' automatically, and add a 0.8-second pause between each line. The script has 12 lines total. I also need the SRT file for captions.","exampleUseCases":[{"title":"Podcast dialogue from written interview","prompt":"I have a written interview between a host and a guest — 40 lines total in English. Can you render it as an MP3 with the host and guest each getting their own voice, and include an SRT so we can add captions? Use a 1-second pause between turns."},{"title":"Multilingual e-learning narration","prompt":"Convert this German training script into audio — it has three speaker roles: Narrator, Employee, and Manager, about 60 lines. Assign a distinct voice to each role automatically, output as WAV, and give me the timestamps for every line so I can sync the slides."},{"title":"Audiobook scene with character voices","prompt":"Here's a scene from my audiobook with four characters and a narrator — 95 lines in Spanish. Render it as an MP3 with each character getting a unique voice, use a 0.5-second pause between lines, and return the SRT file too."}],"resultDescription":"Returns a single audio file (MP3, Opus, or WAV) of the full dialogue with each speaker voiced distinctly, plus a JSON payload containing the start and end timestamp of every script line and a full SRT subtitle file for caption display.","failureModes":["Script exceeds 200 lines or 12,000 characters — request rejected","Individual line text exceeds 1,500 characters — validation error","Unsupported language code provided — enum validation failure","Specified voice ID for a role does not exist or is incompatible with the chosen language","Payment not completed or insufficient USDC balance — x402 payment required error","Empty lines array submitted — minItems constraint violation","pause_seconds out of range (below 0 or above 3) — validation error"],"whenToPreferThis":"Choose this endpoint when you need a single audio file that preserves multiple speaker identities in a scripted dialogue — not just a flat single-voice narration. It is ideal when you have a structured script with named roles, need SRT captions synchronized to each line, or want per-line timestamps for media production. Prefer it over single-speaker TTS when the content involves conversation, interviews, dramatic scenes, or any multi-character narrative where voice differentiation matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:25.404Z","isFirstParty":false,"canonicalSlug":"halowerk-tts-dialogue-multi-speaker-audio-generation-f48c94ef"}