scenario-image
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. Grading, effects, expand, resize and the other deterministic tool models: see scenario-image-editing. Holding one look across a set: see scenario-consistency. Sprites, icons, and tilesets: see scenario-game-assets. 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
| 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) |
Inpainting and outpainting are img2img, not capabilities of their own.