Skip to content
VelosyllOpen studio

Speech API

Create a project key in the studio console and set VELOSYLL_API_KEY in your environment. Speech operations use your workspace credits and project quota.

Read your project recordings
curl http://127.0.0.1:8464/v1/transcriptions \
  -H "Authorization: Bearer $VELOSYLL_API_KEY"

Download an SDK

Install the package in your own application. Each download comes from this Velosyll server.

Choose your first integration

API operation reference

143 HTTP operations and 3 WebSocket protocols. Download the OpenAPI schema (JSON)

Accounts (3)
  • POST /auth/password/request Request a recovery message

    Queue a password recovery message for a registered address. The single-use link expires after 30 minutes. Repeated requests reuse the active link. The response does not disclose whether an account exists.

    Authentication
    Public
    Request format
    application/json
    Responses
    202 Request accepted. The response is identical for known and unknown addresses. · 422 Invalid email address. · 429 Recovery rate limit reached.
  • POST /auth/password/reset Change a forgotten password

    Submit the token from the recovery email with a new password. Success confirms mailbox ownership, closes all existing sessions, and queues a password-change notification. Sign in again, including the configured second factor when requested.

    Authentication
    Public
    Request format
    application/json
    Responses
    200 Password changed. · 400 Invalid, used or expired token. · 422 Invalid fields, input or media. · 429 Recovery rate limit reached.
  • GET /console/email-previews/{id}/message.eml Download or view an email preview

    Open a safe workspace copy of a receipt, usage notice or invitation. Account verification and recovery messages are private, and invitation codes are omitted from workspace copies.

    Authentication
    Member session
    Parameters
    id (path, required) · format (query)
    Responses
    200 RFC 822 attachment by default, or inline HTML when format=html. · 401 Valid credentials required. · 403 Workspace owner required. · 404 Message unavailable.
