> ## 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.

# Scribe V3 Speech Recognition

> - Scribe V3 transcription with speaker, word or character timestamps
- Supports secondary languages and number formatting
- Asynchronous processing: [query the returned task ID](/pages/en/api-manual/task-management/get-task-detail)
- Transcription is returned in the task's `results` field


Submit `audio_url` as JSON, or submit `model` and `file` using `multipart/form-data`. Provide exactly one audio input. In forms, `keyterms` and `secondary_language_codes` accept repeated fields or a JSON array string. URL inputs must be downloadable.

`diarize` and `tag_audio_events` default to true. Optional controls include `num_speakers` (1–32), `diarization_threshold` (0.1–0.4), `timestamps_granularity` (none / word / character), `no_verbatim`, `temperature` and `seed`. A speaker count or threshold requires diarization; the two cannot be combined. Omitted or null controls leave the option unspecified; false and zero remain explicit values. Unsupported parameter combinations fail before generation. V3 additionally supports `secondary_language_codes` and `numbers_format` (digits / words), and is never downgraded to V2.

`keyterms` accepts up to 100 items of 50 characters each. Each item accepts at most 5 words and must not contain brackets `[]`, `{}`, `<>` or backslashes. A nonempty list uses enhanced transcription pricing.

Transcribed duration is rounded up to seconds: **$0.000136 / second**, or **$0.000176 / second** with nonempty keyterms (68 / 88 quota at multiplier 1). The account's group multiplier applies. Final settlement uses the returned `audio_duration_secs`. Differences from the initial reservation are adjusted at completion.

