skillfed

aliyun-qwen-image

This skill provides standardized image generation using Alibaba's Qwen models through the DashScope SDK. It normalizes requests across qwen-image variants with support for prompts, negative prompts, dimensions, seeds, and reference images, while handling authentication via environment variables or credential files.

aliyun-qwen-image generates images using Qwen models through DashScope SDK with a normalized interface.

AI-generated summary based on this skill's SKILL.md

397 34 MIT updated by cinience

Install

cinience/alicloud-skills/aliyun-qwen-image · repository language: Python

git clone https://github.com/cinience/alicloud-skills
cp -r alicloud-skills/skills/ai/image/aliyun-qwen-image ~/.claude/skills/aliyun-qwen-image
npx skillfed install cinience/alicloud-skills/aliyun-qwen-image

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I generate images with the Qwen AI model using aliyun-qwen-image?

aliyun-qwen-image provides standardized image generation using Alibaba's Qwen models through the DashScope SDK. You pass a prompt, optional negative prompt, dimensions, and seed to the skill, which normalizes your request and calls the appropriate qwen-image variant (like qwen-image-max or qwen-image-plus). Authentication uses environment variables or credential files automatically.

What is the difference between qwen-image-plus vs qwen-image-max?

aliyun-qwen-image supports multiple Qwen image model variants, including qwen-image-plus and qwen-image-max, each with different capabilities and performance characteristics. The skill abstracts these differences by normalizing your image.generate requests and routing them to the correct model endpoint via DashScope API, so you can switch models without changing your integration code.

Can aliyun-qwen-image be integrated into a video-agent pipeline?

Yes, aliyun-qwen-image is designed for integration into video-agent pipelines. It maps normalized image.generate requests to the DashScope API, allowing you to generate images on-demand as part of a larger video workflow. The skill handles authentication, error handling, and API response parsing transparently.

How do I set up API key authentication for aliyun-qwen-image?

aliyun-qwen-image handles authentication via environment variables or credential files—no manual setup required. Set your DashScope API key in your environment, and the skill automatically uses it. The skill also includes error handling for authentication failures and rate-limit responses (like 429 errors).

Does aliyun-qwen-image support reproducible image generation with seeds?

Yes, aliyun-qwen-image supports reproducible image generation by accepting a seed parameter. You can also enable caching of results to optimize repeated requests. These features help ensure consistent outputs and reduce API calls when generating similar images.

What parameters does aliyun-qwen-image accept for image generation?

aliyun-qwen-image accepts prompts, negative prompts, image dimensions, seeds for reproducibility, and reference images. It normalizes these parameters across Qwen model variants and handles the DashScope SDK integration, returning structured JSON responses with generated image URLs and metadata.

SKILL.md

rendered from the published skill — quoted content, verbatim

Category: provider

Model Studio Qwen Image

Validation

mkdir -p output/aliyun-qwen-image
python -m py_compile skills/ai/image/aliyun-qwen-image/scripts/generate_image.py && echo "py_compile_ok" > output/aliyun-qwen-image/validate.txt

Pass criteria: command exits 0 and output/aliyun-qwen-image/validate.txt is generated.

Output And Evidence

  • Write generated image URLs, prompts, and metadata to output/aliyun-qwen-image/.
  • Keep at least one sample JSON response per run.

Build consistent image generation behavior for the video-agent pipeline by standardizing image.generate inputs/outputs and using DashScope SDK (Python) with the exact model name.

Prerequisites

  • Install SDK (recommended in a venv to avoid PEP 668

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 6 files
skills/ai/image/aliyun-qwen-image/SKILL.md
skills/ai/image/aliyun-qwen-image/agents/openai.yaml
skills/ai/image/aliyun-qwen-image/references/api_reference.md
skills/ai/image/aliyun-qwen-image/references/prompt-guide.md
skills/ai/image/aliyun-qwen-image/references/sources.md
skills/ai/image/aliyun-qwen-image/scripts/generate_image.py

Related skills

Tags

text-to-image-generation alibaba-cloud-integration ai-model-provider image-synthesis-sdk prompt-engineering-support api-key-authentication reproducible-generation batch-image-processing error-retry-logic output-storage-guidance