Agent skill

Relay Image Gen

by aAAaqwq in aAAaqwq/AGI-Super-Team

Multi-provider image generation with automatic priority fallback Multi-provider image generation with priority fallback.

MITAuto-check: notesMedia & Creative

Install Relay Image Gen

skills CLI
$ npx skills add aAAaqwq/AGI-Super-Team --skill relay-image-gen -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aAAaqwq/AGI-Super-Team relay-image-gen --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aAAaqwq/AGI-Super-Team.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/relay-image-gen .claude/skills/relay-image-gen && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
relay-image-gen
GitHub stars
105
Token cost
~1.4k tokens
SKILL.md length
215 words
Files
4 (incl. scripts, references)
Skills in repo
167
Repo updated
First seen
Licence
MIT

At a glance

Multi-provider image generation with automatic priority fallback Multi-provider image generation with priority fallback.

  • Works in 5 steps: vectronode(首选 — 2026-06-17 起) → qingyun Gemini → OpenClaw image_generate(官方) → …
  • : creating images
  • SKILL.md covers Priority Chain, 输出路径规范, 扩展自定义 Provider and 调用示例, plus 2 more sections
  • Runs Shell and Python scripts from its folder; calls uv, python3 and bash; needs VECTORNODE_API_KEY and XINGJIABIAPI_KEY

What it does

