Skip to content
Skillv1.0.0

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 com

by inference-sh(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from inference-sh/skills (tools/image/p-image/SKILL.md) via skills.sh. Install upstream with npx skills add inference-sh/skills --skill p-image. Copyright stays with the author.

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.

P-Image Generation

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

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/inference-sh-skills-p-image/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

inference-sh-skills-p-image.ocm.jsonjson
{
  "ocm": "1",
  "id": "inference-sh-skills-p-image",
  "kind": "skill",
  "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",
  "publisher": "inference-sh",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "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"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/inference-sh/skills",
      "path": "tools/image/p-image/SKILL.md",
      "ref": "HEAD",
      "url": "https://www.skills.sh/inference-sh/skills/p-image",
      "key": "inference-sh/skills/tools/image/p-image/SKILL.md"
    },
    "allowed_tools": [
      "Bash(belt",
      "*)"
    ]
  },
  "instructions": "> **Install the belt CLI skill:** `npx skills add belt-sh/cli`\n\n# Pruna P-Image Generation\n\nGenerate images with Pruna's optimized P-Image models via [inference.sh](https://inference.sh) CLI.\n\n![P-Image Generation](https://cloud.inference.sh/app/files/u/4mg21r6ta37mpaz6ktzwtt8krr/01kkgym0yqys16pqrg9h8ctk2y.jpeg)\n\n## Quick Start\n\n> Requires inference.sh CLI (`belt`). [Install instructions](https://raw.githubusercontent.com/inference-sh/skills/refs/heads/main/cli-install.md)\n\n```bash\nbelt login\n\nbelt app run pruna/p-image --input '{\"prompt\": \"a futuristic cityscape at sunset\"}'\n```\n\n\n## P-Image ",
  "cost": {
    "context_tokens": 890
  }
}

Fetch it by URL: GET /api/v1/registry/inference-sh-skills-p-image/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.