Image Generate

把「提示词 + 尺寸/档位/张数 + 可选单张参考图」生成为一张或数张图片,支持文生图(t2i)与参考图生图(i2i 改绘)。适用于「输入框手动生成」这条轻量链路:用户在输入框用 `/image-generate` 斜杠命令加载本 skill、在工具条选参数、写 prompt,发送后由本 skill 解析命令行参数并调度图片生成工具出图并落画布。不适用于完整片型流程(简报/大纲/镜头表/分镜/逐镜交付),那些请用 story-short-generator 或 brand-promo-video-generator。

44 stars 7 forksImages, Video & Audio

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add fengyungithub/dsh-short-video-studio --skill image-generate
Manual install
git clone --depth 1 https://github.com/fengyungithub/dsh-short-video-studio.git /tmp/dsh-short-video-studio
mkdir -p ~/.claude/skills
cp -r /tmp/dsh-short-video-studio/skills/image-generate ~/.claude/skills/image-generate

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-generate)

最简单的图片生成流程:解析任务消息里的字段,调用 ComfyUI 图片工具出图,产物落画布并回报结果。支持**文生图(t2i)**与**参考图生图(i2i,FLUX.2 ReferenceLatent 改绘)**。

## 工具映射(本插件工具,已注册)

| 用途 | 用这个工具 |
|---|---|
| 文生图(无参考,FLUX) | `comfy_generate_image`(= capability `image.text2image` 的别名) |
| 参考图生图(改绘:换装/改背景/风格迁移/构图微调) | `comfy_render`(capability=`image.image2image` + `ref_nodes`) |
| 通用渲染(指定 capability / tier) | `comfy_render` |
| 查可用能力与档位 | `comfy_list_workflows` |
| 读画布节点 / 列表(核对参考/产物存在) | `canvas_get_node` / `canvas_list_nodes` |
| 需要用户选择时 | `ask_user_question`(选项卡) |

不要写死模型名或工作流:**实现由配置决定**(设置页的「档位选择 / 家族偏好 / 钉实现」),技能只表达能力 + 档位 + 分辨率/画幅 + 创作参数。要换实现请引导用户在设置页改,**不要在对话或流程里出现工作流 id**。

**首次生成可能被配置门拦住**:本项目还没有配置卡时,生成会被拒绝一次(提示先建卡)。按提示调用 `canvas_set_state(flow='free', aspectRatio=…, mode=…, imageTier=…)` 建卡后重试;不要原样重复提交。配置卡可用 `canvas_get_state` 读回,用户也可在画布「⚙ 配置」里改。

## 输入契约(任务消息结构)

发送进会话的任务消息由输入框草稿直接构成,结构为:**`/image-generate` 斜杠命令行(加载本 skill,参数以 `key=value` 内联)+ 一个空行 + 用户 prompt 正文**。示例:

t2i 文生图:

```
/image-generate type=t2i ratio=16:9 size=1344x768 count=2

一只戴草帽的橘猫坐在海边礁石上,黄昏逆光,电影感胶片色调
```

i2i 参考图生图(参考图必须是当前会话画布的图片节点 id):

```
/image-generate type=i2i tier=quality count=1 refs=c71ee706-7256-4258-9215-4f3e69e31ffe

Keep the flying pig exactly as it is, only change the sky from daytime blue to a warm golden sunset
```

| 字段 | 含义 | 示例 |
|---|---|---|
| prompt(空行后的正文) | 画面描述(t2i)或「保留什么、改什么」的改动描述(i2i) | 一只戴草帽的橘猫… |
| `type` | `t2i`(文生图)或 `i2i`(参考图生图) | t2i |
Read the full skill on GitHub

Details

Skill name
image-generate
Path
skills/image-generate/SKILL.md
License
Apache-2.0
Repo updated
9 November 2026

FAQ

What does the Image Generate skill do?

