> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aihubmax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ElevenLabs Voice Create

> - Save the candidate explicitly chosen by the user. Creation is free.
- Submit an asynchronous task and [query its status](/pages/en/api-manual/task-management/get-task-detail).
- On completion, results[0] contains the complete voice object, including voice_id for subsequent synthesis.
- Save voice_id yourself. The platform provides no voice listing, lookup or ID recovery. Task queries remain available but do not replace saving the ID.

`elevenlabs-voice-create` saves a chosen design candidate as a voice for speech synthesis. **Creation is free**. Voice Design and subsequent synthesis are billed separately under their respective models.

First call [Voice Design](https://docs.aihubmax.com/pages/en/api-manual/audio-series/elevenlabs/elevenlabs-voice-design.md), present all previews, and obtain the user's explicit choice. Supply a nonempty `voice_name`, a `voice_description` of 20–1000 characters, and the chosen `generated_voice_id`. These three strings are trimmed before validation. Optional `labels` is an object with string keys and values.

Each candidate can be created only once and may expire. A `generated_voice_id` is not the saved synthesis ID. After submission, save the task ID and [query the task](https://docs.aihubmax.com/pages/en/api-manual/task-management/get-task-detail.md) until `status=completed`.

`results[0]` contains the complete voice object. Key fields include `voice_id`, `name`, `description`, `labels`, `preview_url`, `category` and `settings`, alongside actual sample, training, sharing, verification, permission and other metadata. Fields may be omitted or null; preview URLs are not synthesized. See [special task results](https://docs.aihubmax.com/pages/en/api-manual/task-management/get-task-detail.md#special-formats) for the structure.

> [!WARNING]
>
> Save the generated `voice_id` yourself. The platform provides no voice listing, voice lookup or ID recovery feature. Task queries remain available but do not replace keeping your own copy of the voice ID.

Use the original `voice_id` with [Custom Voice Speech](https://docs.aihubmax.com/pages/en/api-manual/audio-series/elevenlabs/eleven-v4-text-to-speech.md) or [Custom Voice Dialogue](https://docs.aihubmax.com/pages/en/api-manual/audio-series/elevenlabs/eleven-v4-text-to-dialogue.md). The voice must remain valid and accessible. Creation does not guarantee permanent availability, use across services or exclusive access. Voice editing, deletion and remix are not provided by this API.


## OpenAPI

````yaml openapi/en/elevenlabs-voice-create.json POST /v1/audios/generations
openapi: 3.1.0
info:
  title: ElevenLabs Voice Create
  version: '1.0'
servers:
  - url: https://api.aihubmax.com/e
security:
  - BearerAuth: []
paths:
  /v1/audios/generations:
    post:
      tags:
        - Audio > Voice Creation
      summary: ElevenLabs Voice Create
      description: >-
        - Save the candidate explicitly chosen by the user. Creation is free.

        - Submit an asynchronous task and [query its
        status](/pages/en/api-manual/task-management/get-task-detail).

        - On completion, results[0] contains the complete voice object,
        including voice_id for subsequent synthesis.

        - Save voice_id yourself. The platform provides no voice listing, lookup
        or ID recovery. Task queries remain available but do not replace saving
        the ID.
      operationId: elevenlabs-voice-create
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ElevenLabsVoiceCreateRequest'
            examples:
              保存用户明确选中的候选音色:
                summary: Save the candidate explicitly chosen by the user
                value:
                  model: elevenlabs-voice-create
                  voice_name: 温暖中文旁白
                  voice_description: 自然、温暖、清晰的成年中文旁白声音，适合长篇讲解。
                  generated_voice_id: selected-generated-voice-id
                  labels:
                    language: zh
      responses:
        '200':
          $ref: '#/components/responses/TaskCreated'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  schemas:
    ElevenLabsVoiceCreateRequest:
      type: object
      required:
        - model
        - voice_name
        - voice_description
        - generated_voice_id
      properties:
        model:
          const: elevenlabs-voice-create
          description: Save the candidate explicitly chosen by the user. Creation is free.
          enum:
            - elevenlabs-voice-create
          examples:
            - elevenlabs-voice-create
          type: string
          default: elevenlabs-voice-create
        voice_name:
          description: Voice name; trimmed and required to be nonempty.
          minLength: 1
          type: string
          example: 温暖中文旁白
        voice_description:
          description: >-
            Voice description, 20–1000 characters after trimming leading and
            trailing whitespace.
          maxLength: 1000
          minLength: 20
          type: string
          example: 自然、温暖、清晰的成年中文旁白声音，适合长篇讲解。
        generated_voice_id:
          description: >-
            The candidate ID returned by Design and explicitly chosen by the
            user. Each candidate can be created only once and may expire. Create
            promptly after selection.
          minLength: 1
          type: string
          example: selected-generated-voice-id
        labels:
          anyOf:
            - additionalProperties:
                type: string
              type: object
            - type: 'null'
          default: null
          description: Optional labels as an object with string keys and values.
          example:
            language: zh
      additionalProperties: false
    TaskResponse:
      type: object
      properties:
        created:
          type: integer
          description: Task creation timestamp
          example: 1757165031
        id:
          type: string
          description: Task ID
          example: task-unified-1757165031-uyujaw3d
        model:
          type: string
          description: >-
            eleven-v4-text-to-speech: speech with a specified existing voice.
            eleven-v4-text-to-speech-custom-voice: also supports private voices.
            Both require voice_id and cost $0.00008 per Unicode character
            without rounding to 1000-character blocks.
        object:
          type: string
          description: Task type
          enum:
            - audio.generation.task
        progress:
          type: integer
          description: Task progress (0–100)
          minimum: 0
          maximum: 100
          example: 0
        status:
          type: string
          description: Task status
          enum:
            - pending
            - processing
            - completed
            - failed
          example: pending
        task_info:
          type: object
          description: Asynchronous task information
          properties:
            can_cancel:
              type: boolean
              description: Whether the task can be canceled
              example: true
            estimated_time:
              type: integer
              description: Estimated completion time in seconds
              example: 45
        type:
          type: string
          description: Output type
          enum:
            - audio
          example: audio
    ErrorResponse400:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: Bad request
            type:
              type: string
              example: invalid_request_error
    ErrorResponse401:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: API密钥无效
            type:
              type: string
              example: authentication_error
    ErrorResponse402:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: 账户余额不足
            type:
              type: string
              example: insufficient_quota
    ErrorResponse422:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: Validation failed
            type:
              type: string
              example: validation_error
    ErrorResponse429:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: Rate limit exceeded
            type:
              type: string
              example: rate_limit_error
    ErrorResponse500:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: Internal server error
            type:
              type: string
              example: server_error
    ErrorResponse503:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: 服务暂不可用，请稍后重试
            type:
              type: string
              example: service_unavailable
  responses:
    TaskCreated:
      description: Task created
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TaskResponse'
    BadRequest:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse400'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse401'
    PaymentRequired:
      description: Insufficient balance
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse402'
    UnprocessableEntity:
      description: Validation failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse422'
    TooManyRequests:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse429'
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse500'
    ServiceUnavailable:
      description: Service unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse503'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: |
        All endpoints require Bearer authentication.

        Add this request header:

        `Authorization: Bearer YOUR_API_KEY`

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.