NV

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.zip

Installs 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.
225 chars✓ has a “when” trigger
Beginner

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

You give it
Text prompt and optional input image path
You get back
Generated or edited image file path

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

ModelUse CaseSpeedQuality
devHigh-quality text-to-imageNormalBest
schnellFast text-to-imageFastGood
kontextImage editingNormalBest

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)

ParameterShortDefaultDescription
prompt(required)Text description
-o, --outputoutput.pngOutput file path
--width1024Output width in pixels
--height1024Output height in pixels
--aspect-ratio-ar1:1Aspect ratio preset
--steps-s30Diffusion steps
--seed0Random seed (0=random)
--model-mautoModel selection

Image Editing (kontext)

ParameterShortDefaultDescription
prompt(required)Edit instruction
-i, --input(required)Input image path
-o, --outputoutput.pngOutput file path
--steps-s30Diffusion steps
--cfg3.5Guidance scale
--seed0Random seed

Supported Aspect Ratios

RatioResolution
1:11024×1024
16:91344×768
9:16768×1344
4:31216×832
3:4832×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.

SkillInstallsUpdatedSafetyDifficulty
nvidia-image-gen (this skill)06moReviewBeginner
jimeng-mcp-skill195moCautionIntermediate
gemini-logo-remover98moReviewBeginner
ai-image99moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

jimeng-mcp-skill

wwwzhouhui

使用jimeng-mcp-server进行AI图像和视频生成。当用户请求从文本生成图像、合成多张图片、从文本描述创建视频或为静态图像添加动画时使用此技能。支持四大核心能力:文生图、图像合成、文生视频、图生视频。需要jimeng-mcp-server在本地运行或通过SSE/HTTP访问。

19158

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.

9115

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.

9101

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 "为文章配图".

1848

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

1335

image-generation

onyx-dot-app

Generate images using nano banana.

634

Search skills

Search the agent skills registry