Generate speech

Generates speech with the selected voice and returns an MP3 file. Provide either text or ssml. Save the response body to a file.

post/generate-speech

Request

  • Base URL: https://api.lazybird.app/v1
  • URL: https://api.lazybird.app/v1/generate-speech
  • Auth: one of:
    • API key in header X-API-Key
    • API key in query parameter api_key

Request body

voiceIdstring required

Voice id from GET /voices

textstring

Plain text to speak

ssmlstring

SSML (use instead of text for pauses or markup)

Response

MP3 audio

Changes

No recorded changes to this operation across all 1 revision of this API.