marsonshine/ai-skills/qwen-image-generator
Claude Code and agent skill by marsonshine/ai-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate and save images when the user explicitly chooses Qwen, DashScope, or this Qwen image workflow. Not for provider-neutral generation, image editing, or ID photos.
Install
npx vskill@latest install marsonshine/ai-skills/qwen-image-generatorSKILL.md
Qwen Image Generator
Turn rough image requests into saved local files. Default to doing the work end to end: load preferences, ask only for still-missing settings, write one concrete English prompt, generate sequentially, save immediately, and report the file paths plus the final prompt used.
Compatibility
Works best with PowerShell, Node.js 22+, environment variables, and file tools. The PowerShell entry is thin; scripts/generate_qwen_image.ts owns the DashScope call, polling, downloads, and JSON output.
Runtime layout
| File | Role | |
|---|---|---|
scripts/generate_qwen_image.ps1 | Windows entrypoint | |
scripts/generate_qwen_image.ts | DashScope client, polling, downloads, JSON output | |
references/config/extend-schema.md | EXTEND.md keys | |
references/config/first-time-setup.md | optional saved-preference setup | |
references/prompting.md | style presets, prompt shaping, flashcard rules |
Credentials
Resolve credentials in this order:
QWEN_IMAGE_API_KEYDASHSCOPE_API_KEY
Optional: DASHSCOPE_BASE_URL
If no key exists, prepare the prompt and effective settings, report the missing credential, and ask the user to configure it locally. Do not submit generation or claim success until a key is available.
Preferences
Check for EXTEND.md in this order:
.baoyu-skills/qwen-image-generator/EXTEND.md$XDG_CONFIG_HOME/baoyu-skills/qwen-image-generator/EXTEND.md$HOME/.baoyu-skills/qwen-image-generator/EXTEND.md
If none exists, use the built-in defaults below and continue. Read references/config/first-time-setup.md only when the user wants to save or change persistent defaults; an image request does not require a preference file.
Built-in defaults when neither the request nor EXTEND.md overrides them:
- model:
qwen-image-2.0 - style:
flat-illustration - size:
1024x1024 - text policy:
avoid - prompt enhancement:
true - watermark:
false - output directory:
./generated-images/
Working rules
- Parse the request for subject, style, size, visible text, and output path.
- Fill missing values from
EXTEND.md, then built-in defaults. Explicit request values take precedence. - Ask only for still-missing values that materially change the result.
- Write the final prompt in English.
- Prefer project batch wrappers when they already handle reruns or selective regeneration. Otherwise run
scripts/generate_qwen_image.ps1. - Generate sequentially by default. Only parallelize when the user explicitly asks.
- Save each successful result immediately and report the saved path, final prompt, and effective settings.
Load references/prompting.md when the request needs preset choice, educational-image rules, or prompt-shaping guidance.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/qwen-image-generator/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/marsonshine/ai-skills/qwen-image-generator)