agentleFS
Suge8Suge8/friedbun/skills/creative/gpt-image/SKILL.md

gpt-image

Skill12 starsChanged 7 days agoMITView on GitHub

通过 gptimage 模型生成优美 AI 图片、海报、插图或 Logo,或按参考图改图

19 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

GPT Image

设计 Logo 时先按宣传物料的 Logo 流程(链 A)走。脚本读 ~/.codex/auth.json;不读取、不打印 token。

python3 scripts/gpt_image.py "IMAGE_PROMPT" --out "/absolute/path/output.png"
printf '%s' "$PROMPT" | python3 scripts/gpt_image.py --out "/absolute/path/output.png"  # 长 prompt 走 stdin
  • 模型、尺寸、质量由服务端定,没有参数。画幅写进 prompt:"竖版 2:3 海报"→ 1024x1536,"16:9 横版"→ 1672x941;实际尺寸看返回的 size。
  • prompt 直达图片模型,不经改写:构图、文字、风格写全。
  • 在已有图上改局部用 --ref(最多 5 张),prompt 写"把……改成……,其余不变",不重新生成。
  • --transparent 出透明底 PNG,用于贴纸、零件、要叠加的元素;改透明图时也带上,否则透明区被填成实色。要矢量图形直接写 SVG。
  • --gif 当前账号服务端未开放,要动图用多张静帧。
  • 限流、过载时脚本自动重试两次;批量出图最多同时跑 3 张。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.