[Query the task](https://docs.aihubmax.com/pages/en/api-manual/task-management/get-task-detail.md) after submission. `results[0]` includes `text`, `language_code`, `language_probability` and `words`; `audio_duration_secs` is preserved when returned. Word entries preserve `text`, `start`, `end`, `type` and optional `speaker_id`, `characters` and `logprob`. Start/end times use seconds. Allow absent, null and additional fields; retain whitespace and audio event entries.


## OpenAPI

````yaml openapi/en/scribe-v3.json POST /v1/audios/generations
openapi: 3.1.0
info:
  title: Scribe V3 Speech Recognition
  version: '1.0'
servers:
  - url: https://api.aihubmax.com/e
security:
  - BearerAuth: []
paths:
  /v1/audios/generations:
    post:
      tags:
        - Audio > ElevenLabs
      summary: Scribe V3 Speech Recognition
      description: >
        - Scribe V3 transcription with speaker, word or character timestamps

        - Supports secondary languages and number formatting

        - Asynchronous processing: [query the returned task
        ID](/pages/en/api-manual/task-management/get-task-detail)

        - Transcription is returned in the task's `results` field
      operationId: scribe-v3
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScribeV3Request'
            examples:
              scribe_v3_with_keyword_and_number_formatting_controls:
                summary: Scribe V3 with keyword and number formatting controls
                value:
                  model: scribe-v3
                  audio_url: https://samplelib.com/lib/preview/mp3/sample-3s.mp3
                  diarize: true
                  secondary_language_codes:
                    - en
                  numbers_format: digits
                  keyterms:
                    - Gateway
          multipart/form-data:
            schema:
              type: object
              required:
                - model
              properties:
                model:
                  description: >-
                    `scribe-v3`: supports secondary_language_codes and
                    numbers_format; never downgraded to V2.
                  examples:
                    - scribe-v3
                  type: string
                  default: scribe-v3
                audio_url:
                  description: |
                    Audio URL to transcribe.

                    - Must use HTTP/HTTPS
                    - The audio must be directly accessible for download
                  type: string
                  example: https://samplelib.com/lib/preview/mp3/sample-3s.mp3
                language_code:
                  anyOf:
                    - type: string
                    - type: 'null'
                  default: null
                  description: |
                    Audio language code.

                    - Supports ISO 639-1 or ISO 639-3
                    - Examples: `zh`, `zho`, `en`, `eng`
                    - Automatically detected when omitted
                  example: zh
                tag_audio_events:
                  default: true
                  description: >-
                    Tag audio events such as laughter and applause. Enabled by
                    default.
                  type: boolean
                  example: true
                diarize:
                  default: true
                  description: Enable speaker diarization. Enabled by default.
                  type: boolean
                  example: true
                keyterms:
                  anyOf:
                    - items:
                        maxLength: 50
                        type: string
                      maxItems: 100
                      type: array
                    - type: 'null'
                  default: null
                  description: |-
                    Biasing terms or phrases.

                    - Up to 100 entries
                    - Up to 50 characters per entry
                    - Helps recognize specialized terms and proper nouns

                    > Send this parameter only when needed.
                  x-advanced: true
                  example:
                    - project kickoff
                    - quarterly results
                    - speech to text
                num_speakers:
                  anyOf:
                    - maximum: 32
                      minimum: 1
                      type: integer
                    - type: 'null'
                  default: null
                  description: |-
                    Maximum speaker count; requires diarize=true.

                    > Send this parameter only when needed.
                  x-advanced: true
                diarization_threshold:
                  anyOf:
                    - maximum: 0.4
                      minimum: 0.1
                      type: number
                    - type: 'null'
                  default: null
                  description: >-
                    Diarization threshold; requires diarize=true and cannot be
                    combined with num_speakers.


                    > Send this parameter only when needed.
                  x-advanced: true
                timestamps_granularity:
                  anyOf:
                    - enum:
                        - none
                        - word
                        - character
                      type: string
                    - type: 'null'
                  default: null
                  description: |-
                    Timestamp granularity; defaults to word when omitted.

                    > Send this parameter only when needed.
                  x-advanced: true
                no_verbatim:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                  default: null
                  description: |-
                    Remove filler words; defaults to false when omitted.

                    > Send this parameter only when needed.
                  x-advanced: true
                temperature:
                  anyOf:
                    - maximum: 2
                      minimum: 0
                      type: number
                    - type: 'null'
                  default: null
                  description: |-
                    Sampling temperature; uses the model default when omitted.

                    > Send this parameter only when needed.
                  x-advanced: true
                seed:
                  anyOf:
                    - maximum: 2147483647
                      minimum: 0
                      type: integer
                    - type: 'null'
                  default: null
                  description: |-
                    Random seed.

                    > Send this parameter only when needed.
                  x-advanced: true
                secondary_language_codes:
                  anyOf:
                    - items:
                        type: string
                      type: array
                    - type: 'null'
                  default: null
                  description: |-
                    Secondary ISO 639-1/639-3 language codes; V3 only.

                    > Send this parameter only when needed.
                  x-advanced: true
                numbers_format:
                  anyOf:
                    - enum:
                        - digits
                        - words
                      type: string
                    - type: 'null'
                  default: null
                  description: >-
                    Number transcription format; V3 only. Uses the model default
                    when omitted.


                    > Send this parameter only when needed.
                  x-advanced: true
                file:
                  type: string
                  format: binary
                  description: Audio file. Provide exactly one of file and audio_url.
              oneOf:
                - required:
                    - file
                  not:
                    required:
                      - audio_url
                - required:
                    - audio_url
                  not:
                    required:
                      - file
            encoding:
              keyterms:
                style: form
                explode: true
              secondary_language_codes:
                style: form
                explode: true
      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:
    ScribeV3Request:
      type: object
      required:
        - model
        - audio_url
      properties:
        model:
          description: >-
            `scribe-v3`: supports secondary_language_codes and numbers_format;
            never downgraded to V2.
          examples:
            - scribe-v3
          type: string
          default: scribe-v3
        audio_url:
          description: |
            Audio URL to transcribe.

            - Must use HTTP/HTTPS
            - The audio must be directly accessible for download
          type: string
          example: https://samplelib.com/lib/preview/mp3/sample-3s.mp3
        language_code:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: |
            Audio language code.

            - Supports ISO 639-1 or ISO 639-3
            - Examples: `zh`, `zho`, `en`, `eng`
            - Automatically detected when omitted
          example: zh
        tag_audio_events:
          default: true
          description: Tag audio events such as laughter and applause. Enabled by default.
          type: boolean
          example: true
        diarize:
          default: true
          description: Enable speaker diarization. Enabled by default.
          type: boolean
          example: true
        keyterms:
          anyOf:
            - items:
                maxLength: 50
                type: string
              maxItems: 100
              type: array
            - type: 'null'
          default: null
          description: |-
            Biasing terms or phrases.

            - Up to 100 entries
            - Up to 50 characters per entry
            - Helps recognize specialized terms and proper nouns

            > Send this parameter only when needed.
          x-advanced: true
          example:
            - project kickoff
            - quarterly results
            - speech to text
        num_speakers:
          anyOf:
            - maximum: 32
              minimum: 1
              type: integer
            - type: 'null'
          default: null
          description: |-
            Maximum speaker count; requires diarize=true.

            > Send this parameter only when needed.
          x-advanced: true
        diarization_threshold:
          anyOf:
            - maximum: 0.4
              minimum: 0.1
              type: number
            - type: 'null'
          default: null
          description: >-
            Diarization threshold; requires diarize=true and cannot be combined
            with num_speakers.


            > Send this parameter only when needed.
          x-advanced: true
        timestamps_granularity:
          anyOf:
            - enum:
                - none
                - word
                - character
              type: string
            - type: 'null'
          default: null
          description: |-
            Timestamp granularity; defaults to word when omitted.

            > Send this parameter only when needed.
          x-advanced: true
        no_verbatim:
          anyOf:
            - type: boolean
            - type: 'null'
          default: null
          description: |-
            Remove filler words; defaults to false when omitted.

            > Send this parameter only when needed.
          x-advanced: true
        temperature:
          anyOf:
            - maximum: 2
              minimum: 0
              type: number
            - type: 'null'
          default: null
          description: |-
            Sampling temperature; uses the model default when omitted.

            > Send this parameter only when needed.
          x-advanced: true
        seed:
          anyOf:
            - maximum: 2147483647
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          description: |-
            Random seed.

            > Send this parameter only when needed.
          x-advanced: true
        secondary_language_codes:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          default: null
          description: |-
            Secondary ISO 639-1/639-3 language codes; V3 only.

            > Send this parameter only when needed.
          x-advanced: true
        numbers_format:
          anyOf:
            - enum:
                - digits
                - words
              type: string
            - type: 'null'
          default: null
          description: >-
            Number transcription format; V3 only. Uses the model default when
            omitted.


            > Send this parameter only when needed.
          x-advanced: true
    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: Model used
        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: 请求格式错误
            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: 参数校验失败
            type:
              type: string
              example: validation_error
    ErrorResponse429:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: 请求频率超限
            type:
              type: string
              example: rate_limit_error
    ErrorResponse500:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              example: 服务器内部错误
            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.