Qwen ASR · Video Generation

Fast Recognition (Text)NEW

📌 What is thisSame submit + poll-by-taskId flow, but on succeeded the resultUrl is the recognized text directly (not a file URL).
💡 When to useUse for short audio when you want the text quickly and need no timestamps.

Endpoints

UsageMethodPath
Submit taskPOST/api/cqt/generator/qwen
Query ResultGET/api/cqt/info/qwen?id={taskId}
Recommended polling intervalAll 4 models return a taskId on submit; poll by taskId until status = succeeded / failed (every 5-10s). qwen3-asr-flash is fast and usually reaches succeeded quickly.

Request Parameters

ParamTypeRequiredDescription
modelstringRequiredqwen3-asr-flash
audioUrlstringRequiredInput audio file URL (replaces prompt; ASR has no prompt).
durationintegerRequired⚠️ Input audio duration in seconds — drives billing. Default 5; always pass the real length or billing is badly underestimated.
webhookUrlstringCompletion webhook URL (optional).

Request Example

curl -X POST https://api.cqtai.com/api/cqt/generator/qwen \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{ "model": "qwen3-asr-flash", "audioUrl": "https://cdn.example.com/a.wav", "duration": 10 }'
# -> { "code":200, "data":"<taskId>" }

Response Example

{
  "code": 200,
  "data": {
    "id": "<taskId>",
    "status": "succeeded",
    "resultUrl": "识别出的文本内容…"
  }
}

Billing & Credits

0.022 credits/sec (pre-charged by duration) (x your user rate). Auto-refunded on failure.