ai-image-generation
π―SkillGenerates and edits AI images with 50+ models including GPT-Image-2, FLUX, Gemini 3 Pro, Grok Imagine, Seedream and Reve via the inference.sh belt CLI. It supports text-to-image, editing, inpainting, LoRA styles, text rendering, upscaling and image stitching.
Installation
npx skills add skills-shell/superpowers --skill ai-image-generationRun it in a terminal; it asks which AI coding tools to install it for (Claude Code, Codex, Cursor and more).
Uses skills.sh Β· Node.js 22.20+
After installing
Ask for related work and the agent uses it on its own, or call it yourself.
/ai-image-generationInstall by hand
Copy the whole skill folder from GitHub to the place below. Copying only SKILL.md can leave out files the skill uses.
Open the skill folder β- This project
.claude/skills/ai-image-generation/ - All projects
~/.claude/skills/ai-image-generation/
These paths are for Claude Code. For other tools, the command above puts it in the right place.
What this skill does
Overview
This skill lets an agent create and edit images by running AI models through the inference.sh CLI (belt). After belt login, each model is invoked with belt app run <app-id> --input '<json>', and belt app list --category image shows all available image apps.
Key Features
- Text-to-image with GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro, Grok Imagine and Seedream 4.5
- Image editing and inpainting with GPT-Image-2, P-Image-Edit and natural language edits in Reve
- Accurate text rendering for posters and graphics with Reve and Seedream 3.0
- Budget and speed options such as P-Image and FLUX Klein 4B, plus 2K-4K output from Seedream and ImagineArt
- Topaz image upscaling and stitching multiple images horizontally or vertically
Who is this for?
It helps designers, marketers and content creators make product mockups, concept art, social media graphics and illustrations. Developers who want to try many image models from one command line, choosing between cost, speed and quality, will also find it useful.
Summarized by AI from this skill's SKILL.md. Suggest a better one
SKILL.md
View on GitHub βGenerate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image
Install the belt CLI skill:
npx skills add belt-sh/cli
AI Image Generation
Generate images with 50+ AI models via inference.sh CLI.

Quick Start
Requires inference.sh CLI (
belt). Install instructions
belt login
# Generate an image with FLUX
belt app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut in space"}'
Available Models
| Model | App ID | Best For |
|---|---|---|
| GPT-Image-2 | openai/gpt-image-2 | Text-to-image, editing, inpainting |
| FLUX Dev LoRA | falai/flux-dev-lora | High quality with custom styles |
| FLUX.2 Klein LoRA | falai/flux-2-klein-lora | Fast with LoRA support (4B/9B) |
| P-Image | pruna/p-image | Fast, economical, multiple aspects |
| P-Image-LoRA | pruna/p-image-lora | Fast with preset LoRA styles |
| P-Image-Edit | pruna/p-image-edit | Fast image editing |
| Gemini 3 Pro | google/gemini-3-pro-image-preview | Google's latest |
| Gemini 2.5 Flash | google/gemini-2-5-flash-image | Fast Google model |
| Grok Imagine | xai/grok-imagine-image | xAI's model, multiple aspects |
| Seedream 4.5 | bytedance/seedream-4-5 | 2K-4K cinematic quality |
| Seedream 4.0 | bytedance/seedream-4-0 | High quality 2K-4K |
| Seedream 3.0 | bytedance/seedream-3-0-t2i | Accurate text rendering |
| Reve | falai/reve | Natural language editing, text rendering |
| ImagineArt 1.5 Pro | falai/imagine-art-1-5-pro-preview | Ultra-high-fidelity 4K |
| FLUX Klein 4B | pruna/flux-klein-4b | Ultra-cheap ($0.0001/image) |
| Topaz Upscaler | falai/topaz-image-upscaler | Professional upscaling |
Browse All Image Apps
belt app list --category image
Examples
GPT-Image-2
belt app run openai/gpt-image-2 --input '{
"prompt": "professional product photo of sneakers, studio lighting",
"quality": "high"
}'
GPT-Image-2 Editing
belt app run openai/gpt-image-2 --input '{
"prompt": "change the background to a beach at sunset",
"images": ["https://your-image.jpg"]
}'
Text-to-Image with FLUX
belt app run falai/flux-dev-lora --input '{
"prompt": "professional product photo of a coffee mug, studio lighting"
}'
Fast Generation with FLUX Klein
belt app run falai/flux-2-klein-lora --input '{"prompt": "sunset over mountains"}'
Google Gemini 3 Pro
belt app run google/gemini-3-pro-image-preview --input '{
"prompt": "photorealistic landscape with mountains and lake"
}'
Grok Imagine
belt app run xai/grok-imagine-image --input '{
"prompt": "cyberpunk city at night",
"aspect_ratio": "16:9"
}'
Reve (with Text Rendering)
belt app run falai/reve --input '{
"prompt": "A poster that says HELLO WORLD in bold letters"
}'
Seedream 4.5 (4K Quality)
belt app run bytedance/seedream-4-5 --input '{
"prompt": "cinematic portrait of a woman, golden hour lighting"
}'
Image Upscaling
belt app run falai/topaz-image-upscaler --input '{"image_url": "https://..."}'
Stitch Multiple Images
belt app run infsh/stitch-images --input '{
"images": ["https://img1.jpg", "https://img2.jpg"],
"direction": "horizontal"
}'
Related Skills
# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli
# Pruna P-Image (fast & economical)
npx skills add inference-sh/skills@p-image
# GPT-Image-2 (OpenAI)
npx skills add inference-sh/skills@gpt-image
# FLUX-specific skill
npx skills add inference-sh/skills@flux-image
# Upscaling & enhancement
npx skills add inference-sh/skills@image-upscaling
# Background removal
npx skills add inference-sh/skills@background-removal
# Video generation
npx skills add inference-sh/skills@ai-video-generation
# AI avatars from images
npx skills add inference-sh/skills@ai-avatar-video
Browse all apps: belt app list
Documentation
- Running Apps - How to run apps via CLI
- Image Generation Example - Complete image generation guide
- Apps Overview - Understanding the app ecosystem
More from this repository2
Generates AI videos through the inference.sh CLI (belt) with 40+ models including Veo 3.1, Seedance 2.0, HappyHorse, Wan 2.5 and Grok Imagine Video. Covers text-to-video, image-to-video, reference-to-video, editing, lipsync avatars, upscaling and foley sound.
Helps you keep a character looking the same across many AI-generated images. It shows how to make reference sheets with front, side and back views, facial expressions and color palettes, using the belt command line tool from inference.sh.