Image Generator

Generate or edit images from text and local files, image URLs, or data URLs through image API. Use when the user asks to create an image, generate from one or more reference images, combine styles or elements across references, or edit a marked region while blending the result into the original scene.

2,187 stars 228 forksImages, Video & Audio

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add lessweb/deepcode-cli --skill image-generator
Manual install
git clone --depth 1 https://github.com/lessweb/deepcode-cli.git /tmp/deepcode-cli
mkdir -p ~/.claude/skills
cp -r /tmp/deepcode-cli/packages/core/templates/skills/bundled/image-generator ~/.claude/skills/image-generator

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Image Generator

通过 `scripts/image_generator.py` 试算积分并生成无水印 PNG。支持纯文本生图、多参考图融合,以及依据图片中标记区域进行局部编辑。

## Language / 语言

Always respond in the user's language, not the language of this document.

- If the user's latest message or the ongoing conversation is in English (for example `Generate a picture of a baby panda`), use English for ALL user-facing text: assistant explanations, `AskUserQuestion` questions, option labels and descriptions, confirmation prompts, and final result reports.
- If the user writes in Chinese, use Chinese for all of the above.
- When presenting ratio or resolution options, translate the direction labels into the user's language (for example `1:1 Square`, `3:4 Portrait`, `4:3 Landscape` in English; `1:1 正方形`, `3:4 竖屏`, `4:3 横屏` in Chinese). Do not mix both languages in a single option label.

## 执行流程

严格按以下顺序执行。不得在用户明确确认积分消耗前调用图片生成接口。

### 1. 收集真实需求

- 将用户真正想得到的画面整理成完整提示词,保留主体、动作、环境、构图、风格、光线、色彩、文字和限制条件。
- 收集用户提到的全部本地图片路径、HTTP(S) 图片 URL 或 data URL。最多使用 10 张图片,不要把普通网页 URL 当作图片 URL。
- 对多参考图,在提示词中说明每张图承担的角色,例如“参考图 1 的构图、参考图 2 的人物服装、参考图 3 的配色”,避免只写“融合这些图片”。
- 对标记区域编辑,将含标记的图片作为参考图,并在提示词中清楚说明标记的外观、要替换或补充的内容、必须保留的未标记区域,以及最终结果中移除标记并自然融合边缘、透视、光照和纹理。
- 如果需求本身仍有会显著改变结果的歧义,先用 `AskUserQuestion` 补齐,不要擅自添加关键视觉设定。

### 2. 确认比例和分辨率

如果用户已经明确指定支持的比例或分辨率,直接采用,不要重复询问。如果任一项缺失,必须使用 `AskUserQuestion` 让用户选择;两项都缺失时,在同一次工具调用中提出两个问题。

比例选项的标签必须带方向符号,不能只显示数字。支持的比例为:

- `□ 1:1(正方形)`
- `▯ 3:4(竖屏)`
- `▭ 4:3(横屏)`
- `▭ 16:9(横屏)`
- `▯ 9:16(竖屏)`
- `▯ 2:3(竖屏)`
- `▭ 3:2(横屏)`
Read the full skill on GitHub

Details

Skill name
image-generator
Path
packages/core/templates/skills/bundled/image-generator/SKILL.md
License
MIT
Repo updated
13 November 2026

FAQ

What does the Image Generator skill do?

Generate or edit images from text and local files, image URLs, or data URLs through image API. Use when the user asks to create an image, generate from one or more reference images, combine styles or elements across references, or edit a marked region while blending the result into the original scene.

How do I install the Image Generator skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add lessweb/deepcode-cli --skill image-generator. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Image Generator popular?

It lives in lessweb/deepcode-cli, which has 2,187 GitHub stars and 228 forks.

Related skills

Deepcode Self Refer

2.2k

lessweb/deepcode-cli

Answers questions about Deep Code CLI itself — including features, configuration options, slash commands, Skills, MCP integration, permissions, notifications, session persistence, and troubleshooting. Use this when users ask how to configure or use Deep Code, how to set up an MCP server, configure notifications (such as Slack/Feishu), manage permissions, view available skills, understand slash commands, configure thinking mode, etc.

Software Development228

Skill Digester

2.2k

lessweb/deepcode-cli

Reviews and improves another DeepCode skill's SKILL.md description field, and guides Agent Skill installation into user or project .agents/skills roots. Use when the user asks to digest a skill, install an Agent Skill, install a skill to user/project scope, or says "消化技能" or "安装 agent skill".

AI, LLMs & Agents228

Skill Writer

2.2k

lessweb/deepcode-cli

Guide users through creating, updating, debugging, and validating Agent Skills for AI agents. Use when the user wants to create, write, author, design, troubleshoot, validate, or improve a Skill, or needs help with SKILL.md, frontmatter, or skill structure.

Skill & Plugin Authoring228

Video Generator

2.2k

lessweb/deepcode-cli

使用AI大模型根据文字、首尾帧图片或图片/视频/音频参考素材生成带对白和环境音的视频。适用于文生视频、图生视频、首尾帧过渡和多模态参考视频生成,通过 Deep Code Plus 试算积分、确认后上传素材并生成视频。

Images, Video & Audio228

Self Host

1.6k

ajnart/self-host

Load when the person wants to run or own apps on their own machine, replace a subscription (Netflix, Google Photos, Dropbox, a password manager), or asks about anything already set up with self-host, such as "where is my movie app?".

Images, Video & AudioIn 2 lists71

Illustration Style

3.4k

Owl-Listener/designer-skills

Define an illustration style guide — visual language, colour usage, and application rules. Use when commissioning or standardising illustration. For icons, use `icon-system` (design-systems).

Images, Video & Audio447

Browse the most popular Claude skills, all images, video & audio skills, or write your own with the skills generator.