Image
生成和处理图像内容的基础功能模块
Core functionality module for generating and processing image content
clawhub install image使用 AI 生成创意图像设计
Generate creative images using AI image generation
# 安装 Skill(会下载 SKILL.md 到 .claude/skills/) clawhub install ai-image-generator # 之后直接对 Claude 说"用 Ai Image Generator 帮我…"即可
# 同样的安装命令,兼容所有支持 SKILL.md 的 AI 编程工具 clawhub install ai-image-generator
此 Skill 兼容 OpenClaw 标准。 安装后自动生成 SKILL.md 文件,任何支持 OpenClaw 协议的 AI Agent(Claude Code、Cursor、Windsurf 等)均可直接调用。
需配置AI图像生成服务API,部分模型需付费额度
# 安装依赖
pip install openai pillow
# 生成图片
python generate.py "一只可爱的猫咪在咖啡店里喝咖啡,动漫风格"
{
"api_key": "your-api-key",
"model": "dall-e-3",
"default_size": "1024x1024",
"default_quality": "standard"
}
clawhub run ai-image-generator --prompt '赛博朋克城市夜景' --style photorealistic --output images/ --count 3图像托管:将图像上传到 img402.dev 获取公开链接,用于消息分享、文档嵌入或社交媒体发布。
Upload images to img402.dev and get a public URL. Free tier: 1MB max, 7-day retention, no auth. Use when the agent needs a hosted image URL — for sharing in messages, embedding in documents, posting to social platforms, or any context that requires a public link to an image file.
clawhub install image-hosting