Generate images using Cloudflare Workers AI flux-1-schnell model. Use when user requests image generation with text-to-image using Cloudflare Workers API.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install cloudflare-image-gen或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install cloudflare-image-gen⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/cloudflare-image-gen/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: cloudflare-image-gen description: Generate images using Cloudflare Workers AI flux-1-schnell model. Use when user requests image generation with text-to-image using Cloudflare Workers API. ---
This skill generates images using Cloudflare Workers AI @cf/black-forest-labs/flux-1-schnell model.
1e89d3ce76cbfef3b5c340e3984b7a52aCTA2KaKa1n3ayFDL-LPmZ-JgUC0HHgA5Msy18Bk@cf/black-forest-labs/flux-1-schnellRun the script directly:
python3 /home/ubuntu/.openclaw/workspace/skills/cloudflare-image-gen/scripts/generate_image.py "your prompt here" -o output.png
Or use the Python function:
import sys
sys.path.insert(0, '/home/ubuntu/.openclaw/workspace/skills/cloudflare-image-gen/scripts')
from generate_image import generate_image
output_path = generate_image("a black horse")
The script saves the generated image as PNG and returns the file path. Send the image to the user via Telegram.
安装 Cloudflare Image Generation 后,可以对 AI 说这些话来触发它
Help me get started with Cloudflare Image Generation
Explains what Cloudflare Image Generation does, walks through the setup, and runs a quick demo based on your current project
Use Cloudflare Image Generation to generate images using Cloudflare Workers AI flux-1-schnell model
Invokes Cloudflare Image Generation with the right parameters and returns the result directly in the conversation
What can I do with Cloudflare Image Generation in my design & creative workflow?
Lists the top use cases for Cloudflare Image Generation, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/cloudflare-image-gen/ 目录(个人级,所有项目可用),或 .claude/skills/cloudflare-image-gen/(项目级)。重启 AI 客户端后,用 /cloudflare-image-gen 主动调用,或让 AI 根据上下文自动发现并使用。
Cloudflare Image Generation 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Cloudflare Image Generation 可免费安装使用。请查阅仓库了解许可证信息。
Generate images using Cloudflare Workers AI flux-1-schnell model. Use when user requests image generation with text-to-image using Cloudflare Workers API.
Cloudflare Image Generation 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Cloudflare Image Generation
Identifies repetitive steps in your workflow and sets up Cloudflare Image Generation to handle them automatically