Inference and demo

From VectorSpaceLab/AREX-Skill · View interactive version

Inference and demo is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Runs AnyDoor image generation, demo, and prediction workflows.

How to use this skill

Skill file

Inference and Demo

Use this sub-skill when the task is about generating a customized image,

launching the local Gradio demo, or understanding the prediction interface.

What this sub-skill owns

What this sub-skill does not own

Route those to the sibling sub-skills.

Read first

Use these scripts

source inference entry point.

local demo launch.

Trigger phrases

This is usually the right branch when the user says things like:

Input contract

The main generation route expects:

The preprocessing contract is mask-aware:

Output contract

A successful generation route should explain:

Default workflow order

  1. Run the environment preflight from setup-and-checkpoints if you have not

already done so.

  1. Validate the input images and masks.
  2. Confirm the checkpoints are patched and accessible.
  3. Run the generation or demo launch command.
  4. If the result is wrong, inspect the mask and crop assumptions before changing

model settings.

Common decisions

is the cleanest representation.

requirement.

collage path.

when offline use will fail.

Troubleshooting focus

This branch owns symptoms such as:

Handy reminders

Cross-links

When the issue is actually about setup or checkpoints, route back to

setup-and-checkpoints.

When the issue is about dataset layout, route to data-and-training.

Quality bar

A future agent should be able to answer generation and demo questions from this

branch alone, plus the bundled references and validation scripts, without

reopening the source repository.

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.