Allmodels API

Allmodels API as documented publicly: 11 operations. Contract generated from the documentation by API Evangelist (2026-10-15); not the provider's own document.

Operations 11

GET /account/balance GET /account/balance #
GET /el/v1/convai/conversation GET /el/v1/convai/conversation #
POST /el/v1/speech-to-text Speech to text : transcribe uploaded audio with POST /el/v1/speech-to-text #
POST /el/v1/text-to-speech/{voiceId} Text to speech : generate audio with POST /el/v1/text-to-speech/{voice_id} #
GET /health GET /health #
GET /oai/audio/{audioid} GET /oai/audio/speech #
POST /oai/audio/{audioid} POST /oai/audio/{audioid} #
POST /v1/custom-voices POST /v1/custom-voices #
GET /v1/custom-voices/AM:@narrator Get one cloned voice #
POST /v1/realtime/client-secrets Connect to a Realtime session #
GET /v1/{v1id} GET /v1/custom-voices #

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/allmodels:allmodels-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

allmodels-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Allmodels API
  version: '2026-10-15'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-15: 11 operation(s) read from 14 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; Allmodels has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 14
    documentation: -3
    pages-with-code: 12
    pages-read: 14
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-15'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://allmodels.io/docs/api-reference/models/listModels
  - https://allmodels.io/docs/api-reference/voices/listVoices
  - https://allmodels.io/docs/api-reference/health/healthCheck
  - https://allmodels.io/docs/api-reference/openai-sdk/openAiSpeech
  - https://allmodels.io/docs/api-reference/providers/listProviders
  - https://allmodels.io/docs/api-reference/realtime/realtimeConnect
  - https://allmodels.io/docs/api-reference/voices/createCustomVoice
  - https://allmodels.io/docs/api-reference/native-tts/stt/nativeSttStream
  - https://allmodels.io/docs/api-reference/native-tts/stt/nativeTtsStream
  - https://allmodels.io/docs/api-reference/elevenlabs-sdk/speechEngineConversation
  - https://allmodels.io/docs
  - https://allmodels.io/docs/errors
  - https://allmodels.io/docs/authentication
  - https://allmodels.io/docs/speech-to-text
