RunAPI OpenAI TTS API

The OpenAI TTS API from RunAPI — 1 operation(s) for openai tts.

Operations 1

POST /api/v1/openai_tts/text_to_speech OpenAI TTS Text-to-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/runapi:runapi-openai-tts-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 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. See our Privacy Policy and Terms.

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

OpenAPI Specification

runapi-openai-tts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RunAPI OpenAI TTS API
  version: v1
  description: Create and retrieve AI media tasks, or use compatible LLM protocol endpoints.
servers:
- url: https://runapi.ai
security:
- bearerAuth: []
tags:
- name: OpenAI TTS
paths:
  /api/v1/openai_tts/text_to_speech:
    post:
      tags:
      - OpenAI TTS
      summary: OpenAI TTS Text-to-Speech
      description: Send a synchronous request through the OpenAI TTS text to speech endpoint.
      operationId: task_endpoint_openai_tts_text_to_speech
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - type: object
                properties:
                  model:
                    type: string
                    description: Model slug.
                    const: tts-1
                  text:
                    type: string
                    maxLength: 4096
                additionalProperties: false
                required:
                - model
                - text
              - type: object
                properties:
                  model:
                    type: string
                    description: Model slug.
                    const: tts-1-hd
                  text:
                    type: string
                    maxLength: 4096
                additionalProperties: false
                required:
                - model
                - text
      responses:
        '200':
          description: Sync success
          content:
            application/json:
              schema:
                type: object
                required:
                - id
                - status
                - audios
                properties:
                  id:
                    type: string
                  status:
                    type: string
                    enum:
                    - completed
                  audios:
                    type: array
                    items:
                      type: object
                      required:
                      - url
                      - format
                      - mime_type
                      - size_bytes
                      properties:
                        url:
                          type: string
                          x-runapi-generated-media: true
                        format:
                          type: string
                        mime_type:
                          type: string
                        size_bytes:
                          type: integer
                      unevaluatedProperties: false
                unevaluatedProperties: false
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  required:
                  - error
                  properties:
                    error:
                      type: string
                      description: Human-readable error message.
                  unevaluatedProperties: false
                - type: object
                  required:
                  - error
                  - errors
                  properties:
                    error:
                      type: string
                      description: Human-readable validation summary.
                    errors:
                      type: object
                      description: Validation messages keyed by public request field, with an array of human-readable strings for each field.
                      additionalProperties:
                        type: array
                        items:
                          type: string
                  unevaluatedProperties: false
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '402':
          description: Insufficient balance
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '409':
          description: Request conflict
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '429':
          description: Api token credit limit exceeded or Rate limited
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '503':
          description: Service unavailable
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
        '504':
          description: Timeout error
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
                    description: Human-readable error message.
                unevaluatedProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API token