OmniDimension Voice cloning API

Clone a voice from an audio sample and use it in your agents. Creation is asynchronous: the create call returns at once, then you poll the status until the voice is ready. Voice cloning must be included in your plan.

GitHub OpenAPI

Operations 7

GET /voices List cloned voices #
POST /voices Create a cloned voice #
GET /voices/{voice_id} Get a cloned voice #
PATCH /voices/{voice_id} Update a cloned voice #
DELETE /voices/{voice_id} Delete a cloned voice #
GET /voices/{voice_id}/sample Play a cloned voice sample #
POST /voices/{voice_id}/sample Regenerate a cloned voice sample #

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/omnidim-io:omnidim-io-voice-cloning-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

omnidim-io-voice-cloning-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OmniDimension Voice cloning API
  version: '1.0'
  description: 'Public REST API for the OmniDimension voice-agent platform. Use it

    to manage agents, dispatch calls, run bulk-call campaigns, manage

    knowledge bases, attach phone numbers, run agent simulations, and

    administer reseller accounts.'
  contact:
    name: OmniDimension
    url: https://omnidim.io
servers:
- url: https://omnidim.io/api/v1
  description: Production. `https://backend.omnidim.io/api/v1` also works and serves the same API.
security:
- BearerAuth: []
tags:
- name: Voice cloning
  description: 'Clone a voice from an audio sample and use it in your agents. Creation is

    asynchronous: the create call returns at once, then you poll the status

    until the voice is ready. Voice cloning must be included in your plan.'
