Skip to main content
POST
Create transcription

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required

Audio or video file. Audio: wav, mp3, m4a, aac, flac, ogg, opus, amr, wma. Video: mp4, mov, mkv, avi, webm, flv, wmv — the audio track is transcribed automatically.

model
enum<string>
required

ASR model. Use qwen-audio-3.0-asr-flash for word-level timestamps.

Available options:
qwen-audio-3.0-asr-flash,
qwen3-asr-flash
Example:

"qwen-audio-3.0-asr-flash"

response_format
enum<string>
default:json

Only verbose_json carries timestamps.

Available options:
json,
text,
verbose_json
language
string

Optional language hint forwarded to the provider.

Example:

"zh"

prompt
string

Optional context prompt (max 400 runes) sent as a text message alongside the audio.

Example:

"智能早餐机产品介绍"

Response

Transcription result. The shape depends on response_format.

task
string
Example:

"transcribe"

duration
number

Audio duration in seconds.

Example:

46

text
string
Example:

"大家好,今天给大家介绍一款全新的智能早餐机。"

segments
object[]

Currently a single segment covering the whole file.