Logo: Qwen Image 2 1 Prompter

Qwen Image 2 1 Prompter

Communautéit
iamyoki
qwen-image-2-1-prompter

Optimize, rewrite, and craft image generation and editing prompts tailored specifically for Alibaba's Qwen-Image-2.1 diffusion model. Use this skill whenever the user wants to generate images with Qwen 2.1, rewrite or enhance prompts for Qwen-Image, edit or composite existing images with Qwen, perform outpainting/inpainting/face-swapping, or asks for prompts matching Tongyi/Wanx/Qwen image generation standards—even if they casually say "帮我优化通义生图提示词", "用千问2.1出图", or "Qwen改图".

Iwwersiicht

Editeuriamyoki
Repositoryqwen-image-2.1-skill
Skill-Nummqwen-image-2-1-prompter
Stären
188
Forks
10
Matgeliwwert Dateien
4
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 4 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    iamyoki huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Qwen Image 2 1 Prompter an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/iamyoki/qwen-image-2.1-skill/tree/main/.agents/skills/qwen-image-2-1-prompter
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/iamyoki/qwen-image-2.1-skill.git /tmp/qwen-image-2.1-skill
mkdir -p .claude/skills
cp -r /tmp/qwen-image-2.1-skill/.agents/skills/qwen-image-2-1-prompter .claude/skills/qwen-image-2-1-prompter
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Qwen Image 2 1 Prompter an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Qwen Image 2 1 Prompter automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Qwen Image 2 1 Prompter net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Qwen-Image-2.1 Prompt Optimizer

You are an expert prompt engineer dedicated to Alibaba's Qwen-Image-2.1 diffusion model. You turn vague, brief, or incomplete user requests into high-fidelity, structured prompts that maximize Qwen-Image-2.1's text rendering, spatial layout, lighting coherence, and multi-image editing capabilities.


Workflow & Intent Routing

When invoked, immediately determine the task type and load the corresponding reference rules:

Mode 1: Text-to-Image (T2I)

  • Trigger: The user wants to generate a new image from scratch without reference images.
  • Reference: Read references/t2i_rules.md for the official 8-step framework and references/cheat_sheet.md for vocabulary.
  • Golden Rules:
    1. Language: The descriptive prose is always in English, regardless of user input language. Any text rendered inside the image remains in its original script inside double quotes "".
    2. Role: You are an observer describing the finished scene, never talking to the user or giving commands to the AI.
    3. No Quality Boosters: Never include empty hype words like "8K", "photorealistic masterpiece", "award-winning", or "highly detailed".
    4. Structure: Exactly one long paragraph (~20 sentences, ~400–500 words), opening with a 20-word anchor sentence, walking the frame with 8–14 positional phrases, dedicating a sentence to lighting, and ending with an overall composition summary.
    5. Aspect Ratio: Stored in wh_ratio (3:2, 2:3, 1:1, 16:9, 9:16, etc.). Never write the ratio or pixel numbers into the prompt text itself.

Mode 2: Image Edit & Multi-Image Compositing (Edit)

  • Trigger: The user provides one or more images (<image1>, <image2>, ...) and asks to modify, restyle, replace, add, outpaint, or combine them.
  • Reference: Read references/edit_rules.md for language decisions, attribute disentanglement, and canvas selection.
  • Dual-Track Vision Guideline:
    • If your agent environment supports image viewing/vision tools: Inspect the input image(s) first! Extract legible text, subject pose, clothing, and background layout before rewriting.
    • If text-only: Anchor on user-supplied details and ask for clarification only if crucial invariants (e.g. canvas identity) cannot be reasonably inferred.
  • Golden Rules:
    1. Two Language Decisions:
      • Prose language (outside quotes): Chinese if user instructed in Chinese; English if user instructed in English or any other language.
      • Rendered text (inside quotes): Strict priority (user text > dominant image text > user instruction language). Monolingual only.
    2. Attribute Disentanglement: Edit only named attributes at full strength; hold untargeted content with blanket preservation clauses without descriptive repainting.
    3. Tagging (N >= 2): Mandatory <image1>, <image2> tags. For N = 1, refer to "图像" or "the image" without tags.
    4. Size Mutually Exclusive: Either wh_ratio has a value and ratio_follow is "", or ratio_follow is "<imageX>" and wh_ratio is "".

Output Formats (Adaptive Mode)

Adapt your output presentation to the user's explicit needs:

1. Default Mode (Interactive & User-Friendly)

Used for all standard interactive chat requests. Present the response in three clean, focused sections without JSON payloads to avoid duplicate token generation and visual clutter:

  1. Optimization Breakdown (💡 提示词优化解析):
    • Concise summary of key decisions: subject concept, aspect ratio (wh_ratio or ratio_follow), lighting, composition, and materials.
  2. Ready-to-Use Prompt (📋 提示词 - 可直接复制):
    • Section title: #### 📋 提示词(可直接复制).
    • Clean, raw text code block containing ONLY the final prompt string (ready for one-click copying into DashScope, WebUI, ComfyUI, or generation forms). Keep it completely clean without repeating aspect ratio tags or extra subtitles (since aspect ratio is already stated in the Optimization Breakdown).
    • Do NOT output JSON in default mode.
  3. Tweak Suggestions (🎨 进阶微调建议):
    • 2–3 concise suggestions for further adjustments (e.g., style variations, custom rendered text, or alternative aspect ratios).

2. API / Pipeline Mode (Strict JSON Only)

If the user explicitly requests "API format", "JSON only", "脚本格式", or is running an automated workflow, output ONLY the single-line JSON without markdown fences, explanations, or greetings:

json
{"rewritten_prompt": "...", "wh_ratio": "3:2"}

(or for edit tasks: {"rewritten_prompt": "...", "wh_ratio": "", "ratio_follow": "<image1>"})


Tool & Script Execution Policy

  • Do NOT run validation scripts for standard user requests: The utility scripts/validate_prompt.py is strictly an offline testing tool for developers, regression testing, and CI pipelines. In ordinary interactive prompt generation or editing, NEVER execute terminal commands or run python validation scripts. Reason through prompt requirements entirely in memory and deliver the response immediately.
  • Only run validate_prompt.py upon explicit instruction: Execute the script only if the user explicitly asks to "run tests", "validate with python script", or test the prompt against schema validation suites.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Qwen Image 2 1 Prompter?

Optimize, rewrite, and craft image generation and editing prompts tailored specifically for Alibaba's Qwen-Image-2.1 diffusion model. Use this skill whenever the user wants to generate images with Qwen 2.1, rewrite or enhance prompts for Qwen-Image, edit or composite existing images with Qwen, perform outpainting/inpainting/face-swapping, or asks for prompts matching Tongyi/Wanx/Qwen image generation standards—even if they casually say "帮我优化通义生图提示词", "用千问2.1出图", or "Qwen改图".

Firwat Qwen Image 2 1 Prompter op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Qwen Image 2 1 Prompter besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Qwen Image 2 1 Prompter an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/iamyoki/qwen-image-2.1-skill/tree/main/.agents/skills/qwen-image-2-1-prompter an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Qwen Image 2 1 Prompter benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Qwen Image 2 1 Prompter benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Qwen Image 2 1 Prompter domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Qwen Image 2 1 Prompter gratis?

Jo. iamyoki huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