Scenario

From scenario-labs/skills · View interactive version

Scenario is an AI agent skill from the GitHub repository scenario-labs/skills. Use when connecting an AI agent to Scenario (scenario.com) through MCP, or when a task involves generating images, video, 3D, audio, sprites, textures, or game assets. Also when picking a Scenario model, running a LoRA, refining a generation prompt, uploading reference images, waiting on generation

How to use this skill

Skill file

Scenario

Overview

Scenario generates images, video, 3D, and audio across 500+ models, plus custom training.

Setup

through the conversation.

references/setup.md.

diagnostics_run names the layer (auth, tenant-scope, api-unreachable, or healthy).

Two tool kinds:

?toolsets=full exposes everything.

and lane.

holds every input, scope ids and dry_run included:

{"name": "collection_add_assets", "parameters": {"team_id": "…", "project_id": "…", "collection_id": "…", "asset_ids": ["…"]}}.

plan_generation takes only description.

an executor.

top-level dry_run runs the job, billed.

it starts a billed job.

Scope first

task's pair, else stop and list.

second team or project appears. The error names the wrong half.

Quick reference

| Step | Tool | Notes |

| ----------------- | ---------------------------------------- | ---------------------------------------------------------------------------- |

| Resolve scope | teams_list, then projects_list | Once per session; pass the ids on every call |

| Find a model | search or recommend | Free; recommend for a capability, search for a name |

| Get the schema | model_schema_get | Always before model_run; check runs_as and caps |

| Generate | model_run | Schema-conformant parameters; dry_run for cost |

| Wait | jobs_wait | Whenever model_run returns a job_id without assets; never loop job_get |

| View / save | asset_display / asset_download | Never paste raw asset URLs |

| Inspect an asset | asset_get | Free; dimensions, duration, firstFrame / lastFrame ids |

| Upload inputs | upload_asset + upload_asset_complete | Local files become asset_ids |

| Refine a prompt | prompt_spark | Advisory rewrite; needs model_id |

| CU left | consumption_limit_get | Catalog read: effective_remaining, period.end; plan CU can end first |

| CU spent | usage | project_id required; scope: "team": accessible projects; not a balance |

| Saved preferences | memory_recall | OAuth only; before generating in a project, again after switching |

plan_generation (read lane). Plain words in description, ordered steps out, each naming a tool

and an optional model hint. It runs nothing. A single step goes to recommend.

project_user_memory (user_memory across projects). It replaces the whole layer: memory_get

and merge first.

Worked example

Generating a stylized game prop image:

  1. Discover the model:

ranks models the team cannot run.

target="models", query="<model name>", public=true. It ranks by keyword and its filters

hold no capability key, so a capability-worded query can rank the wrong output type first.

include_private_models: true on recommend.

  1. model_schema_get on the pick: exact field names, types, required flags, defaults, and caps.
  1. If the schema carries runs_as ("lora" or "composition"), never send that model's id to

model_run. Its run_with.required_arguments holds the real call: model_id there is the base

model, and its parameters (the loras or modelId wiring) merge with your inputs from the

same schema. required_arguments alone discards your prompt.

  1. Optional: prompt_spark rewrites a thin prompt into an on-model one. Pass the discovered id (a

LoRA's own, not its base) and the draft prompt. Skip deliberate prompts.

  1. model_run with model_id and schema-conformant parameters.

model_id. No job is created; creativeUnitsCost prices this exact payload: budget by it.

in-progress, or warming-up. All need jobs_wait.

  1. jobs_wait with job_ids=[...] (up to 32).

quality-gate fee a project charges: sum charged jobs' quotes, else project-wide usage.

cancel. No timeout argument exists.

  1. asset_display shows the asset inline. Its format picks the rendering:
  1. asset_download returns a file URL, one call per asset; save it with curl -L (it may

redirect).

png default flattens it to one frame) and meshes (glb, fbx, obj). Omit it for video and

audio, or it fails with 400 Invalid target format.

work points at the host's egress policy. A CDN 403 alone does not: fetch a fresh URL first.

names the setting. On some hosts it is an organization allowlist the user may not control.

picks an export format asset_download does not offer.

Local inputs go up with upload_asset:

of file_size or data. Without either it fails with

Either 'file_size' … or 'data' is required.

and instructions.

answer 403. Check every PUT returned 200, then upload_asset_complete with the upload_id.

asset, or an upload_id (timeout, in_progress) to resume with upload_asset_complete.

Corrupt JPEG data, unable to read pixels) means the base64 string broke, not the file.

user asked for inline, and say why.

fresh upload_asset:

added headers, or hit egress policy (see asset_download). Confirm every PUT returned 200. A

blocked PUT means no shell: inline data under 100KB, else the app.

bad Huffman code, or libpng read error: confirm the file opens under its content type; check

for a truncated or re-encoded body, a missing part, or a wrong file_size.

Unhandled image format lists what kind: "image" accepts; convert any other type locally.

the asset id.

Filing is part of delivering:

ignored, so adding is always a second call: collection_add_assets.

already_present_asset_ids from added_asset_ids.

Duplicated tag: read tags via assets_get_bulk first and send only the missing ones.

Reusable templates and reference content follow the

shared asset lifecycle: resolve existing assets, stage new versions,

publish only through a supported operation, and verify public access before recording public ids.

Uploading and filing alone are not publication.

Errors and recovery

fill it. Unattended, use the task's pair, else stop and list.

reads only from its own project:

target_project_id;

user (unattended: the task) agrees. recommend flags these requires_plan_upgrade (never run

one) unless its response says gating is _degraded.

ceiling. Keep at most actionLimit jobs in flight: launch with wait=false, and retire jobs with

jobs_wait before launching more. An immediate retry repeats the error.

consumed. A run priced above the gap is refused, so a low actionValue means this payload costs

too much, not that credits ran out.

reset or upgrade (unattended: report and stop).

billing or membership yourself.

CU are spent, so every job brings a wait.

locked while a cheaper one runs. Never re-submit the same payload inside remainingSeconds.

so a batch slows down. A refused attempt is free.

payload (dry_run it first), fewer outputs, or a later run (unattended: report and stop, never

relaunch).

Relax Mode.

Report it and run diagnostics_run in the same scope before choosing a recovery.

jobs_list before any re-run, or a lost response becomes a double charge. A dry_run retries

safely.

batches with no abort path.

jobs_wait or job_get row.

bare. A newest-first asset listing is target="assets", filter="createdAt EXISTS",

sort_by=["createdAt:desc"].

it; never fall back to search for a capability.

query or another key (silently dropped), plus capability when known.

Common mistakes

so the dry_run returns 404 and quotes nothing. Quote it from recommend, then dry_run once

the real asset exists.

reference or LoRA. asset_get on the output echoes what the run consumed

(metadata.referenceImages, parentId).

suggested_action; never silently relax requirements. Schema checks or a successful dry run do

not override no_match.

its caveats, tradeoff, or explanation.

failing call's scope pair and any mcpt_ ids seen as observed_trace_ids.

frontImage, video: each model names its own) means the payload lacks the schema's required

field. Copy its name verbatim. A URL there reads as missing.

accepted types. asset_get reports the asset's mimeType; pull a still with the clip's

firstFrame when the model wants an image.

Narrow models by filters.type (architecture) or tags, or recommend a capability.

narrows by status or modality, or goes through search (private by default).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.