imagegen

Route visual deliverable requests to Mermaid diagrams, Python plotting, code, or AI image generation.

1|Updated Jul 17, 2026
One-click install
npx skills add https://github.com/waiyanphyo999/telegram-bot-deploy --skill imagegen-waiyanphyo999
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imagegen
Source: https://github.com/waiyanphyo999/telegram-bot-deploy/tree/main/skills/imagegen
Command: npx skills add https://github.com/waiyanphyo999/telegram-bot-deploy --skill imagegen-waiyanphyo999

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Visual requests are ambiguous: a diagram, a chart, a UI mockup, and a poster each require different production routes, and choosing the wrong one produces unusable output. This Skill classifies each visual request and routes it to the correct workflow before any generation begins. ## Core Features & Use Cases - Authoritative Routing: Maps user intent to the right route—Mermaid for structured diagrams, Python plotting for numeric charts, code for functional prototypes, and AI image generation or editing for final visual assets. - Scenario Classification: Assigns scenarios such as website hero, product image, UI mockup, logo, game asset, transparent cutout, precise edit, or upscale/restore, each with its own success criteria and guardrails. - Prompt Recipes and Quality Gates: Provides scenario-specific prompt structures in references/prompt-recipes.md and a lightweight pass/fail checklist to avoid over-iteration. - Use Case: A user asks to "upscale this product photo"—the Skill routes it to image editing with the exact upscale prompt, preserving all original content instead of reinterpreting it. ## Quick Start Ask the assistant to generate, edit, upscale, or diagram any visual, and it will classify the request and produce the correct artifact type.

Frequently Asked Questions about imagegen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose between Mermaid and AI image generation for a diagram?

Use Mermaid or deterministic rendering when node-edge relationships, sequences, hierarchies, or machine-readable structure must be accurate. Use AI image generation only for conceptual explanatory visuals where visual polish matters more than exact graph syntax.

How do I upscale or restore an image without changing its content?

Use the image variation tool with the exact upscale/restore prompt from references/prompt-recipes.md, without adding or rephrasing instructions. This preserves the original content, style, and identity while increasing resolution and clarity.

Should UI mockups be generated as images or built with HTML/CSS?

Default to direct AI image generation for UI mockup images. Build HTML/CSS/React only when the user explicitly requests source code, a working prototype, interactivity, or deployment.

Can AI image generation handle Chinese or multilingual text in posters?

Yes, text in any language should be rendered directly by the image generation model as part of the final image. Generating a blank background and overlaying text with Python, PIL, or HTML is explicitly forbidden as a workaround.

When should Python plotting be used instead of AI image generation?

Use Python plotting whenever numeric data, axes, scales, or measured comparisons are involved, since AI generation cannot preserve accurate data mapping. AI generation is acceptable only for optional decorative assets around the chart.

What are the limitations of AI image editing for precise changes?

Image editing changes only the specified target region while preserving identity, lighting, and non-target areas, but it is not suited for pixel-perfect typography or legally exact fine print. Those cases require a deterministic layout workflow with editable source files.