Administration and billing (46)
  • POST /console/projects Project

    Requires a workspace owner session.

    Authentication
    Member session
    Request format
    application/json
    Responses
    201 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • POST /console/projects/{pid}/select Select
    Authentication
    Member session
    Parameters
    pid (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • POST /console/keys Create Key

    Requires a workspace owner session.

    Authentication
    Member session
    Request format
    application/json
    Responses
    201 Project key secret is shown once. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • DELETE /console/keys/{kid} Revoke

    Requires a workspace owner session.

    Authentication
    Member session
    Parameters
    kid (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • GET /console/email-previews List local billing receipt and invitation email previews

    Owner-only receipt, usage alert and invitation previews, with local delivery status. Personal recovery messages belong only to the private local mailbox.

    Authentication
    Member session
    Parameters
    before (query)
    Responses
    200 Newest messages first. A null cursor marks the end. · 401 Valid credentials required. · 403 Insufficient permission for this operation.
  • POST /console/invitations Invite

    Requires a workspace owner session.

    Authentication
    Member session
    Request format
    application/json
    Responses
    201 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • POST /console/invitations/{token}/accept Accept
    Authentication
    Member session
    Parameters
    token (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • PUT /console/quota Quota

    Requires a workspace owner session.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • GET /console/workspace-settings Read workspace settings and project storage

    A member session can read current project media counts and bytes. Owners also receive workspace and project alert preferences, settled usage in the current UTC month, and local email previews.

    Authentication
    Member session
    Responses
    200 Settings for the active project. · 401 Valid credentials required. · 403 Insufficient permission for this operation.
  • PUT /console/workspace-settings/alerts Set a monthly credit alert

    Requires a workspace owner session. Set threshold to null to disable. An enabled rule requires a recipient address. One local preview can be recorded per scope and UTC usage month, including when the owner sets an already-reached threshold. The local service stores the preview on this computer.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Saved preferences, usage, and local inbox. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 409 Active project changed. Reload settings before saving. · 422 Invalid fields, input or media.
  • PUT /console/billing/contact Save the billing contact

    Requires a workspace owner session. Saves the local billing contact for the workspace.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Saved contact. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • PUT /console/billing/payment-method Save or remove the local test payment method

    Requires a workspace owner session. Pass a local fixture ID to save a test card, or set enabled to false to remove it.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Whether the test method is saved. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 409 Manage payment methods through the hosted Stripe portal for this workspace. · 422 Invalid fields, input or media.
  • POST /console/billing/checkout Checkout

    Requires a workspace owner session in local_sandbox mode. Standard development workspaces simulate purchases in a separate preview wallet. Operating credits are granted only to operator-enabled test workspaces. Reusing the request ID for the same successful offer and instrument returns the original receipt. The field card_fixture is required when method is explicitly card. Wallet methods omit card_fixture.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Successful Response · 401 Valid credentials required. · 402 Simulated payment declined. · 403 Insufficient permission for this operation. · 409 A subscription is active, the request ID belongs to a different offer or payment instrument, or this workspace uses hosted checkout. · 422 Invalid fields, input or media.
  • POST /console/billing/cancel Cancel

    Requires a workspace owner session. Schedules cancellation at the end of the local wallet’s current subscription period.

    Authentication
    Member session
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 409 There is no active local subscription, or cancellation must be requested through the hosted billing portal.
  • GET /console Console

    Returns the selected project and workspace, operating balance, billing wallet, plan and recent activity. billing_preview identifies the separate local preview wallet. Owner-only invoice and credit activity lists are empty for members. The optional local test card and billing contact are visible to owners. metering_rates gives the processing units applied to purchases of either credit offer.

    Authentication
    Member session
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation.
  • GET /public/billing/wompi/prices View current Colombian peso prices

    New purchases use the daily TRM certified by Colombia’s Superintendencia Financiera. An existing subscription keeps the amount authorized at signup. The payable amount is rounded to the nearest whole peso and expressed in centavos. This read does not reserve a price or create an order.

    Authentication
    Public
    Responses
    200 Current rate and converted offer prices. · 503 The official rate for today could not be verified.
  • POST /console/wompi/quote Reserve the peso amount for one purchase

    Requires a workspace owner with Wompi enabled. Use a unique request_id per intended purchase. Retrying it within the same workspace for the same pending offer returns the original quote until expiry. Quotes expire after 30 minutes or at midnight in Colombia, whichever comes first. Review a fresh quote before submitting a new purchase. A Studio enrollment uses this quote to fix the monthly COP amount until cancellation. A credit pack is a one-time purchase.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Reserved price and order ID. · 401 Valid credentials required. · 403 Requires the owner of a Wompi-enabled workspace. · 409 The request ID refers to a closed quote, a different offer or a different environment. · 422 Invalid fields, input or media. · 503 The official rate for today could not be verified.
  • POST /console/wompi/checkout Open Wompi checkout for a reviewed quote

    Send a reviewed credit pack quote ID. The server signs the stored order reference, COP amount and expiration. Retrying a pending quote returns a URL for the same order. Payment details are entered on Wompi.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Hosted checkout URL. · 401 Valid credentials required. · 403 Requires the owner of a Wompi-enabled workspace. · 404 Quote not found in this workspace and environment. · 409 The quote has closed or an active subscription conflicts with the purchase. · 422 Invalid fields, input or media.
  • GET /console/wompi/enrollment Get the Wompi enrollment documents

    Show both documents before the owner authorizes a monthly payment.

    Authentication
    Member session
    Responses
    200 Wompi public key and current merchant consent documents. · 401 Valid credentials required. · 403 Requires the owner of a Wompi-enabled workspace.
  • GET /console/wompi/card-frame Open hosted card setup

    Embed this page in the workspace checkout for the owner to enter the card directly on Wompi.

    Authentication
    Member session
    Responses
    200 Card setup frame. · 401 Valid credentials required. · 403 Requires the owner of a Wompi-enabled workspace.
  • GET /console/wompi/subscription View the workspace Wompi subscription

    Returns the accepted COP amount and original signup rate even when daily quotes change.

    Authentication
    Member session
    Responses
    200 Subscription state for the workspace. · 401 Valid credentials required. · 403 Requires the owner of a Wompi-enabled workspace.
  • POST /console/wompi/subscription Authorize a fixed monthly Studio charge

    Use a current Studio quote, affirmative consent to the monthly amount, the card token and both Wompi acceptance tokens. The worker collects the authorized COP amount until canceled. A pending transaction grants credits only after approval.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Subscription state for the workspace. · 401 Valid credentials required. · 403 Requires the owner of a Wompi-enabled workspace. · 409 The operation conflicts with the current quote, subscription or payment.
  • POST /console/wompi/subscription/cancel Cancel Wompi automatic renewal

    Stops future debits. A payment already submitted can still settle. Paid time is preserved.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Subscription state for the workspace. · 401 Valid credentials required. · 403 Requires the owner of a Wompi-enabled workspace. · 409 The operation conflicts with the current quote, subscription or payment.
  • POST /console/wompi/subscription/reconcile Check an unresolved subscription charge

    Read the canonical Wompi transaction and apply it to its matching workspace and subscription. This operation cannot initiate a debit.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Subscription state for the workspace. · 401 Valid credentials required. · 403 Requires the owner of a Wompi-enabled workspace. · 409 The operation conflicts with the current quote, subscription or payment.
  • GET /console/wompi/return/{orderId} Return the buyer from Wompi to their workspace

    A browser redirect to the order screen. When Wompi supplies a valid transaction ID, the redirect passes it as a hint for server-side verification. A redirect alone does not grant credits.

    Authentication
    Public
    Parameters
    orderId (path, required) · id (query)
    Responses
    303 Continue to the studio order status screen. · 422 Invalid fields, input or media.
  • GET /console/wompi/orders/{orderId} Read a Wompi order and its local receipt

    The owner may poll a pending order. The optional transaction ID from the hosted return or the local sandbox payment result lets Velosyll reconcile the amount, currency and order reference against the provider before fulfilling a payment.

    Authentication
    Member session
    Parameters
    orderId (path, required) · transaction_id (query)
    Responses
    200 Current workspace order. · 401 Valid credentials required. · 403 Requires the owner of a Wompi-enabled workspace. · 404 Order not found in this workspace and environment. · 409 The provider transaction does not match the order. · 422 Invalid fields, input or media. · 503 Wompi could not confirm the transaction.
  • POST /console/wompi/webhook Receive signed Wompi payment updates

    Provider callback authenticated by a Wompi event checksum supplied in the header or signature.checksum. The environment must match the configured merchant. For transaction.updated, the signed fields must include transaction.id. Provider retries reconcile the canonical transaction without crediting a purchase twice.

    Authentication
    Public
    Parameters
    X-Event-Checksum (header)
    Request format
    application/json
    Responses
    200 Acknowledged. · 400 Event signature or environment rejected. · 403 Wompi billing is disabled. · 409 Payment conflicts with the stored order. · 422 Invalid fields, input or media. · 503 Payment status could not yet be verified. The event can be retried.
  • POST /console/creem/checkout Open a Creem test card checkout in USD
    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Hosted test checkout. · 403 Requires an owner in an enabled development workspace. · 409 Order or subscription conflict. · 502 Could not establish a matching fixed-price checkout.
  • GET /console/creem/orders/{orderId} Read a Creem test order belonging to the current workspace
    Authentication
    Member session
    Parameters
    orderId (path, required)
    Responses
    200 Order status and local purchase record. · 404 No matching order.
  • POST /console/creem/webhook Receive a signed Creem test billing event
    Authentication
    Public
    Parameters
    creem-signature (header, required)
    Request format
    application/json
    Responses
    200 Event received. · 400 Invalid event, amount or signature. · 503 Dependent checkout event has not arrived yet.
  • POST /console/stripe/checkout Start hosted Stripe Checkout

    Requires a workspace owner session and a hosted billing mode. Send a new request_id for each purchase and reuse it when retrying that purchase. The returned URL opens Stripe Checkout. Apple Pay and Google Pay use card-mode Checkout on eligible devices. PayPal requires a merchant account with PayPal enabled. Credit packs settle on a paid Checkout event and Studio credits settle on paid subscription invoices.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 409 Order conflict or requested method unavailable. · 422 Invalid fields, input or media. · 502 Stripe Checkout could not start or the session environment did not match the configuration.
  • GET /console/stripe/orders/{orderId} Read hosted checkout status

    Read the payment state recorded for an order in the current workspace. New hosted checkout success URLs include this order ID. A pending response can be polled without initiating another charge. A paid response includes the receipt for the credit pack or initial subscription invoice.

    Authentication
    Member session
    Parameters
    orderId (path, required)
    Responses
    200 Workspace order status. · 401 Valid credentials required. · 403 A workspace owner session is required. · 404 No matching order in this workspace and billing environment.
  • GET /console/billing/invoices/{id}/pdf Download the payment receipt as a PDF

    Use the invoice ID returned for a settled purchase or listed in the console. The owner can download receipts for the current workspace, wallet and billing environment.

    Authentication
    Member session
    Parameters
    id (path, required)
    Responses
    200 PDF receipt attachment. · 401 Valid credentials required. · 403 Workspace owner session required. · 404 No matching invoice in this workspace and billing environment.
  • POST /console/stripe/portal Open the hosted Stripe billing portal

    Requires a workspace owner session and a hosted billing mode. Creates the workspace customer on first use and returns a short-lived Stripe portal URL. The owner can add a payment method before making a purchase and manage subscriptions according to the merchant’s portal configuration.

    Authentication
    Member session
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 502 The processor could not create the billing customer or open its portal.
  • GET /console/organization/keys Org Keys

    Requires a workspace owner session.

    Authentication
    Member session
    Responses
    200 Successful response. · 401 Valid credentials required. · 403 Insufficient permission for this operation.
  • POST /console/organization/keys Create Org Key

    A workspace owner issues an organization credential. organization:read is the default and permits reporting. project-keys:manage also permits project-key creation and revocation for projects in this workspace.

    Authentication
    Member session
    Request format
    application/json
    Responses
    201 Issued organization credential, shown once. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • DELETE /console/organization/keys/{kid} Revoke Org Key

    Requires a workspace owner session.

    Authentication
    Member session
    Parameters
    kid (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • PUT /console/organization/budget Set Budget

    Requires a workspace owner session.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • PUT /console/project Rename Project

    Requires a workspace owner session.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • PUT /console/organization Rename Org

    Requires a workspace owner session.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • PUT /console/members Member Role

    Requires a workspace owner session.

    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • DELETE /console/members/{email} Remove Member

    Requires a workspace owner session.

    Authentication
    Member session
    Parameters
    email (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • GET /console/webhooks Hooks

    Requires a workspace owner session.

    Authentication
    Member session
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation.
  • POST /console/webhooks Register

    Requires a workspace owner session.

    Authentication
    Member session
    Request format
    application/json
    Responses
    201 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • DELETE /console/webhooks/{hid} Revoke

    Requires a workspace owner session.

    Authentication
    Member session
    Parameters
    hid (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • POST /console/stripe/webhook Accept a signed Stripe billing event

    Requires the configured Stripe webhook signing secret, the matching live/test event environment and a signature over the original JSON bytes. Processes checkout.session.completed, checkout.session.async_payment_succeeded, checkout.session.async_payment_failed, checkout.session.expired, invoice.paid, invoice.payment_failed, customer.subscription.updated and customer.subscription.deleted. Retries of an already-settled payment keep its existing credit grant. Limit 1 MiB.

    Authentication
    Stripe signature
    Request format
    application/json
    Responses
    200 Successful response · 400 The raw event or signature is invalid. · 413 The raw webhook body exceeds 1 MiB. · 503 A local inference component or configured provider is unavailable.
Authentication (10)
  • POST /console/account/mfa/disable Disable two-step verification and revoke other sessions
    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Account security result · 401 Session, current password or verification code not accepted. · 403 A signed-in member is required. · 409 The state of two-step verification has changed or this session’s enrollment expired. · 422 Invalid fields, input or media. · 429 Account security rate limit reached.
  • POST /console/account/mfa/recovery-codes Replace all recovery codes
    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Account security result · 401 Session, current password or verification code not accepted. · 403 A signed-in member is required. · 409 The state of two-step verification has changed or this session’s enrollment expired. · 422 Invalid fields, input or media. · 429 Account security rate limit reached.
  • POST /console/account/mfa/enable Activate the authenticator and revoke other sessions
    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Account security result · 401 Session, current password or verification code not accepted. · 403 A signed-in member is required. · 409 The state of two-step verification has changed or this session’s enrollment expired. · 422 Invalid fields, input or media. · 429 Account security rate limit reached.
  • POST /console/account/mfa/setup Begin local authenticator setup with the current password
    Authentication
    Member session
    Request format
    application/json
    Responses
    200 Account security result · 401 Session, current password or verification code not accepted. · 403 A signed-in member is required. · 409 The state of two-step verification has changed or this session’s enrollment expired. · 422 Invalid fields, input or media. · 429 Account security rate limit reached.
  • GET /console/account/mfa Read personal two-step verification status
    Authentication
    Member session
    Responses
    200 Account security result · 401 Session, current password or verification code not accepted. · 403 A signed-in member is required.
  • POST /auth/signup Register a workspace owner

    Create an account, a workspace and its first project with zero credits. The server queues a six-digit email verification code valid for ten minutes. Verify the mailbox, then sign in. Processing requires purchased credits.

    Authentication
    Public
    Request format
    application/json
    Responses
    201 Account created. Email verification is required before the server issues a session. · 409 An account already uses the address. · 422 Invalid fields, input or media. · 429 Too many registrations. Retry-After is a delay in seconds.
  • POST /auth/email/resend Resend the email verification code

    Request another copy of the active verification code. An unverified account is eligible again 60 seconds after its previous delivery. A new code is created when the previous one has expired.

    Authentication
    Public
    Request format
    application/json
    Responses
    202 Request accepted. The response is identical for known and unknown addresses. · 422 Invalid fields, input or media. · 429 Too many verification requests.
  • POST /auth/email/verify Verify the account email address

    Submit the email, six-digit verification code and current account password. Previously issued verification links accept their original token and password. The client can then call /auth/login to start a session.

    Authentication
    Public
    Request format
    application/json
    Responses
    200 Email verified. · 400 Incorrect password or invalid, expired or already used token. · 422 Invalid fields, input or media. · 429 Too many verification or credential attempts.
  • POST /auth/login Login
    Authentication
    Public
    Request format
    application/json
    Responses
    200 Authenticated session established for the returned project. · 202 Another step is required. For verification_required, verify the email and sign in again. For mfa_required, repeat the login with factor. · 401 Credentials or second factor not accepted. · 422 Invalid fields, input or media. · 429 Too many sign-in attempts. Retry-After is a delay in seconds.
  • POST /auth/logout Logout
    Authentication
    Public
    Responses
    200 Successful response · 422 Invalid fields, input or media.
Custom voices (4)
  • GET /v1/voices/{voice_id} Read project voice metadata

    Returns grant metadata, rights and state. Available only in the local voice workspace. The private reference waveform and consent recording are excluded.

    Authentication
    Project API key or Member session
    Parameters
    voice_id (path, required)
    Responses
    200 Read project voice metadata. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project.
  • GET /v1/voices/count Count active and pending project voice grants

    Returns the count for the authenticated project. The local custom-voice workspace must be enabled; pending/active status is refreshed before counting.

    Authentication
    Project API key or Member session
    Responses
    200 Count active and pending project voice grants. · 401 Valid credentials required. · 403 Insufficient permission for this operation.
  • POST /v1/voices/{voice_id}/preview Regenerate a project voice preview

    A signed-in project member can synthesize and save a fixed English preview for an active grant on the local voice workspace. This consumes custom-speech credits. The grant is checked again before the preview is committed.

    Authentication
    Member session
    Parameters
    voice_id (path, required)
    Responses
    200 Regenerate a project voice preview. · 401 Valid credentials required. · 402 Insufficient credit balance. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 429 The project or installation reached a usage limit. · 503 A local inference component or configured provider is unavailable.
  • GET /v1/voices/{voice_id}/preview Retrieve the saved project voice preview

    Reads the stored WAV for an active, unexpired grant. Generate a preview first. Revocation and expiry clear stored preview audio.

    Authentication
    Project API key or Member session
    Parameters
    voice_id (path, required)
    Responses
    200 Saved mono WAV preview. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project.
Files (1)
  • GET /v1/files/count Count reusable input files

    Returns the count for the authenticated project.

    Authentication
    Project API key or Member session
    Responses
    200 Count reusable input files. · 401 Valid credentials required.
Language tools (5)
  • POST /v1/translate Translate

    Translates up to 6,000 characters locally. Automatic quality selects a model by the source and target languages. Balanced and thorough are explicit choices. The response contains the translation and language codes. Source and target may match.

    Authentication
    Project API key or Member session
    Request format
    application/json
    Responses
    200 Successful response · 401 Valid credentials required. · 402 Insufficient credit balance. · 422 Invalid fields, input or media. · 429 The project or installation reached a usage limit. · 503 A local inference component or configured provider is unavailable.
  • POST /v1/speech Speech

    Choose a stock voice and its supported speed and style from /v1/capabilities. A project voice ID accepts up to 500 characters using the default delivery. Granted voices accept the 60 codes in /v1/voices/terms. VoxCPM2 conditions synthesis directly on the granted reference in 27 languages. In the other 33, OpenVoice V2 transfers its timbre to locally synthesized target-language speech. Native-speaker assessments of speaker similarity have not been performed.

    Authentication
    Project API key or Member session
    Request format
    application/json
    Responses
    200 Generated downloadable speech. Headerless PCM is 24 kHz, mono, signed 16-bit little endian. Ogg carries Opus and AAC uses ADTS. · 401 Valid credentials required. · 402 Insufficient credit balance. · 422 Invalid fields, input or media. · 429 The project or installation reached a usage limit. · 503 A local inference component or configured provider is unavailable.
  • POST /v1/notes Notes

    Produces source-grounded notes and exact evidence spans. Summary returns text; actions, key points, quotations and entities return lists. Quotes and entities are pattern-based. The source language and task select direct inference, a local translation step or lexical ranking. Speaker summaries and translation are separate recording-analysis presets.

    Authentication
    Project API key or Member session
    Request format
    application/json
    Responses
    200 Successful response. · 401 Valid credentials required. · 402 Insufficient credit balance. · 422 Invalid fields, input or media. · 429 The project or installation reached a usage limit. · 503 A local inference component or configured provider is unavailable.
  • GET /v1/stock-voices List installed stock voice presets

    Returns one row per language and preset for the installed engines. Optional filters match the language code, engine identifier and voice gender exactly. An empty match returns an empty list. Only applicable controls appear on each preset.

    Authentication
    Public
    Parameters
    language (query) · gender (query) · engine (query)
    Responses
    200 List installed stock voice presets. · 422 Invalid fields, input or media. · 503 A local inference component or configured provider is unavailable.
  • POST /v1/speech/sequence Generate a combined WAV from multiple languages and stock voices

    Up to 12 phrases, 2000 total Unicode code points and 180 output seconds. A project bearer token or an authenticated session is required. One speech reservation charges the combined text of all lines.

    Authentication
    Project API key or Member session
    Request format
    application/json
    Responses
    200 Sample-accurate phrase boundaries use start-inclusive/end-exclusive output WAV frame indices at 24 kHz. Optional word seconds are ASR estimates. Missing or unsegmented words carry null seconds. · 401 Valid credentials required. · 402 Insufficient credit balance. · 422 Invalid fields, input or media. · 429 The project or installation reached a usage limit. · 503 A local inference component or configured provider is unavailable.
Observability (5)
  • GET /v1/concurrency Current project concurrency

    Authenticated sockets admitted to the project, including sockets initializing their model. Multiplexed synthesis counts once per connection.

    Authentication
    Project API key or Member session
    Responses
    200 Current project concurrency. · 401 Valid credentials required.
  • GET /v1/concurrency/history Project concurrency history

    Latest first. Each event reports the active socket count after its transition. Restart recovery closes an interrupted stream at its last observed timestamp. Default window is one day, maximum 31 days. Reuse start and end when paging.

    Authentication
    Project API key or Member session
    Parameters
    start (query) · end (query) · before (query) · limit (query)
    Responses
    200 Project concurrency history. · 401 Valid credentials required. · 422 Invalid fields, input or media.
  • GET /v1/usage/daily Daily project usage

    Days and metering operations with activity in the requested interval. Default window is 30 days, maximum 366 days. A request counts once across its current ledger status.

    Authentication
    Project API key or Member session
    Parameters
    start (query) · end (query)
    Responses
    200 Daily project usage. · 401 Valid credentials required. · 422 Invalid fields, input or media.
  • GET /v1/organization/usage/monthly Monthly organization usage and quotas

    Workspace owner or organization reporting key. Projects include zero-usage entries. Remaining headroom subtracts settled and reserved units from current configured limits. A null organization ceiling means no configured cap.

    Authentication
    Organization key or Member session
    Parameters
    month (query)
    Responses
    200 Monthly organization usage and quotas. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • GET /v1/organization/limits Organization and project limits

    Current monthly organization credit ceiling, tenant project quotas and shared local installation stream limits. A null monthly_limit means no organization ceiling is configured.

    Authentication
    Organization key or Member session
    Responses
    200 Current configured limits. · 401 Valid credentials required. · 403 Insufficient permission for this operation.
Organizations (3)
  • GET /v1/organization/projects/{pid}/keys List project keys within the organization

    A workspace owner or an organization credential with either scope may read project-key metadata. Plaintext credentials are only returned at issuance.

    Authentication
    Organization key or Member session
    Parameters
    pid (path, required)
    Responses
    200 List project keys within the organization. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project.
  • POST /v1/organization/projects/{pid}/keys Issue a key for an organization project

    Requires an owner session or a project-keys:manage organization credential. The optional lifetime is 30–86,400 seconds.

    Authentication
    Organization key or Member session
    Parameters
    pid (path, required)
    Request format
    application/json
    Responses
    201 Issue a key for an organization project. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • DELETE /v1/organization/projects/{pid}/keys/{kid} Revoke an organization project key

    Requires an owner session or a project-keys:manage organization credential. Revocation prevents dependent temporary keys from opening new streams.

    Authentication
    Organization key or Member session
    Parameters
    pid (path, required) · kid (path, required)
    Responses
    200 Revoke an organization project key. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project.
Public examples (1)
  • POST /demo/examples/{language} Play a prepared transcription example

    Returns prerecorded audio for the selected example. The request must originate on the site. The browser and network playback allowance applies. This endpoint accepts no customer content and runs no model.

    Authentication
    Public
    Parameters
    language (path, required) · Origin (header, required)
    Responses
    200 The original audio for the fixed example. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 429 Playback allowance reached. Retry-After indicates the wait in seconds.
Recordings and files (33)
  • POST /v1/transcriptions Transcribe File
    Authentication
    Project API key or Member session
    Request format
    multipart/form-data
    Responses
    202 Queued for local processing · 401 Valid credentials required. · 402 At least one available workspace credit is required for new media work. · 413 The supplied data exceeds the transfer limit. · 422 Invalid fields, input or media. · 429 A workspace storage, transfer, daily intake, pending-job or monthly recording limit was reached. Inspect GET /v1/limits.
  • GET /v1/transcriptions Recordings
    Authentication
    Project API key or Member session
    Parameters
    limit (query) · offset (query)
    Responses
    200 Successful response · 401 Valid credentials required. · 422 Invalid fields, input or media.
  • POST /v1/transcriptions/url Url Import
    Authentication
    Project API key or Member session
    Request format
    application/json
    Responses
    202 Queued for local processing · 401 Valid credentials required. · 402 At least one available workspace credit is required for new media work. · 413 The supplied data exceeds the transfer limit. · 422 Invalid fields, input or media. · 429 A workspace storage, transfer, daily intake, pending-job or monthly recording limit was reached. Inspect GET /v1/limits.
  • GET /v1/uploads List unfinished uploads

    Lists partial uploads in the authenticated project, including the number of bytes stored.

    Authentication
    Project API key or Member session
    Responses
    200 Successful response · 401 Valid credentials required.
  • POST /v1/uploads Begin Upload
    Authentication
    Project API key or Member session
    Request format
    application/json
    Responses
    201 Successful response · 401 Valid credentials required. · 402 At least one available workspace credit is required for new media work. · 422 Invalid fields, input or media. · 429 A workspace storage, transfer, daily intake, pending-job or monthly recording limit was reached. Inspect GET /v1/limits.
  • GET /v1/uploads/{uid} Upload State
    Authentication
    Project API key or Member session
    Parameters
    uid (path, required)
    Responses
    200 Successful response · 401 Valid credentials required. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • PATCH /v1/uploads/{uid} Append Upload
    Authentication
    Project API key or Member session
    Parameters
    uid (path, required) · upload-offset (header, required)
    Request format
    application/octet-stream
    Responses
    200 Successful response · 401 Valid credentials required. · 402 At least one available workspace credit is required for new media work. · 404 The requested resource is absent or unavailable to this project. · 409 The resource state, revision, upload offset or local processing capacity conflicts with this operation. · 413 The supplied data exceeds the transfer limit. · 422 Invalid fields, input or media. · 429 A workspace storage, transfer, daily intake, pending-job or monthly recording limit was reached. Inspect GET /v1/limits.
  • DELETE /v1/uploads/{uid} Remove Upload
    Authentication
    Project API key or Member session
    Parameters
    uid (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • POST /v1/uploads/{uid}/finish Finish Upload
    Authentication
    Project API key or Member session
    Parameters
    uid (path, required)
    Request format
    application/json
    Responses
    202 Queued for local processing · 401 Valid credentials required. · 402 At least one available workspace credit is required for media admission. Repeating finish on an existing job returns its original ID. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media. · 429 A workspace storage, transfer, daily intake, pending-job or monthly recording limit was reached. Inspect GET /v1/limits.
  • GET /v1/transcriptions/{jid}/source Download recording source

    Downloads the source of a saved recording in the authenticated project. Finished live recordings use WAV.

    Authentication
    Project API key or Member session
    Parameters
    jid (path, required)
    Responses
    200 Successful response · 206 Byte range of the file. · 401 Valid credentials required. · 404 The file is unavailable in this project.
  • GET /v1/transcriptions/{jid} Recording
    Authentication
    Project API key or Member session
    Parameters
    jid (path, required)
    Responses
    200 Successful response · 401 Valid credentials required. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • PATCH /v1/transcriptions/{jid} Edit
    Authentication
    Member session
    Parameters
    jid (path, required)
    Request format
    application/json
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 409 The resource state, revision, upload offset or local processing capacity conflicts with this operation. · 422 Invalid fields, input or media.
  • DELETE /v1/transcriptions/{jid} Remove Recording
    Authentication
    Project API key or Member session
    Parameters
    jid (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • GET /v1/transcriptions/{jid}/audio Audio
    Authentication
    Project API key or Member session
    Parameters
    jid (path, required)
    Responses
    200 Mono WAV audio. · 206 A satisfiable byte range of the WAV file. · 401 Valid credentials required. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • GET /v1/transcriptions/{jid}/versions Versions
    Authentication
    Member session
    Parameters
    jid (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • POST /v1/transcriptions/{jid}/share Share
    Authentication
    Member session
    Parameters
    jid (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • DELETE /v1/transcriptions/{jid}/share Unshare
    Authentication
    Member session
    Parameters
    jid (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • GET /v1/shared/{token} Public Transcript
    Authentication
    Public
    Parameters
    token (path, required)
    Responses
    200 Successful Response · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • GET /v1/transcriptions/{jid}/export Export
    Authentication
    Project API key or Member session
    Parameters
    jid (path, required) · format (query) · original (query)
    Responses
    200 Attachment in the selected format. · 401 Valid credentials required. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • GET /v1/files Files
    Authentication
    Project API key or Member session
    Responses
    200 Successful Response · 401 Valid credentials required.
  • POST /v1/files Store File
    Authentication
    Project API key or Member session
    Request format
    multipart/form-data
    Responses
    201 Successful response · 401 Valid credentials required. · 402 At least one available workspace credit is required for new media work. · 413 The supplied data exceeds the transfer limit. · 422 Invalid fields, input or media. · 429 A workspace storage, transfer, daily intake, pending-job or monthly recording limit was reached. Inspect GET /v1/limits.
  • GET /v1/files/{fid}/content Download a reusable file

    Downloads the original file from the authenticated project as an attachment.

    Authentication
    Project API key or Member session
    Parameters
    fid (path, required)
    Responses
    200 Successful response · 206 Byte range of the file. · 401 Valid credentials required. · 404 The file is unavailable in this project.
  • GET /v1/files/{fid} File Info
    Authentication
    Project API key or Member session
    Parameters
    fid (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • DELETE /v1/files/{fid} Delete File
    Authentication
    Project API key or Member session
    Parameters
    fid (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • POST /v1/files/{fid}/transcribe Reuse
    Authentication
    Project API key or Member session
    Parameters
    fid (path, required)
    Request format
    application/json
    Responses
    202 Queued for local processing · 401 Valid credentials required. · 402 At least one available workspace credit is required for new media work. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media. · 429 A workspace storage, transfer, daily intake, pending-job or monthly recording limit was reached. Inspect GET /v1/limits.
  • POST /v1/transcriptions/{jid}/rerun Rerun
    Authentication
    Project API key or Member session
    Parameters
    jid (path, required)
    Request format
    application/json
    Responses
    202 Queued for local processing · 401 Valid credentials required. · 402 At least one available workspace credit is required for new media work. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media. · 429 A workspace storage, transfer, daily intake, pending-job or monthly recording limit was reached. Inspect GET /v1/limits.
  • PUT /v1/transcriptions/{jid}/metadata Metadata
    Authentication
    Member session
    Parameters
    jid (path, required)
    Request format
    application/json
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 409 The resource state, revision, upload offset or local processing capacity conflicts with this operation. · 422 Invalid fields, input or media.
  • GET /v1/transcriptions/{jid}/metadata Read recording metadata
    Authentication
    Project API key or Member session
    Parameters
    jid (path, required)
    Responses
    200 Successful response · 401 Valid credentials required. · 404 The requested resource is absent or unavailable to this project.
  • GET /v1/library Search
    Authentication
    Project API key or Member session
    Parameters
    q (query) · folder (query) · tag (query)
    Responses
    200 Successful Response · 401 Valid credentials required. · 422 Invalid fields, input or media.
  • GET /v1/transcriptions/{jid}/speakers Speakers
    Authentication
    Project API key or Member session
    Parameters
    jid (path, required)
    Responses
    200 Successful Response · 401 Valid credentials required. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • PUT /v1/transcriptions/{jid}/speakers/{label} Name Speaker
    Authentication
    Member session
    Parameters
    jid (path, required) · label (path, required)
    Request format
    application/json
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 409 The resource state, revision, upload offset or local processing capacity conflicts with this operation. · 422 Invalid fields, input or media.
  • GET /v1/transcriptions/{jid}/analysis History
    Authentication
    Member session
    Parameters
    jid (path, required)
    Responses
    200 Successful response. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • POST /v1/transcriptions/{jid}/analysis Analyze

    Requires a signed-in member and the current completed recording revision. The recording, revision, task, source, target and quality together identify a reusable result. speaker_summaries requires attributable acoustic labels. Translations require a target. Summaries, quotes, entities, actions and key points retain source evidence. Translations accept auto, balanced or thorough. Auto selects a model for each segment using its source and the requested target. An explicit source applies to every segment. Omitting quality reuses balanced results. Other tasks accept only balanced.

    Authentication
    Member session
    Parameters
    jid (path, required)
    Request format
    application/json
    Responses
    200 Successful response. · 401 Valid credentials required. · 402 Insufficient credit balance. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 409 The resource state, revision, upload offset or local processing capacity conflicts with this operation. · 422 Invalid fields, input or media. · 429 The project or installation reached a usage limit. · 503 A local inference component or configured provider is unavailable.
Service and reporting (15)
  • GET /v1/capabilities Capabilities

    JSON capabilities for this installation. Recognition lists supported language codes, and language_tools provides available translation directions by language, available voices, per-preset controls and source-note presets. Quality measurements are supplied by /v1/evidence.

    Authentication
    Public
    Responses
    200 Successful response
  • GET /v1/organization Org

    Requires a workspace owner session or an organization reporting key.

    Authentication
    Organization key or Member session
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation.
  • GET /v1/organization/projects Projects

    Requires a workspace owner session or an organization reporting key.

    Authentication
    Organization key or Member session
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation.
  • GET /v1/organization/balance Balance

    Requires a workspace owner session or an organization reporting key.

    Authentication
    Organization key or Member session
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation.
  • GET /v1/organization/usage Aggregate

    Requires a workspace owner session or an organization reporting key.

    Authentication
    Organization key or Member session
    Parameters
    start (query) · end (query)
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • GET /v1/organization/invoices Invoice Rows

    Requires a workspace owner session or an organization reporting key.

    Authentication
    Organization key or Member session
    Responses
    200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation.
  • GET /v1/organization/export Export Csv

    Requires a workspace owner session or an organization reporting key.

    Authentication
    Organization key or Member session
    Parameters
    start (query) · end (query)
    Responses
    200 Usage CSV attachment. · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • GET /v1/usage List recent project processing requests
    Authentication
    Project API key or Member session
    Parameters
    limit (query) · offset (query)
    Responses
    200 Processing requests for the selected project, newest first. · 401 Valid credentials required. · 422 Invalid fields, input or media.
  • GET /v1/limits Limits
    Authentication
    Project API key or Member session
    Responses
    200 Current project quota, credit ceiling, processing rates and installation capacities, including the idle time limit on live input. · 401 Valid credentials required.
  • GET /v1/models Models
    Authentication
    Public
    Responses
    200 Successful response
  • GET /v1/evidence Evidence

    Returns local measurement rows by language, including available file holdout and stock voice comparisons. Readback metrics measure an ASR model’s agreement with a reference. Each language may carry a synthetic-grant ASR readback. translation_quality_panel summarizes two local models across primary directions and separate follow-ups.

    Authentication
    Public
    Responses
    200 Successful response
  • GET /v1/evidence/translation Translation Evidence

    Returns the saved translation measurements for a direction and its optional held-out comparison between direct and English-pivot balanced routes. Available MADLAD-vs-balanced per-passage scores and OPUS-vs-M2M100 comparisons are returned in quality_comparisons and opus_comparisons. Unmeasured directions have empty comparison arrays.

    Authentication
    Public
    Parameters
    source (query, required) · target (query, required)
    Responses
    200 Successful response · 422 Invalid fields, input or media.
  • POST /v1/client-tokens Mint

    An owner session or project key can mint this short-lived, single-scope WebSocket credential.

    Authentication
    Project API key or Member session
    Request format
    application/json
    Responses
    201 Successful response · 401 Valid credentials required. · 422 Invalid fields, input or media.
  • GET /health Health

    Checks the web server and PostgreSQL. With local inference it also checks the child process. Remote workers can be stopped while the website and billing stay available.

    Authentication
    Public
    Responses
    200 Successful response
  • GET /openapi.json Read this API specification
    Authentication
    Public
    Responses
    200 Successful response
Transcriptions (2)
  • GET /v1/transcriptions/count Count transcription jobs in all statuses

    Returns the count for the authenticated project.

    Authentication
    Project API key or Member session
    Responses
    200 Count transcription jobs in all statuses. · 401 Valid credentials required.
  • GET /v1/transcriptions/{jid}/transcript Read the reviewed transcript

    Reads the latest saved revision after the recording completes. Segment text includes saved edits. Time offsets are seconds from the beginning of the original recording. The job detail endpoint supplies original recognition and individual words.

    Authentication
    Project API key or Member session
    Parameters
    jid (path, required)
    Responses
    200 Read the reviewed transcript. · 401 Valid credentials required. · 404 The requested resource is absent or unavailable to this project. · 409 The resource state, revision, upload offset or local processing capacity conflicts with this operation.
Voice (3)
  • GET /v1/tts-models List speech synthesis models

    Groups local stock voices, language-specific controls and authorized reference preparation by model family.

    Authentication
    Public
    Parameters
    language (query)
    Responses
    200 Groups local stock voices, language-specific controls and authorized reference preparation by model family. · 422 Invalid or unsupported language.
  • POST /v1/voices/{id}/prepare Prepare a voice for a synthesis model

    Checks the active grant and prepares its saved reference for the installed revision. New preparation costs one credit per started second of verified reference audio, up to 25 credits. A current preparation is reused without a new charge.

    Authentication
    Member session
    Parameters
    id (path, required)
    Request format
    application/json
    Responses
    200 Checks the active grant and prepares its saved reference for the installed revision. New preparation costs one credit per started second of verified reference audio, up to 25 credits. A current preparation is reused without a new charge. · 402 Insufficient credit balance. · 403 Member session required. · 404 Active project voice unavailable. · 503 Local model unavailable.
  • GET /v1/voices/{id}/preparations List prepared model revisions

    Returns model identifiers, revisions and preparation times for an active project grant.

    Authentication
    Member session or Project API key
    Parameters
    id (path, required)
    Responses
    200 Returns model identifiers, revisions and preparation times for an active project grant. · 404 Active project voice unavailable.
Voice grants (6)
  • GET /v1/voices/terms Terms

    Returns the terms version and rights text for each enrollment type, whether personal enrollment is enabled, and eligible synthesis languages. Granted voices accept the 60 codes in /v1/voices/terms. VoxCPM2 conditions synthesis directly on the granted reference in 27 languages. In the other 33, OpenVoice V2 transfers its timbre to locally synthesized target-language speech. Native-speaker assessments of speaker similarity have not been performed.

    Authentication
    Public
    Responses
    200 Successful response
  • GET /v1/voices Voices

    Available to a loopback client when local custom voices are enabled.

    Authentication
    Project API key or Member session
    Responses
    200 Successful response · 401 Valid credentials required.
  • POST /v1/voices Enroll

    Available to a loopback client when local custom voices are enabled.

    Authentication
    Member session
    Request format
    application/json
    Responses
    201 Successful response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 422 Invalid fields, input or media.
  • POST /v1/voices/{voice_id}/consent Consent

    Available to a loopback client when local custom voices are enabled. Verification requires at least four available credits. It costs one credit per started second of verified reference audio, up to 25 credits.

    Authentication
    Member session
    Parameters
    voice_id (path, required)
    Request format
    multipart/form-data
    Responses
    200 Successful response · 401 Valid credentials required. · 402 Insufficient credit balance. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 413 The supplied data exceeds the transfer limit. · 422 Invalid fields, input or media.
  • DELETE /v1/voices/{voice_id} Revoke

    Available to a loopback client when local custom voices are enabled.

    Authentication
    Member session
    Parameters
    voice_id (path, required)
    Responses
    200 Successful response · 401 Valid credentials required. · 403 Insufficient permission for this operation. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media.
  • POST /v1/voices/{voice_id}/speech Speak

    Generates mono WAV for an active, unexpired project voice grant from a loopback client with local custom voices enabled. Granted voices accept the 60 codes in /v1/voices/terms. VoxCPM2 conditions synthesis directly on the granted reference in 27 languages. In the other 33, OpenVoice V2 transfers its timbre to locally synthesized target-language speech. Native-speaker assessments of speaker similarity have not been performed.

    Authentication
    Project API key or Member session
    Parameters
    voice_id (path, required)
    Request format
    application/json
    Responses
    200 Mono WAV audio. · 401 Valid credentials required. · 402 Insufficient credit balance. · 404 The requested resource is absent or unavailable to this project. · 422 Invalid fields, input or media. · 429 The project or installation reached a usage limit. · 503 A local inference component or configured provider is unavailable.
Web pages (6)
  • GET /service-worker.js Service Worker
    Authentication
    Public
    Responses
    200 JavaScript service worker.
  • GET /developer Developer
    Authentication
    Public
    Responses
    200 React application shell.
  • GET / Shell
    Authentication
    Public
    Parameters
    token (query)
    Responses
    200 React application shell. · 422 Invalid fields, input or media.
  • GET /app Shell
    Authentication
    Public
    Parameters
    token (query)
    Responses
    200 React application shell. · 422 Invalid fields, input or media.
  • GET /shared/{token} Shell
    Authentication
    Public
    Parameters
    token (path, required)
    Responses
    200 React application shell. · 422 Invalid fields, input or media.
  • GET /languages Open the language directory

    Public React page with language search, filters and measured recognition coverage. Reads /v1/capabilities and /v1/evidence from the browser.

    Authentication
    Public
    Responses
    200 React HTML application shell for the language directory.
WebSockets (3)
  • WS /v1/listen Live transcription

    16 kHz signed little-endian mono PCM or JSON ping, commit, playback_reference, finish.

    Scope
    listen
    Opening configuration
    language, vocabulary, diarization, echo_reference, key, refine_finals
    Output
    JSON ready, partial, final, pong, committed, error or done. The done event includes the persisted recording id.
  • WS /v1/speech/stream Streaming speech synthesis

    JSON text, flush and finish commands.

    Scope
    speech
    Opening configuration
    language, voice, key, multiplex
    Output
    JSON ready, audio_start, audio_end, error and done interleaved with binary PCM16 blocks. Read the sample rate in audio_start.
  • WS /v1/interpret Spoken interpretation

    16 kHz signed little-endian mono PCM, with ping, commit or finish controls. Enable echo_reference in the opening message to accept playback_reference.

    Scope
    interpret
    Opening configuration
    language_a, language_b, voice_a, voice_b, source, key, refine_finals, vocabulary, echo_reference, translation_quality
    Output
    JSON ready, provisional/final source text, translation or untranslated, optional pong/committed, audio_start/audio_end, and done or error. Translation and target speech follow a recognized final turn; binary PCM uses the announced synthesis sample rate.