← 返回 Skills 市场
236
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install imageflare
功能描述
Generate and edit images using Cloudflare Workers AI via the `imageflare` CLI. Use when: user asks to generate an image from a text prompt, edit/transform an...
使用说明 (SKILL.md)
ImageFlare Skill
Generate and edit images from your terminal using Cloudflare Workers AI models (Flux, Stable Diffusion, etc.).
When to Use
✅ USE this skill when:
- User asks to generate an image from a text description
- User wants to edit or transform an existing image with AI
- User wants to apply a style from a reference image to another image
- User asks to configure Cloudflare AI credentials or switch models
- User says "create an image", "generate a picture", "edit this photo with AI"
When NOT to Use
❌ DON'T use this skill when:
- Local image manipulation without AI (crop, resize, rotate) → use
convert/ffmpeg/Pillow - Video generation → not supported
- Non-Cloudflare AI image generation → use other tools
- Viewing or inspecting image metadata → use
identify,exiftool - The user has not configured Cloudflare credentials yet and doesn't want to → prompt them to run
imageflare configfirst
Setup
Requires a Cloudflare account with Workers AI access (free tier available).
# First-time interactive setup (Account ID + API Token + model selection)
imageflare config
Getting credentials:
| Credential | Where to find it |
|---|---|
| Account ID | Cloudflare dashboard → right sidebar of any page |
| API Token | My Profile → API Tokens → Create Token — select the Workers AI template or grant Workers AI: Read permission |
Verify setup:
imageflare config show
Commands
Generate an Image
# Basic generation
imageflare generate --prompt "a red fox sitting on a snow-covered log"
# With custom dimensions and seed for reproducibility
imageflare generate --prompt "a sunset over mountains" --width 512 --height 512 --seed 42
# Save to specific path and auto-open
imageflare generate --prompt "cyberpunk cityscape" --output cityscape.png --open
# Use a specific model
imageflare generate --prompt "a cat" --model "@cf/black-forest-labs/flux-1-schnell"
Edit an Existing Image
# Basic edit
imageflare edit photo.png --prompt "change the background to a beach"
# Edit with a style reference image (up to 3 refs)
imageflare edit photo.png --ref style.png --prompt "style image 0 like image 1"
# Multiple reference images
imageflare edit photo.png --ref ref1.png --ref ref2.png --prompt "combine styles"
# Save to specific path
imageflare edit photo.png --prompt "make it a watercolor painting" --output watercolor.png --open
Configuration
# Interactive setup wizard
imageflare config
# View current settings
imageflare config show
# List available AI models on your account
imageflare config models
# Set values non-interactively
imageflare config set --account-id YOUR_ID --api-token YOUR_TOKEN
imageflare config set --model "@cf/black-forest-labs/flux-1-schnell"
Common Options
| Flag | Description |
|---|---|
-p, --prompt |
Text prompt describing what to generate or how to edit (required) |
-m, --model |
Cloudflare Workers AI model ID (overrides configured default) |
--width |
Output width in pixels (default: 1024) |
--height |
Output height in pixels (default: 1024) |
--seed |
Random seed for reproducible results |
-o, --output |
Output file path (default: imageflare_\x3Ctimestamp>.png) |
--open |
Open the saved image automatically after generation |
-r, --ref |
(edit only) Additional reference image, repeatable up to 3 times |
Output
- Images are saved as PNG files
- Default filename:
imageflare_\x3Ctimestamp>.pngin the current directory - Use
--outputto specify a custom path - Use
--opento auto-open the result in the system image viewer
Notes
- Default model:
@cf/black-forest-labs/flux-2-klein-4b - Input images for editing are automatically resized to ≤512×512 (Cloudflare requirement)
- Reference images in edit mode: refer to them in your prompt as
image 0,image 1, etc. - Config is stored at
~/.config/imageflare/config(Linux/macOS) or%APPDATA%\imageflare\config(Windows) - No intermediate servers — requests go directly to the Cloudflare Workers AI API
- Free tier available on Cloudflare Workers AI
安全使用建议
This skill appears coherent for using the imageflare CLI with Cloudflare Workers AI. Before installing/using it: (1) confirm you will install a trusted imageflare binary/package (inspect the PyPI package or the GitHub repo linked in SKILL.md); (2) create a Cloudflare API token with minimal scope (Workers AI read or the template recommended) and avoid using broad/owner-level tokens; (3) be aware credentials will be stored under ~/.config/imageflare/config (or %APPDATA% on Windows) — protect that file; (4) the SKILL.md suggests installing via pip but the registry has no automated installer, so installation is manual; (5) if you don’t want the agent to call the skill autonomously, disable agent invocation for this skill in your agent settings.
功能分析
Type: OpenClaw Skill
Name: imageflare
Version: 1.0.1
The imageflare skill bundle provides a legitimate interface for an AI agent to interact with Cloudflare Workers AI via a CLI tool. The documentation in SKILL.md and metadata in _meta.json describe standard functionality for image generation, editing, and configuration management without any signs of malicious intent, data exfiltration, or prompt injection. The skill uses standard pip installation and local credential storage consistent with its stated purpose.
能力评估
Purpose & Capability
Name/description (image generation/editing via Cloudflare Workers AI) align with the runtime instructions (calls to the imageflare CLI, model selection, prompts) and the single required binary (imageflare).
Instruction Scope
SKILL.md only instructs running the imageflare CLI (generate, edit, config) and to store/inspect Cloudflare credentials via the tool's config. It does not ask the agent to read unrelated files, exfiltrate data, or call unexpected endpoints; it explicitly states requests go directly to Cloudflare Workers AI API.
Install Mechanism
Registry metadata lists no install spec, but the SKILL.md contains an install hint (pip install imageflare). This is not executed automatically by the platform, so installing requires user action. Verify the imageflare package source (PyPI/GitHub) before installing.
Credentials
No environment variables or unrelated credentials are requested by the skill. The tool requires a Cloudflare Account ID and an API token (documented in SKILL.md) which is appropriate for the stated purpose; credentials are stored locally in the tool's config path (~/.config/imageflare/config).
Persistence & Privilege
always is false and the skill does not request system-wide configuration changes or elevated privileges. It only uses its own CLI and config files; autonomous invocation by the agent is allowed (platform default).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install imageflare - 安装完成后,直接呼叫该 Skill 的名称或使用
/imageflare触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- How to install: run `pip install imageflare`
- How to use: setup credentials with imageflare config - this will allow you to enter your cloudflare workers AI config details
- go to "dash.cloudflare.com >Manage Account > API tokens > Create a workers AI Read token
- use this token & account id from url to setup the config
元数据
常见问题
ImageFlare 是什么?
Generate and edit images using Cloudflare Workers AI via the `imageflare` CLI. Use when: user asks to generate an image from a text prompt, edit/transform an... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 236 次。
如何安装 ImageFlare?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install imageflare」即可一键安装,无需额外配置。
ImageFlare 是免费的吗?
是的,ImageFlare 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
ImageFlare 支持哪些平台?
ImageFlare 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ImageFlare?
由 Sallytion(@sallytion)开发并维护,当前版本 v1.0.1。
推荐 Skills