P-Image generates, edits, and upscales stills. A fast utility model for drafts and resolution changes.
Model overview
- Model ID
pruna-ai/p-image- Output Type
- Image
- Pricing
- $0.01 / run
- Provider
- Pruna
- Hosting
- External

P-Image Text to Image API example
curl -X POST https://api.protoface.com/v1/run/pruna-ai/p-image \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "image.generate",
"prompt": "A red fox resting beside a woodland stream, soft morning light.",
"aspect_ratio": "custom",
"height": 512,
"output_format": "png",
"width": 512
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
P-Image Edit API example
curl -X POST https://api.protoface.com/v1/run/pruna-ai/p-image \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "image.edit",
"images": "https://example.com/your-image.png",
"prompt": "A red fox resting beside a woodland stream, soft morning light.",
"aspect_ratio": "match_input_image",
"output_format": "png"
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
P-Image Upscale API example
curl -X POST https://api.protoface.com/v1/run/pruna-ai/p-image \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "image.upscale",
"image": "https://example.com/your-image.png",
"output_format": "png",
"target": 4
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
Supported modes
Text to Image
Text to Image uses prompt. Adjust the model options to prepare a request for this mode.
image.generateEdit
Edit uses images and prompt. Adjust the model options to prepare a request for this mode.
image.editUpscale
Upscale uses image. Adjust the model options to prepare a request for this mode.
image.upscalePricing
Image generation
Price per run for each listed option.
| Offering | Price (USD) |
|---|---|
| Per run | $0.01 / run |
Image editing
Price per run for each listed option.
| Offering | Price (USD) |
|---|---|
| Per run | $0.01 / run |
Image Upscale
Price per run for each listed option.
| Offering | Price (USD) |
|---|---|
| Per run | $0.01 / run |
Text to Image options
Edit options
Upscale options
P-Image
P-Image is Pruna's image model for generating stills, editing supplied images, and enlarging existing artwork. Text establishes the scene or the intended change, while image inputs provide the visual material for editing and upscaling.
The different modes support a practical image workflow, from exploring a composition to revising it and preparing an enlarged version for a layout.
What it's good for
Mood boards, product concepts, and presentation graphics can be developed from a written brief or reference image. Designers can try alternate treatments, adjust an existing asset, or resize artwork as they prepare images for use alongside text and other design elements.
Run P-Image on Protoface
Use P-Image in Protoface Studio without writing code. Choose your inputs and generation settings, then generate with affordable, usage-based pricing. For your own AI app or workflow, use the Protoface API to submit generations and retrieve their outputs.

About Pruna
Pruna develops efficiency-focused AI models and provides an open-source library for deployment on users’ own infrastructure. Its p-video family supports video creation from text, images and reference material, as well as video-to-video editing. API access and self-hosted options connect this work to creative application development.
- Model efficiency
- Video generation
- Self-hosted deployment










