Scenario Gpt Image 标志

Scenario Gpt Image

组织
scenario-labs
scenario-gpt-image

当您通过 MCP 在 Scenario 上使用 OpenAI 的 GPT Image 模型生成或编辑图像时使用:文生图、根据参考图像编辑、使用 alpha 蒙版进行局部重绘、为徽标和信息图表生成图内文字、生成透明抠图、最高 4K 像素尺寸、最高 xhigh 和 max 质量档位、为产品或面部细节设置输入保真度,或在 Flare、Sunburst、GPT Image 2 和 1.5 之间进行选择。关键词:GPT Image 2.5、GPT Image 2、OpenAI、DALL-E、gpt-image、ChatGPT image、txt2img、img2img、background。

Add to TypingMind

概览

发布者scenario-labs
代码仓库skills
技能名称scenario-gpt-image
星标数
970
复刻数
114
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Scenario GPT Image

Overview

Every member of GPT Image, OpenAI's image family on Scenario, both generates and edits through one prompt, with referenceImages carrying the image to edit and an optional alpha mask for inpainting. Four members were live at authoring time: GPT Image 2.5 Flare (fast, everyday), GPT Image 2.5 Sunburst (precision: dense copy, diagrams, edits that must hold geometry), GPT Image 2, and GPT Image 1.5, the one member with a fidelity dial and ratio sizing. Discover members with search and treat model_schema_get as the contract: the family agrees on prompt and references and splits on sizing, quality tiers, and fidelity.

Connection and the core loop: see the scenario skill in this repo; model-agnostic image work: the scenario-image skill. If a sibling skill named here is missing from your available skills, ask the user to install it (npx skills add scenario-labs/skills --skill <name>); unattended, proceed from tool schemas and flag the gap.

Quick reference

Shared shape at authoring time: prompt (required, cap 32000 characters), referenceImages (an array even for one, up to 10), numOutputs (1 to 10 variations of one prompt), quality, and background (auto and opaque everywhere, transparent on every member but GPT Image 2). The splits:

Contract2.5 Flare and SunburstGPT Image 2GPT Image 1.5
Sizingwidth and height, 16 to 3840 pxsameaspectRatio: auto, 1:1, 3:2, 2:3
Inpaintingmask PNGmask PNGno mask field
qualityauto, low, medium, high, xhigh, maxauto, low, medium, highhigh, medium, low (default high)
Source fidelityprompt wording onlyprompt wording onlyinputFidelity: high locks, low reworks

Routing: Flare and Sunburst share one contract and one price list, so the choice is speed against quality. OpenAI describes Flare as the small model, built for speed with image quality comparable to GPT Image 2, and Sunburst as the base model, with higher image quality than GPT Image 2: Flare for everyday work, Sunburst when accuracy beats speed (packaging copy, dense numbers, exploded diagrams, geometry-preserving edits). GPT Image 2's contract is the 2.5 contract minus the two top tiers, and it prices its high at their max, so new work starts on 2.5. GPT Image 1.5 earns its place for inputFidelity: "low", which reworks a reference instead of reproducing it (only the first five references keep the higher fidelity), and for 3:2 or 2:3 output without pixel math. Transparent cutouts route to a 2.5 member: GPT Image 2 rejects the value, and 1.5 is the fidelity and ratio member rather than the cutout one.

Quality is the price dial

quality moves the price more than size does, and the same word does not price the same across members. At authoring time a 1024 square priced 2, 3, 12, 20 and 45 CU across low, medium, high, xhigh and max on both 2.5 members; GPT Image 2 priced low at 2, medium at 12 and high at 45; auto resolved to 12 on all three; a 3840 by 2160 max run on Flare came to 69 CU. dry_run=true the member you will run and read creativeUnitsCost; referenceImages, numOutputs, quality, and sizing all carry cost_impact, so re-estimate after touching any. xhigh or max on GPT Image 2 is a 400 ("Input quality must be one of the following values") even on a dry run. Tier choice: low for drafts, medium for everyday finals, high when small text or legends must stay legible, and xhigh or max only when the tier below left a specific requirement unmet within your latency budget: a higher tier does not guarantee a better result for every prompt.

Sizing on the pixel members follows OpenAI's published grid: each axis a multiple of 16, long edge at most 3840, aspect between 1:3 and 3:1, total pixels between 655,360 and 8,294,400, above 2560 by 1440 experimental. The schema enforces only the 16-step range and dry_run prices any request, so hold to the grid yourself: an off-grid request still succeeds but returns a different size with no error. At authoring time 3840 by 960 and 3840 by 480 both came back 3840 by 1280 (clamped to 3:1), 960 by 3840 came back 1280 by 3840, 1000 by 1000 came back 992 by 992, and 3840 by 3840 came back 2880 by 2880 on Sunburst while Flare refused it at submission ("Error while running prediction"). Common picks: 1024 square (fastest), 1536 by 1024, 1024 by 1536, 3840 by 2160 for 4K, 2560 by 1088 for a true 21:9.

An edit source outside 1:3 to 3:1 comes back padded, not cropped: a 1326 by 313 (4.24:1) source returned about 2132 by 738 on both 2.5 members with white bands above and below covering about a third of the frame, and typing the source size returned 1408 by 480 padded the same way. Read width and height from asset_get after every run. When the edited file must keep its exact canvas, crop the bands off the result or route the edit to a member that keeps the source size (see scenario-ideogram).