servers:
- url: https://api.allmodels.io
paths:
  /account/balance:
    get:
      operationId: get_account_balance
      tags:
      - Account
      summary: GET /account/balance
      x-source: https://allmodels.io/docs/authentication
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl const response = await fetch(\"https://api.allmodels.io/account/balance\", { method: \"GET\", headers: { Authorization:\
          \ `Bearer ${process.env.ALLMODELS_API_KEY}`, }, }); if (!response.ok) throw new Error(`AllModels request failed: ${response.status}`);\
          \ console.log(await response.json()); \n SDK auth \n Configure the ElevenLabs or OpenAI SDK with your AllModels API key and the matching\
          \ AllModels bas"
  /el/v1/convai/conversation:
    get:
      operationId: get_el_v1_convai_conversation
      tags:
      - El
      summary: GET /el/v1/convai/conversation
      x-source: https://allmodels.io/docs/api-reference/elevenlabs-sdk/speechEngineConversation
      parameters:
      - name: agent_id
        in: query
        required: false
        schema:
          type: string
      - name: conversation_signature
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl import { readFile } from "node:fs/promises"; import WebSocket from "ws"; const audioChunk = await readFile("chunk.pcm");
          const ws = new WebSocket("wss://api.allmodels.io/el/v1/convai/conversation?conversation_signature=$CONVERSATION_SIGNATURE&agent_id=$SPEECH_ENGINE_ID");
          ws.on("open", () => { ws.send(JSON.stringify({ user_audio_chunk: audioChunk.toString("base64") })); }); ws.on("message", ('
  /el/v1/speech-to-text:
    post:
      operationId: post_el_v1_speech_to_text
      tags:
      - El
      summary: 'Speech to text : transcribe uploaded audio with POST /el/v1/speech-to-text'
      description: Transcribe uploaded audio.
      x-source: https://allmodels.io/docs
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /el/v1/text-to-speech/{voiceId}:
    post:
      operationId: post_el_v1_text_to_speech_voiceId
      tags:
      - El
      summary: 'Text to speech : generate audio with POST /el/v1/text-to-speech/{voice_id}'
      description: Generate audio for a given voice ID.
      x-source: https://allmodels.io/docs
      parameters:
      - name: voiceId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /health:
    get:
      operationId: get_health
      tags:
      - Health
      summary: GET /health
      x-source: https://allmodels.io/docs/api-reference/health/healthCheck
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetHealthResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl const response = await fetch("https://api.allmodels.io/health"); if (!response.ok) throw new Error(`AllModels request failed:
          ${response.status}`); console.log(await response.json()); import requests response = requests.get( "https://api.allmodels.io/health",
          timeout=30, ) response.raise_for_status() print(response.json()) curl "https://api.allmodels.io/health" 200 { "ok": true, "commit":
          "01'
  /oai/audio/{audioid}:
    get:
      operationId: get_oai_audio_audioid
      tags:
      - Oai
      summary: GET /oai/audio/speech
      x-source: https://allmodels.io/docs
      parameters:
      - name: audioid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl import { writeFile } from "node:fs/promises"; const response = await fetch("https://api.allmodels.io/oai/audio/speech",
          { method: "POST", headers: { Authorization: `Bearer ${process.env.ALLMODELS_API_KEY}`, "Content-Type": "application/json", }, body:
          JSON.stringify({ "model": "elevenlabs/eleven_flash_v2_5", "voice": "21m00Tcm4TlvDq8ikWAM", "input": "Hello from AllModels", "response_format": '
        collapsed_from: 2 example path(s) differing only at audioId
    post:
      operationId: post_oai_audio_audioid
      tags:
      - Oai
      summary: POST /oai/audio/{audioid}
      description: Generates speech with the official OpenAI SDK. Set the client's base URL to https://api.allmodels.io/oai and use your AllModels
        API key.
      x-source: https://allmodels.io/docs/api-reference/openai-sdk/openAiSpeech
      parameters:
      - name: audioid
        in: path
        required: true
        schema:
          type: string
      - name: provider_order
        in: query
        required: false
        schema:
          type: array
        description: Comma-separated or repeated provider IDs in preferred order.
      - name: provider_only
        in: query
        required: false
        schema:
          type: array
        description: Comma-separated or repeated provider IDs. Only these providers may serve the request.
      - name: provider_ignore
        in: query
        required: false
        schema:
          type: array
        description: Comma-separated or repeated provider IDs that must not serve the request.
      - name: allow_fallbacks
        in: query
        required: false
        schema:
          type: boolean
        description: Set to false to prevent fallback to another provider.
      - name: provider_options
        in: query
        required: false
        schema:
          type: object
        description: Provider-specific options in bracket notation, such as provider_options[encoding]=linear16.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostOaiAudioAudioidRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostOaiAudioAudioidResponse'
      x-evidence:
        kind: documentation
        collapsed_from: 2 example path(s) differing only at audioId
  /v1/custom-voices:
    post:
      operationId: post_v1_custom_voices
      tags:
      - Custom Voices
      summary: POST /v1/custom-voices
      x-source: https://allmodels.io/docs/api-reference/voices/createCustomVoice
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV1CustomVoicesResponse'
      x-evidence:
        kind: code-example
        language: python
        snippet: 'requests.post( "https://api.allmodels.io/v1/custom-voices", headers={"Authorization": f"Bearer {os.environ[''ALLMODELS_API_KEY'']}"},
          files={"file": ("sample.wav", audio, "audio/wav")'
  /v1/custom-voices/AM:@narrator:
    get:
      operationId: get_v1_custom_voices_AM_narrator
      tags:
      - Custom Voices
      summary: Get one cloned voice
      x-source: https://allmodels.io/docs/api-reference/voices/createCustomVoice
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1CustomVoicesAmNarratorResponse'
      x-evidence:
        kind: documentation
  /v1/realtime/client-secrets:
    post:
      operationId: post_v1_realtime_client_secrets
      tags:
      - Realtime
      summary: Connect to a Realtime session
      x-source: https://allmodels.io/docs/api-reference/realtime/realtimeConnect
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/{v1id}:
    get:
      operationId: get_v1_v1id
      tags:
      - Api
      summary: GET /v1/custom-voices
      x-source: https://allmodels.io/docs/api-reference/voices/createCustomVoice
      parameters:
      - name: v1id
        in: path
        required: true
        schema:
          type: string
      - name: client_secret
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1V1IdResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl import { readFile, writeFile } from "node:fs/promises"; // Node.js 22+. Set ALLMODELS_API_KEY and use your own sample.wav.
          const form = new FormData(); form.set("file", new Blob([await readFile("sample.wav")], { type: "audio/wav" }), "sample.wav"); form.set("name",
          "narrator"); form.set("provider", "soniox"); form.set("consent", "true"); const response = await fetch("https://api.allmodels.io/'
        collapsed_from: 7 example path(s) differing only at v1Id
components:
  schemas:
    GetHealthResponse:
      type: object
      properties:
        ok:
          type: boolean
        commit:
          type: string
    PostOaiAudioAudioidRequest:
      type: object
      properties:
        model:
          type: string
          description: Model identifier, optionally provider-prefixed.
        voice:
          type: string
          description: Voice identifier.
        input:
          type: string
          description: Text to synthesize.
        response_format:
          type: string
          description: Desired audio format, e.g., mp3.
        stream_format:
          type: string
          description: Use "audio" for audio bytes or "sse" for OpenAI speech events.
      required:
      - model
      - voice
      - input
    PostOaiAudioAudioidResponse:
      type: object
      properties:
        '200':
          type: string
          description: Audio bytes of the generated speech.
        '400':
          type: string
          description: Error response.
        '401':
          type: string
          description: Error response.
        '402':
          type: string
          description: Error response.
        '403':
          type: string
          description: Error response.
        '422':
          type: string
          description: Error response.
        '502':
          type: string
          description: Error response.
    PostV1CustomVoicesResponse:
      type: object
      properties:
        model:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
        voice:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            description:
              type:
              - string
              - 'null'
            category:
              type: object
              properties:
                id:
                  type: string
                name:
                  type: string
            languages:
              type: array
              items: {}
            scope:
              type: object
              properties:
                type:
                  type: string
            status:
              type: string
            fee_credits:
              type: integer
            first_seen_at:
              type: string
              format: date-time
            last_seen_at:
              type: string
              format: date-time
        providers:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              provider_model_id:
                type: string
              status:
                type: string
              failure_reason:
                type:
                - string
                - 'null'
    GetV1CustomVoicesAmNarratorResponse:
      type: object
      properties:
        id:
          type: string
          description: The cloned voice ID.
        voices:
          type: array
          description: Array containing model and provider status for the voice.
    GetV1V1IdResponse:
      type: object
      properties:
        model:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
        voice:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            description:
              type:
              - string
              - 'null'
            category:
              type: object
              properties:
                id:
                  type: string
                name:
                  type: string
            languages:
              type: array
              items: {}
            scope:
              type: object
              properties:
                type:
                  type: string
            status:
              type: string
            fee_credits:
              type: integer
            first_seen_at:
              type: string
              format: date-time
            last_seen_at:
              type: string
              format: date-time
        providers:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              provider_model_id:
                type: string
              status:
                type: string
              failure_reason:
                type:
                - string
                - 'null'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Account
- name: Api
- name: Custom Voices
- name: El
- name: Health
- name: Oai
- name: Realtime