Beatra AI · Schema

VoiceCloneRequest

CompanyArtificial IntelligenceMulti-ModalGenerationSocial Data

Properties

Name Type Description
metadata object Caller-supplied metadata; ≤16 keys, key ≤64 chars, value ≤512 chars
callback_url object HTTPS URL beatra will POST the final Task envelope to when the Task reaches a terminal state
callback_signing_key_id object Optional standalone callback signing key. Omit for unsigned callback delivery; requires callback_url when provided.
model_options object Per-model-family passthrough options; opaque to the platform, validated per model
sample object Clean single-speaker voice sample (uploaded artifact or HTTPS URL), ~10s-5min
prompt object Optional short aligned excerpt (audio shorter than 8 seconds + its verbatim transcript) that the engine uses to raise clone similarity. Omit to clone from the main sample only.
display_name string
model string Clone engine. Omit unless the user explicitly asks for a specific clone engine; 'auto' (the default) lets the platform choose.
language object Optional BCP-47 language hint for the cloned voice
consent_attested boolean Caller asserts it has the rights to clone this voice. Recorded, not verified.
View JSON Schema on GitHub

JSON Schema

beatra-ai-voice-clone-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beatra-ai/json-schema/beatra-ai-voice-clone-request-schema.json",
  "title": "VoiceCloneRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beatra-ai-voices-api-openapi.yml#/components/schemas/VoiceCloneRequest",
  "properties": {
    "metadata": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata",
      "description": "Caller-supplied metadata; ≤16 keys, key ≤64 chars, value ≤512 chars"
    },
    "callback_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2048,
          "pattern": "^https://"
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback Url",
      "description": "HTTPS URL beatra will POST the final Task envelope to when the Task reaches a terminal state"
    },
    "callback_signing_key_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^whkey_[A-Za-z0-9]+$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback Signing Key Id",
      "description": "Optional standalone callback signing key. Omit for unsigned callback delivery; requires callback_url when provided."
    },
    "model_options": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model Options",
      "description": "Per-model-family passthrough options; opaque to the platform, validated per model"
    },
    "sample": {
      "oneOf": [
        {
          "$ref": "#/$defs/MediaInputUrl"
        },
        {
          "$ref": "#/$defs/MediaInputArtifact"
        },
        {
          "$ref": "#/$defs/MediaInputDataUri"
        }
      ],
      "title": "Sample",
      "description": "Clean single-speaker voice sample (uploaded artifact or HTTPS URL), ~10s-5min"
    },
    "prompt": {
      "anyOf": [
        {
          "$ref": "#/$defs/VoiceClonePrompt"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional short aligned excerpt (audio shorter than 8 seconds + its verbatim transcript) that the engine uses to raise clone similarity. Omit to clone from the main sample only."
    },
    "display_name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Display Name"
    },
    "model": {
      "type": "string",
      "enum": [
        "auto",
        "minimax-voice-clone",
        "doubao-voice-clone-2.0"
      ],
      "title": "Model",
      "description": "Clone engine. Omit unless the user explicitly asks for a specific clone engine; 'auto' (the default) lets the platform choose.",
      "default": "auto"
    },
    "language": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 32,
          "minLength": 2
        },
        {
          "type": "null"
        }
      ],
      "title": "Language",
      "description": "Optional BCP-47 language hint for the cloned voice"
    },
    "consent_attested": {
      "type": "boolean",
      "const": true,
      "title": "Consent Attested",
      "description": "Caller asserts it has the rights to clone this voice. Recorded, not verified."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "sample",
    "display_name",
    "consent_attested"
  ],
  "$defs": {
    "MediaInputArtifact": {
      "properties": {
        "type": {
          "type": "string",
          "const": "artifact",
          "title": "Type"
        },
        "artifact_id": {
          "type": "string",
          "title": "Artifact Id",
          "description": "ULID of a previously-uploaded artifact"
        }
      },
      "type": "object",
      "required": [
        "type",
        "artifact_id"
      ],
      "title": "MediaInputArtifact"
    },
    "MediaInputDataUri": {
      "properties": {
        "type": {
          "type": "string",
          "const": "data_uri",
          "title": "Type"
        },
        "data": {
          "type": "string",
          "maxLength": 262144,
          "title": "Data",
          "description": "Data URI (e.g. data:image/png;base64,...) — max 256KB encoded"
        }
      },
      "type": "object",
      "required": [
        "type",
        "data"
      ],
      "title": "MediaInputDataUri"
    },
    "MediaInputUrl": {
      "properties": {
        "type": {
          "type": "string",
          "const": "url",
          "title": "Type"
        },
        "url": {
          "type": "string",
          "title": "Url",
          "description": "HTTPS URL. External URLs are downloaded and re-hosted to beatra CDN."
        }
      },
      "type": "object",
      "required": [
        "type",
        "url"
      ],
      "title": "MediaInputUrl"
    },
    "VoiceClonePrompt": {
      "properties": {
        "sample": {
          "oneOf": [
            {
              "$ref": "#/$defs/MediaInputUrl"
            },
            {
              "$ref": "#/$defs/MediaInputArtifact"
            },
            {
              "$ref": "#/$defs/MediaInputDataUri"
            }
          ],
          "title": "Sample",
          "description": "Short clean excerpt of the same voice, shorter than 8 seconds (uploaded artifact or HTTPS URL)"
        },
        "text": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1,
          "title": "Text",
          "description": "Verbatim transcript of the prompt sample, character for character, ending with a punctuation mark"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "sample",
        "text"
      ],
      "title": "VoiceClonePrompt",
      "description": "Optional aligned quality sample that sharpens clone similarity."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/beatra-ai-voice-clone-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.