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.
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.
- Node.js SDK (.tgz) · server-side REST client for Node.js 22.17 and newer. Installation and example
- Python SDK and CLI (.zip) · Python 3.11 and newer, with all runtime dependencies for offline installation. Installation and example
- Browser, React and React Native SDK (.tgz) · JavaScript modules, TypeScript declarations and microphone worklet. Browser integration · React integration
Choose your first integration
- Node.js and Python · transcribe a file, export captions, then translate and synthesize speech.
- HTTP with curl · submit, poll and download captions using a project key.
- Browser JavaScript and React · connect a microphone using a temporary credential.
- Server-side live transcription · stream PCM from Python or Node.js and retrieve the saved recording.
- Live interpretation and streaming synthesis · handle text events and play the returned audio.
- All guides · uploads, project voices, signed callbacks, account usage and studio workflows.
API operation reference
143 HTTP operations and 3 WebSocket protocols. Download the OpenAPI schema (JSON)
Accounts (3)
POST/auth/password/requestRequest a recovery messageQueue 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/resetChange a forgotten passwordSubmit 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.emlDownload or view an email previewOpen 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/projectsProjectRequires 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}/selectSelect- 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/keysCreate KeyRequires 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}RevokeRequires 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-previewsList local billing receipt and invitation email previewsOwner-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/invitationsInviteRequires 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}/acceptAccept- 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/quotaQuotaRequires 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-settingsRead workspace settings and project storageA 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/alertsSet a monthly credit alertRequires 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/contactSave the billing contactRequires 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-methodSave or remove the local test payment methodRequires 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/checkoutCheckoutRequires 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/cancelCancelRequires 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/consoleConsoleReturns 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/pricesView current Colombian peso pricesNew 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/quoteReserve the peso amount for one purchaseRequires 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/checkoutOpen Wompi checkout for a reviewed quoteSend 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/enrollmentGet the Wompi enrollment documentsShow 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-frameOpen hosted card setupEmbed 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/subscriptionView the workspace Wompi subscriptionReturns 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/subscriptionAuthorize a fixed monthly Studio chargeUse 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/cancelCancel Wompi automatic renewalStops 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/reconcileCheck an unresolved subscription chargeRead 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 workspaceA 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 receiptThe 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/webhookReceive signed Wompi payment updatesProvider 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/checkoutOpen 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/webhookReceive 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/checkoutStart hosted Stripe CheckoutRequires 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 statusRead 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}/pdfDownload the payment receipt as a PDFUse 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/portalOpen the hosted Stripe billing portalRequires 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/keysOrg KeysRequires a workspace owner session.
- Authentication
- Member session
- Responses
- 200 Successful response. · 401 Valid credentials required. · 403 Insufficient permission for this operation.
POST/console/organization/keysCreate Org KeyA 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 KeyRequires 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/budgetSet BudgetRequires 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/projectRename ProjectRequires 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/organizationRename OrgRequires 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/membersMember RoleRequires 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 MemberRequires 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/webhooksHooksRequires a workspace owner session.
- Authentication
- Member session
- Responses
- 200 Successful Response · 401 Valid credentials required. · 403 Insufficient permission for this operation.
POST/console/webhooksRegisterRequires 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}RevokeRequires 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/webhookAccept a signed Stripe billing eventRequires 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/disableDisable 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-codesReplace 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/enableActivate 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/setupBegin 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/mfaRead 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/signupRegister a workspace ownerCreate 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/resendResend the email verification codeRequest 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/verifyVerify the account email addressSubmit 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/loginLogin- 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/logoutLogout- Authentication
- Public
- Responses
- 200 Successful response · 422 Invalid fields, input or media.
Custom voices (4)
GET/v1/voices/{voice_id}Read project voice metadataReturns 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/countCount active and pending project voice grantsReturns 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}/previewRegenerate a project voice previewA 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}/previewRetrieve the saved project voice previewReads 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/countCount reusable input filesReturns 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/translateTranslateTranslates 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/speechSpeechChoose 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/notesNotesProduces 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-voicesList installed stock voice presetsReturns 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/sequenceGenerate a combined WAV from multiple languages and stock voicesUp 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/concurrencyCurrent project concurrencyAuthenticated 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/historyProject concurrency historyLatest 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/dailyDaily project usageDays 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/monthlyMonthly organization usage and quotasWorkspace 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/limitsOrganization and project limitsCurrent 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}/keysList project keys within the organizationA 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}/keysIssue a key for an organization projectRequires 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 keyRequires 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 exampleReturns 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/transcriptionsTranscribe 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/transcriptionsRecordings- 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/urlUrl 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/uploadsList unfinished uploadsLists 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/uploadsBegin 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}/finishFinish 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}/sourceDownload recording sourceDownloads 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}/audioAudio- 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}/versionsVersions- 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}/shareShare- 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}/shareUnshare- 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}/exportExport- 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/filesFiles- Authentication
- Project API key or Member session
- Responses
- 200 Successful Response · 401 Valid credentials required.
POST/v1/filesStore 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}/contentDownload a reusable fileDownloads 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}/transcribeReuse- 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}/rerunRerun- 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}/metadataMetadata- 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}/metadataRead 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/librarySearch- 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}/speakersSpeakers- 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}/analysisHistory- 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}/analysisAnalyzeRequires 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/capabilitiesCapabilitiesJSON 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/organizationOrgRequires 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/projectsProjectsRequires 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/balanceBalanceRequires 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/usageAggregateRequires 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/invoicesInvoice RowsRequires 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/exportExport CsvRequires 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/usageList 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/limitsLimits- 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/modelsModels- Authentication
- Public
- Responses
- 200 Successful response
GET/v1/evidenceEvidenceReturns 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/translationTranslation EvidenceReturns 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-tokensMintAn 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/healthHealthChecks 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.jsonRead this API specification- Authentication
- Public
- Responses
- 200 Successful response
Transcriptions (2)
GET/v1/transcriptions/countCount transcription jobs in all statusesReturns 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}/transcriptRead the reviewed transcriptReads 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-modelsList speech synthesis modelsGroups 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}/preparePrepare a voice for a synthesis modelChecks 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}/preparationsList prepared model revisionsReturns 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/termsTermsReturns 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/voicesVoicesAvailable 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/voicesEnrollAvailable 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}/consentConsentAvailable 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}RevokeAvailable 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}/speechSpeakGenerates 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.jsService Worker- Authentication
- Public
- Responses
- 200 JavaScript service worker.
GET/developerDeveloper- 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/appShell- 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/languagesOpen the language directoryPublic 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/listenLive transcription16 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/streamStreaming speech synthesisJSON 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/interpretSpoken interpretation16 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.