with one click
image-2
生成或编辑 GPT Image 2 图片,支持换背景、透明素材和批量资产。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
生成或编辑 GPT Image 2 图片,支持换背景、透明素材和批量资产。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
用本地多后端搜索网页、垂直站点、批量查询并抽取 URL 内容。
MUST USE when user wants to 调研/research/搜索/search/查/找/look up anything on the internet — e.g. 全网调研 X / 帮我调研一下 X / 查一下 X / 搜搜 X / 看看大家怎么评价 X / X 上有什么讨论 / research this topic。 Also MUST USE when user mentions any platform or shares any URL/链接: 小红书/xiaohongshu/xhs, Twitter/推特/X, B站/bilibili, Reddit, V2EX, LinkedIn/领英/招聘/求职/jobs, YouTube, GitHub code search, 小宇宙播客, 雪球/股票行情, RSS feeds, or any web URL. 13 platforms, multi-backend routing (OpenCLI / per-platform CLIs / APIs). Zero config for 6 channels. Run `agent-reach doctor --json` to see which backend serves each platform right now. NOT for: 写报告/数据分析/翻译等内容加工(本 skill 只负责从互联网获取内容); 发帖/评论/点赞等写操作;已有专门 skill 的平台(先用专门 skill)。 【路由方式】SKILL.md 包含路由表和常用命令,复杂场景需按需阅读对应分类的 references/*.md。 分类:search / social (小红书/推特/B站/V2EX/Reddit) / career(LinkedIn) / dev(github) / web(网页/文章/RSS) / video(YouTube/B站/播客)。
Daloopa 金融分析总入口。根据任务按需路由到九个内部工作流,不在顶层菜单重复展开。
用代码图谱索引仓库并查询架构、调用链、依赖和影响面。
搭建 iOS 模拟器预览,让 Codex 构建、运行、检查 SwiftUI 应用。
修复 SwiftUI 中 header、loading、tab 等中心轴偏移问题。
| name | image-2 |
| description | 生成或编辑 GPT Image 2 图片,支持换背景、透明素材和批量资产。 |
这个 skill 是 Lotus 对 GPT Image 2 / Codex 原生生图能力的入口,不是只产出提示词的协议。用户请求生成或编辑位图素材时,默认直接执行生图/改图;不要只回复“我可以给你提示词”。
image_gen。image_generation,使用 image_generation。gpt-image-2。imagegen skill,把系统 imagegen 视为原生工具流程的细节真源。scripts/image2_newapi.pyruntime.local.jsonruntime.example.jsongpt-image-2只在原生 image_gen / image_generation 不可用时使用。不要把本机 key 写进仓库;每台机器自行创建自己的 runtime.local.json 或设置环境变量。
配置优先级:
--api-key / --base-urlIMAGE2_NEWAPI_KEY / IMAGE2_NEWAPI_BASE_URLruntime.local.jsonruntime.example.json 仅作模板,不能直接用于真实调用推荐命令:
python ~/.codex/skills/image-2/scripts/image2_newapi.py generate \
--prompt "a clean square minimal lotus flower made from subtle circuit traces, calm white background, premium product icon style, no text, no watermark" \
--out output/imagegen/lotus-preview.png \
--size 1024x1024 \
--quality low
批量生成:
python ~/.codex/skills/image-2/scripts/image2_newapi.py generate-batch \
--input tmp/imagegen/prompts.jsonl \
--out-dir output/imagegen/batch \
--size 1024x1024 \
--quality low
JSONL 每行可以是:
{"prompt":"...","out":"image-name.png","size":"1024x1024","quality":"low"}
gpt-image-2 不走真透明参数,先生成纯色背景版本,再用本地抠图工具去背景。把用户原话整理成清晰的视觉规格。用户已经写得很具体时,只做结构化;用户说得很泛时,可以补少量有助于成片的细节。
推荐结构:
Use case: <product-mockup / poster / ui-mockup / avatar / icon / illustration / photo-edit>
Primary request: <用户核心需求>
Input images: <参考图/改图目标/风格图,若有>
Subject: <主体>
Style: <摄影/插画/3D/扁平/UI mockup 等>
Composition: <构图、比例、留白、视角>
Lighting and mood: <光线与情绪>
Text: "<必须逐字出现的文字>"
Constraints: <必须保留/必须避免>
Avoid: watermark, random text, distorted hands, broken UI, low-resolution artifacts
生成或改图后至少检查:
如果需要迭代,每次只改一个明确问题,例如“文字不对”“背景太复杂”“主体太小”。
name-v2.png 这类版本名。