scenario-image
БесплатноБез исполняемых скриптовНе проверенUse when generating or editing images with Scenario through MCP: text-to-image, image-to-image, instruction editing, inpainting or outpainting with a mask…
от scenario-labs★ 4 422 звезды на GitHubОб этом скилле
Scenario Image Generation and Editing
Overview
Scenario runs hundreds of image models, split across txt2img (generate from a prompt) and
img2img (edit, restyle, inpaint, upscale). The loop is the one the scenario skill teaches. What
breaks image runs is the per-model contract: sizing fields, prompt limits, and reference caps differ
between two models that do the same job, so read model_schema_get every time. Per-family contracts
(sizing families, reference caps, edit modes): scenario-seedream, scenario-gpt-image,
scenario-gemini-image, scenario-ideogram, scenario-reve, scenario-luma-image,
scenario-mai-image, scenario-grok-imagine-image. Upscaling, grading, effects, expand, resize and
the other tool models: see scenario-image-editing. Holding one look across a set: see
scenario-consistency. One image from several references, each with one job:
scenario-multi-reference. Sprites, icons, and tilesets: see scenario-game-assets. If a sibling
skill named here is missing from your available skills, load it with skill_get (Scenario MCP) or
ask the user to install it (https://github.com/scenario-labs/skills#install); unattended, proceed
from tool schemas and flag the gap.
Quick reference
| Need | Call |
|---|---|
| Pick a model | recommend with capability="txt2img" or "img2img", or search (target="models", public=true) |
| Read the contract | model_schema_get, before every model_run |
| Estimate cost | model_run with dry_run=true; cost_impact: true marks the fields that move price |
| Generate or edit | model_run, then jobs_wait |
| Review and save | asset_display, then asset_download (png default, webp, jpg) |
| Land exact pixels | Generate at the nearest reachable size, then model_scenario-resize-image (see Landing an exact size) |
Inpainting and outpainting are img2img, not capabilities of their own.
The three fields that fail runs
All three are per-model, so take them from the schema rather than from a previous run:
- Size. Sizing has no common shape: numeric
widthandheightwithmin,max, and astepto land on; an enum (aspectRatio, aresolutionin megapixels or K tiers, asizemixing tiers with pixel pairs); or an aspect ratio alone, which puts an exact pixel target out of reach entirely. Pixels sent to an enum field, or an off-step value, are rejected. When the schema cannot express the size asked for, report what it can reach rather than rounding silently. - Prompt length. The prompt field's
max_lengthranges from roughly 2000 characters to 32000. A prompt that fits one model is a 400 on the next. - References. Name (
referenceImages,image), cap, and cardinality all come from the schema, and the name settles none of them: a field calledreferenceImagesis a single scalar file on some models. Pass an array only where the schema saysarray: true, and there pass one even for a lone asset, since a bare string is dropped silently and the run then succeeds while ignoring the reference. With several references, say in the prompt which is which.
A batch-count field (numOutputs, numImages) repeats one prompt, so it yields variations, not a
set. Anything with a per-item difference needs one model_run per item.
Landing an exact size
In-game placements need exact pixels (a 210x600 banner, a 256x256 icon), which a generative model
may not support directly. Numeric sizing fields snap to a grid (a step of 16 is common, with min
and max bounding the range), enum fields offer fixed tiers, and some members silently replace a
request below their floor: 512x128 came back as 1408x480 on one member, with no error. When the
target is unsupported, generate at the nearest reachable size at or above it, matching the ratio
where possible and respecting every schema limit (1024x1024 for a 256x256 icon on a member with a 1K
floor; 224x640 for a 210x600 banner only if both dimensions meet that member's limits), then finish
with model_scenario-resize-image, a fixed id since it is Scenario's single deterministic
exact-dimension resize tool and discovery would only re-derive it: images as an array even for one
asset, width and height, and fit cover to fill the box and center-crop the overflow or
stretch for exact dimensions at the cost of distortion (contain, the default, can return a
smaller image than the box). Choose a larger source only for an explicit quality requirement or
documented model guidance, not an assumed family sweet spot. Confirm
Установить scenario-image в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл scenario-image?
Use when generating or editing images with Scenario through MCP: text-to-image, image-to-image, instruction editing, inpainting or outpainting with a mask, background control, aspect ratio or resolution sizing, several outputs per run, or choosing between Scenario image models. Also when a run fails on prompt length, a plan-restricted model, or a reference image that was silently ignored. Keywords: txt2img, img2img, image edit, inpaint, mask, reference image, aspect ratio.
Как установить скилл scenario-image?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл scenario-image запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic