← ClaudeAtlas

image-genlisted

Cross-agent fallback 生图/P图/改图/合图 through configured OpenAI-style Images or Responses relays. Use only when the current agent's native image tool is unavailable or fails, or when the user explicitly requests a relay; never replace a working native image tool.
r266-tech/agent-image-gen · ★ 0 · AI & Automation · score 62
Install: claude install-skill r266-tech/agent-image-gen
# image-gen - native-first relay fallback Use this skill as a transport fallback, not as the default image renderer. ## Routing boundary - Use the current agent or harness's native image generation/editing tool first when it is callable. - Use this runner for an explicitly requested relay, `base_url`, provider API, or this skill. - If the native tool is absent or fails for a transport, capability, or account reason, report it before fallback unless the user already authorized the relay. - Never use a relay to bypass a native safety or moderation refusal. - After a billable request may start, do not retry or switch protocol, model, or provider. Surface the error and let the user decide. ## Execute Resolve `<skill-dir>` as the directory containing this `SKILL.md`, then run: ```text python3 <skill-dir>/scripts/gen-image \ --prompt "<description>" \ --model "<image-model>" \ --use-current-relay-auth \ [--input <path>]... \ [--out <path-or-directory>] ``` Before invoking it, read [`references/relay-runner.md`](references/relay-runner.md) for credential pairing, protocols, billing rules, and output security. Require an explicit image model; `/models` discovery is not usability proof. Without `--base-url`, the runner automatically uses the first complete paired relay environment profile. Supported generic profiles include `IMAGE_GEN_*`, `IMAGE_RELAY_*`, `AGENT_RELAY_*`, and `REMOTE_IMAGE_*`; common paired `OPENAI_*` and `ANTHROPIC_*` relay variables are also