p-image
101-skills/superpowers
Generate images fast with Pruna's optimized P-Image models via inference.sh CLI.
What is p-image?
Pruna P-Image provides optimized text-to-image and image editing models accessible through the inference.sh CLI. Use it when you need fast, cost-effective image generation with support for custom styles, aspect ratios, and multi-image compositing.
- Text-to-image generation with multiple aspect ratios (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3)
- Image editing and manipulation with prompt-based transformations
- LoRA style presets including photo-realism, pixel-art, anime, cinematic, and 8 others
- Multi-image compositing and collage generation
- Fast inference optimized for speed without quality loss
How to install p-image
npx skills add https://github.com/101-skills/superpowers --skill p-image- Install belt CLI skill: npx skills add belt-sh/cli
- Run belt login to authenticate with inference.sh
How to use p-image
- 1.Install the belt CLI skill and authenticate with belt login
- 2.Choose a model: pruna/p-image for basic generation, pruna/p-image-lora for styled images, or pruna/p-image-edit for editing
- 3.Run belt app run with your chosen model and provide a prompt in the input JSON
- 4.For LoRA styles, specify a lora_preset from the available options (photos-realism, pixel-art, anime-2-5d, etc.)
- 5.For image editing or compositing, include image URLs in the images array within the input JSON
Use cases
- Generate product photos or marketing images with specific aspect ratios
- Apply stylized edits to existing images using natural language prompts
- Create themed artwork using preset LoRA styles (anime, retro, neon-punk, etc.)
- Combine multiple images into composites or collages
- Batch generate images cost-effectively with optimized model inference
- Content creators and marketers needing fast image generation
- Developers building image-heavy applications
- Teams seeking cost-effective AI image tools
- Designers exploring AI-assisted workflows
p-image FAQ
P-Image (text-to-image), P-Image-LoRA (with style presets), P-Image-Edit (image editing), and P-Image-Edit-LoRA (stylized editing). Pruna also offers FLUX Dev, FLUX Klein 4B, Qwen Image, Z-Image Turbo, and WAN Image Small.
11 presets: photos-realism, pixel-art, japanese-modern-look, cinematic-movie-style, graffiti-splash, neon-punk, anime-2-5d, ethereal-portrait, retro-90s-style, ink-sketchbook, and paper-cut.
Yes. Supported ratios are 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, or custom with explicit width/height values.
Use pruna/p-image-edit or pruna/p-image-edit-lora, provide a prompt describing the desired changes, and include image URLs in the images array.
Pruna optimizes models for speed and cost-efficiency without sacrificing quality, making them faster and cheaper than standard implementations.
Full instructions (SKILL.md)
Source of truth, from 101-skills/superpowers.
name: p-image description: "Generate images with Pruna P-Image models via inference.sh CLI. Models: P-Image, P-Image-LoRA, P-Image-Edit, P-Image-Edit-LoRA. Capabilities: text-to-image, image editing, LoRA styles, multi-image compositing, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna, p-image, pruna image, fast image generation, optimized flux, pruna ai, p image, fast ai image, economic image generation, cheap image generation" allowed-tools: Bash(belt *)
Install the belt CLI skill:
npx skills add belt-sh/cli
Pruna P-Image Generation
Generate images with Pruna's optimized P-Image models via inference.sh CLI.

Quick Start
Requires inference.sh CLI (
belt). Install instructions
belt login
belt app run pruna/p-image --input '{"prompt": "a futuristic cityscape at sunset"}'
P-Image Models
Pruna optimizes AI models for speed without sacrificing quality.
| Model | App ID | Best For |
|---|---|---|
| P-Image | pruna/p-image | Fast text-to-image, multiple aspect ratios |
| P-Image-LoRA | pruna/p-image-lora | Custom styles with preset LoRAs |
| P-Image-Edit | pruna/p-image-edit | Image editing with multi-image support |
| P-Image-Edit-LoRA | pruna/p-image-edit-lora | Stylized image editing |
Examples
Text-to-Image
belt app run pruna/p-image --input '{
"prompt": "professional product photo of sneakers, studio lighting",
"aspect_ratio": "1:1"
}'
With LoRA Presets
P-Image-LoRA includes built-in style presets:
belt app run pruna/p-image-lora --input '{
"prompt": "portrait of a woman in golden hour light",
"lora_preset": "photos-realism"
}'
Available presets: photos-realism, pixel-art, japanese-modern-look, cinematic-movie-style, graffiti-splash, neon-punk, anime-2-5d, ethereal-portrait, retro-90s-style, ink-sketchbook, paper-cut
Image Editing
belt app run pruna/p-image-edit --input '{
"prompt": "change the background to a beach",
"images": ["https://your-image.jpg"]
}'
Multi-Image Compositing
belt app run pruna/p-image-edit --input '{
"prompt": "combine these images into a collage",
"images": ["https://img1.jpg", "https://img2.jpg", "https://img3.jpg"]
}'
Custom Aspect Ratios
belt app run pruna/p-image --input '{
"prompt": "landscape mountain scene",
"aspect_ratio": "16:9"
}'
Supported ratios: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, or custom with width/height
Other Pruna Models
Pruna offers optimized versions of popular models:
# FLUX Dev (optimized)
belt app run pruna/flux-dev --input '{"prompt": "..."}'
# FLUX Klein 4B (extremely fast, $0.0001/image)
belt app run pruna/flux-klein-4b --input '{"prompt": "..."}'
# Qwen Image
belt app run pruna/qwen-image --input '{"prompt": "..."}'
# Z-Image Turbo (ultra-fast)
belt app run pruna/z-image-turbo --input '{"prompt": "..."}'
# WAN Image Small (batch generation)
belt app run pruna/wan-image-small --input '{"prompt": "..."}'
Browse All Pruna Apps
belt app list --namespace pruna
Related Skills
# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli
# All image generation models
npx skills add inference-sh/skills@ai-image-generation
# Pruna video generation
npx skills add inference-sh/skills@p-video
# FLUX models
npx skills add inference-sh/skills@flux-image
Browse all apps: belt app list
Documentation
- Running Apps - How to run apps via CLI
- Image Generation Example - Complete image generation guide
- Streaming Results - Real-time progress updates
Related skills
More from 101-skills/superpowers and the wider catalog.

p-video
Generate videos from text or images using Pruna's optimized AI models via inference.sh CLI.

p-video-avatar
Generate realistic talking head avatar videos from portrait images—18x faster and 6x cheaper than competitors.

product-hunt-launch
Optimize your Product Hunt launch with gallery specs, timing, and maker engagement strategy

product-photography
Generate professional product photography with AI—studio lighting, packshots, lifestyle shots, and e-commerce images.

python-executor
Execute Python code in a sandboxed environment with 100+ pre-installed libraries.

seedance
Generate AI videos with synchronized audio using ByteDance Seedance 2.0 via inference.sh CLI.