Zero2Launch API
  • Welcome
  • Chat & Text Generation
  • Text to Speech & Transcription
  • Voice Generation (with Link)
  • AI Image Generator
  • Models
Powered by GitBook
On this page

Text to Speech & Transcription

PreviousChat & Text GenerationNextVoice Generation (with Link)

Text to Speech & Transcription

List available voice options for text-to-speech generation

get

Lists the available voice options for audio generation.

Responses
200
Success
get
GET /generate-audio/voices HTTP/1.1
Host: api.zero2launch.com
Accept: */*
200

Success

No content

  • POSTGenerates audio from text using a specified voice
  • POSTTranscribes an uploaded audio file (auto-detects format)
  • POSTTranscribes audio from a URL (downloads, auto-detects format)
  • GETList available voice options for text-to-speech generation

Generates audio from text using a specified voice

post
Authorizations
Header parameters
X-API-KeystringRequired

Your API key

Body
textstringRequired

Text to convert to speech

voicestring · enumOptional

Base voice

Default: alloyPossible values:
vibestring · enumOptional

Optional vibe

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",
  "voice": "alloy",
  "vibe": "default"
}
200

Success

No content

Transcribes an uploaded audio file (auto-detects format)

post
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"
}

Transcribes audio from a URL (downloads, auto-detects format)

post
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"
}