Install
openclaw skills install @runapi-ai/runapi-openai-ttsGenerate MP3 speech with OpenAI TTS through RunAPI. Use for one-off speech generation or application integration. Prefer the RunAPI CLI for one-off requests and the target-language SDK for production integration.
openclaw skills install @runapi-ai/runapi-openai-ttsGenerate synchronous MP3 speech with tts-1 or tts-1-hd. Use the target-language SDK for application integration and the runapi CLI for one-off speech generation or manual verification.
runapi binary. For full CLI-specific agent guidance, see https://github.com/runapi-ai/cli-skill.runapi CLI as the production runtime integration layer.When integrating OpenAI TTS into an application or production workflow, check the current SDK package and official usage. Confirm the install command, synchronous run method, request fields, managed audio response, and error classes before using CLI help or raw HTTP examples. Use a RunAPI SDK package:
@runapi.ai/openai-ttsrunapi-openai-ttsrunapi-openai-ttsgithub.com/runapi-ai/openai-tts-sdk/goai.runapi:runapi-openai-ttsrunapi-ai/openai-ttsThe synchronous text_to_speech resource accepts model and text and returns a completed response with RunAPI-managed audios.
The runapi binary is the one-off and manual testing runtime dependency. For full CLI-specific agent guidance, see https://github.com/runapi-ai/cli-skill. Run runapi auth status first. Prefer RUNAPI_API_KEY or import a token with printf '%s' "$RUNAPI_API_KEY" | runapi auth import-token --token -.
Inspect current fields before creating a request:
runapi openai-tts --help
runapi openai-tts text-to-speech --help
runapi openai-tts text-to-speech --input-file request.json
The request file contains only model and text. The command returns one completed response; do not add --async or call runapi wait.
tts-1: https://runapi.ai/models/openai-tts/tts-1.mdtts-1-hd: https://runapi.ai/models/openai-tts/tts-1-hd.mdThe response contains id, status, and one audios entry with url, format, mime_type, and size_bytes. The URL points to RunAPI-managed storage. Keep API keys in RUNAPI_API_KEY or saved RunAPI config.