AI
Text-to-speech synthesis
Convert text to speech using OpenAI TTS. Returns base64-encoded audio — decode with base64 -d > output.<format>. Billed per character under ai:speech. Unknown model values fall back to tts-1.
post/api/v1/ai/speech
Request
- Base URLhttps://core.blink.new
- URLhttps://core.blink.new/api/v1/ai/speech
- Auth
- HTTP bearer
- or HTTP bearer
Request body
Example request
{
"text": "Hello! This is a test of the Blink speech API.",
"speed": 1
}Response
Speech generated — returns base64-encoded audio
Example response
{
"format": "mp3",
"voice": "alloy",
"model": "tts-1",
"characters": 47
}Changes
No recorded changes to this operation across all 1 revision of this API.