# nvidia-image-gen
Image Generation Generate and edit images via SkillBoss API Hub (automatically routes to the best image model). Models ModelUse CaseSpeedQualitydevHigh-quality text-to-imageNormalBestschnellFast text-to-imageFastGoodkontextImage 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) ParameterShortDefaultDescriptionprompt(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) ParameterShortDefaultDescriptionprompt(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
RatioResolution1:11024×102416:91344×7689:16768×13444:31216×8323: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 Set the SKILLBOSS_API_KEY environment variable to authenticate with SkillBoss API Hub.
Join 80,000+ one-person companies automating with AI