Generate and edit images using NVIDIA FLUX models. Use when user asks to generate images, create pictures, edit photos, or modify existing images with AI. Supports text-to-image generation and image editing with text prompts.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install nvidia-image-gen或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install nvidia-image-gen⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/nvidia-image-gen/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: nvidia-image-gen version: 1.0.0 description: Generate and edit images using NVIDIA FLUX models. Use when user asks to generate images, create pictures, edit photos, or modify existing images with AI. Supports text-to-image generation and image editing with text prompts. ---
Generate and edit images using NVIDIA's FLUX models.
| Model | Use Case | Speed | Quality | |-------|----------|-------|---------| | 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
| Parameter | Short | Default | Description | |-----------|-------|---------|-------------| | 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 |
| Parameter | Short | Default | Description | |-----------|-------|---------|-------------| | 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 |
| Ratio | Resolution | |-------|------------| | 1:1 | 1024×1024 | | 16:9 | 1344×768 | | 9:16 | 768×1344 | | 4:3 | 1216×832 | | 3:4 | 832×1216 |
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
The script outputs MEDIA:/path/to/image.png which can be sent directly to chat.
The API key is embedded in the script. To use a different key, set the NVIDIA_API_KEY environment variable.
安装 Nvidia Image Gen 后,可以对 AI 说这些话来触发它
Help me get started with Nvidia Image Gen
Explains what Nvidia Image Gen does, walks through the setup, and runs a quick demo based on your current project
Use Nvidia Image Gen to generate and edit images using NVIDIA FLUX models
Invokes Nvidia Image Gen with the right parameters and returns the result directly in the conversation
What can I do with Nvidia Image Gen in my design & creative workflow?
Lists the top use cases for Nvidia Image Gen, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/nvidia-image-gen/ 目录(个人级,所有项目可用),或 .claude/skills/nvidia-image-gen/(项目级)。重启 AI 客户端后,用 /nvidia-image-gen 主动调用,或让 AI 根据上下文自动发现并使用。
Nvidia Image Gen 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Nvidia Image Gen 可免费安装使用。请查阅仓库了解许可证信息。
Generate and edit images using NVIDIA FLUX models. Use when user asks to generate images, create pictures, edit photos, or modify existing images with AI. Supports text-to-image generation and image editing with text prompts.
Nvidia Image Gen 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Nvidia Image Gen
Identifies repetitive steps in your workflow and sets up Nvidia Image Gen to handle them automatically