All Models

Pruna logo

P-Image API

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
Try in Studio
More options (3)
Generate

Pricing depends on the selected inputs. See the rates below.

P-Image example

Supported modes

Text to Image

Text to Image uses prompt. Adjust the model options to prepare a request for this mode.

image.generate

Edit

Edit uses images and prompt. Adjust the model options to prepare a request for this mode.

image.edit

Upscale

Upscale uses image. Adjust the model options to prepare a request for this mode.

image.upscale

Pricing

Image generation

Price per run for each listed option.

OfferingPrice (USD)
Per run$0.01 / run

Image editing

Price per run for each listed option.

OfferingPrice (USD)
Per run$0.01 / run

Image Upscale

Price per run for each listed option.

OfferingPrice (USD)
Per run$0.01 / run

Text to Image options

OptionDetailsDefault
Prompt *
prompt
The positive prompt for generation.—
Aspect ratio
aspect_ratio
Aspect ratio of the generated image. Options: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, custom."custom"
Height
height
Custom height in pixels. Only used when aspect_ratio is custom. Must be a multiple of 16. Minimum: 256. Maximum: 1440.512
Format
output_format
Output image format. Options: png, jpeg, webp."png"
Seed
seed
Random seed. -1 means random.—
Width
width
Custom width in pixels. Only used when aspect_ratio is custom. Must be a multiple of 16. Minimum: 256. Maximum: 1440.512

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.

Model publisher

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

Related models

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai