Logo di Qwen Image 2 1 Prompter

Qwen Image 2 1 Prompter

Community
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改图".

Panoramica

Pubblicato daiamyoki
Repositoryqwen-image-2.1-skill
Nome della skillqwen-image-2-1-prompter
Stelle
188
Fork
10
File inclusi
4
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 4

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da iamyoki su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Qwen Image 2 1 Prompter in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/iamyoki/qwen-image-2.1-skill/tree/main/.agents/skills/qwen-image-2-1-prompter
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Qwen Image 2 1 Prompter in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Qwen Image 2 1 Prompter non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Qwen Image 2 1 Prompter non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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改图".

Perché usare Qwen Image 2 1 Prompter su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Qwen Image 2 1 Prompter è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Qwen Image 2 1 Prompter in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/iamyoki/qwen-image-2.1-skill/tree/main/.agents/skills/qwen-image-2-1-prompter. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Qwen Image 2 1 Prompter?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Qwen Image 2 1 Prompter?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Qwen Image 2 1 Prompter: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Qwen Image 2 1 Prompter è gratuita?

Sì. È pubblicata su GitHub da iamyoki con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