Captions Audio API

The Audio API from Captions — 1 operation(s) for audio.

Operations 1

POST /v1/audio/text-to-speech/{voice_id} Generate Speech from Text #

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/captions-audio-api"
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

captions-audio-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mirage Video Audio API
  description: API for AI-powered video generation
  version: 0.0.1
servers:
- url: https://api.mirage.app
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Audio
paths:
  /v1/audio/text-to-speech/{voice_id}:
    post:
      tags:
      - Audio
      summary: Generate Speech from Text
      description: 'Generate speech from text using the specified voice and model.


        This endpoint synchronously generates audio and returns the binary data directly.

        The request will block until the TTS generation is complete.'
      operationId: generate_text_to_speech_v1_audio_text_to_speech__voice_id__post
      parameters:
      - name: voice_id
        in: path
        required: true
        schema:
          type: string
          description: Voice ID to use for TTS generation
          title: Voice Id
        description: Voice ID to use for TTS generation
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
          description: API Key for authentication
          title: X-Api-Key
        description: API Key for authentication
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TTSRequest'
      responses:
        '200':
          description: Returns the generated audio file as binary data
          content:
            application/json:
              schema: {}
            audio/wav: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TTSRequest:
      properties:
        text:
          type: string
          title: Text
          description: The text to convert to speech
          examples:
          - Hello, welcome to Mirage!
        model:
          type: string
          const: mirage-audio-1
          title: Model
          description: TTS model to use for generation
          examples:
          - mirage-audio-1
      type: object
      required:
      - text
      - model
      title: TTSRequest
      description: Request body for text-to-speech generation