Audio

POST /audio/transcriptions. Speech to text: upload an audio file, get the transcript. Priced per minute of audio.

curl -X POST https://api.clod.io/v1/audio/transcriptions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F model="STT_MODEL" \
  -F [email protected]

Text to speech: POST /audio/speech turns text into an audio file. Priced per 1M characters.

{
  "model": "TTS_MODEL",
  "input": "Hello from CLōD.",
  "voice": "alloy"
}