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

# Soniox TTS v1 (HTTP)

> Real-time text-to-speech with streaming WebSocket and one-shot HTTP synthesis

**Hosting: routed through SLNG (Soniox).** This model runs on Soniox's servers; SLNG proxies each request through the nearest regional gateway. Available in European Union (North, West), United States (East, West), Australia, Brazil, United Kingdom, Indonesia, Israel, India, Japan, Singapore, South Africa. Send requests to your region's gateway base URL: `https://eu-north.api.slng.ai`, `https://eu-west.api.slng.ai`, `https://us-east.api.slng.ai`, `https://us-west.api.slng.ai`, `https://au.api.slng.ai`, `https://br.api.slng.ai`, `https://gb.api.slng.ai`, `https://id.api.slng.ai`, `https://il.api.slng.ai`, `https://in.api.slng.ai`, `https://jp.api.slng.ai`, `https://sg.api.slng.ai`, `https://za.api.slng.ai`.


## OpenAPI

````yaml api-reference/openapi/tts-soniox.oas.yaml POST /v1/tts/soniox/tts-rt:v1
openapi: 3.0.3
info:
  title: SLNG Gateway API - Soniox TTS
  version: 0.1.0
  description: >-
    Real-time text-to-speech with streaming WebSocket and one-shot HTTP
    synthesis
  contact:
    name: SLNG Support
    email: support@slng.ai
servers:
  - url: https://eu-north.api.slng.ai
    description: 'Regional gateway: European Union (North) (eu-north)'
  - url: https://eu-west.api.slng.ai
    description: 'Regional gateway: European Union (West) (eu-west)'
  - url: https://us-east.api.slng.ai
    description: 'Regional gateway: United States (East) (us-east)'
  - url: https://us-west.api.slng.ai
    description: 'Regional gateway: United States (West) (us-west)'
  - url: https://au.api.slng.ai
    description: 'Regional gateway: Australia (au)'
  - url: https://br.api.slng.ai
    description: 'Regional gateway: Brazil (br)'
  - url: https://gb.api.slng.ai
    description: 'Regional gateway: United Kingdom (gb)'
  - url: https://id.api.slng.ai
    description: 'Regional gateway: Indonesia (id)'
  - url: https://il.api.slng.ai
    description: 'Regional gateway: Israel (il)'
  - url: https://in.api.slng.ai
    description: 'Regional gateway: India (in)'
  - url: https://jp.api.slng.ai
    description: 'Regional gateway: Japan (jp)'
  - url: https://sg.api.slng.ai
    description: 'Regional gateway: Singapore (sg)'
  - url: https://za.api.slng.ai
    description: 'Regional gateway: South Africa (za)'
security:
  - BearerAuth: []
tags:
  - name: Soniox TTS v1
    description: >-
      Real-time text-to-speech with streaming WebSocket and one-shot HTTP
      synthesis.
paths:
  /v1/tts/soniox/tts-rt:v1:
    post:
      tags:
        - Soniox TTS v1
      summary: Soniox TTS v1
      description: >-
        Real-time text-to-speech with streaming WebSocket and one-shot HTTP
        synthesis
      operationId: soniox/tts-rt:v1
      requestBody:
        $ref: '#/components/requestBodies/SonioxTtsRtV1RequestBody'
      responses:
        '200':
          description: Success
        '400':
          $ref: '#/components/responses/ProviderBadRequest'
        '401':
          $ref: '#/components/responses/ProviderUnauthorized'
        '500':
          $ref: '#/components/responses/ProviderInternalServerError'
        '503':
          $ref: '#/components/responses/ProviderServiceUnavailable'
components:
  requestBodies:
    SonioxTtsRtV1RequestBody:
      required: true
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SonioxTtsRtV1Request'
          examples:
            example1:
              summary: Basic English synthesis
              value:
                text: Hello from Soniox text-to-speech.
                voice: Adrian
                audio_format: wav
                sample_rate: 24000
  responses:
    ProviderBadRequest:
      description: Bad request — invalid parameters.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
    ProviderUnauthorized:
      description: Unauthorized — invalid or missing API key.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
    ProviderInternalServerError:
      description: Internal server error.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
    ProviderServiceUnavailable:
      description: Service temporarily unavailable.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
  schemas:
    SonioxTtsRtV1Request:
      type: object
      description: Soniox real-time TTS synthesis request.
      properties:
        text:
          type: string
          minLength: 1
          maxLength: 5000
          description: Text to synthesize.
        voice:
          type: string
          description: Voice name.
          default: Adrian
        language:
          type: string
          description: ISO 639-1 language code.
          default: en
          enum:
            - af
            - sq
            - ar
            - az
            - eu
            - be
            - bn
            - bs
            - bg
            - ca
            - zh
            - hr
            - cs
            - da
            - nl
            - en
            - et
            - fi
            - fr
            - gl
            - de
            - el
            - gu
            - he
            - hi
            - hu
            - id
            - it
            - ja
            - kn
            - kk
            - ko
            - lv
            - lt
            - mk
            - ms
            - ml
            - mr
            - 'no'
            - fa
            - pl
            - pt
            - pa
            - ro
            - ru
            - sr
            - sk
            - sl
            - es
            - sw
            - sv
            - tl
            - ta
            - te
            - th
            - tr
            - uk
            - ur
            - vi
            - cy
        audio_format:
          type: string
          description: Output audio format.
          default: wav
        sample_rate:
          type: integer
          description: Output sample rate in Hz.
          default: 24000
        bitrate:
          type: integer
          description: Codec bitrate in bps. Only applicable to lossy compressed formats.
        model:
          type: string
          description: Soniox TTS model identifier.
          default: tts-rt-v1
      required:
        - text
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````