Masks and transparency

The mask is a PNG the size of the first reference image, read through its alpha channel only: transparent pixels are edited, opaque pixels preserved, RGB white or black ignored without alpha. Export with transparency, never flattened, and convert a white-on-black mask's white region to transparent. OpenAI treats the mask as guidance rather than a hard edge: when a region must stay pixel-identical, composite the approved edit back over the original.

background: "transparent" returns real alpha on 2.5 Flare and Sunburst at every tier; GPT Image 2 rejects it. Two authoring-time observations on the 2.5 members: alpha peaks at 254, never 255, so a check for fully opaque pixels reads the whole subject as semi-transparent; and the color data under transparent pixels carries a halo, so any surface that drops alpha (JPEG flattening, a thumbnail without transparency, a viewer compositing on black) shows the cutout glowing. On white or a checkerboard it is clean. Prompt the cutout as a clean cutout with a crisp silhouette, fine edges and label text preserved, no halos, no restyling, then inspect the alpha channel at hair, glass, shadows, and object edges. Keep PNG or WebP and the alpha channel through every hop, previews and downloads included.

Prompting behavior

Position is weight: style, medium, subject, and mood open the prompt, then scene, details, lighting, and text, in natural sentences rather than tag lists. Name the intended use (ad, UI mock, infographic, key art) to set the polish level. For photorealism say "photorealistic" and name concrete texture (pores, fabric wear, material grain); for people, describe framing, gaze, and what the hands are doing. A detailed brief gets normalized, not embellished: augment only a generic prompt, and never add characters, brands, slogans, or left-right placement the request did not imply. Past roughly seven distinct requirements some quietly drop, so build a clean base, then one targeted change per edit, passing the previous output back as the next reference.

When editing, say "change only X", list what must survive, and repeat that list on every iteration; anything unmentioned is open to change. Not every input image is an edit target: references supplied for style or mood make the run a generation with references. Give each reference a role by index ("image 1 is the product, image 2 the palette"); unassigned references blur together. numOutputs yields variants of one prompt, which is what layout drafts of one brief are; distinct subjects need distinct runs.

Text inside the image: quote the exact copy, spell tricky words letter by letter, brief the layout (each element's zone, its size rank against the others, what stays empty), state type weight and case, say how many times the copy appears, and append "no extra words, no duplicate text". Prompts naming public figures are declined; describe an archetype instead. Complex prompts can run around two minutes: wait through jobs_wait rather than re-running.

Worked example: a product hero with headline text

  1. search with target="models", query="gpt image", public=true. Read names rather than rank: new members rank below GPT Image 2 while their usage is young. Headline text wants Sunburst, e.g. model_openai-gpt-image-2-5-sunburst (a live hit at authoring time: re-discover each session).
  2. model_schema_get with that id: quality allowed values, sizing bounds, mask presence, and defaults first.
  3. upload_asset the product photo (see the scenario skill) for its asset id.
  4. model_run with that model_id, dry_run=true, and parameters={"prompt": "Editorial product photography, soft daylight. The exact bottle from image 1 on brushed concrete, label, shape, and color preserved. Headline \"DRINK GREEN\" in bold sans-serif, centered, appears once, no extra words, no duplicate text.", "referenceImages": ["asset_x"], "width": 1536, "height": 1024, "quality": "low", "numOutputs": 3} for the draft price; then run it with wait=false and jobs_wait on the returned job id, re-called with pending_job_ids on timeout, never a second model_run.
  5. asset_display the three drafts and pick a composition. Repeat step 4 with that prompt, quality: "high", numOutputs: 1, dry_run=true first: the tier change moves the price.
  6. asset_display the final and proofread the rendered text before batching; asset_download to save.

Common mistakes

  • Carrying xhigh or max to GPT Image 2 or 1.5: a 400 at validation; read allowed values off each member's schema.
  • Routing cutouts to GPT Image 2: it rejects background: "transparent"; use 2.5 Flare or Sunburst (1.5 is the fidelity and ratio member).
  • Carrying sizing across members: width/height on 2 and 2.5, aspectRatio on 1.5, never both.
  • Trusting the requested size: past 3:1, past 8,294,400 pixels, or off the 16-pixel grid, the job succeeds at a different size, and an over-wide edit source gains white bands.
  • Leaving inputFidelity at its high default on 1.5 when you wanted reinterpretation: drop it to low and re-dry_run.

常见问题

Scenario Gpt Image AI 技能有什么作用?

当您通过 MCP 在 Scenario 上使用 OpenAI 的 GPT Image 模型生成或编辑图像时使用:文生图、根据参考图像编辑、使用 alpha 蒙版进行局部重绘、为徽标和信息图表生成图内文字、生成透明抠图、最高 4K 像素尺寸、最高 xhigh 和 max 质量档位、为产品或面部细节设置输入保真度,或在 Flare、Sunburst、GPT Image 2 和 1.5 之间进行选择。关键词:GPT Image 2.5、GPT Image 2、OpenAI、DALL-E、gpt-image、ChatGPT image、txt2img、img2img、background。

为什么在 TypingMind 中使用 Scenario Gpt Image?

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

如何在 TypingMind 中安装 Scenario Gpt Image?

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

哪些 AI 模型可以使用 Scenario Gpt Image?

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

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

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

Scenario Gpt Image AI 技能免费吗?

是的。scenario-labs 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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