Convert Text to Speech API

Convert text, file uploads, or document URLs into MP3 audio. Get a binary download or a signed link with male or female voice selection.

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/apyhub-convert-text-to-speech"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

apyhub-apyhub-convert-text-to-speech-openapi.yml Raw ↑
# Derived by API Evangelist from ApyHub's own published service documentation
# (https://apyhub.com/llms.txt -> https://apyhub.com/apyhub/service/convert-text-to-speech).
# Paths verified callable against https://api.apyhub.com (401 = exists + gated).
# Request/response schemas are NOT published by ApyHub and are deliberately omitted.
openapi: 3.1.0
info:
  title: Convert Text to Speech API
  description: Convert text, file uploads, or document URLs into MP3 audio. Get a binary download or a
    signed link with male or female voice selection.
  version: 1.0.0
  contact:
    name: ApyHub
    url: https://apyhub.com/apyhub/service/convert-text-to-speech
servers:
- url: https://api.apyhub.com
  description: ApyHub API
security:
- apyToken: []
tags:
- name: Audio Processing
- name: File Conversion
- name: Smart Generation
paths:
  /tts/file:
    post:
      operationId: postTtsFile
      summary: Convert Text to Speech API
      description: Uploads a document file and a selected voice gender, then returns the generated MP3
        au
      tags: &id001
      - Audio Processing
      - File Conversion
      - Smart Generation
      responses:
        '200':
          description: Successful response
        '401':
          description: Missing or invalid API key
      x-apyhub-atoms: 750
  /tts/file/url:
    post:
      operationId: postTtsFileUrl
      summary: Convert Text to Speech API
      description: Converts the text content from an uploaded document into speech and returns a signed
        M
      tags: *id001
      responses:
        '200':
          description: Successful response
        '401':
          description: Missing or invalid API key
      x-apyhub-atoms: 750
  /tts/text/file:
    post:
      operationId: postTtsTextFile
      summary: Convert Text to Speech API
      description: Converts the provided text into an MP3 file download. You send the text and a voice
        ge
      tags: *id001
      responses:
        '200':
          description: Successful response
        '401':
          description: Missing or invalid API key
      x-apyhub-atoms: 750
  /tts/text/url:
    post:
      operationId: postTtsTextUrl
      summary: Convert Text to Speech API
      description: Converts the submitted JSON text into a speech audio file and returns a signed MP3
        lin
      tags: *id001
      responses:
        '200':
          description: Successful response
        '401':
          description: Missing or invalid API key
      x-apyhub-atoms: 750
  /tts/url/file:
    post:
      operationId: postTtsUrlFile
      summary: Convert Text to Speech API
      description: Converts the text content of a document available at a URL into an MP3 audio file.
        The
      tags: *id001
      responses:
        '200':
          description: Successful response
        '401':
          description: Missing or invalid API key
      x-apyhub-atoms: 750
  /tts/url:
    post:
      operationId: postTtsUrl
      summary: Convert Text to Speech API
      description: Extracts text from a document URL and returns a signed MP3 link. You send a document
        u
      tags: *id001
      responses:
        '200':
          description: Successful response
        '401':
          description: Missing or invalid API key
      x-apyhub-atoms: 750
components:
  securitySchemes:
    apyToken:
      type: apiKey
      in: header
      name: apy-token