← 返回 Skills 市场
okaris

Dialogue Audio

作者 Ömer Karışman · GitHub ↗ · v0.1.5
cross-platform ⚠ suspicious
841
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install dialogue-audio
功能描述
Multi-speaker dialogue audio creation with Dia TTS. Covers speaker tags, emotion control, pacing, conversation flow, and post-production. Use for: podcasts,...
使用说明 (SKILL.md)

Dialogue Audio

Create realistic multi-speaker dialogue with Dia TTS via inference.sh CLI.

Quick Start

curl -fsSL https://cli.inference.sh | sh && infsh login

# Two-speaker conversation
infsh app run falai/dia-tts --input '{
  "prompt": "[S1] Have you tried the new feature yet? [S2] Not yet, but I heard it saves a ton of time. [S1] It really does. I cut my workflow in half. [S2] Okay, I am definitely trying it today."
}'

Install note: The install script only detects your OS/architecture, downloads the matching binary from dist.inference.sh, and verifies its SHA-256 checksum. No elevated permissions or background processes. Manual install & verification available.

Speaker Tags

Dia TTS uses [S1] and [S2] to distinguish two speakers.

Tag Role Voice
[S1] Speaker 1 Automatically assigned voice A
[S2] Speaker 2 Automatically assigned voice B

Rules:

  • Always start each speaker turn with the tag
  • Tags must be uppercase: [S1] not [s1]
  • Maximum 2 speakers per generation
  • Each speaker maintains consistent voice within a session

Emotion & Expression Control

Dia TTS interprets punctuation and non-speech cues for emotional delivery.

Punctuation Effects

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."
or -- Interruption or pivot "I was going to say — never mind."

Non-Speech Sounds

Dia TTS supports parenthetical sound descriptions:

(laughs)      — laughter
(sighs)       — exasperation or relief
(clears throat) — attention-getting pause
(whispers)    — softer delivery
(gasps)       — surprise

Examples with Emotion

# Excited conversation
infsh app run falai/dia-tts --input '{
  "prompt": "[S1] Guess what happened today! [S2] What? Tell me! [S1] We hit ten thousand users! [S2] (gasps) No way! That is incredible! [S1] I know... I still cannot believe it."
}'

# Serious/thoughtful dialogue
infsh app run falai/dia-tts --input '{
  "prompt": "[S1] We need to talk about the timeline. [S2] (sighs) I know. It is tight. [S1] Can we cut anything from the scope? [S2] Maybe... but it would mean dropping the analytics dashboard. [S1] That is a tough trade-off."
}'

# Teaching/explaining
infsh app run falai/dia-tts --input '{
  "prompt": "[S1] So how does it actually work? [S2] Great question. Think of it like a pipeline. Data comes in on one end, gets processed in the middle, and comes out transformed on the other side. [S1] Like an assembly line? [S2] Exactly! Each step adds something."
}'

Pacing Control

Pause Hierarchy

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

Speed Control

  • Shorter sentences = faster perceived pace
  • Longer sentences with commas = measured, thoughtful pace
  • Questions followed by answers = engaging back-and-forth rhythm
# Fast-paced, energetic
infsh app run falai/dia-tts --input '{
  "prompt": "[S1] Ready? [S2] Ready. [S1] Let us go! Three features. Five minutes. [S2] Hit it! [S1] Feature one: real-time sync."
}'

# Slow, contemplative
infsh app run falai/dia-tts --input '{
  "prompt": "[S1] I have been thinking about this for a while... and I think we need to change direction. [S2] What do you mean? [S1] The market has shifted. What worked last year... is not working now."
}'

Conversation Structure Patterns

Interview Format

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."
}'

Tutorial / Explainer

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."
}'

Debate / Discussion

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."
}'

Post-Production Tips

Volume Normalization

Both speakers should be at consistent volume. If one is louder:

# Merge with balanced audio
infsh app run infsh/video-audio-merger --input '{
  "video": "talking-head.mp4",
  "audio": "dialogue.mp3",
  "audio_volume": 1.0
}'

Adding Background/Music

# Merge dialogue with background music
infsh app run infsh/media-merger --input '{
  "media": ["dialogue.mp3", "background-music.mp3"]
}'

Segmenting Long Conversations

For conversations longer than ~30 seconds, generate in segments:

# Segment 1: Introduction
infsh app run falai/dia-tts --input '{
  "prompt": "[S1] Welcome back to another episode..."
}'

# Segment 2: Main content
infsh app run falai/dia-tts --input '{
  "prompt": "[S1] So let us dive into today s topic..."
}'

# Segment 3: Wrap-up
infsh app run falai/dia-tts --input '{
  "prompt": "[S1] Great conversation today..."
}'

# Merge all segments
infsh app run infsh/media-merger --input '{
  "media": ["segment1.mp3", "segment2.mp3", "segment3.mp3"]
}'

