elevenlabs-dialogue

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

ElevenLabs Dialogue

ElevenLabs 对话生成

Generate multi-speaker dialogue audio via inference.sh CLI.
Dialogue
通过 inference.sh CLI 生成多角色对话音频。
Dialogue

Quick Start

快速开始

Requires inference.sh CLI (
infsh
). Install instructions
bash
infsh login
需要 inference.sh CLI(
infsh
)。安装说明
bash
infsh login

Generate dialogue

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"} ] }'
undefined
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"} ] }'
undefined

Voice Options

音色选项

22+ premium voices available for each speaker:
每个角色可选22种以上优质音色:

Popular Pairings

热门音色组合

PairingVoicesBest 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
组合场景音色适用场景
访谈
george
+
aria
专业问答
日常闲聊
brian
+
sarah
轻松对话
教程讲解
daniel
+
jessica
教学指导
辩论场景
adam
+
alice
观点对立讨论
播客节目
charlie
+
bella
娱乐内容

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
女性音色:
aria
,
alice
,
bella
,
jessica
,
laura
,
lily
,
sarah
,
matilda
男性音色:
george
,
adam
,
bill
,
brian
,
callum
,
charlie
,
chris
,
daniel
,
eric
,
harry
,
liam
,
river
,
roger
,
will

Voice Direction

音色风格引导

Add directions in square brackets to control delivery:
bash
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"}
  ]
}'
在方括号中添加风格指令来控制语音表达:
bash
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

风格指令关键词

DirectionEffect
[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
风格指令效果
[excitedly]
充满活力、欢快的表达
[sadly]
低沉、情绪化的语调
[whispering]
轻柔、小声的说话方式
[angrily]
激烈、有力的表达
[sarcastically]
讽刺的语调
[curiously]
疑惑、感兴趣的语气
[proudly]
自信、有成就感的语气
[nervously]
犹豫、不确定的语气
[cheerfully]
开心、明快的语气

Examples

示例

Podcast Episode

播客示例

bash
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"}
  ]
}'
bash
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

教程/讲解示例

bash
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"}
  ]
}'
bash
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

有声书对话示例

bash
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"}
  ]
}'
bash
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

产品演示示例

bash
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"}
  ]
}'
bash
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

客服培训示例

bash
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"}
  ]
}'
bash
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

技巧提示

  1. Vary sentence length - Mix short reactions with longer explanations
  2. Include reactions - "Exactly!", "Interesting.", "Hmm." make dialogue natural
  3. Use directions sparingly - One or two per exchange, not every line
  4. Keep segments short - Under 3 sentences per turn for natural pacing
  5. Assign distinct voices - Use contrasting voices for clarity
  6. Write for speaking - Use contractions, informal language
  1. 变换句子长度 - 混合简短回应和较长的解释内容
  2. 加入反应语句 - "没错!"、"有意思。"、"嗯。"这类语句让对话更自然
  3. 适度使用风格指令 - 每次对话使用1-2个即可,不要每句都加
  4. 保持片段简短 - 每个角色的台词控制在3句以内,保证自然的节奏
  5. 分配差异化音色 - 使用对比明显的音色提升清晰度
  6. 口语化写作 - 使用缩写、非正式语言

Workflow: Dialogue + Music

工作流:对话 + 音乐

bash
undefined
bash
undefined

1. Generate dialogue

1. 生成对话音频

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
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

2. 生成背景音乐

infsh app run elevenlabs/music --input '{ "prompt": "Soft podcast background music, non-intrusive", "duration_seconds": 30 }' > music.json
infsh app run elevenlabs/music --input '{ "prompt": "Soft podcast background music, non-intrusive", "duration_seconds": 30 }' > music.json

3. Merge

3. 合并音频

infsh app run infsh/media-merger --input '{ "media": ["<dialogue-url>", "<music-url>"] }'
undefined
infsh app run infsh/media-merger --input '{ "media": ["<dialogue-url>", "<music-url>"] }'
undefined

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

相关技能

bash
undefined
bash
undefined

ElevenLabs TTS (single-voice narration)

ElevenLabs TTS(单音色旁白)

npx skills add inference-sh/skills@elevenlabs-tts
npx skills add inference-sh/skills@elevenlabs-tts

ElevenLabs music (background for dialogue)

ElevenLabs 音乐生成(对话背景音乐)

npx skills add inference-sh/skills@elevenlabs-music
npx skills add inference-sh/skills@elevenlabs-music

Dia TTS dialogue (free alternative with S1/S2 tags)

Dia TTS 对话生成(免费替代方案,使用S1/S2标签)

npx skills add inference-sh/skills@dialogue-audio
npx skills add inference-sh/skills@dialogue-audio

Full platform skill (all 250+ apps)

全平台技能(包含250+应用)

npx skills add inference-sh/skills@infsh-cli

Browse all audio apps: `infsh app list --category audio`
npx skills add inference-sh/skills@infsh-cli

浏览所有音频应用:`infsh app list --category audio`