把「提示词 + 尺寸/档位/张数 + 可选单张参考图」生成为一张或数张图片,支持文生图(t2i)与参考图生图(i2i 改绘)。适用于「输入框手动生成」这条轻量链路:用户在输入框用 `/image-generate` 斜杠命令加载本 skill、在工具条选参数、写 prompt,发送后由本 skill 解析命令行参数并调度图片生成工具出图并落画布。不适用于完整片型流程(简报/大纲/镜头表/分镜/逐镜交付),那些请用 story-short-generator 或 brand-promo-video-generator。

How do I install the Image Generate skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add fengyungithub/dsh-short-video-studio --skill image-generate. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Image Generate popular?

It lives in fengyungithub/dsh-short-video-studio, which has 44 GitHub stars and 7 forks.

Related skills

Brand Promo Video Generator

44

fengyungithub/dsh-short-video-studio

把可核验的品牌素材与推广目标转化为一条完整的品牌宣传短片生产流程,依次完成素材收集、品牌事实表、来源清单、品牌资产上画布、创意方向、六列标准镜头表、镜头表自检门、生成前硬确认、逐镜视频生成(视频原生音频 + 画面内原生文案)、拼接成片与最终交付复查。全程走本地 ComfyUI 能力注册表(图片文生图 + 视频 AV 模型);带身份识别素材(LOGO / 产品界面 / 包装 / 吉祥物)绝不重绘或近似——画布原件可用时首帧锁定,否则降级为精确描述锚点。适用于品牌 / 产品 / 网站 / App / 小店 / 个人项目的新品发布、官网展示与社媒推广短片。不适用于 KOC 口播带货广告、缺少授权素材时仿造真实品牌标识、虚构产品功能或长篇剧情影片。

Frontend & Design

H3 Prompt Writing

44

fengyungithub/dsh-short-video-studio

Write MiniMax H3 video generation prompts for T2VA, I2VA, FL2VA, L2VA, and Ref2VA. Use when rewriting multimodal requests into H3 prompt structures, composing integrated_multimodal_description, overall_soundscape, and non_diegetic_music, aligning keyframes, or defining reference labels for images, videos, and audio. dsh-short-video-studio 适配版:还负责把画布上的镜头表/分镜/参考绑定重写为 H3 结构化 prompt(见文末「插件对接」适配节)。

AI, LLMs & Agents

Qwen Image Prompt Writing

44

fengyungithub/dsh-short-video-studio

把一句简短或含糊的出图需求重写为 Qwen-Image 2.1 能稳定吃下的长描述(官方 PE-T2I 八步骨架),或把含糊的改图需求重写为精确的编辑指令(官方 PE-I2I 属性解耦规范),并裁定画幅、RGBA 透明句柄、图内文字写法与「负向约束的正向改写」。触发词:提示词增强、提示词优化、扩写 prompt、一句话出图、改图指令、prompt 怎么写、qwen 提示词。

AI, LLMs & Agents

Video Generate

44

fengyungithub/dsh-short-video-studio

把「提示词 + 参考图/首帧图 + 尺寸/档位/时长/比例」等参数生成为一段单镜头视频。支持 r2v(参考图生成,ref_nodes 绑定角色/场景)与 i2v(首帧/末帧生成,first/last_frame 串联)。适用于「输入框手动生成」这条轻量链路:用户在输入框用 `/video-generate` 斜杠命令加载本 skill、在工具条选参数、写 prompt,发送后由本 skill 解析命令行参数并调度 comfy_generate_video 出片。不适用于完整片型流程(简报/大纲/镜头表/分镜/逐镜交付),那些请用 story-short-generator 或 brand-promo-video-generator。

Images, Video & Audio

Youtube Transcript Summarizer

52

jykim/claude-obsidian-skills

Extract YouTube video transcripts and generate AI-powered summaries in any language. Converts videos to structured markdown documents with summaries, key points, and timelines.

Images, Video & Audio10

Summarize

44

iamclancyliang/nanobot-eino

Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).

Images, Video & Audio

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