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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "nvidia-image-gen" with this command: npx skills add TY-teo/nvidia-image-gen

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Allergy

Take control of Allergy with this health & wellness toolkit. Clean interface, local storage, zero configuration.

Registry SourceRecently Updated
General

wps_office_auto_skill

本地办公自动化,支持文档生成与润色,合同审查,表格清洗与分析,PPT制作,PDF转换与批量处理。

Registry SourceRecently Updated
General

Encrypt

Encrypt - command-line tool for everyday use

Registry SourceRecently Updated
General

Succession Plan

继任计划。关键岗位识别、人才评估、发展路径、过渡方案、知识转移、紧急继任。Succession planning. 继任、人才管理。

Registry SourceRecently Updated