Audio transcription and text-to-speech generation using OpenRouter API. Use when the user needs to transcribe audio files to text or generate speech/audio fr...
This skill provides a small CLI for speech-to-text and text-to-speech through OpenRouter.
name: Skill ID used by the runtime.description: When to use this skill and what it does.homepage: Project/source reference.metadata.openclaw.emoji: Visual marker for this skill.metadata.openclaw.requires.env: Required environment variables.metadata.openclaw.requires.bins: Required binaries in PATH (node).metadata.openclaw.primaryEnv: Primary variable to check first (OPENROUTER_API_KEY).{baseDir}/openrouter-audio.shtranscribe, generateOPENROUTER_API_KEY onlygenerate output: {WORKSPACE_DIR}/tmp when an OpenClaw workspace exists, otherwise system tmp (or explicit path via --out)Use defaults unless the user explicitly asks for overrides:
openrouter/autoopenai/gpt-audio-minialloymp3Full utility description, including supported models and formats, is available in CLI help when needed:
{baseDir}/openrouter-audio.sh --help
transcribe: speech-to-text transcriptgenerate: direct TTS for the provided text--prompt can change behavior. For example:
# Full help (models, formats, options)
{baseDir}/openrouter-audio.sh --help
# Transcribe from a local file
{baseDir}/openrouter-audio.sh transcribe recording.wav
# Generate with defaults (recommended)
{baseDir}/openrouter-audio.sh generate "Hello world"
# Generate to an explicit output path
{baseDir}/openrouter-audio.sh generate "Welcome" --out ./artifacts/welcome.mp3
transcribe prints transcript text to stdout.generate prints JSON with:
paths (generated audio file path(s))transcript (when available)format (final output format)ZIP package — ready to use