Loading...
Loading...
Compare original and translation side by side
curl -fsSL https://cli.inference.sh | sh && infsh logincurl -fsSL https://cli.inference.sh | sh && infsh loginundefinedundefined[S1][S2]| Tag | Role | Voice |
|---|---|---|
| Speaker 1 | Automatically assigned voice A |
| Speaker 2 | Automatically assigned voice B |
[S1][s1][S1][S2]| 标签 | 角色 | 语音 |
|---|---|---|
| 说话者1 | 自动分配语音A |
| 说话者2 | 自动分配语音B |
[S1][s1]| Punctuation | Effect | Example |
|---|---|---|
| Neutral, declarative, medium pause | "This is important." |
| Emphasis, excitement, energy | "This is amazing!" |
| Rising intonation, questioning | "Are you sure about that?" |
| Hesitation, trailing off, long pause | "I thought it would work... but it didn't." |
| Short breath pause | "First, we analyze. Then, we act." |
| Interruption or pivot | "I was going to say — never mind." |
| 标点符号 | 效果 | 示例 |
|---|---|---|
| 中性、陈述语气、中等停顿 | "This is important." |
| 强调、兴奋、充满活力 | "This is amazing!" |
| 语调上扬、疑问语气 | "Are you sure about that?" |
| 犹豫、语气渐弱、长停顿 | "I thought it would work... but it didn't." |
| 短呼吸停顿 | "First, we analyze. Then, we act." |
| 打断话题或转换思路 | "I was going to say — never mind." |
(laughs) — laughter
(sighs) — exasperation or relief
(clears throat) — attention-getting pause
(whispers) — softer delivery
(gasps) — surprise(laughs) — 笑声
(sighs) — 无奈或释然的叹息
(clears throat) — 引起注意的清嗓子声
(whispers) — 低语
(gasps) — 惊讶的喘气声undefinedundefinedundefinedundefined| Technique | Pause Length | Use For |
|---|---|---|
Comma | ~0.3 seconds | Between clauses, list items |
Period | ~0.5 seconds | Between sentences |
Ellipsis | ~1.0 seconds | Dramatic pause, thinking, hesitation |
| New speaker tag | ~0.3 seconds | Natural turn-taking gap |
| 技巧 | 停顿时长 | 适用场景 |
|---|---|---|
逗号 | ~0.3秒 | 分句、列表项之间 |
句号 | ~0.5秒 | 句子之间 |
省略号 | ~1.0秒 | 戏剧性停顿、思考、犹豫 |
| 新说话者标签 | ~0.3秒 | 自然的对话交替间隙 |
undefinedundefinedundefinedundefinedinfsh app run falai/dia-tts --input '{
"prompt": "[S1] Welcome to the show. Today we have a special guest. Tell us about yourself. [S2] Thanks for having me! I am a product designer, and I have been building tools for creators for about ten years. [S1] What got you started in design? [S2] Honestly? I was terrible at coding but loved making things look good. (laughs) So design was the natural path."
}'infsh app run falai/dia-tts --input '{
"prompt": "[S1] Welcome to the show. Today we have a special guest. Tell us about yourself. [S2] Thanks for having me! I am a product designer, and I have been building tools for creators for about ten years. [S1] What got you started in design? [S2] Honestly? I was terrible at coding but loved making things look good. (laughs) So design was the natural path."
}'infsh app run falai/dia-tts --input '{
"prompt": "[S1] Can you walk me through the setup process? [S2] Sure. Step one, install the CLI. It takes about thirty seconds. [S1] And then? [S2] Step two, run the login command. It will open your browser for authentication. [S1] That sounds simple. [S2] It is! Step three, you are ready to run your first app."
}'infsh app run falai/dia-tts --input '{
"prompt": "[S1] Can you walk me through the setup process? [S2] Sure. Step one, install the CLI. It takes about thirty seconds. [S1] And then? [S2] Step two, run the login command. It will open your browser for authentication. [S1] That sounds simple. [S2] It is! Step three, you are ready to run your first app."
}'infsh app run falai/dia-tts --input '{
"prompt": "[S1] I think we should go with option A. It is faster to implement. [S2] But option B scales better long-term. [S1] Sure, but we need something shipping this quarter. [S2] Fair point... what if we do A now with a migration path to B? [S1] That could work. Let us prototype it."
}'infsh app run falai/dia-tts --input '{
"prompt": "[S1] I think we should go with option A. It is faster to implement. [S2] But option B scales better long-term. [S1] Sure, but we need something shipping this quarter. [S2] Fair point... what if we do A now with a migration path to B? [S1] That could work. Let us prototype it."
}'undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined| Do | Don't |
|---|---|
| Write how people talk | Write how people write |
| Short sentences (< 15 words) | Long academic sentences |
| Contractions ("can't", "won't") | Formal ("cannot", "will not") |
| Natural fillers ("So,", "Well,") | Every sentence perfectly formed |
| Vary sentence length | All sentences same length |
| Include reactions ("Exactly!", "Hmm.") | One-sided monologues |
| Read it aloud before generating | Assume it sounds right |
| 建议做法 | 避免做法 |
|---|---|
| 按照日常对话的方式编写 | 按照书面语的方式编写 |
| 使用短句(少于15词) | 使用冗长的学术性句子 |
| 使用缩约形式("can't", "won't") | 使用正式表达("cannot", "will not") |
| 加入自然的填充词("So,", "Well,") | 追求每句都完美无缺 |
| 变换句子长度 | 所有句子长度一致 |
| 加入反应语("Exactly!", "Hmm.") | 单方面的长篇独白 |
| 生成前先大声朗读脚本 | 想当然地认为脚本听起来自然 |
| Mistake | Problem | Fix |
|---|---|---|
| Monologues longer than 3 sentences | Sounds like a lecture, not conversation | Break into exchanges |
| No emotional variation | Flat, robotic delivery | Use punctuation and non-speech cues |
| Missing speaker tags | Voices don't alternate | Start every turn with |
| Formal written language | Sounds unnatural spoken | Use contractions, short sentences |
| No pauses between topics | Feels rushed | Use |
| All same energy level | Monotonous | Vary between high/low energy moments |
| 错误 | 问题 | 解决方法 |
|---|---|---|
| 独白超过3句 | 听起来像讲座而非对话 | 拆分成多轮对话 |
| 没有情绪变化 | 语调平淡、机械 | 使用标点符号和非语音提示 |
| 缺少说话者标签 | 语音无法交替 | 每个发言都以 |
| 使用正式书面语 | 听起来不自然 | 使用缩约形式和短句 |
| 话题之间没有停顿 | 感觉节奏仓促 | 使用 |
| 全程能量水平一致 | 单调乏味 | 在高低能量时刻之间切换 |
npx skills add inference-sh/skills@text-to-speech
npx skills add inference-sh/skills@ai-podcast-creation
npx skills add inference-sh/skills@ai-avatar-videoinfsh app listnpx skills add inference-sh/skills@text-to-speech
npx skills add inference-sh/skills@ai-podcast-creation
npx skills add inference-sh/skills@ai-avatar-videoinfsh app list