paths:
  /voices:
    get:
      tags:
      - Voice cloning
      operationId: listClonedVoices
      summary: List cloned voices
      description: 'Your cloned voices, oldest first, one cursor page at a time. Call it with

        no `cursor`, then pass back the `next_cursor` you were handed until it is

        `null`.


        Once a voice is `ready`, its `voice_id` is the provider voice id to put

        in an agent''s `voice.voice_id` with `voice.provider: cartesia`.'
      x-codeSamples:
      - lang: bash
        label: cURL
        source: "curl \"https://omnidim.io/api/v1/voices?limit=20\" \\\n  -H \"Authorization: Bearer YOUR_API_KEY\"\n"
      parameters:
      - in: query
        name: limit
        schema:
          type: integer
          default: 20
          maximum: 100
        description: Rows per page. Above 100 the request is refused.
      - in: query
        name: cursor
        schema:
          type: string
        description: 'The `next_cursor` from your previous response. Omit it on the first

          request. Opaque: pass it back unchanged.

          '
      responses:
        '200':
          description: One page of cloned voices, oldest first.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ClonedVoice'
                  has_more:
                    type: boolean
                  next_cursor:
                    type: string
                    nullable: true
              example:
                data:
                - id: 412
                  name: Front desk
                  description: null
                  language: en
                  gender: female
                  status: ready
                  voice_id: 8a1c2f5e-3b7d-4c9a-9f21-2e6b0d4a7c88
                  sample_url: https://omnidim.io/api/v1/voices/412/sample
                  error: null
                  created_at: '2026-10-12T15:18:07.424509'
                  ready_at: '2026-10-12T15:18:31.009881'
                has_more: false
                next_cursor: null
        '400':
          description: 'A bad `limit` (not 1 to 100) or an invalid `cursor`.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: invalid_request
                error_description: limit must be a whole number from 1 to 100.
                code: invalid_limit
                request_id: req_5d9a1f3e8b02
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: unauthorized
                error_description: Missing or invalid API key
                code: invalid_api_key
                request_id: req_6e2b9d4f1a38
        '403':
          description: 'Voice cloning is not enabled for this account. It must be included in

            your plan, and your API key''s user needs access to it.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: forbidden
                error_description: You do not have permission to view Voice Cloning.
                code: feature_not_enabled
                request_id: req_9f2c1a4b7d3e
    post:
      tags:
      - Voice cloning
      operationId: createClonedVoice
      summary: Create a cloned voice
      description: 'Clone a voice from an audio sample. The sample must be Base64 encoded and

        1 KB to 25 MB. MP3, WAV and WebM are accepted; a non-audio body is

        refused.


        Creation is asynchronous. This call returns `202` at once with

        `status: processing`. Poll `GET /voices/{voice_id}` until `status` is

        `ready` or `failed`, then use the `voice_id` in an agent''s `voice` config with

        `voice.provider: cartesia`.


        You must send `consent: true`: you confirm you have the right to clone

        this voice. The attestation is recorded against the clone.


        Limits apply per user: 5 clones an hour, 20 a day, and 200 stored

        (processing plus ready). A request over a limit is refused with `429`.'
      x-codeSamples:
      - lang: bash
        label: cURL
        source: "# A real clip is too long for a command-line argument, so build the body in a file.\nbase64 < sample.mp3 | tr -d '\\n' \\\n  | jq -Rs '{name:\"Front desk\", clip:., consent:true}' > body.json\ncurl -X POST \"https://omnidim.io/api/v1/voices\" \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d @body.json\n"
      parameters:
      - in: header
        name: Idempotency-Key
        schema:
          type: string
        description: 'Optional. Send a unique value per clone; a retry with the same key

          and body returns the first clone instead of creating a second. Every

          clone costs money at the provider, so this makes a retry safe. Up to

          255 printable characters.

          '
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - clip
              - consent
              properties:
                name:
                  type: string
                  description: A name for the cloned voice, 1 to 100 characters.
                  example: Front desk
                clip:
                  type: string
                  description: Base64-encoded audio, 1 KB to 25 MB (MP3, WAV or WebM).
                filename:
                  type: string
                  description: Optional original filename, for your reference.
                  example: sample.mp3
                description:
                  type: string
                  description: Optional description.
                language:
                  type: string
                  description: A short language code for the voice. Defaults to `en`.
                  example: en
                gender:
                  type: string
                  enum:
                  - male
                  - female
                  default: female
                  description: The voice's gender. Defaults to `female`.
                consent:
                  type: boolean
                  description: 'Required and must be `true`: you confirm you have the right

                    to clone this voice.

                    '
                  example: true
      responses:
        '202':
          description: 'The clone was accepted and is being created. Poll the status until it

            is `ready` or `failed`.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  voice:
                    $ref: '#/components/schemas/ClonedVoice'
              example:
                voice:
                  id: 412
                  name: Front desk
                  description: null
                  language: en
                  gender: female
                  status: processing
                  voice_id: null
                  sample_url: null
                  error: null
                  created_at: '2026-10-12T15:18:07.424509'
                  ready_at: null
        '400':
          description: 'The body is invalid: missing `name`, `clip` or `consent`, a `clip`

            that is not valid Base64, not audio, too small or too large, a bad

            language code, or a bad gender. Also `invalid_idempotency_key` when

            the `Idempotency-Key` header is longer than 255 characters or has

            unprintable characters.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: invalid_request
                error_description: clip does not look like an audio file. Upload MP3, WAV or WebM.
                code: invalid_audio
                request_id: req_4a1e8c2d9f60
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: unauthorized
                error_description: Missing or invalid API key
                code: invalid_api_key
                request_id: req_6e2b9d4f1a38
        '403':
          description: 'Voice cloning is not enabled for this account. It must be included in

            your plan, and your API key''s user needs write access to it.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: forbidden
                error_description: You do not have permission to make changes to Voice Cloning.
                code: permission_denied
                request_id: req_7b3d5e1a0c94
        '409':
          description: 'The `Idempotency-Key` was already used with a different body.

            `code` is `idempotency_key_reused`.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: conflict
                error_description: This Idempotency-Key was already used with a different request. Use a new key for a new request.
                code: idempotency_key_reused
                request_id: req_8d1f4a7c2e59
        '429':
          description: 'A per-user limit was hit. `code` is `rate_limited` (5 an hour or 20 a

            day) or `stored_limit` (200 stored voices). A `Retry-After` header is

            sent on `rate_limited`.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: too_many_requests
                error_description: Too many voice clones were requested. Please wait and try again.
                code: rate_limited
                request_id: req_2c8f0d6b5a17
        '500':
          description: 'The clone could not be started. Nothing was created; safe to retry.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: server_error
                error_description: Could not start the voice clone. Please try again.
                code: clone_failed
                request_id: req_1e6b4a9c2d78
        '503':
          description: Voice cloning is temporarily unavailable. Try again shortly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: service_unavailable
                error_description: Voice cloning is temporarily unavailable.
                code: provider_unavailable
                request_id: req_3f7c0b5d8a21
  /voices/{voice_id}:
    get:
      tags:
      - Voice cloning
      operationId: getClonedVoice
      summary: Get a cloned voice
      description: One cloned voice, including its creation `status`.
      parameters:
      - $ref: '#/components/parameters/ClonedVoiceId'
      responses:
        '200':
          description: The cloned voice.
          content:
            application/json:
              schema:
                type: object
                properties:
                  voice:
                    $ref: '#/components/schemas/ClonedVoice'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: unauthorized
                error_description: Missing or invalid API key
                code: invalid_api_key
                request_id: req_6e2b9d4f1a38
        '403':
          description: Voice cloning is not enabled for this account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: forbidden
                error_description: You do not have permission to view Voice Cloning.
                code: feature_not_enabled
                request_id: req_9f2c1a4b7d3e
        '404':
          description: No such voice, or it belongs to another account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: not_found
                error_description: Voice not found.
                code: not_found
                request_id: req_0b5e7a2d9c14
    patch:
      tags:
      - Voice cloning
      operationId: updateClonedVoice
      summary: Update a cloned voice
      description: Change the name, description or gender of a cloned voice.
      parameters:
      - $ref: '#/components/parameters/ClonedVoiceId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 1 to 100 characters.
                description:
                  type: string
                gender:
                  type: string
                  enum:
                  - male
                  - female
      responses:
        '200':
          description: The updated voice.
          content:
            application/json:
              schema:
                type: object
                properties:
                  voice:
                    $ref: '#/components/schemas/ClonedVoice'
        '400':
          description: 'A field is invalid, or the body is not a JSON object (`code` is

            `invalid_json`).

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: invalid_request
                error_description: Request body must be a JSON object
                code: invalid_json
                request_id: req_4c8a1e6b3f20
        '403':
          description: Voice cloning is not enabled for this account, or the key's user cannot write it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
        '404':
          description: No such voice, or it belongs to another account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
    delete:
      tags:
      - Voice cloning
      operationId: deleteClonedVoice
      summary: Delete a cloned voice
      description: 'Delete a cloned voice and remove it from the provider. A voice that is

        still `processing` cannot be deleted.'
      parameters:
      - $ref: '#/components/parameters/ClonedVoiceId'
      responses:
        '200':
          description: The voice was deleted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  id:
                    type: integer
                  name:
                    type: string
              example:
                success: true
                id: 412
                name: Front desk
        '403':
          description: Voice cloning is not enabled for this account, or the key's user cannot delete it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
        '404':
          description: No such voice, or it belongs to another account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
        '409':
          description: The voice is still being created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: conflict
                error_description: This voice is still being created. Delete it once it is ready or failed.
                code: voice_processing
                request_id: req_7a3d9e0c5b16
  /voices/{voice_id}/sample:
    get:
      tags:
      - Voice cloning
      operationId: getClonedVoiceSample
      summary: Play a cloned voice sample
      description: 'Stream the generated mp3 sample of a cloned voice. Only the owner can

        fetch it. `404` (`sample_not_ready`) when no sample exists yet. The

        request needs your API key in the `Authorization` header.'
      parameters:
      - $ref: '#/components/parameters/ClonedVoiceId'
      responses:
        '200':
          description: The sample audio.
          content:
            audio/mpeg:
              schema:
                type: string
                format: binary
        '403':
          description: Voice cloning is not enabled for this account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
        '404':
          description: No such voice, it belongs to another account, or no sample exists yet.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: not_found
                error_description: Sample audio is not available yet.
                code: sample_not_ready
                request_id: req_2e9b6d1a8f43
        '502':
          description: The stored sample is unreadable. Regenerate it with `POST /voices/{voice_id}/sample`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: server_error
                error_description: The sample audio is unavailable. Try regenerating it.
                code: sample_unavailable
                request_id: req_5f0a3c7e2d81
    post:
      tags:
      - Voice cloning
      operationId: regenerateClonedVoiceSample
      summary: Regenerate a cloned voice sample
      description: Regenerate the sample audio for a `ready` voice.
      parameters:
      - $ref: '#/components/parameters/ClonedVoiceId'
      responses:
        '200':
          description: The voice, with a fresh sample.
          content:
            application/json:
              schema:
                type: object
                properties:
                  voice:
                    $ref: '#/components/schemas/ClonedVoice'
        '403':
          description: Voice cloning is not enabled for this account, or the key's user cannot write it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
        '404':
          description: No such voice, or it belongs to another account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
        '409':
          description: The voice is not ready yet.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: conflict
                error_description: This voice is not ready yet.
                code: voice_not_ready
                request_id: req_3b6e8f1d4a07
        '429':
          description: 'You regenerated too many samples. The limit is 10 an hour per user.

            Retry after the number of seconds in the `Retry-After` header (3600).

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: too_many_requests
                error_description: Too many sample regenerations. Please wait and try again.
                code: rate_limited
                request_id: req_9c2a5e7b0d36
        '502':
          description: The sample could not be regenerated. Try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: server_error
                error_description: Could not regenerate the sample. Please try again.
                code: sample_failed
                request_id: req_1d4f8a3e6c92
        '503':
          description: Voice cloning is temporarily unavailable. Try again shortly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionError'
              example:
                error: service_unavailable
                error_description: Voice cloning is temporarily unavailable.
                code: provider_unavailable
                request_id: req_3f7c0b5d8a21
