elevenlabs-dialogue
ElevenLabs Dialogue
Generate multi-speaker dialogue audio via inference.sh CLI.

Quick Start
Requires inference.sh CLI (
infsh). Install instructions
infsh login
# Generate dialogue
infsh app run elevenlabs/text-to-dialogue --input '{
"segments": [
{"text": "Have you tried the new feature?", "voice": "george"},
{"text": "Not yet, but I heard it is amazing.", "voice": "aria"},
{"text": "You should check it out today.", "voice": "george"}
]
}'
Voice Options
22+ premium voices available for each speaker:
Popular Pairings
| Pairing | Voices | Best For |
|---|---|---|
| Interview | george + aria |
Professional Q&A |
| Casual Chat | brian + sarah |
Relaxed conversation |
| Tutorial | daniel + jessica |
Instructional |
| Debate | adam + alice |
Contrasting perspectives |
| Podcast | charlie + bella |
Entertainment |
All Voices
Female: aria, alice, bella, jessica, laura, lily, sarah, matilda
Male: george, adam, bill, brian, callum, charlie, chris, daniel, eric, harry, liam, river, roger, will
Voice Direction
Add directions in square brackets to control delivery:
infsh app run elevenlabs/text-to-dialogue --input '{
"segments": [
{"text": "[excitedly] Guess what happened today!", "voice": "aria"},
{"text": "[curiously] What? Tell me!", "voice": "george"},
{"text": "[proudly] We hit ten thousand users!", "voice": "aria"},
{"text": "[surprised] No way, that is incredible!", "voice": "george"}
]
}'
Direction Keywords
| Direction | Effect |
|---|---|
[excitedly] |
Energetic, upbeat delivery |
[sadly] |
Somber, emotional tone |
[whispering] |
Soft, quiet speech |
[angrily] |
Intense, forceful delivery |
[sarcastically] |
Ironic intonation |
[curiously] |
Questioning, intrigued |
[proudly] |
Confident, accomplished |
[nervously] |
Hesitant, uncertain |
[cheerfully] |
Happy, bright |
Examples
Podcast Episode
infsh app run elevenlabs/text-to-dialogue --input '{
"segments": [
{"text": "Welcome back to Tech Talk! Today we are discussing the latest in AI.", "voice": "george"},
{"text": "Thanks for having me. This is such an exciting topic right now.", "voice": "aria"},
{"text": "So let us start with the big question. How is AI changing creative work?", "voice": "george"},
{"text": "Great question. I think the biggest shift is in accessibility. Tools that used to require specialized skills are now available to everyone.", "voice": "aria"},
{"text": "Can you give us a specific example?", "voice": "george"},
{"text": "Sure. Take audio production. A year ago, you needed a studio and voice actors. Now you can generate professional dialogue with AI voices.", "voice": "aria"}
]
}'
Tutorial / Explainer
infsh app run elevenlabs/text-to-dialogue --input '{
"segments": [
{"text": "Can you walk me through the setup process?", "voice": "jessica"},
{"text": "Sure. Step one, install the CLI. It takes about thirty seconds.", "voice": "daniel"},
{"text": "And then what?", "voice": "jessica"},
{"text": "Step two, run the login command. It opens your browser for authentication.", "voice": "daniel"},
{"text": "That sounds simple enough.", "voice": "jessica"},
{"text": "It is. Step three, you are ready to run your first app.", "voice": "daniel"}
]
}'
Audiobook Dialogue
infsh app run elevenlabs/text-to-dialogue --input '{
"segments": [
{"text": "[whispering] Do you hear that?", "voice": "lily"},
{"text": "[nervously] Hear what? I do not hear anything.", "voice": "harry"},
{"text": "Exactly. The forest has gone completely silent.", "voice": "lily"},
{"text": "[worried] That is not a good sign, is it?", "voice": "harry"},
{"text": "[firmly] We need to move. Now.", "voice": "lily"}
]
}'
Product Demo
infsh app run elevenlabs/text-to-dialogue --input '{
"segments": [
{"text": "So what makes this different from other solutions?", "voice": "brian"},
{"text": "Three things. Speed, quality, and simplicity.", "voice": "alice"},
{"text": "That sounds too good to be true.", "voice": "brian"},
{"text": "[confidently] Let me show you. Watch this.", "voice": "alice"}
]
}'
Customer Support Training
infsh app run elevenlabs/text-to-dialogue --input '{
"segments": [
{"text": "[frustrated] I have been waiting for twenty minutes and my issue is still not resolved.", "voice": "adam"},
{"text": "[empathetically] I completely understand your frustration, and I apologize for the wait. Let me look into this right away.", "voice": "sarah"},
{"text": "I just need my account access restored.", "voice": "adam"},
{"text": "Of course. I can see the issue here. Give me just a moment and I will have this fixed for you.", "voice": "sarah"},
{"text": "Okay, thank you.", "voice": "adam"},
{"text": "[cheerfully] All done! Your access has been restored. Is there anything else I can help with?", "voice": "sarah"}
]
}'
Tips
- Vary sentence length - Mix short reactions with longer explanations
- Include reactions - "Exactly!", "Interesting.", "Hmm." make dialogue natural
- Use directions sparingly - One or two per exchange, not every line
- Keep segments short - Under 3 sentences per turn for natural pacing
- Assign distinct voices - Use contrasting voices for clarity
- Write for speaking - Use contractions, informal language
Workflow: Dialogue + Music
# 1. Generate dialogue
infsh app run elevenlabs/text-to-dialogue --input '{
"segments": [
{"text": "Welcome to the show.", "voice": "george"},
{"text": "Great to be here.", "voice": "aria"}
]
}' > dialogue.json
# 2. Generate background music
infsh app run elevenlabs/music --input '{
"prompt": "Soft podcast background music, non-intrusive",
"duration_seconds": 30
}' > music.json
# 3. Merge
infsh app run infsh/media-merger --input '{
"media": ["<dialogue-url>", "<music-url>"]
}'
Use Cases
- Podcasts: Multi-host episodes, interviews
- Audiobooks: Character dialogue scenes
- E-learning: Instructor and student exchanges
- Explainers: Q&A format tutorials
- Training: Customer service scenarios
- Video Scripts: Pre-production dialogue testing
Related Skills
# ElevenLabs TTS (single-voice narration)
npx skills add inference-sh/skills@elevenlabs-tts
# ElevenLabs music (background for dialogue)
npx skills add inference-sh/skills@elevenlabs-music
# Dia TTS dialogue (free alternative with S1/S2 tags)
npx skills add inference-sh/skills@dialogue-audio
# Full platform skill (all 250+ apps)
npx skills add inference-sh/skills@infsh-cli
Browse all audio apps: infsh app list --category audio
More from inference-sh/agent-skills
agent-tools
Run 250+ AI apps via inference.sh CLI - image generation, video creation, LLMs, search, 3D, Twitter automation. Models: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa, OpenRouter, and many more. Use when running AI apps, generating images/videos, calling LLMs, web search, or automating Twitter. Triggers: inference.sh, infsh, ai model, run ai, serverless ai, ai api, flux, veo, claude api, image generation, video generation, openrouter, tavily, exa search, twitter api, grok
44agent-browser
Browser automation for AI agents via inference.sh. Navigate web pages, interact with elements using @e refs, take screenshots, record video. Capabilities: web scraping, form filling, clicking, typing, drag-drop, file upload, JavaScript execution. Use for: web automation, data extraction, testing, agent browsing, research. Triggers: browser, web automation, scrape, navigate, click, fill form, screenshot, browse web, playwright, headless browser, web agent, surf internet, record video
40ai-image-generation
Generate AI images with FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image
33ai-video-generation
Generate AI videos with Google Veo, Seedance, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 1.5 Pro, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative
31javascript-sdk
JavaScript/TypeScript SDK for inference.sh - run AI apps, build agents, integrate 250+ models. Package: @inferencesh/sdk (npm install). Full TypeScript support, streaming, file uploads. Build agents with template or ad-hoc patterns, tool builder API, skills, human approval. Use for: JavaScript integration, TypeScript, Node.js, React, Next.js, frontend apps. Triggers: javascript sdk, typescript sdk, npm install, node.js api, js client, react ai, next.js ai, frontend sdk, @inferencesh/sdk, typescript agent, browser sdk, js integration
30twitter-automation
Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, tweet scheduler, twitter integration, post tweet, twitter post, x post, send tweet
30