Image
生成和处理图像内容的基础功能模块
Core functionality module for generating and processing image content
clawhub install image使用 Nvidia AI 技术生成高质量的图像
Generate high-quality images using Nvidia AI technology
# 安装 Skill(会下载 SKILL.md 到 .claude/skills/) clawhub install nvidia-image-gen # 之后直接对 Claude 说"用 Nvidia Image Gen 帮我…"即可
# 同样的安装命令,兼容所有支持 SKILL.md 的 AI 编程工具 clawhub install nvidia-image-gen
此 Skill 兼容 OpenClaw 标准。 安装后自动生成 SKILL.md 文件,任何支持 OpenClaw 协议的 AI Agent(Claude Code、Cursor、Windsurf 等)均可直接调用。
需要Nvidia API密钥,建议使用GPU加速以获得最佳性能
dev | High-quality text-to-image | Normal | Best |
| schnell | Fast text-to-image | Fast | Good |
| kontext | Image editing | Normal | Best |# Generate an image
python scripts/generate.py "A cute cat in space"
# Edit an existing image
python scripts/generate.py "Add sunglasses" -i photo.jpg -o edited.png
prompt | | (required) | Text description |
| -o, --output | | output.png | Output file path |
| --width | | 1024 | Output width in pixels |
| --height | | 1024 | Output height in pixels |
| --aspect-ratio | -ar | 1:1 | Aspect ratio preset |
| --steps | -s | 30 | Diffusion steps |
| --seed | | 0 | Random seed (0=random) |
| --model | -m | auto | Model selection |prompt | | (required) | Edit instruction |
| -i, --input | | (required) | Input image path |
| -o, --output | | output.png | Output file path |
| --steps | -s | 30 | Diffusion steps |
| --cfg | | 3.5 | Guidance scale |
| --seed | | 0 | Random seed |python scripts/generate.py "A mountain landscape at sunset"
python scripts/generate.py "A panoramic beach view" -ar 16:9
python scripts/generate.py "A professional headshot" -ar 9:16
python scripts/generate.py "A banner image" --width 1344 --height 768
python scripts/generate.py "Quick sketch of a robot" -m schnell
python scripts/generate.py "Make the background a sunset" -i input.jpg -o output.png
python scripts/generate.py "A robot" --seed 12345
MEDIA:/path/to/image.png which can be sent directly to chat.NVIDIA_API_KEY environment variable.clawhub run nvidia-image-gen --prompt "赛博朋克风格的东京街道夜景" --resolution 1024x1024 --steps 50 --style cinematic图像托管:将图像上传到 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