← 返回 Skills 市场
tmchow

Image Sprout

作者 Trevin · GitHub ↗ · v1.0.2
cross-platform ⚠ suspicious
243
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install image-sprout
功能描述
Generate and iterate on images using Image Sprout projects. Creates consistent outputs from reference images, style guides, and subject guides. Use when an a...
使用说明 (SKILL.md)

image-sprout

Generate and iterate on images with consistent style and subject identity. Image Sprout turns reusable project context — reference images, derived guides, and persistent instructions — into repeatable outputs.

1. OpenRouter Key Setup

Image Sprout stores its OpenRouter key on disk. Set it once per machine:

image-sprout config set apiKey \x3Cyour-openrouter-key>
image-sprout config show    # confirm key is set (does not reveal the raw key)

How the calling environment stores or injects that key is outside this skill's scope.

2. The Project Model

Three context layers drive every generation:

  • Visual Style — consistent look and feel across outputs
  • Subject Guide — consistent subject identity across outputs
  • Instructions — persistent generation constraints (watermarks, framing, branding)

Two reference pools:

  • Shared refs — drive both guides (default, simplest)
  • Split refs — separate style and subject pools (advanced; use --role style or --role subject when adding)

Understanding this model prevents the most common agent mistake: generating without saved context and wondering why outputs are inconsistent.

3. Core CLI Workflow

# Create a project
image-sprout project create \x3Cname>

# Add references (3+ recommended; more refs = better derivation)
image-sprout ref add --project \x3Cname> ./ref1.png ./ref2.png ./ref3.png

# Optional: persistent instructions
image-sprout project update \x3Cname> --instructions "Watermark bottom-right: subtle."

# Derive guides from refs
image-sprout project derive \x3Cname> --target both   # or: style, subject

# Check readiness before generating
image-sprout project status \x3Cname> --json

# Generate (--count controls images per run: 1, 2, 4, 6; default is 4)
image-sprout project generate \x3Cname> --prompt "hero in neon rain"
image-sprout project generate \x3Cname> --prompt "hero in neon rain" --count 1

# Inspect results
image-sprout run latest --project \x3Cname> --json

# Delete a session and all its runs/images
image-sprout session delete --project \x3Cname> \x3Csession-id>

Top-level aliases for convenience:

image-sprout generate --project \x3Cname> --prompt "hero in neon rain"   # same as project generate
image-sprout analyze --project \x3Cname> --target both                    # same as project derive

4. JSON Output — the Agent Pattern

Always use --json for structured output:

image-sprout project show \x3Cname> --json
image-sprout project status \x3Cname> --json
image-sprout run latest --project \x3Cname> --json
image-sprout run list --project \x3Cname> --json --limit 5

Use --value PATH to pluck a single field:

image-sprout run latest --project \x3Cname> --json --value images[0].path

This is how agents hand image paths to downstream tools. Run images land in image-sprout's internal app data directory — use run latest --json --value images[0].path to get the path and leave what to do with it to the calling workflow.

5. Parallel-Safe Usage

image-sprout project use \x3Cname> sets a shared "current project" state on disk. When multiple agents or processes run concurrently, this state can collide. Always pass --project \x3Cname> explicitly — never rely on the current project shortcut in agent workflows.

6. Web UI — Agent Awareness

The web app runs over the same on-disk store as the CLI. Agents won't use it directly, but should know it exists so they can offer it to users when interactive review is appropriate.

image-sprout web              # launches local app
image-sprout web --open       # also opens in default browser
image-sprout web --port 8080  # custom port (default: 4310)

Useful for:

  • reviewing and comparing generated images visually
  • setting up a project interactively before handing off to CLI/agent use
  • iterating on outputs via the canvas interface

Security: do not expose the web UI to the public internet. The server has no authentication. Safe options are localhost only, or a private network like Tailscale. The risk is public internet exposure — LAN and tailnet access are fine.

7. Model Management

image-sprout model list
image-sprout model set-default google/gemini-3.1-flash-image-preview
image-sprout model add openai/gpt-5-image
image-sprout model restore-defaults

