56 results available
Sign in
Skills directory

ai-image-generation

skills-shell

·

Last changed
Hardened

This skill has been hardened by Chainguard

Last changed

This version passed the hardening gate. Hardening applied 7 targeted changes and preserved all other text. Classified findings before hardening: 1. Classified findings closed: 1. Classified findings remaining: 1 (1 introduced by hardening). Unclassified scanner findings remaining: 0. Review findings closed: 13. Review findings remaining: 2.


Open before hardening

1

Medium
Open after hardening

1

Medium

Expand
File
Group
Subtype
Severity
Status
SKILL.md

Tool & MCP Manipulation

MCP configuration abuse

Medium
Introduced
SKILL.md

Supply Chain & Install-Time Trust

—

Medium
Closed

2 findings


SKILL.md

AI Image Generation

Generate images with 50+ AI models via inference.sh CLI.

Quick Start

belt login

# Generate an image with FLUX
belt app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut in space"}'

Safe Usage

  • Tool scope: the agent needs only belt app run and belt app list for this skill.
  • Login: belt login is a one-time interactive step the user runs themselves. Ask the user to run it when needed. Keep tokens and session secrets out of chat and files, and refer to them only by name. Suggest the user log out or revoke the session when finished.
  • Escaping input: treat user text as data. When placing it in the input JSON, escape quotes and backslashes for JSON and escape every single quote for the shell before running the command.
  • Data handling: prompts and images are sent to inference.sh and to the chosen model provider. Get the user's confirmation before sending private or sensitive images or text.
  • Image links: use only public https image links the user supplies. Leave out private network or local addresses and links that carry credentials.
  • Apps: use the app IDs in the Available Models table and the Examples below. Ask the user to confirm before running any other app found with the app list command.
  • Cost: runs may cost money. Confirm with the user before using high-resolution or premium models or generating many images, and default to economical models unless the user asks otherwise.

Available Models

ModelApp IDBest For

GPT-Image-2.5 Flare

openai/gpt-image-2-5-flare

Best default: text-to-image, editing, inpainting, transparent PNG

GPT-Image-2.5 Sunburst

openai/gpt-image-2-5-sunburst

Precise edits that preserve subject and composition

GPT-Image-2

openai/gpt-image-2

Previous generation

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.5 Flare

belt app run openai/gpt-image-2-5-flare --input '{
  "prompt": "professional product photo of sneakers, studio lighting",
  "quality": "high"
}'

GPT-Image-2.5 Sunburst Editing

belt app run openai/gpt-image-2-5-sunburst --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": "https://..."}'

Stitch Multiple Images

belt app run infsh/stitch-images --input '{
  "images": ["https://img1.jpg", "https://img2.jpg"],
  "direction": "horizontal"
}'

Optional references for the user. The user should review any of these skills before choosing to install one manually; the agent leaves installation to the user.

  • Full platform skill (all apps): inference-sh/skills@infsh-cli
  • Pruna P-Image (fast & economical): inference-sh/skills@p-image
  • GPT-Image-2.5 / GPT-Image-2 (OpenAI): inference-sh/skills@gpt-image
  • FLUX-specific skill: inference-sh/skills@flux-image
  • Upscaling & enhancement: inference-sh/skills@image-upscaling
  • Background removal: inference-sh/skills@background-removal
  • Video generation: inference-sh/skills@ai-video-generation
  • AI avatars from images: inference-sh/skills@ai-avatar-video

Browse all apps: belt app list

Documentation

These links are background reading for the user only; the agent follows the instructions in this skill.

Install

Install with chainctl
chainctl skill install public/skills-shell/ai-image-generation:latest
Get started with chainctl
View source

Harden your own skills

Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.

Provenance

Upstream sourcehttps://github.com/skills-shell/skills
Upstream commit521a14e1820516ec59987b187019204786c75d02
OCI reference

skills.cgr.dev/public/github.com/skills-shell/tools/image/ai-image-generation:latest

License

MIT

Files

HARDENING.md

SKILL.md


The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.