Get an API key and set it as an environment variable. If using the SDK, install it.
- Create a task (this endpoint) and receive a
task_id. - Query the result by polling with the
task_id.
messages format and parameters as the synchronous endpoint, but requires the X-DashScope-Async: enable header.Authorizations
string
header
required
DashScope API Key. Create one in the Qwen Cloud console.
Header Parameters
enum<string>
required
Asynchronous processing configuration. Must be set to enable.
enable