skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
sundial-org/awesome-openclaw-skills72 installs

openai-tts

Text-to-speech via OpenAI Audio Speech API.

How do I install this agent skill?

npx skills add https://github.com/sundial-org/awesome-openclaw-skills --skill openai-tts
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill allows generating speech from text via the OpenAI API. While it uses secure JSON encoding for the primary text input, it lacks validation for other parameters like output file paths and model names, which could be exploited through indirect prompt injection to write files to unintended locations.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerwarn

    2/2 files flagged

What does this agent skill do?

OpenAI TTS (curl)

Generate speech from text via OpenAI's /v1/audio/speech endpoint.

Quick start

{baseDir}/scripts/speak.sh "Hello, world!"
{baseDir}/scripts/speak.sh "Hello, world!" --out /tmp/hello.mp3

Defaults:

  • Model: tts-1 (fast) or tts-1-hd (quality)
  • Voice: alloy (neutral), also: echo, fable, onyx, nova, shimmer
  • Format: mp3

Voices

VoiceDescription
alloyNeutral, balanced
echoMale, warm
fableBritish, expressive
onyxDeep, authoritative
novaFemale, friendly
shimmerFemale, soft

Flags

{baseDir}/scripts/speak.sh "Text" --voice nova --model tts-1-hd --out speech.mp3
{baseDir}/scripts/speak.sh "Text" --format opus --speed 1.2

Options:

  • --voice <name>: alloy|echo|fable|onyx|nova|shimmer (default: alloy)
  • --model <name>: tts-1|tts-1-hd (default: tts-1)
  • --format <fmt>: mp3|opus|aac|flac|wav|pcm (default: mp3)
  • --speed <n>: 0.25-4.0 (default: 1.0)
  • --out <path>: output file (default: stdout or auto-named)

API key

Set OPENAI_API_KEY, or configure in ~/.clawdbot/clawdbot.json:

{
  skills: {
    entries: {
      "openai-tts": {
        apiKey: "sk-..."
      }
    }
  }
}

Pricing

  • tts-1: ~$0.015 per 1K characters
  • tts-1-hd: ~$0.030 per 1K characters

Very affordable for short responses!

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/sundial-org/awesome-openclaw-skills/openai-tts">View openai-tts on skillZs</a>