p-image
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
Best use case
p-image is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. 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
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
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "p-image" skill to help with this workflow task. Context: 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
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/p-image/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How p-image Compares
| Feature / Agent | p-image | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Pruna P-Image Generation
Generate images with Pruna's optimized P-Image models via [inference.sh](https://inference.sh) CLI.

## Quick Start
> Requires inference.sh CLI (`infsh`). Get installation instructions: `npx skills add inference-sh/skills@agent-tools`
```bash
infsh login
infsh 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
```bash
infsh 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:
```bash
infsh 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
```bash
infsh app run pruna/p-image-edit --input '{
"prompt": "change the background to a beach",
"images": ["https://your-image.jpg"]
}'
```
### Multi-Image Compositing
```bash
infsh 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
```bash
infsh 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:
```bash
# FLUX Dev (optimized)
infsh app run pruna/flux-dev --input '{"prompt": "..."}'
# FLUX Klein 4B (extremely fast, $0.0001/image)
infsh app run pruna/flux-klein-4b --input '{"prompt": "..."}'
# Qwen Image
infsh app run pruna/qwen-image --input '{"prompt": "..."}'
# Z-Image Turbo (ultra-fast)
infsh app run pruna/z-image-turbo --input '{"prompt": "..."}'
# WAN Image Small (batch generation)
infsh app run pruna/wan-image-small --input '{"prompt": "..."}'
```
## Browse All Pruna Apps
```bash
infsh app list --namespace pruna
```
## Related Skills
```bash
# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@agent-tools
# 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: `infsh app list`
## Documentation
- [Running Apps](https://inference.sh/docs/apps/running) - How to run apps via CLI
- [Image Generation Example](https://inference.sh/docs/examples/image-generation) - Complete image generation guide
- [Streaming Results](https://inference.sh/docs/api/sdk/streaming) - Real-time progress updatesRelated Skills
image-assistant
配图助手 - 把文章/模块内容转成统一风格、少字高可读的 16:9 信息图提示词;先定“需要几张图+每张讲什么”,再压缩文案与隐喻,最后输出可直接复制的生图提示词并迭代。
zimage-skill
Generate images using ModelScope Z-Image-Turbo API. Use when user asks to generate, create, or make images, pictures, or illustrations.
qwen-image
Generate and edit images with Alibaba Qwen-Image-2.0 models via inference.sh CLI. Models: Qwen-Image-2.0 (fast), Qwen-Image-2.0-Pro (professional text rendering). Capabilities: text-to-image, multi-image editing, complex text rendering. Triggers: qwen image, qwen-image, alibaba image, dashscope image, qwen image 2, qwen image pro
qwen-image-pro
Generate images with Alibaba Qwen-Image-2.0-Pro via inference.sh CLI. Professional text rendering, fine-grained realism, enhanced semantic adherence. Ideal for posters, banners, and text-heavy designs. Triggers: qwen image pro, qwen-image-pro, qwen 2 pro, alibaba image pro, dashscope pro, professional text rendering
imagen
Generates images using Google Gemini's image generation model for frontend UIs, documentation, and visual representations.
fal-image-edit
AI-powered image editing with style transfer and object removal
azure-ai-vision-imageanalysis-py
Azure AI Vision Image Analysis SDK for captions, tags, objects, OCR, people detection, and smart cropping. Use for computer vision and image understanding tasks. Triggers: "image analysis", "computer vision", "OCR", "object detection", "ImageAnalysisClient", "image caption".
azure-ai-vision-imageanalysis-java
Build image analysis applications with Azure AI Vision SDK for Java. Use when implementing image captioning, OCR text extraction, object detection, tagging, or smart cropping.
nano-image-generator
Generate images using Nano Banana Pro (Gemini 3 Pro Preview). Use when creating app icons, logos, UI graphics, marketing banners, social media images, illustrations, diagrams, or any visual assets. Supports reference images for style transfer and character consistency. Triggers include phrases like 'generate an image', 'create a graphic', 'make an icon', 'design a logo', 'create a banner', 'same style as', 'keep the style', or any request needing visual content.
baoyu-xhs-images
Xiaohongshu (Little Red Book) infographic series generator with multiple style options. Breaks down content into 1-10 cartoon-style infographics. Use when user asks to create "小红书图片", "XHS images", or "RedNote infographics".
baoyu-image-gen
AI image generation with OpenAI and Google APIs. Supports text-to-image, reference images, aspect ratios, and parallel generation (recommended 4 concurrent subagents). Use when user asks to generate, create, or draw images.
baoyu-cover-image
Generate elegant cover images for articles. Analyzes content and creates eye-catching hand-drawn style cover images with multiple style options. Use when user asks to "generate cover image", "create article cover", or "make a cover for article".