aimlapi-speech
Installation
SKILL.md
Speech: text-to-speech and speech-to-text
Text-to-speech is one synchronous call, POST /v1/tts. Speech-to-text is a job: POST /v1/stt/create answers with a generation_id, and you poll GET /v1/stt/<generation_id> for the transcript.
When to use
- "Read this text aloud", "make a voice-over", "give me an MP3 of this script"
- "Transcribe this meeting / call / podcast", "subtitles from this audio", an audio file on disk
- A TTS response that breaks
response.json(), or a transcription that staysgenerating
Steps
1. Pick the model and read its parameters
curl -s 'https://api.aimlapi.com/v1/models?type=internal/text-to-speech&include=pricing'
curl -s 'https://api.aimlapi.com/v1/models?type=internal/speech-to-text/submit&include=pricing'