v1

latestOpenAPI 3.0.1Z.AI Developer Agreement and Policy2026-07-131458163.2 KB

Speech to Text

Use the GLM-ASR-2512 model to transcribe audio files into text, supporting multiple languages and real-time streaming transcription.

post/paas/v4/audio/transcriptions

Response

Request processed successfully

idstring

Task ID

createdinteger

Request creation time, as a Unix timestamp in seconds.

request_idstring

Passed by the client, must be unique. A unique identifier to distinguish each request. If not provided by the client, the platform will generate one by default.

modelstring

Model name

textstring

The complete transcribed content of the audio.