Audio

Sprachsynthese (Text zu Sprache) und Transkription (Sprache zu Text).

Sprachsynthese

http
POST /v1/audio/speech
json
{
  "text": "Bonjour, ceci est un test de synthese vocale.",
  "voice": "alloy",
  "model": null,
  "routing_strategy": "auto"
}

voice hängt vom gewählten Anbieter ab: Die OpenAI-Namen (alloy, echo, ...) und die ElevenLabs-Stimmen-IDs sind nicht austauschbar — legen Sie model explizit fest, wenn Sie eine bestimmte Stimme benötigen.

json
{
  "audio": "https://cdn.uploadscenter.com/file_...",
  "model": "eleven_multilingual_v2",
  "provider": "elevenlabs"
}

Transkription

http
POST /v1/audio/transcriptions
json
{
  "audio_url": "https://exemple.com/enregistrement.mp3",
  "language": "fr",
  "model": null,
  "routing_strategy": "auto"
}
json
{
  "text": "Transcription du contenu audio.",
  "model": "whisper-1",
  "provider": "openai"
}

Anbieter

OpenAI (TTS + Whisper), ElevenLabs (hochwertige mehrsprachige Sprachsynthese + Transkription).