Last updated 2 months ago
Converts audio input to text using a speech-to-text (STT) model. This enables transcription services, voice commands, and other voice-driven interactions.
const response = await fetch('https://api.aimlapi.com/stt', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "model": "text" }), }); const data = await response.json();