nvidia-image-gen
A tool for generating and editing images using local NVIDIA FLUX models.
Install
mkdir -p .claude/skills/nvidia-image-gen && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16889" && unzip -o skill.zip -d .claude/skills/nvidia-image-gen && rm skill.zipInstalls to .claude/skills/nvidia-image-gen
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
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.Key capabilities
- →Edit existing images using text instructions
- →Specify output image width and height
- →Set aspect ratios for generated images
- →Control image generation reproducibility with a seed
How it works
This skill uses NVIDIA FLUX models to generate images from text prompts or edit existing images based on text instructions. It allows specifying parameters like dimensions, aspect ratio, and a random seed.
Inputs & outputs
When to use nvidia-image-gen
- →Generate images from text prompts
- →Edit existing photos using text
- →Modify image resolution and aspect ratio
About this skill
NVIDIA Image Generation
Generate and edit images using NVIDIA's FLUX models.
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 |
Quick Start
# 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
Parameters
Text-to-Image (dev/schnell)
| 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 |
Image Editing (kontext)
| 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 |
Supported Aspect Ratios
| Ratio | Resolution |
|---|---|
| 1:1 | 1024×1024 |
| 16:9 | 1344×768 |
| 9:16 | 768×1344 |
| 4:3 | 1216×832 |
| 3:4 | 832×1216 |
Examples
Basic Generation
python scripts/generate.py "A mountain landscape at sunset"
Wide Format (16:9)
python scripts/generate.py "A panoramic beach view" -ar 16:9
Portrait Mode (9:16)
python scripts/generate.py "A professional headshot" -ar 9:16
Custom Size
python scripts/generate.py "A banner image" --width 1344 --height 768
Fast Generation
python scripts/generate.py "Quick sketch of a robot" -m schnell
Edit an Image
python scripts/generate.py "Make the background a sunset" -i input.jpg -o output.png
Reproducible Results
python scripts/generate.py "A robot" --seed 12345
Output
The script outputs MEDIA:/path/to/image.png which can be sent directly to chat.
API Key
The API key is embedded in the script. To use a different key, set the NVIDIA_API_KEY environment variable.
When not to use it
- →When the user wants to generate images without text prompts
- →When the user wants to edit images without text instructions
Limitations
- →The API key is embedded in the script.
- →To use a different key, set the `NVIDIA_API_KEY` environment variable.
How it compares
This skill provides direct command-line access to NVIDIA FLUX models for image generation and editing, offering specific controls for output parameters.
Compared to similar skills
nvidia-image-gen side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| nvidia-image-gen (this skill) | 0 | 6mo | Review | Beginner |
| jimeng-mcp-skill | 19 | 5mo | Caution | Intermediate |
| gemini-logo-remover | 9 | 8mo | Review | Beginner |
| ai-image | 9 | 9mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by kbarbel640-del
View all by kbarbel640-del →You might also like
jimeng-mcp-skill
wwwzhouhui
使用jimeng-mcp-server进行AI图像和视频生成。当用户请求从文本生成图像、合成多张图片、从文本描述创建视频或为静态图像添加动画时使用此技能。支持四大核心能力:文生图、图像合成、文生视频、图生视频。需要jimeng-mcp-server在本地运行或通过SSE/HTTP访问。
gemini-logo-remover
bear2u
Remove Gemini logos, watermarks, or AI-generated image markers using OpenCV inpainting. Use this skill when the user asks to remove Gemini logo, AI watermark, or any logo/watermark from images.
ai-image
tyrchen
Generate AI images using OpenAI's gpt-image-1 model with customizable aspect ratios and artistic themes. Use when the user wants to create images, generate artwork, or mentions image generation with specific styles like Ghibli, futuristic, Pixar, oil painting, or Chinese painting.
baoyu-article-illustrator
JimLiu
Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style two-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图".
nano-banana-pro-prompts-recommend-skill
YouMind-OpenLab
Recommend suitable prompts from 6000+ Nano Banana Pro image generation prompts based on user needs. Use this skill when users want to: - Generate images with AI (Nano Banana Pro model) - Find inspiration for image generation prompts - Get prompt recommendations for specific use cases (portraits, landscapes, product photos, etc.) - Create illustrations for articles, videos, podcasts, or other content - Translate and understand prompt techniques
image-generation
onyx-dot-app
Generate images using nano banana.