Text to Speech & Transcription
Text to Speech & Transcription
Authorizations
Header parameters
X-API-KeystringRequired
Your API key
Body
textstringRequired
Text to convert to speech
vibestring · enumOptionalPossible values:
Optional vibe
voicestring · enumOptionalDefault:
Base voice
alloy
Possible values: Responses
200
Success
post
POST /generate-audio/generate HTTP/1.1
Host: api.zero2launch.com
X-API-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"text": "text",
"vibe": "default",
"voice": "alloy"
}
200
Success
No content
Authorizations
Header parameters
X-API-KeystringRequired
Your API key
X-Fieldsstring · maskOptional
An optional fields mask
Body
audio_filestring · binaryRequired
Audio file to transcribe. Format will be auto-detected.
Responses
200
Success
application/json
400
Bad Request - Missing file, invalid format, or processing error
415
Unsupported Media Type - Audio format not supported or detectable
500
Transcription Failed
post
POST /generate-audio/transcribe-file HTTP/1.1
Host: api.zero2launch.com
X-API-Key: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 23
"audio_file='binary'"
{
"transcription": "text"
}
Authorizations
Header parameters
X-API-KeystringRequired
Your API key
X-Fieldsstring · maskOptional
An optional fields mask
Body
audio_urlstringRequired
URL of the audio file to transcribe (e.g., mp3, wav). Format auto-detected.
Responses
200
Success
application/json
400
Bad Request - Invalid URL or download failed
415
Unsupported Media Type - Audio format not supported or detectable
500
Transcription Failed
post
POST /generate-audio/transcribe-url HTTP/1.1
Host: api.zero2launch.com
X-API-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"audio_url": "text"
}
{
"transcription": "text"
}