---
title: "Speech To Text Base64"
method: POST
path: "/speech_to_text/base64"
tags: ["Speech to Text"]
---

# Speech To Text Base64

`POST /speech_to_text/base64`

Transcribe base64-encoded audio (application/json).

## Headers

- `X-Api-Key` string

## Request body

- SpeechToTextJSONRequest — JSON body for ``POST /speech_to_text/`` (application/json variant).
  - `audio_base64` string, required — Base64-encoded audio (wav/mp3/flac/...)
  - `model_id` string, nullable — ASR model id; defaults to the configured ASR model.
  - `language` string, nullable — Optional language hint.

## Response `200`

Successful Response

- SpeechToTextResponse
  - `text` string, required — Full transcript text

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/async/apis/text-to-speech-api-service.md) · [All operations](https://skmtc.dev/async/apis/text-to-speech-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/async/text-to-speech-api-service/revisions/9bfc541b6e9a/schema)
