Claude visitors: new accounts receive $1.00 in bonus API credit within 30 days. One per person; usage credits only.
Use Qwen 2 Image in WorkBuddy.
Qwen 2 Image is Alibaba's image generation and editing model. WorkBuddy speaks MCP natively — add RunAPI as an MCP server, prompt the workbench agent, and it calls Qwen 2 Image as a tool. Text-to-image and instruction-based editing through two model variants, one API key.
Use the runapi MCP server to generate an image with Qwen 2 Image.
Requirements:
- Call the RunAPI text-to-image tool with model set to "qwen-2-text-to-image".
- Prompt: "A traditional Chinese ink painting of misty mountains at dawn, elegant brushwork".
- Wait until the task completes, then give me the image URL.
- For image editing, use model "qwen-2-edit-image" and include an image_url.
{
"mcp_servers": {
"runapi": {
"url": "https://runapi.ai/mcp",
"transport": "streamable_http",
"headers": {
"Authorization": "Bearer ${RUNAPI_API_KEY}"
}
}
}
}
{
"task_id": "tsk_abc123",
"status": "completed",
"model": "qwen-2-text-to-image",
"output": {
"image_url": "https://runapi.ai/files/tsk_abc123.png"
}
}
Use Qwen 2 Image in WorkBuddy in three steps
Add the RunAPI MCP server
Register an MCP server named runapi in WorkBuddy pointing at https://runapi.ai/mcp over streamable HTTP, with the Authorization header reading your key from RUNAPI_API_KEY. One server exposes Qwen 2 Image alongside every other RunAPI model.
url: https://runapi.ai/mcp
Prompt the workbench agent
Paste the prompt into WorkBuddy. Set the model to qwen-2-text-to-image for generation, or qwen-2-edit-image with an image_url for editing. Prompts can be written in Chinese, English, or mixed-language text.
model: qwen-2-text-to-image
Let the agent return the result
The tool call creates an async task and returns a task_id. WorkBuddy waits on your behalf until the status changes to completed, then posts the image URL back into the conversation.
task_id: tsk_abc123
Qwen 2 Image API parameters
| Parameter | Type | Description |
|---|---|---|
model |
string |
Required. qwen-2-text-to-image or qwen-2-edit-image. |
prompt |
string |
Text description or editing instruction. |
image_url |
string |
Source image for edit mode. |
size |
string |
Optional. Output dimensions. |
callback_url |
string |
Optional. Webhook URL for async completion notification. |
What is Qwen 2 Image on WorkBuddy?
Qwen 2 Image is Alibaba's image model for generation and instruction-based editing through RunAPI. It is strong at multilingual prompt understanding (especially Chinese and English), handles complex multi-object scenes well, and supports describing what to change in natural language. In WorkBuddy it appears as a tool on the runapi MCP server, so both generating and editing images become one-sentence requests to the workbench agent.
Qwen 2 Image use cases
Multilingual marketing campaigns
Generate images from prompts written in Chinese, English, or mixed-language text for bilingual marketing materials — no need to translate the brief before handing it to WorkBuddy.
Instruction-based image editing
Modify existing images by describing the change in plain language — swap backgrounds, add objects, adjust lighting, or remove elements without opening an editor, straight from the workbench chat.
Fine-tuning open-weight models for specific domains
Use Qwen 2 Image outputs as training data or baselines when fine-tuning open-weight Qwen models for domain-specific image tasks like product catalogs or branded content.
Qwen 2 Image + WorkBuddy questions
Yes. WorkBuddy speaks MCP natively. Add RunAPI as an MCP server pointing at https://runapi.ai/mcp with your RUNAPI_API_KEY, then ask the agent to call the text-to-image tool with model set to qwen-2-text-to-image.
No. The same RUNAPI_API_KEY behind the runapi MCP server also covers Qwen 2 Image. All RunAPI models share one key and one credits balance.
Qwen 2 Image has native multilingual support from Alibaba's Qwen architecture, so it understands Chinese prompts without translation. Other models often require English prompts for best results. If your WorkBuddy workflows involve Chinese text or bilingual content, Qwen 2 is a strong choice.
Async. The tool call returns a task ID immediately, and the WorkBuddy agent handles the waiting for you — it returns the finished image URL in the conversation once the task completes.
Qwen 2 Image uses per-task billing. Check the RunAPI pricing page for current rates. There is no monthly subscription or minimum spend — you pay only for completed generations.
WorkBuddy general setup
Not connected yet? Start with the RunAPI MCP setup guide for WorkBuddy.
WorkBuddy setup guide →Qwen 2 Image model catalog
See all Qwen 2 Image variants, pricing, and API docs.
Qwen 2 Image models →Try Qwen 2 Image in WorkBuddy today.
Get a free RunAPI key, add the MCP server to WorkBuddy, and start generating and editing images from the workbench.