Image 标志

Image

组织
Starchild-ai-agent
image

Generate, edit, cut out, and inspect images with the best hosted image models (Nano Banana 2 / Pro, GPT Image 2, Seedream, Bria). Use for ANY image request — create from text, edit or retouch a photo, swap a logo/text, change background, upscale, product shots, portraits, try-on, 3D renders. This is THE image skill on Starchild — the former image-create / image-edit / image-3d / image-ecommerce / image-portrait / image-tryon / image-bg-remove skills are retired and folded in here.

概览

发布者Starchild-ai-agent
代码仓库official-skills
技能名称image
星标数
32
复刻数
13
附带文件
9
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 9 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Starchild-ai-agent 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Image AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Starchild-ai-agent/official-skills/tree/main/image
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Starchild-ai-agent/official-skills.git /tmp/official-skills
mkdir -p .claude/skills
cp -r /tmp/official-skills/image .claude/skills/image
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Image,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Image。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Image 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

image

One skill, four verbs. You write the prompt; the skill validates, calls, downloads, and remembers.

bash
python3 - <<'EOF'
import sys; sys.path.insert(0, "skills/image")
from exports import generate, edit, remove_background, inspect, list_models
r = edit("Replace the first letter W of WALL ST with the logo in image 2, matching the sign's paint and perspective",
         ["uploads/sign.png", "uploads/logo.png"],
         keep="every other letter, the sign colour, background and lighting",
         model="nanopro", resolution="2K")
print(r["images"][0]["local_path"] if r["success"] else r["error"])
EOF

Always run in a bash python3 - <<'EOF' heredoc (not python3 -c). Result → {"success", "images":[{"local_path","dims"}], "job_dir", "request_id", "cost_usd", "prompt", "params"}; on failure {"success": False, "error"}. Every job gets its own directory — nothing is overwritten.

The four verbs

VerbWhenKey args
generate(prompt, model=None, **params)Nothing to start fromaspect_ratio, resolution (nanopro), image_size+quality (gpt), num_images, seed
edit(prompt, image_paths, keep=, mask_path=, model=, tx_id=, **params)Anything that starts from an existing image — retouch, background, logo/text, style, product/portrait/try-on/3D from a referenceimage_paths[0] is the base, the rest are references; say what each one is in the prompt
remove_background(image_path)Clean cut-out → transparent PNG—
inspect(images, question, mode=)You need to see before or after editingmode="inspect" (what/where/OCR), "compare" (before vs after), "qa" (pass/fail against goal+keep)

list_models() tells you each model's real capabilities. Read it when you're unsure; don't memorise.

Picking a model — call list_models(), then:

  • Drafts / exploring → nano2 (fastest, cheapest).
  • Default, multi-reference, instruction-heavy edits → nanopro. Output is 1K unless you pass resolution="2K"|"4K" — always set it when the source is large, or you'll shrink the user's image.
  • Region-locked edit (change only this area, pixels elsewhere must not move) → gpt with mask_path (white = editable). It's the only model with a real mask. Slow (~2 min) — say so.
  • Many references / asset composition → seedream (candidate: name it explicitly).
  • "Best quality" requests → tell the user what you picked and why; run 2 candidates if the budget allows rather than guessing.

Unknown model, unsupported parameter, too many references, mask on a model without mask → the call refuses before spending. Read the error; it lists what is supported. Never work around it by dropping a parameter silently — that's how outputs come back the wrong size.

Principles that prevent the known failures

  1. Restate the goal before you write the prompt. Two sentences to yourself: change = … , keep = … . Put the keep into keep=. "Replace the first W, keep ALL ST" must never become "only the letter W" in the prompt.
  2. Name every reference's role. "Image 1 is the base. Image 2 is the logo to place. Image 3 is the colour reference." Models can't infer roles from file order.
  3. Precise text, logos, exact type → AI models are unreliable at this. Prefer: clear the region with edit (or mask), then composite the real vector/text deterministically (PIL), then optionally one edit pass "blend the pasted element's lighting and grain". Don't ask a diffusion model to draw a brand mark from memory.
  4. Look before you loop. If you don't know where something is or what text says, inspect(..., mode="inspect") with a concrete question. Don't crop-and-ask five times; one good question with coordinates request suffices. Treat returned boxes as approximate.
  5. QA against the stage, not the final product. An intermediate "W removed, logo still to be added" image must pass mode="qa" with that goal. Pass goal= and keep= explicitly.
  6. One automatic retry, then ask. For multi-step edits open a transaction (start_transaction(goal, base_path, keep=, logo=..., end_frame=...)), pass tx_id= to each edit, mark auto_fix=True on your own retries. The budget is one; after that show candidates with a one-line diff each and let the user choose (approve(tx_id, rev)). Rejected outputs never become the next base.
  7. Deterministic ops stay deterministic. Colour grading, blur, crop, resize, shadow, perspective — PIL/OpenCV, not a paid regeneration. Real upscaling = target pixel size with resolution/image_size, not the word "upscale" in a prompt.
  8. Video frames: a start/end frame pair must be two approved revisions. If the video model takes one image, say so instead of hoping.

Domain know-how

Product shots for Amazon/Xiaohongshu, ID photos, try-on wording, 3D render levers, the 20 old edit actions and where they went — references/domain-guides.md (read once when the request is in one of those domains).

Recovery & cost

  • Timeout or dropped connection → recover(job_id) re-fetches the paid result; don't resubmit.
  • Costs land on the user's turn automatically; cost_usd in every result. Mention it when >$0.10 or when running multiple candidates.
  • Local testing without the gateway: set FAL_KEY.

Boundaries

Real people / faces: fine for the user's own photos; refuse impersonation or sexual content. Brands: use assets the user provides. When in doubt about a person's identity or consent, ask first.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Image AI 技能有什么作用?

Generate, edit, cut out, and inspect images with the best hosted image models (Nano Banana 2 / Pro, GPT Image 2, Seedream, Bria). Use for ANY image request — create from text, edit or retouch a photo, swap a logo/text, change background, upscale, product shots, portraits, try-on, 3D renders. This is THE image skill on Starchild — the former image-create / image-edit / image-3d / image-ecommerce / image-portrait / image-tryon / image-bg-remove skills are retired and folded in here.

为什么在 TypingMind 中使用 Image?

因为您只需安装一次,就能搭配任何模型使用。Image 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Image?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Starchild-ai-agent/official-skills/tree/main/image。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Image?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Image 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Image 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Image AI 技能免费吗?

Starchild-ai-agent 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