components:
  parameters:
    ClonedVoiceId:
      in: path
      name: voice_id
      required: true
      schema:
        type: integer
      description: Id of the cloned voice.
  schemas:
    ClonedVoice:
      type: object
      description: 'A voice cloned from an audio sample. Created asynchronously: `status` is

        `processing` until the provider finishes, then `ready` or `failed`.

        `voice_id` is the provider id an agent uses, and is `null` until ready.

        '
      properties:
        id:
          type: integer
          example: 412
        name:
          type: string
          example: Front desk
        description:
          type: string
          nullable: true
        language:
          type: string
          example: en
        gender:
          type: string
          enum:
          - male
          - female
        status:
          type: string
          enum:
          - processing
          - ready
          - failed
        voice_id:
          type: string
          nullable: true
          description: 'The provider voice id. Put it in an agent''s `voice.voice_id` with

            `voice.provider: cartesia`. `null` until `status` is `ready`.

            '
          example: 8a1c2f5e-3b7d-4c9a-9f21-2e6b0d4a7c88
        sample_url:
          type: string
          nullable: true
          description: 'An mp3 preview of the cloned voice, when one exists. Fetching it

            needs your API key in the `Authorization: Bearer` header, so a

            browser `<audio>` tag cannot play it directly.

            '
        error:
          type: string
          nullable: true
          description: 'Present only when `status` is `failed`. Deliberately generic: no

            provider name and no internal detail.

            '
        created_at:
          type: string
          description: ISO 8601 time in UTC, with no offset.
          nullable: true
        ready_at:
          type: string
          description: ISO 8601 time in UTC, with no offset.
          nullable: true
    SessionError:
      type: object
      properties:
        error:
          type: string
          description: Machine-readable error code.
        error_description:
          type: string
          description: Human-readable explanation.
        code:
          type: string
          description: 'Stable, specific reason. Present on the newer endpoints (Voice

            cloning, WhatsApp); older endpoints return only `error`.

            '
        request_id:
          type: string
          description: 'Correlates this response with the server log. Present alongside

            `code`. Also sent as the `X-Request-Id` header.

            '
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Bearer token authentication. Obtain your API key from the

        OmniDimension dashboard.

        '