Back to Skills

qwen-image-2

Generate and edit images with Alibaba Qwen-Image-2.0 models via inference.sh CLI. Models: Qwen-Image-2.0 (fast), Qwen-Image-2.0-Pro (professional text rendering). Capabilities: text-to-image, multi-image editing, complex text rendering. Triggers: qwen image, qwen-image, alibaba image, dashscope image, qwen image 2, qwen image pro

314stars49forksUpdated 4/8/2026

Security Assessment

Safe(100/100)
Security Score100/100

About qwen-image-2

The qwen-image-2 skill allows users to generate and edit images using Alibaba's Qwen-Image-2.0 models through the inference.sh CLI. It solves the problem of quick and efficient image generation, offering both basic and advanced functionality, including fast rendering and professional text-heavy designs. By utilizing the Qwen-Image-2.0 and Qwen-Image-2.0-Pro models, users can easily create images based on text prompts or modify existing images, with advanced capabilities like multi-image editing and fine-tuning with reference images.

The skill supports various use cases such as generating landscape images, designing logos, and creating professional posters with detailed text rendering. It also allows for customizing image resolution, adding specific prompts or negative prompts to refine results, and ensuring reproducibility with seed values. Ideal for both casual users needing quick results and professionals requiring high-quality text rendering, this skill provides versatility for diverse image-generation needs. Its ability to integrate with the inference.sh CLI ensures ease of use and a seamless workflow for both general users and those requiring more specialized image edits.

Designed for content creators, graphic designers, and developers who need powerful image creation tools, the qwen-image-2 skill is especially useful for those who regularly work with visual content generation or editing. Whether creating abstract art, promotional posters, or custom logos, this skill offers a broad range of applications tailored to both fast results and high-quality professional designs.

FAQ

How do I install and use qwen-image-2?

To use qwen-image-2, install the inference.sh CLI ('infsh'). After installation, log in with 'infsh login' and run commands like 'infsh app run alibaba/qwen-image-2' to generate images based on your prompt.

What models are available and what are their differences?

There are two models available: Qwen-Image-2.0 (fast and good for general use) and Qwen-Image-2.0-Pro (standard speed with professional text rendering, best for posters and text-heavy designs).

What are the input parameters I can use with qwen-image-2?

The main input parameters include 'prompt' (required), 'num_images' (for generating multiple images), 'width' and 'height' (to set resolution), 'reference_images' (for image editing), and 'seed' (for reproducibility).

Can I use this skill for both text and image-based prompts?

Yes, qwen-image-2 supports both text-to-image generation and multi-image editing based on reference images. You can provide specific image prompts or reference images for customization.

Are there any resolution limits for generated images?

Yes, the total pixel count for images must be between 512×512 and 2048×2048 pixels. The width and height should be in the range of 512 to 2048 pixels.

Install qwen-image-2

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill