Vocu Developers
🇺🇸 English
  • 🇺🇸 English
  • 🇨🇳 简体中文
Api Docs(Current)
User GuideBack To APP
Api Docs(Current)
User GuideBack To APP
🇺🇸 English
  • 🇺🇸 English
  • 🇨🇳 简体中文
🇺🇸 English
  • 🇺🇸 English
  • 🇨🇳 简体中文
  1. Voice Generation
  • Overview
  • Authentication Method
  • Voice Character
    • Create a new voice character
      POST
    • Get the list of voice characters for the current user
      GET
    • Add a style to the voice character with the specified ID
      POST
    • Upload avatar for the voice character with the specified ID
      POST
    • Add a voice character to the account via a share ID
      POST
    • Get details of the voice character with the specified ID
      GET
    • Delete Voice Character with the specified ID
      DELETE
    • Get the one-time share link ID for the specified voice character ID
      GET
    • Delete Style of the specified ID for the Voice Character with the specified ID
      DELETE
    • Generate a voice-character preview clip
      POST
    • Update a voice character's name and description
      POST
    • Inspect and backfill missing voice-character fields
      POST
    • Get the transcription of a style's reference audio
      GET
    • Correct the transcription of a style's reference audio
      POST
    • Set a style as the default style
      POST
    • Update a style's name and description
      POST
    • Reset a style and reprocess its reference audio
      POST
    • Re-upload professional-cloning artifacts
      POST
    • Trigger automatic re-upload of professional-cloning artifacts
      POST
    • Migrate a voice character to v2.0
      POST
    • Migrate a voice character to v3.0
      POST
    • Start voice-character identity verification
      POST
    • Check voice-character identity-verification result
      POST
  • Voice Generation
    • Synchronous real-time voice generation
      POST
    • Create Asynchronous Voice Generation Task
      POST
    • Get the list of asynchronous generation tasks for the current user
      GET
    • Get the details of an asynchronous generation task by ID
      GET
    • Delete an asynchronous generation task by ID
      DELETE
    • Upload audio for voice conversion
      POST
    • Stream the full generated audio
      GET
    • Stream audio for a single content
      GET
    • Get the streaming playback URL for a whole generation task
      GET
    • List splitter configurations
      GET
    • Create a splitter configuration
      POST
    • Get splitter configuration details
      GET
    • Update a splitter configuration (diff mode)
      POST
    • Delete a splitter configuration
      DELETE
    • One-shot synthesis returning an MP3 stream directly
      GET
    • List synthesis parameter presets
      GET
    • Fetch a synthesized audio stream
      GET
    • Get SRT subtitles for synthesized audio
      GET
  • User Account
    • Get current user account information
  • Content Template
    • Create New Template
    • Get User's Template List
    • Update Template with Specified ID
    • Get Template Details with Specified ID
    • Delete Template with Specified ID
  • Real-time Synthesis
    • Create a Turbo real-time synthesis channel
    • List Turbo channels for the current user
    • Close a Turbo channel
  • Voice Design
    • Generate a voice preview from a text description
    • Generate a voice preview by remixing / translating existing audio
    • Confirm a voice design and create a voice character
    • Query voice-design quota
  1. Voice Generation

Create a splitter configuration

POST
https://v1.vocu.studio/api/splitter
Create a reusable splitter configuration. A splitter takes a stretch of text with placeholder markers, splits it into utterances, and binds a voice plus generation parameters to each utterance,
so a multi-character dialogue can be generated in one request.
Working with POST /api/tts/generate
The generate endpoint has two mutually exclusive inputs: splitter (inline configuration object) and splitterId (reference to a saved configuration ID).
The data.id returned here is the value you can pass as splitterId. In splitter mode you must also pass text, and you must not also pass contents.
Configuration validation rules (failure → TTS_SPLITTER_INVALID)
config must be a non-array object.
After stripping the three reserved keys, if there is no placeholder, no fallbackConfig, and no splitterMarks, it is invalid.
Placeholder keys cannot be empty strings; their values must be non-array objects.
If lookupTable is present: it must be a non-array object; each entry must be a non-array object containing a non-empty tags array; tags elements may only be strings or arrays of strings.
If fallbackConfig is present: it must be a non-array object and must contain a string voiceId.
If splitterMarks is present: it must be an array, and every element must be a string of exactly 2 characters.
About TTS_SPLITTER_METADATA_INVALID
This error code is not produced by this CRUD group. It is thrown only when POST /api/tts/generate references a configuration via splitterId
and the metadata JSON stored in the database fails to parse (routes/generate/tts.js:530-535); that is server-side data corruption, classified as report-tier 500.

Error responses take the shape { status, code, message, requestId? }. code is always the parent code — sub codes only change message and never appear in the body. requestId is present only on reportable-tier errors, so use the X-Vocu-App-Request-Id response header when troubleshooting (it is written unconditionally on every response). See the "Errors" document for the full code reference.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://v1.vocu.studio/api/splitter' \
--header 'Authorization: Bearer <token>'

Responses

🟢200成功
application/json
创建成功
Bodyapplication/json

Example
{
    "status": 200,
    "data": {
        "id": "3f2a1b6c-8d4e-4f27-9a10-5c7e2d81b043",
        "name": "双人对话配置",
        "config": {
            "<角色A>": {
                "voiceId": "9d7f2e14-5b30-4a6c-8e91-c2340af6b7d5",
                "speechRate": 1
            },
            "<角色B>": {
                "voiceId": "b81c04a7-6e2f-4d15-93a8-70fe1c6d5382",
                "speechRate": 1
            },
            "[语速加快:1.2]": {
                "speechRate": 1.2
            }
        },
        "createdAt": "2026-08-12T09:31:44.000Z",
        "updatedAt": "2026-08-18T02:07:11.000Z"
    }
}
🟠400请求有误
🟠401没有权限
🟠429
🔴500服务器错误
Modified at 2026-08-23 01:11:55
Previous
List splitter configurations
Next
Get splitter configuration details