marsonshine/ai-skills/qwen-image-generator

Claude Code and agent skill by marsonshine/ai-skills

Trust tier 3
  • community
Source check pending

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-generator

SKILL.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

FileRole
scripts/generate_qwen_image.ps1Windows entrypoint
scripts/generate_qwen_image.tsDashScope client, polling, downloads, JSON output
references/config/extend-schema.mdEXTEND.md keys
references/config/first-time-setup.mdoptional saved-preference setup
references/prompting.mdstyle presets, prompt shaping, flashcard rules

Credentials

Resolve credentials in this order:

  1. QWEN_IMAGE_API_KEY
  2. DASHSCOPE_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:

  1. .baoyu-skills/qwen-image-generator/EXTEND.md
  2. $XDG_CONFIG_HOME/baoyu-skills/qwen-image-generator/EXTEND.md
  3. $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

  1. Parse the request for subject, style, size, visible text, and output path.
  2. Fill missing values from EXTEND.md, then built-in defaults. Explicit request values take precedence.
  3. Ask only for still-missing values that materially change the result.
  4. Write the final prompt in English.
  5. Prefer project batch wrappers when they already handle reruns or selective regeneration. Otherwise run scripts/generate_qwen_image.ps1.
  6. Generate sequentially by default. Only parallelize when the user explicitly asks.
  7. 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/marsonshine/ai-skills/qwen-image-generator/badge)](https://verified-skill.com/skills/marsonshine/ai-skills/qwen-image-generator)

Something wrong with this skill or its page? Tell us.