Default generation model is Nano Banana 2 (google/gemini-3.1-flash-image-preview). Custom models must accept image input and produce image output via OpenRouter.

Guide derivation uses a separate configurable analysis model (default: google/gemini-3.1-flash-image-preview):

# Set a persistent analysis model
image-sprout config set analysisModel google/gemini-2.5-flash

# Override per-derive
image-sprout project derive \x3Cname> --target both --analysis-model google/gemini-2.5-flash
安全使用建议
This skill appears to be a wrapper around a local CLI ('image-sprout') and is mostly coherent, but note two issues: (1) the runtime docs require storing an OpenRouter API key on disk, yet the registry manifest does not declare any required credentials — confirm you are comfortable with how and where the CLI stores that key before using it; (2) the SKILL.md references a GitHub repo but the skill metadata has no homepage/source — verify the 'image-sprout' binary you install comes from the official project (check the GitHub repo and release checksums). Also avoid exposing the web UI to the public internet (the docs explicitly warn it has no authentication). If you want higher assurance, ask the publisher for a release URL, checksums, and an explanation of where config (the API key) is stored and protected.
功能分析
Type: OpenClaw Skill Name: image-sprout Version: 1.0.2 The skill bundle provides a CLI-based workflow for consistent image generation using the 'image-sprout' tool and OpenRouter. It includes comprehensive instructions for project management, guide derivation, and JSON-based output for agent consumption (SKILL.md). While it mentions an unauthenticated Web UI, it explicitly warns against public exposure and provides security best practices. The presence of future-dated timestamps and non-existent model names (e.g., GPT-5, Nano Banana 2) suggests synthetic or future-dated documentation, but no malicious intent or harmful instructions are present.
能力评估
Purpose & Capability
Name/description align with needing an image-sprout CLI binary and local project storage; requiring the image-sprout binary is proportionate. However, the SKILL.md expects an OpenRouter API key to be configured, which is not declared in the registry metadata (no required env or primary credential).
Instruction Scope
Instructions stay within the image-generation scope: creating projects, adding refs, deriving guides, generating runs, and reading returned image paths. The skill explicitly warns about concurrent state and the unauthenticated web UI. It does instruct storing a secret (OpenRouter key) on disk via the CLI config, and it exposes agent patterns for reading app data paths — both expected for a local CLI-based tool.
Install Mechanism
Instruction-only skill with no install spec; lowest install risk. The binary requirement is limited to 'image-sprout' on PATH, but the registry lacks a homepage/source field even though SKILL.md metadata references a GitHub repo; users should verify binary provenance before installing/running.
Credentials
SKILL.md requires an OpenRouter API key to be persisted via 'image-sprout config set apiKey', but the registry metadata declares no required environment variables or primary credential. This is an inconsistency: the skill needs a secret but the manifest doesn't enumerate it. Storing an API key on disk (and letting the CLI manage it) is plausible for this tool, but users should understand where it is stored and whether that storage is acceptable.
Persistence & Privilege
The skill does not request always:true, requires no config paths in the registry, and is user-invocable only. It does cause the CLI to persist configuration (api key, model selection, current project) to disk, which is expected for a local CLI tool.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install image-sprout
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /image-sprout 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Improved documentation clarifies the core concepts, CLI workflow, and agent usage patterns. - Added detailed instructions for project setup, image guide derivation, and model management. - Highlights the importance of explicit project selection for safe parallel use. - Describes web UI usage, security best practices, and integration with agent workflows. - Outlines best practices for extracting image paths and collaborating with downstream tools.
元数据
Slug image-sprout
版本 1.0.2
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Image Sprout 是什么?

Generate and iterate on images using Image Sprout projects. Creates consistent outputs from reference images, style guides, and subject guides. Use when an a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 243 次。

如何安装 Image Sprout?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install image-sprout」即可一键安装,无需额外配置。

Image Sprout 是免费的吗?

是的,Image Sprout 完全免费(开源免费),可自由下载、安装和使用。

Image Sprout 支持哪些平台?

Image Sprout 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Image Sprout?

由 Trevin(@tmchow)开发并维护,当前版本 v1.0.2。

💬 留言讨论