Skip to main content
POST
Fun-ASR MTL

Authorizations

Authorization
string
header
required

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

Body

application/json
file_url
string
required

Public HTTP/HTTPS URL of the audio file (single file).

Minimum string length: 1
Pattern: ^https?://
vocabulary_id
string

Optional hot-word vocabulary ID.

channel_id
integer[]

Audio track indices (0-based).

special_word_filter
string

Sensitive word filter configuration string.

diarization_enabled
boolean
default:false

Enable speaker diarization (mono audio; recommended ≤2h).

speaker_count
integer

Expected speaker count; only valid when diarization_enabled is true.

Required range: 2 <= x <= 100
language_hints
enum<string>[]

Language hints. When multiple values are provided, only the first is used.

Available options:
zh,
en,
ja,
ko,
vi,
th,
id,
ms,
tl,
hi,
ar,
fr,
de,
es,
pt,
ru,
it,
nl,
sv,
da,
fi,
no,
el,
pl,
cs,
hu,
ro,
bg,
hr,
sk

Response

Task submitted successfully. Poll GET /api/v1/tasks/{task_id} until the task completes; the transcription result is returned on the task result.

Response object for asynchronous task submission.

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required

Task submission details. Poll GET /api/v1/tasks/{task_id} until status is success; the transcription appears in result.resources. See Common API: Query Task Result.