Qwen API guide

qianwen.com

Send prompts to Qwen, revisit past conversations, and generate images you can save locally from your browser session.

Actions and inputs

qwen ask

Send a prompt and wait for Qwen's full reply.

Inputs prompt; optional new chat, DeepThink, or DeepResearch

qwen history

List recent conversations in your signed-in account.

Inputs optional conversation limit

qwen detail

Open a past conversation and read its messages.

Inputs conversation ID

qwen image

Generate an image and save it locally.

Inputs image prompt, optional output directory

Conversations

Create

Start a new conversation in your signed-in account and send the first prompt.

Inputs Initial prompt

Read

Open a conversation from your history and read its messages.

Inputs Conversation ID or title

Update

Continue one of your conversations with a follow-up prompt without changing earlier messages.

Inputs Conversation ID, follow-up prompt

Delete

Delete a conversation from your own history after confirming the selection.

Inputs Conversation ID, confirmation