Script Writing Tips

Do Don't
Write how people talk Write how people write
Short sentences (\x3C 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

Common Mistakes

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 [S1] or [S2]
Formal written language Sounds unnatural spoken Use contractions, short sentences
No pauses between topics Feels rushed Use ... or scene breaks
All same energy level Monotonous Vary between high/low energy moments

Related Skills

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

Browse all apps: infsh app list

安全使用建议
This skill appears to do what it says (generate multi‑speaker dialogue via Dia TTS), but be cautious about the install step. Avoid blindly running curl | sh from unfamiliar domains. If you want to use it: (1) inspect the install script before running it (download it with curl -fsSL https://cli.inference.sh -o install.sh and review), (2) verify binary SHA‑256 hashes manually against the published checksums.txt on the server before executing the binary, (3) consider installing in a sandbox/container or using a throwaway account for 'infsh login' so you limit potential exposure, and (4) check the inference.sh project's reputation, privacy policy, and what account scopes the login grants. If you cannot or will not verify the installer and checksums, treat the install step as high risk.
功能分析
Type: OpenClaw Skill Name: dialogue-audio Version: 0.1.5 The skill is classified as suspicious primarily due to the `curl -fsSL https://cli.inference.sh | sh` command in `SKILL.md`. While the skill attempts to reassure about the script's safety, executing remote shell scripts directly is an inherently high-risk supply chain vulnerability. If `cli.inference.sh` were compromised, it could lead to arbitrary code execution on the agent's host. There is no clear evidence of intentional malicious behavior (e.g., data exfiltration, backdoors) within the provided files, but this installation method presents a significant security risk.
能力评估
Purpose & Capability
Name, description, and runtime instructions all align: the SKILL.md instructs use of the inference.sh CLI to run falai/dia-tts for multi-speaker dialogue, which is consistent with the stated purpose.
Instruction Scope
Instructions stay within the TTS/dialogue generation domain (how to tag speakers, control pacing/emotion, and example infsh commands). They do instruct the agent/user to install and run an external CLI and to run 'infsh login' (which will perform authentication), but they do not request unrelated system files or environment variables.
Install Mechanism
The Quick Start recommends piping a remote install script (curl -fsSL https://cli.inference.sh | sh) and downloading binaries from dist.inference.sh. That pattern (remote script executed directly) is high risk unless you fully trust and audit the installer; the SKILL.md claims checksum verification but does not embed a verifiable hash for the user to check before execution. The domains are not standard well-known package hosts in this manifest, and no offline/manual install alternative is provided other than links — overall this is the largest security concern.
Credentials
The skill declares no required environment variables or credentials, which is proportionate to its purpose. Note: the suggested 'infsh login' step will create/authenticate credentials for the inference.sh service (outside the skill's manifest) — that authentication is expected to use account tokens, so users should understand what permissions and data that account grants.
Persistence & Privilege
The skill does not request always:true, has no install spec that writes to system paths within the manifest, and is instruction-only. It does rely on an external CLI which will persist on disk after installation, but the skill itself does not request elevated or persistent platform privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dialogue-audio
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dialogue-audio 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.5
- Initial public release of dialogue-audio skill with detailed documentation. - Supports generating multi-speaker dialogue audio using Dia TTS via CLI. - Provides instructions for speaker tags, emotion and pacing control, and handling conversational structure. - Includes tips for post-production (e.g., merging audio, adding background music, segmenting long content). - Offers practical script writing suggestions and highlights common mistakes to avoid.
v0.1.0
- Initial release of dialogue-audio skill for multi-speaker dialogue audio using Dia TTS. - Supports speaker tags ([S1], [S2]), emotion and expression cues, and fine-grained pacing via punctuation. - Ideal for podcasts, audiobooks, conversational scripts, and character dialogue generation. - Includes comprehensive guidance for script formatting, sample prompts, and post-production audio tips. - Facilitates CLI-based workflow through infsh for dialogue generation and audio merging tasks.
元数据
Slug dialogue-audio
版本 0.1.5
许可证
累计安装 2
当前安装数 2
历史版本数 2
常见问题

Dialogue Audio 是什么?

Multi-speaker dialogue audio creation with Dia TTS. Covers speaker tags, emotion control, pacing, conversation flow, and post-production. Use for: podcasts,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 841 次。

如何安装 Dialogue Audio?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dialogue-audio」即可一键安装,无需额外配置。

Dialogue Audio 是免费的吗?

是的,Dialogue Audio 完全免费(开源免费),可自由下载、安装和使用。

Dialogue Audio 支持哪些平台?

Dialogue Audio 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dialogue Audio?

由 Ömer Karışman(@okaris)开发并维护,当前版本 v0.1.5。

💬 留言讨论