Claude visitors: new accounts receive $1.00 in bonus API credit within 30 days. One per person; usage credits only.

WORKBUDDY + QWEN 2 IMAGE

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.

one MCP server · one API key · async task handled by the agent
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"
  }
}
Copy the MCP config to connect qwen-2
HOW IT WORKS

Use Qwen 2 Image in WorkBuddy in three steps

1

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
2

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
3

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
PARAMETERS

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.

FAQ

Qwen 2 Image + WorkBuddy questions

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.