Skip to content
Back to skills

P Image

ASecurity

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

  • 416 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
ai-agentsgobashapidocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 30, 2026

npx -y skills add aiskillstore/marketplace --skill p-image --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of P Image?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for P Image
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-p-image/badge)](https://www.skillsdirectory.com/skills/aiskillstore-p-image)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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(infsh *)
---

# Pruna P-Image Generation

Generate images with Pruna's optimized P-Image models via [inference.sh](https://inference.sh) CLI.

![P-Image Generation](https://cloud.inference.sh/app/files/u/4mg21r6ta37mpaz6ktzwtt8krr/01kkgym0yqys16pqrg9h8ctk2y.jpeg)

## 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 updates

Files in this skill

  • SKILL.md3.9 KB
  • skill-report.json9.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.