Lazybird Generate Speech API

The Generate Speech API from Lazybird — 1 operation(s) for generate speech.

GitHub OpenAPI

Operations 1

POST /generate-speech Generate speech #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lazybird-app:lazybird-app-generate-speech-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lazybird-app-generate-speech-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lazybird App Generate Speech API
  version: 2.0.0
  contact:
    name: Lazybird
    url: https://www.lazybird.app
  description: 'Operations tagged Generate Speech across 2 of this provider''s published API definitions: lazybird-app-openapi.json, lazybird-app-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.lazybird.app/v2
security:
- apiKeyHeader: []
- apiKeyQuery: []
tags:
- name: Generate Speech
paths:
  /generate-speech:
    post:
      operationId: generateSpeech
      summary: Generate speech
      description: Generates speech with the selected voice and returns an MP3 file, or with `phone` a WAV for phone systems. Provide exactly one of `text` and `ssml`; unknown fields, in the body or in `settings`, return 400. Save the response body to a file.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateSpeechRequest'
            example:
              voiceId: tgJ2Hes6DauwTg8kFrRPLN
              text: My name is Elyssia and I am a voice from Lazybird.
      responses:
        '200':
          description: MP3 audio, or a WAV with `phone`
          content:
            audio/mpeg:
              schema:
                type: string
                format: binary
            audio/wav:
              schema:
                type: string
                format: binary
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Plan limit reached (credits, voice slots or plan feature)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests; retry after `Retry-After` seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Generate Speech
    servers:
    - url: https://api.lazybird.app/v2
components:
  schemas:
    VoiceSettings:
      type: object
      description: All fields optional
      additionalProperties: false
      properties:
        style:
          type: string
          description: One of the voice's `styleList` values; ignored, with `styleIntensity`, when the voice doesn't list it
        styleIntensity:
          type: number
          description: Strength of `style`. 1 is the default; the closest level the voice has is used
        speed:
          type: number
          exclusiveMinimum: 0
          description: 1 is normal speed
        pitch:
          type: number
          exclusiveMinimum: 0
          description: 1 is the default pitch
        volume:
          type: number
          minimum: 0
          description: 1 is the default volume; 0 is silent
        locale:
          type: string
          description: Language and accent to speak in, as a locale with a region such as `es-ES`. Any voice can speak any supported language. A bare language such as `es` returns 400.
        instruction:
          type: string
          maxLength: 200
          description: How the speech is acted, in a few words such as `whispering, nervous`; never spoken. Brackets are dropped, and one without words returns 400.
        effect:
          type: string
          enum:
          - robot
          - deep
          - monster
          - echo
          - radio
          - phone
          description: 'A sound effect on the finished speech: `robot`, `deep`, `monster`, `echo` (a large hall), `radio` (a walkie-talkie) or `phone` (a phone call). Leave it out for plain speech.'
    GenerateSpeechRequest:
      type: object
      required:
      - voiceId
      oneOf:
      - required:
        - text
      - required:
        - ssml
      additionalProperties: false
      properties:
        voiceId:
          type: string
          description: Voice `id` from GET /voices
        text:
          type: string
          minLength: 1
          description: Plain text to speak, not blank
        ssml:
          type: string
          minLength: 1
          description: SSML (use instead of `text` for pauses or markup)
        settings:
          $ref: '#/components/schemas/VoiceSettings'
        phone:
          type: string
          enum:
          - pcm
          - mulaw
          description: 'Return an 8 kHz mono WAV for phone systems (voicemail, phone menus) instead of an MP3: `pcm` (16-bit) or `mulaw` (G.711 µ-law)'
    Error:
      type: object
      properties:
        error:
          type: string
        name:
          type: string
        code:
          type: string
        details: {}
        upgradeUrl:
          type: string
          format: uri
          description: 'Set when credits ran out: where the user upgrades'
        retryAfterSeconds:
          type: integer
          description: On 429
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    apiKeyQuery:
      type: apiKey
      in: query
      name: api_key
externalDocs:
  description: API Reference
  url: https://www.lazybird.app/docs/api-reference
x-refined-from:
- lazybird-app-openapi.json
- lazybird-app-openapi.json
x-provenance:
  method: harvested
  publisher: Lazybird
  source: https://www.lazybird.app/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)