Relay Image Gen is an agent skill from aAAaqwq/AGI-Super-Team. Multi-provider image generation with automatic priority fallback Multi-provider image generation with priority fallback. Priority: vectronode (gpt-image-2/gpt-image-2-all) → qingyun Gemini → OpenClaw image tool → relay providers. Supports 1K/2K/4K, multiple aspect ratios, auto fallback. Extensible: add custom relay/API providers to PROVIDERCONFIG. Use when: creating images, generating pictures/illustrations, poster art. Trigger: "生成图片", "生成封面", "画一张", "generate image", "create image", "gpt-image", "gpt生图"…

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/providers.md`, `scripts/img-gen.sh` and `scripts/relay_image_gen.py`).

It sits in Media & Creative, covering Image generation. The repository describes itself as: An installable, cross-framework AI organization: C-suite agents, expert subagents, curated skills, independent review, and one-command setup across 18 AI client/runtime adapters. The licence is MIT.

When your agent uses it

  • : creating images
  • Generating pictures/illustrations

Example prompts

  • “generate image”
  • “create image”
  • “gpt-image”
  • “/relay-image-gen”

Requirements

  • Python 3
  • A Bash shell
  • A credential in VECTORNODE_API_KEY
  • A credential in QINGYUN_API_KEY

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. vectronode(首选 — 2026-06-17 起)
  2. qingyun Gemini
  3. OpenClaw image_generate(官方)
  4. 编辑 PROVIDER_CONFIG
  5. 添加到优先级链

What it can do on your machine

Read from SKILL.md and the folder at commit 7cefd81. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell and Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv
    • python3
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • VECTORNODE_API_KEY
    • XINGJIABIAPI_KEY
    • QINGYUN_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Relay Image Gen loads about 1.4k tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 137 tokens; SKILL.md has 215 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~137
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:53
    要求**:`VECTORNODE_API_KEY` 在 `~/.openclaw/.env`

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aAAaqwq/AGI-Super-Team at commit 7cefd81, republished under its MIT licence (© aAAaqwq). 215 words, ~1,436 tokens.

Download SKILL.mdSave it as .claude/skills/relay-image-gen/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
relay-image-gen
description
Multi-provider image generation with automatic priority fallback Multi-provider image generation with priority fallback. Priority: vectronode (gpt-image-2/gpt-image-2-all) → qingyun Gemini → OpenClaw image tool → relay providers. Supports 1K/2K/4K, multiple aspect ratios, auto fallback. Extensible: add custom relay/API providers to PROVIDER_CONFIG. Use when: creating images, generating pictures/illustrations, poster art. Trigger: "生成图片", "生成封面", "画一张", "generate image", "create image", "gpt-image", "gpt生图". Author: Daniel Li

Relay Image Generation

Multi-provider image generation with automatic priority fallback.

Priority Chain

1. vectronode (gpt-image-2 / gpt-image-2-all) ← 首选,VectorNode中转站,API Key已配,最可靠
   ↓ 失败/不可用
2. qingyun Gemini (gemini-3-pro-image-preview) ← 质量最佳
   ↓ 失败/不可用
3. OpenClaw image_generate tool ← 官方内置
   ↓ 失败/不可用
4. boluobao (中转API) ← relay fallback 1
   ↓ 失败/不可用
5. xingjiabi (多模型fallback) ← relay fallback 2
   ↓ 失败/不可用
6. 自定义扩展 providers ← 按需添加
1. vectronode(首选 — 2026-06-17 起)

VectorNode 中转站 GPT Image,按提示词长度自动路由 gpt-image-2(Token计费)/ gpt-image-2-all(按次计费)。目前最可靠。

bash
python3 ~/.openclaw/skills/vectronode-image/scripts/vectronode_image.py generate \
  --prompt "your prompt" \
  --output "/path/to/output.png" \
  --size 2048x1152
Flag说明默认值
--prompt提示词必填
--output输出文件路径必填
--size1024x1024 / 1536x1024 / 2048x1152 / 2K / 4K / autoauto
--modelgpt-image-2 / gpt-image-2-all / autoauto
--qualitylow / medium / high / autoauto

优点:VectorNode API Key 已配(VECTORNODE_API_KEY),即开即用,支持 gpt-image-2 全系列 要求:VECTORNODE_API_KEY 在 ~/.openclaw/.env

2. qingyun Gemini

推荐用于所有内容封面和高质量图片生成。

bash
export QINGYUN_API_KEY=$(pass show api/qingyun | head -n 1)
bash ~/clawd/skills/qingyun-api/scripts/qingyun-image-gemini.sh \
  "your prompt" \
  --ratio 3:4 \
  -o "/path/to/output"
参数说明默认值
--ratio1:1 / 3:4 / 4:3 / 16:9 / 9:161:1
-o输出路径(由调用方指定,不写死)必填

优点:出图质量高、比例控制准确、支持中文提示词 要求:pass show api/qingyun 需配置 API Key

2. OpenClaw image_generate(官方)

直接使用 OpenClaw 内置图片生成工具:

image_generate(
  prompt="your prompt",
  size="1024x1024",
  aspectRatio="1:1"
)

优点:无需额外 API Key,自动路由到最佳可用 provider 注意:由 OpenClaw 运行时管理,不在 bash 中调用

3-4. Relay Providers(备选)
bash
uv run ~/.openclaw/skills/relay-image-gen/scripts/relay_image_gen.py \
  -p "your prompt" \
  -f "/path/to/output.jpg" \
  -a "3:4" \
  -r "1k"
Flag说明默认值
-p图片提示词(英文推荐)必填
-f输出文件路径必填
-r分辨率:1k / 2k / 4k1k
-a比例:1:1 / 16:9 / 9:16 / 3:4 等1:1
-m覆盖模型名Provider默认
-P强制 Provider:boluobao / xingjiabiAuto

Relay 内部优先级:boluobao → xingjiabi

各 Provider 配置
ProviderAPI Key 来源默认模型Fallback
vectronode环境变量 VECTORNODE_API_KEYgpt-image-2gpt-image-2-all
boluobaopass show api/boluobaogemini-3-pro-image-preview—
xingjiabi环境变量 XINGJIABIAPI_KEYdall-e-3gpt-image-1 → imagen-4

输出路径规范

不写死路径。由调用方指定,默认遵循:

~/clawd/projects/MediaClaw/output/articles/{YYYY-MM-DD}/{topic-slug}.{ext}

扩展自定义 Provider

添加新的中转 API 只需两步:

Step 1: 编辑 PROVIDER_CONFIG

在 ~/.openclaw/skills/relay-image-gen/scripts/relay_image_gen.py 中添加:

python
PROVIDER_CONFIG["my-provider"] = {
    "base_url": "https://api.my-provider.com/v1",
    "default_model": "my-model-name",
    "fallback_models": ["fallback-model-1", "fallback-model-2"],
    "env_key": "MY_PROVIDER_API_KEY",       # 环境变量名
    "pass_path": "api/my-provider",          # 或 pass 路径(二选一)
}
Step 2: 添加到优先级链
python
RELAY_PRIORITY = [
    {"name": "boluobao", "enabled": True},
    {"name": "my-provider", "enabled": True},  # ← 插入
    {"name": "xingjiabi", "enabled": True},
]
Provider 配置字段说明
字段说明必填
base_urlAPI endpoint✅
default_model主模型✅
fallback_models失败后尝试的模型列表可选
env_key环境变量名与 pass_path 二选一
pass_pathpass show 路径与 env_key 二选一

调用示例

bash
# 首选:vectronode GPT Image(当前最可靠)
python3 ~/.openclaw/skills/vectronode-image/scripts/vectronode_image.py generate \
  --prompt "Editorial flat illustration of AI tools comparison..." \
  --output ~/clawd/output/cover.png \
  --size 2048x1152

# 内容封面(备选:qingyun Gemini)
export QINGYUN_API_KEY=$(pass show api/qingyun | head -n 1)
bash ~/clawd/skills/qingyun-api/scripts/qingyun-image-gemini.sh \
  "Editorial flat illustration of AI tools comparison..." \
  --ratio 3:4 \
  -o "~/clawd/projects/MediaClaw/output/articles/2026-04-15/ai-tools-cover.png"

# 通用图片(relay fallback)
uv run ~/.openclaw/skills/relay-image-gen/scripts/relay_image_gen.py \
  -p "A serene Japanese garden with cherry blossoms" \
  -f "~/clawd/projects/MediaClaw/output/articles/2026-04-15/garden-bg.jpg" \
  -a "16:9" -r "2k"

# 强制指定 provider
uv run ~/.openclaw/skills/relay-image-gen/scripts/relay_image_gen.py \
  -p "Robot waving hello" \
  -f "robot.jpg" \
  -P xingjiabi -m gpt-image-1

# OpenClaw 内置(无bash)
image_generate(prompt="sunset over mountains", size="1792x1024", aspectRatio="16:9")

内容封面

生成内容封面时,请先读取 content-cover-gen skill 获取完整的视觉隐喻设计方法论和提示词模板:

cat ~/clawd/skills/content-cover-gen/SKILL.md

核心原则:每张封面提示词必须包含文章核心观点的视觉隐喻 + 中文文字,严禁纯风格通用提示词。

Provider 详细信息

参见 references/providers.md 了解 API 格式、模型列表和添加方法。

© aAAaqwq, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in skills/relay-image-gen of aAAaqwq/AGI-Super-Team.

  • SKILL.md
  • references/providers.md
  • scripts/img-gen.sh
  • scripts/relay_image_gen.py

Open the folder on GitHubat commit 7cefd81

Compare with similar skills

Relay Image Gen next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Relay Image Gen compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Relay Image Gen this skillaAAaqwq/AGI-Super-Team105—~1.4kAutomated safety check: NotesMIT
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
Structured Image Generationbytedance/deer-flow84k4 repos~2.9kAutomated safety check: PassMIT
Canghe Comicfreestylefly/canghe-skills4618 repos~3.2kAutomated safety check: PassNone
Generate Imageynulihao/AgentSkillOS61810 repos~1.7kAutomated safety check: NotesNone
GPT Image Generation CLIwuyoscar/GPT-Image2-Skill5.7k—~2.5kAutomated safety check: NotesMIT

Similar skills

  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Structured Image Generation

    bytedance/deer-flow

    Turns an image request into a structured JSON prompt and runs a bundled Python script to generate the picture, optionally guided by reference images.

    84k GitHub starsUsed in 4 repos~2.9k tokens
    Media & CreativeAuto-check passed
  • Canghe Comic

    freestylefly/canghe-skills

    Knowledge comic creator supporting multiple art styles and tones.

    461 GitHub starsUsed in 8 repos~3.2k tokens
    Media & CreativeAuto-check passed
  • Generate Image

    ynulihao/AgentSkillOS

    Generate or edit images using AI models (FLUX, Gemini). An agent skill from ynulihao/AgentSkillOS.

    618 GitHub starsUsed in 10 repos~1.7k tokens
    Media & CreativeAuto-check: notes
  • GPT Image Generation CLI

    wuyoscar/GPT-Image2-Skill

    Generates and edits images with GPT Image 2 or 2.5 through a packaged CLI and a prompt gallery, after settling which model fits the request.

    5.7k GitHub stars~2.5k tokensUpdated 10 days ago
    Media & CreativeAuto-check: notes
  • Minimal Zine Poster Generator

    LiamGvchi/gc-minimal-zine-poster

    Creates or analyzes quiet, paper-texture zine posters with big negative space, one color accent and experimental type, returning an image prompt and the generated poster.

    7.3k GitHub stars~2.9k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed

More from aAAaqwq/AGI-Super-Team

All 167 skills in this repo
  • Content Creator

    aAAaqwq/AGI-Super-Team

    Create SEO-optimized marketing content with consistent brand voice.

    105 GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • Financial Calculator

    aAAaqwq/AGI-Super-Team

    Advanced financial calculator with future value tables, present value, discount calculations, markup pricing, and compound interest.

    105 GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Bankr Signals

    aAAaqwq/AGI-Super-Team

    Transaction-verified trading signals on Base blockchain. An agent skill from aAAaqwq/AGI-Super-Team.

    105 GitHub starsUsed in 2 repos~3.3k tokens
    Auto-check passed
  • Erc 8004

    aAAaqwq/AGI-Super-Team

    Register AI agents on Ethereum mainnet using ERC-8004 (Trustless Agents).

    105 GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed
  • Frontend Design Ultimate

    aAAaqwq/AGI-Super-Team

    Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed.

    105 GitHub starsUsed in 2 repos~2.7k tokens
    Auto-check passed
  • Zsxq Smart Publish

    aAAaqwq/AGI-Super-Team

    Publish and manage content on 知识星球 (zsxq.com). An agent skill from aAAaqwq/AGI-Super-Team.

    105 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed

Questions about Relay Image Gen

What does Relay Image Gen do?

Multi-provider image generation with automatic priority fallback Multi-provider image generation with priority fallback. Relay Image Gen is an agent skill from aAAaqwq/AGI-Super-Team. Multi-provider image generation with automatic priority fallback Multi-provider image generation with priority fallback.

When should I use Relay Image Gen?

Relay Image Gen fits situations like: : creating images; generating pictures/illustrations.

How do I install Relay Image Gen in Claude Code?

Run `npx skills add aAAaqwq/AGI-Super-Team --skill relay-image-gen -a claude-code`. Or copy the skill folder (skills/relay-image-gen in aAAaqwq/AGI-Super-Team) into .claude/skills/relay-image-gen in your project. Claude Code loads it when a task matches its description.

How do I install Relay Image Gen in Codex?

Run `npx skills add aAAaqwq/AGI-Super-Team --skill relay-image-gen -a codex`. Or copy the skill folder (skills/relay-image-gen in aAAaqwq/AGI-Super-Team) into .agents/skills/relay-image-gen in your project. Codex loads it when a task matches its description.

Can I use Relay Image Gen in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aAAaqwq/AGI-Super-Team --skill relay-image-gen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/relay-image-gen, .gemini/skills/relay-image-gen, .github/skills/relay-image-gen and .opencode/skills/relay-image-gen in your project.

What does Relay Image Gen need to run?

Going by SKILL.md and its folder, Relay Image Gen needs a shell and Python for the scripts in its folder, the command-line tools its instructions call (uv, python3 and bash) and credentials named VECTORNODE_API_KEY, XINGJIABIAPI_KEY and QINGYUN_API_KEY. Our summary lists: Python 3; A Bash shell; A credential in VECTORNODE_API_KEY; A credential in QINGYUN_API_KEY.

Does Relay Image Gen access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Relay Image Gen safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Relay Image Gen use?

Relay Image Gen is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Relay Image Gen use?

About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 581 tokens, read only when the agent opens those files.

What are the alternatives to Relay Image Gen?

Skills that share tags, products or a category with Relay Image Gen: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Structured Image Generation (bytedance/deer-flow, 84k stars), Canghe Comic (freestylefly/canghe-skills, 461 stars) and Generate Image (ynulihao/AgentSkillOS, 618 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Relay Image Gen?

aAAaqwq (a GitHub user) maintains it in aAAaqwq/AGI-Super-Team, which has 105 GitHub stars. The repository holds 167 skills in this directory. The repository was last updated on October 8, 2026.

Source: aAAaqwq/AGI-Super-Team on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.