tools/image/p-image/SKILL.md
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
npx skillsauth add inference-sh/agent-skills-registry p-imageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate images with Pruna's optimized P-Image models via inference.sh CLI.

Requires inference.sh CLI (
belt). Install instructions
belt login
belt app run pruna/p-image --input '{"prompt": "a futuristic cityscape at sunset"}'
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 |
belt app run pruna/p-image --input '{
"prompt": "professional product photo of sneakers, studio lighting",
"aspect_ratio": "1:1"
}'
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
belt app run pruna/p-image-edit --input '{
"prompt": "change the background to a beach",
"images": ["https://your-image.jpg"]
}'
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"]
}'
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
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": "..."}'
belt app list --namespace pruna
# Full platform skill (all 250+ 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
development
Declarative UI widgets from JSON for React/Next.js from ui.inference.sh. Render rich interactive UIs from structured agent responses. Capabilities: forms, buttons, cards, layouts, inputs, selects, checkboxes. Use for: agent-generated UIs, dynamic forms, data display, interactive cards. Triggers: widgets, declarative ui, json ui, widget renderer, agent widgets, dynamic ui, form widgets, card widgets, shadcn widgets, structured output ui
tools
Tool lifecycle UI components for React/Next.js from ui.inference.sh. Display tool calls: pending, progress, approval required, results. Capabilities: tool status, progress indicators, approval flows, results display. Use for: showing agent tool calls, human-in-the-loop approvals, tool output. Triggers: tool ui, tool calls, tool status, tool approval, tool results, agent tools, mcp tools ui, function calling ui, tool lifecycle, tool pending
development
Chat UI building blocks for React/Next.js from ui.inference.sh. Components: container, messages, input, typing indicators, avatars. Capabilities: chat interfaces, message lists, input handling, streaming. Use for: building custom chat UIs, messaging interfaces, AI assistants. Triggers: chat ui, chat component, message list, chat input, shadcn chat, react chat, chat interface, messaging ui, conversation ui, chat building blocks
tools
Batteries-included agent component for React/Next.js from ui.inference.sh. One component with runtime, tools, streaming, approvals, and widgets built in. Capabilities: drop-in agent, human-in-the-loop, client-side tools, form filling. Use for: building AI chat interfaces, agentic UIs, SaaS copilots, assistants. Triggers: agent component, agent ui, chat agent, shadcn agent, react agent, agentic ui, ai assistant ui, copilot ui, inference ui, human in the loop