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

# Get forced alignment options

> Supported languages, limits, and price.



## OpenAPI

````yaml api-reference/openapi.json GET /v1/forced-alignment/options
openapi: 3.1.0
info:
  title: Chariot API
  version: '1'
  description: >-
    Chariot is a voice AI platform built for Indian and English languages.
    Convert text into natural-sounding speech over a simple REST call, an HTTP
    audio stream, or a low-latency WebSocket, and transcribe speech to text over
    a streaming WebSocket or from a prerecorded file (Beta). This reference
    documents the public, API-key-authenticated endpoints.
  contact:
    name: Chariot Support
    email: support@chariot.in
    url: https://chariot.in
servers:
  - url: https://api.chariot.in
    description: Production
security:
  - APIKeyHeader: []
tags:
  - name: Text to Speech
    description: Convert text into speech synchronously or as a stream.
  - name: Speech to Text
    description: >-
      Transcribe prerecorded files (Beta) and review streaming speech-to-text
      sessions.
  - name: Forced Alignment
    description: Time a transcript against its audio, word by word (Beta).
  - name: Voices
    description: Browse the voice catalog.
  - name: Account
    description: Inspect your credit balance and usage.
paths:
  /v1/forced-alignment/options:
    get:
      tags:
        - Forced Alignment
      summary: Get forced alignment options
      description: >-
        **Beta.** Supported languages, duration and size limits, the text limit,
        and the price in credits per second.
      operationId: getForcedAlignmentOptions
      responses:
        '200':
          description: Options.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForcedAlignmentOptions'
              example:
                languages:
                  - code: hi
                    name: Hindi
                  - code: en
                    name: English
                  - code: ta
                    name: Tamil
                default_language: hi
                credits_per_second: 1
                max_duration_seconds: 90
                max_file_bytes: 52428800
                max_text_characters: 5000
        '401':
          $ref: '#/components/responses/Unauthorized'
      security:
        - APIKeyHeader: []
components:
  schemas:
    ForcedAlignmentOptions:
      type: object
      properties:
        languages:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
              name:
                type: string
        default_language:
          type: string
        credits_per_second:
          type: integer
        max_duration_seconds:
          type: integer
          description: The longest audio accepted, in seconds.
        max_file_bytes:
          type: integer
          description: The largest file accepted, in bytes.
        max_text_characters:
          type: integer
    Error:
      type: object
      description: Standard error envelope returned by all endpoints.
      properties:
        statusCode:
          type: integer
          description: HTTP status code, echoed in the body.
        error:
          type: string
          description: Machine-readable error class name.
        message:
          type: string
          description: Human-readable description of what went wrong.
      required:
        - statusCode
        - error
        - message
  responses:
    Unauthorized:
      description: Authentication failed. The API key is missing, invalid, or expired.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missing:
              summary: No credentials provided
              value:
                statusCode: 401
                error: UnauthorizedException
                message: No API key or user credentials provided
            invalid:
              summary: Invalid or unknown API key
              value:
                statusCode: 401
                error: UnauthorizedException
                message: Invalid API Key or user credentials
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: chariotai-api-key
      description: >-
        Your Chariot API key, generated from the dashboard. Send it in the
        `chariotai-api-key` header on every request.

````

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