openai-tts
Text-to-speech via OpenAI Audio Speech API.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/nicoataiza/openai-tts-bak-2026-01-28t18-01-23-10-30OpenAI 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) ortts-1-hd(quality) - Voice:
alloy(neutral), also:echo,fable,onyx,nova,shimmer - Format:
mp3
Voices
| Voice | Description |
|---|---|
| alloy | Neutral, balanced |
| echo | Male, warm |
| fable | British, expressive |
| onyx | Deep, authoritative |
| nova | Female, friendly |
| shimmer | Female, 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!
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-nicoataiza-openai-tts-bak-2026-01-28t18-01-23-10-30": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
plan-my-day
Generate an energy-optimized, time-blocked daily plan
agent-browser
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection
gno
Search local documents, files, notes, and knowledge bases. Index directories, search with BM25/vector/hybrid, get AI answers with citations. Use when user wants to search files, find documents, query notes, look up information in local folders, index a directory, set up document search, build a knowledge base, needs RAG/semantic search, or wants to start a local web UI for their docs.
tldr
Simplified man pages from tldr-pages. Use this to quickly understand CLI tools.
clawdhub
Use the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawdhub CLI.