能做什么
MiniMax-H3-Image, an open-weight model for 16-megapixel image generation and editing.
作者提供的原文
- 连接方式 供 AI 读取的指令文件,其中有调用外部服务的步骤
- 账号或密钥 有些步骤需要 MINIMAX_API_KEY 的密钥(依据 README)
- 分类 自动化与智能体
给作者:在 README 中加徽章
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/skills/minimax-ai-minimax-h3-image)相似的 Skill
同类工作,排序与 Skill 列表相同
Skill 和 MCP 有什么不同
MCP = 手
把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。
Skill = 手册
教 AI 怎么做某项工作的文本文件,不连接任何服务。
有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。
适用的应用
Claude CodeCodexCursor
依据开发者 README 和 repo 中的文件夹
安装
安全吗?
- 作者
GitHub 账号 MiniMax-AI(组织),已创建 1 年
- 使用与维护
★ 422 星,目前用户较少 · 代码最近更新 2026年11月12日
- 有脚本吗?
有 1 个可以在电脑上运行的脚本:scripts/generate.py
- 会联网吗?
会联网的脚本:scripts/generate.py
- 会修改整台电脑的设置吗?
没有发现 hook 或写入电脑设置的操作
根据仓库 commit 4085090 中的文件自动检查(只读取文件,没有运行任何内容)。这不是安全保证,请自己阅读后再决定
第一步:你用哪个 AI?
选择你用的应用,本页只显示该应用的安装方法
方式 1上传到 claude.ai(网页和应用)
从 GitHub 下载
这个 Skill 没有说明许可证,所以我们不在网站上提供 ZIP。请从 GitHub 下载并自己整理文件夹,或者用上面的"让 AI 帮你安装",更简单
解压后,只把 skills/h3-image-prompt-writing 文件夹重新压缩。ZIP 的最上层必须是包含 SKILL.md 的 h3-image-prompt-writing 文件夹,不能直接放散乱的文件
打开 claude.ai 的 Skills 页面并上传
+Create skillUpload a skill选择文件 h3-image-prompt-writing.zip
看不到 Upload 按钮?请先开启创建文件的权限
SettingsCapabilitiesCode execution and file creation
Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free
Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)
Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)
Checked against official docs 2026年11月12日 · Source: support.claude.com, support.claude.com, code.claude.com
方式 1让 Claude Code 帮你安装
复制这句话,粘贴到 Claude Code 的对话中
如果只用于一个项目,请粘贴到在该项目文件夹中打开的对话里 · AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
重新打开 Claude Code,输入 /h3-image-prompt-writing,或直接提出相关任务,Claude 会自动选用
Checked against official docs 2026年11月12日 · Source: code.claude.com
适合使用 Terminal 的人
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
开发者推荐的方式
安装 Node.js(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -v- 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
正在检查命令 · 通过后才会显示复制按钮
摘自开发者 README,会下载并运行开发者的代码
打开终端
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
把 skill 文件夹复制到 ~/.claude/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
重新打开 Claude Code,输入 /h3-image-prompt-writing,或直接提出相关任务,Claude 会自动选用
ChatGPT 桌面应用
ChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill
方式 1让 ChatGPT 帮你安装
在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中
AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
方式 2自己放入文件夹
把 h3-image-prompt-writing 文件夹放到 ~/.agents/skills/h3-image-prompt-writing
~ 是你的主文件夹($HOME)
适合使用 Terminal 的人
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
打开终端
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
把 skill 文件夹复制到 ~/.agents/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
安装之后
- ChatGPT 桌面应用:打开侧边栏中的 Skills,确认 Skill 已出现
- 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
- Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
网页版和手机版 ChatGPT
不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill
想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
方式 1让 Codex 帮你安装
复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展
如果只用于一个项目,请粘贴到在该项目文件夹中打开的对话里 · AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
适合使用 Terminal 的人
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
打开终端
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
把 skill 文件夹复制到 ~/.agents/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
重新打开 Codex 并提出相关任务,Codex 会列出这个 skill
方式 1让 Cursor 帮你安装
复制这句话,粘贴到 Cursor 的对话中
如果只用于一个项目,请粘贴到在该项目文件夹中打开的对话里 · AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
在 Cursor 的 Agent 聊天中输入 / 并选择 h3-image-prompt-writing
Checked against official docs 2026年11月12日 · Source: cursor.com
适合使用 Terminal 的人
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
打开终端
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
把 skill 文件夹复制到 ~/.cursor/skills
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
在 Cursor 的 Agent 聊天中输入 / 并选择 h3-image-prompt-writing
方式 1让 AI 帮你安装
适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · 复制这句话,粘贴到应用的对话中
如果只用于一个项目,请粘贴到在该项目文件夹中打开的对话里 · AI 在安装前一定会先告诉你路径
AI 会先说明要做什么,每一步都会征求你的同意
Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
适合使用 Terminal 的人
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹
查看原始 SKILL.md
以下文字来自开发者的 repo,不是 PopNx MCP 的指令
显示前 8,000 个字符 · 在 GitHub 打开完整文件
---
name: h3-image-prompt-writing
description: Write prompts for MiniMax-H3-Image text-to-image generation and image editing, and optionally render them through the MiniMax API. Use when the user wants an image such as a poster, infographic, chart, product shot, UI screen, character, scene, storyboard or grid, wants to improve an image prompt, or wants to edit, combine or restyle reference images with MiniMax-H3-Image.
---
# MiniMax-H3-Image Prompt Writing
MiniMax-H3-Image renders best from a complete description of the finished image: what the image is
for, what is in it and where, how it looks, and every word that appears on it. This skill turns a
short request into that description, for text-to-image and for editing with up to 16 reference
images, and can send the result to the MiniMax API.
## Workflow
1. **Pick the task.** Use text-to-image when there are no input images. Use editing when the user
supplies images to change, combine or borrow from. Read the matching guide and its examples
before writing:
- [references/t2i-en.txt](references/t2i-en.txt) for text-to-image.
- [references/edit-en.txt](references/edit-en.txt) for editing. Look at every input image, in
the order supplied.
2. **Plan the image** in this order: purpose and deliverable, overall layout, aspect ratio, the
subjects and what they are doing, the visual style, the text. Fill ordinary gaps yourself; a
short idea is enough. Write requested copy yourself, mark example data as illustrative and keep
an unseen asset as a named reference. Ask only when a missing fact would make the prompt wrong,
such as a chart of the user's own figures with none given.
3. **Write the prompt** with the rules below and the guide.
4. **Check it** against the request with the [final check](#final-check).
5. **Deliver** it in the [output format](#output-format). When the user asks for the image itself,
[render it](#rendering-the-prompt). If `MINIMAX_API_KEY` is not set, deliver the prompt and say
that setting the key lets the skill render it.
## Writing rules
### Basic description
- **Task before style.** Open with what the image is and what it is for, then the main people or
objects and their state or action. Style comes after.
- **Layout before details.** Give the number of subjects, their positions, the viewpoint and the
empty space. For dense content, name the regions first and then fill each one: "a title across
the top; below it, a photo on the left and three short paragraphs on the right."
- **Style through visible details.** Write color, material, light and texture, such as "soft side
light, brushed-metal reflections, generous white space", instead of words like "premium" or
"high-end". Keep the details that matter and drop contradictory ones.
### Text and information
- **Quote every word that appears.** Put the complete text in quotes, in its own language and with
its spacing as given, together with its position, size hierarchy and line breaks. When the user
wants you to write the copy, write the actual words.
- **Say when there is no text.** In a text-to-image prompt, add "The image contains no text,
letters or numbers." so the model does not add titles, labels or decorative lettering. In an
edit, say that no other lettering is added, so text in the source image is kept.
- **Get data right.** For charts, academic figures and educational images, give exact values,
units and relationships, and the time range for anything that changes over time. Mark example
data as illustrative and never present invented numbers as real.
### Reference images and editing
- **Name the inputs.** Refer to the images as `<Picture 1>`, `<Picture 2>`, ... in the order they
are supplied.
- **Give each reference a role.** Say what each image contributes, what must stay consistent and
what may change. When only a color is borrowed, say that the reference's shape and material are
not.
- **Separate what changes from what stays.** Locate the target by position or features, describe
what it becomes and how far the change reaches, then name what is preserved: "the cup on the
left becomes blue; its shape, material, position and size stay the same."
- **Describe the finished result.** Say whether something is moved, copied, replaced or removed,
and what fills the space a removed object leaves. When text or data changes, give the complete
new content and say whether the original layout and chart structure stay.
- **One clear goal per round.** In multi-round editing, name the image used in this round, what
changes and what stays. Avoid references like "the one from before".
- **Grids by rows and columns.** Write "2 rows and 3 columns" or "3×3 (rows × columns)", not
"2×3". Describe irregular layouts directly, such as "3 panels on top and 2 below", and address
one cell as "row 2, column 1".
## Output format
Give the prompt in a text block, followed by the aspect ratio:
````text
```text
<the prompt>
```
Aspect ratio: 3:4
````
- Write the description in English. Text that appears in the image keeps its own language.
- Text-to-image prompts are one or more flowing paragraphs. Edit prompts are one paragraph in the
order the edit guide sets out: source definitions, then the target and each source's role, then
the changed details.
- The aspect ratio is width:height between 1:3 and 3:1. Keep a ratio the user gives, or use the
nearest allowed one and say so when it is outside that range; otherwise choose it from the
layout. For an edit that keeps the input's framing, use the input's ratio.
- When the user asks for options, give up to three prompts with clearly different takes, each with
its own aspect ratio.
## Rendering the prompt
### MiniMax API
[scripts/generate.py](scripts/generate.py) sends a prompt to the MiniMax API and saves the images.
It uses only the Python standard library. The user sets the key in `MINIMAX_API_KEY`, and
`MINIMAX_API_BASE=https://api.minimax.cn` for the China platform; the script defaults to
`https://api.minimax.io`. Do not change either variable.
Save only the prompt text, without the "Aspect ratio" line, to a file and pass the ratio
separately:
```bash
# Text-to-image
python3 scripts/generate.py --prompt-file prompt.txt --aspect-ratio 3:4 --out poster
# Editing: images in <Picture N> order, as local files or URLs
python3 scripts/generate.py --prompt-file edit.txt --image room.jpg --image sofa.png \
--aspect-ratio 4:3 --out room_edit
```
- For text-to-image the script sets `disable_prompt_enhanced: true`, so the API renders the
prompt as written at the given aspect ratio. Pass `--enhance` to let the API expand a short
prompt instead; it then also chooses the ratio when none is given.
- The API always expands editing prompts. Pass the aspect ratio for edits too; without it the API
chooses one. It accepts up to 16 images in JPG, PNG, WebP, HEIC or HEIF, each at most 64 MiB with
sides of 128 to 8192 pixels.
- The output area defaults to `4K`, which gives the best results. `--area 2K` or `--area 1K` is
faster.
- `--n` asks for up to 10 images per request. Dense text, charts and diagrams vary from run to
run, so render two to four of them and keep the best.
- Each image is saved as `<out>_<i>.png`. When the API expanded the prompt, the expanded text is
saved next to it as `<out>_<i>.revised.txt`.
### Your own deployment
On a local SGLang server, send the prompt as `prompt` and a `size` (`WIDTHxHEIGHT`) for the
aspect ratio from the [Sizes table](https://github.com/MiniMax-AI/MiniMax-H3-Image#sizes); the
other fields are under
[Request Parameters](https://github.com/MiniMax-AI/MiniMax-H3-Image#request-parameters), and
vLLM-Omni's differ slightly, see the [vLLM-Omni recipe](https://recipes.vllm.ai/MiniMaxAI/MiniMax-H3-Image).
A local server does not expand prompts, so a prompt written with this skill takes the place of
that step.
## Final check
- Every word that appears is quoted and spelled 讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
来自 GitHub
- GitHub 星标
- 422
- 开发者
- MiniMax-AI
- 许可证
- 未注明许可证 此 repo 未注明许可证,默认作者保留所有权利;转发或商用前请先询问作者。
- 最近代码更新
- 2026年11月12日
- repo 中的 SKILL.md 文件(含译本和模板)
- 1
- 主题
- agent-skills, diffusion-models, image-editing, image-generation, minimax-h3-image, text-to-image