# Together AI Audio TTS/STT Skill for Claude Code > Skill that teaches Claude Code Together AI's audio API. Covers text-to-speech (REST and WebSocket streaming), speech-to-text transcription, and realtime voice interaction. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use ```bash npx skills add togethercomputer/skills ``` ## What is This Skill? This skill teaches AI coding agents how to use Together AI's audio API for text-to-speech and speech-to-text. It covers REST TTS, streaming TTS via WebSocket, and speech-to-text transcription — with correct SDK patterns for each mode. **Answer-Ready**: Together AI Audio Skill for coding agents. Covers TTS (REST + WebSocket streaming), STT transcription, and realtime voice. Correct SDK patterns and model IDs. Part of official 12-skill collection. **Best for**: Developers building voice-enabled AI applications. **Works with**: Claude Code, Cursor, Codex CLI. ## What the Agent Learns ### Text-to-Speech (REST) ```python from together import Together client = Together() response = client.audio.speech.create( model="together-ai/tts-model", input="Hello, welcome to the demo!", voice="alloy", ) response.stream_to_file("output.mp3") ``` ### Streaming TTS (WebSocket) ```python # Low-latency streaming for realtime applications import websocket # WebSocket connection for chunked audio streaming ``` ### Speech-to-Text ```python with open("audio.mp3", "rb") as f: transcript = client.audio.transcriptions.create( model="together-ai/whisper", file=f, ) print(transcript.text) ``` ## FAQ **Q: What voices are available?** A: Multiple voices supported. Check Together AI docs for current voice list. ## Source & Thanks > Part of [togethercomputer/skills](https://github.com/togethercomputer/skills) — MIT licensed. ## Quick Start ```bash npx skills add togethercomputer/skills ``` ## What Is This Skill? Teaches AI agents how to use Together AI's audio APIs, including TTS (REST + WebSocket streaming) and STT speech-to-text. **In one sentence**: Together AI audio Skill — TTS/STT/real-time voice, REST and WebSocket modes. Official. ## Source & Thanks > [togethercomputer/skills](https://github.com/togethercomputer/skills) — MIT --- Source: https://tokrepo.com/en/workflows/together-ai-audio-tts-stt-skill-claude-code-1342ba0e Author: Together AI