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

# Transcribe speech (OpenAI-compatible)

> Drop-in replacement for OpenAI's transcription endpoint — an existing client changes only its `baseURL`. `language`, `prompt` and `temperature` are accepted and ignored: the model shares one Kazakh+Russian vocabulary, so it is never told which language to expect. `srt` and `vtt` return 400, because a character-CTC model produces no word timings.



## OpenAPI

````yaml /openapi.json post /v1/audio/transcriptions
openapi: 3.0.3
info:
  title: geko API
  version: 1.0.0
  description: >-
    Text-to-speech for Kazakh and beyond. Send text and a voice name; get back
    WAV audio (24 kHz, 16-bit PCM, mono). A thin, familiar HTTP API — call it
    from any language, or use the typed SDK and CLI.


    The catalog endpoints (`/v1/models`, `/v1/voices`, `/health`) are open.
    Synthesis endpoints require a bearer key — create one in the
    [console](https://app.geko.sh).
servers:
  - url: https://geko--tokay-serve-web.modal.run
security:
  - bearerAuth: []
paths:
  /v1/audio/transcriptions:
    servers:
      - url: https://geko--seta-serve-transcriber-api.modal.run
    post:
      tags:
        - Speech-to-text
      summary: Transcribe speech (OpenAI-compatible)
      description: >-
        Drop-in replacement for OpenAI's transcription endpoint — an existing
        client changes only its `baseURL`. `language`, `prompt` and
        `temperature` are accepted and ignored: the model shares one
        Kazakh+Russian vocabulary, so it is never told which language to expect.
        `srt` and `vtt` return 400, because a character-CTC model produces no
        word timings.
      operationId: createTranscriptionOpenAI
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - file
              properties:
                file:
                  type: string
                  format: binary
                  description: The audio to transcribe.
                model:
                  type: string
                  default: seta-kk-ru-v2
                response_format:
                  type: string
                  enum:
                    - json
                    - text
                    - verbose_json
                  default: json
                language:
                  type: string
                  description: Accepted and ignored.
                prompt:
                  type: string
                  description: Accepted and ignored.
                temperature:
                  type: number
                  description: Accepted and ignored.
      responses:
        '200':
          description: OpenAI-shaped transcription.
          content:
            application/json:
              schema:
                type: object
                required:
                  - text
                properties:
                  text:
                    type: string
            text/plain:
              schema:
                type: string
        '400':
          description: No audio, or an unsupported `response_format` (`srt`/`vtt`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Out of credits — top up in the console.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        detail:
          type: string
          description: Human-readable error message.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your geko API key (`sk-tokay-…`). Create and manage keys in the
        [console](https://app.geko.sh).

````