p-image
Pruna P-Image Generation
Generate images with Pruna's optimized P-Image models via inference.sh CLI.

Quick Start
Requires inference.sh CLI (
infsh). Install instructions
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
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:
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
infsh app run pruna/p-image-edit --input '{
"prompt": "change the background to a beach",
"images": ["https://your-image.jpg"]
}'
Multi-Image Compositing
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
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:
# 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
infsh app list --namespace pruna
Related Skills
# Full platform skill (all 150+ 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: infsh app list
Documentation
- Running Apps - How to run apps via CLI
- Image Generation Example - Complete image generation guide
- Streaming Results - Real-time progress updates
More from inference-sh/agent-skills-registry
agent-tools
Run 150+ AI apps via inference.sh CLI - image generation, video creation, LLMs, search, 3D, Twitter automation. Models: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa, OpenRouter, and many more. Use when running AI apps, generating images/videos, calling LLMs, web search, or automating Twitter. Triggers: inference.sh, infsh, ai model, run ai, serverless ai, ai api, flux, veo, claude api, image generation, video generation, openrouter, tavily, exa search, twitter api, grok
19agent-browser
Browser automation for AI agents via inference.sh. Navigate web pages, interact with elements using @e refs, take screenshots, record video. Capabilities: web scraping, form filling, clicking, typing, drag-drop, file upload, JavaScript execution. Use for: web automation, data extraction, testing, agent browsing, research. Triggers: browser, web automation, scrape, navigate, click, fill form, screenshot, browse web, playwright, headless browser, web agent, surf internet, record video
19python-sdk
Python SDK for inference.sh - run AI apps, build agents, and integrate with 150+ models. Package: inferencesh (pip install inferencesh). Supports sync/async, streaming, file uploads. Build agents with template or ad-hoc patterns, tool builder API, skills, and human approval. Use for: Python integration, AI apps, agent development, RAG pipelines, automation. Triggers: python sdk, inferencesh, pip install, python api, python client, async inference, python agent, tool builder python, programmatic ai, python integration, sdk python
15javascript-sdk
JavaScript/TypeScript SDK for inference.sh - run AI apps, build agents, integrate 150+ models. Package: @inferencesh/sdk (npm install). Full TypeScript support, streaming, file uploads. Build agents with template or ad-hoc patterns, tool builder API, skills, human approval. Use for: JavaScript integration, TypeScript, Node.js, React, Next.js, frontend apps. Triggers: javascript sdk, typescript sdk, npm install, node.js api, js client, react ai, next.js ai, frontend sdk, @inferencesh/sdk, typescript agent, browser sdk, js integration
15ai-product-photography
Generate professional AI product photography and commercial images. Models: FLUX, Imagen 3, Grok, Seedream for product shots, lifestyle images, mockups. Capabilities: studio lighting, lifestyle scenes, packaging, e-commerce photos. Use for: e-commerce, Amazon listings, Shopify, marketing, advertising, mockups. Triggers: product photography, product shot, commercial photography, e-commerce images, amazon product photo, shopify images, product mockup, studio product shot, lifestyle product image, advertising photo, packshot, product render, product image ai
8ai-video-generation
Generate AI videos with Google Veo, Seedance, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 1.5 Pro, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative
8