Image model API

P-Image Edit API

prunaai/p-image-edit is PrunaAI's high-performance AI image editing model, built for fast, precise, and production-ready image transformations. Designed to deliver state-of-the-art image editing in under one second, it combines exceptional prompt adherence, high visual quality, and multi-image editing capabilities, making it ideal for creative professionals, developers, and automated image workflows. Unlike traditional image editors, P-Image-Edit can edit up to five reference images simultaneously, allowing users to combine elements, preserve identities, modify objects, replace backgrounds, a

Model id
p-image-edit
Takes
Text (required)
Makes
Image
Endpoint
POST /api/v1/images/generations
Made by
Pruna AI
Mode
Synchronous

Call P-Image Edit

Base URL https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.

Model p-image-edit

POST /api/v1/images/generations

curl https://payload.rentprompts.com/api/v1/images/generations \
  -H "Authorization: Bearer rp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "p-image-edit",
  "prompt": "A lighthouse at dusk, watercolor",
  "n": 1
}'

Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →

What a typical call costs

Worked out from P-Image Edit's published price (1.2 J / image). You pay only for successful results, from your Joule balance.
  • 1 image1.2 Joules
  • 4 images4.8 Joules

Send requests to POST /api/v1/images/generations. P-Image Edit answers synchronously: the result comes back in the response to the same request.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).
NameTypeDefaultRange / options
aspect_ratioselect——
P-Image Edit API — Pricing & Code Examples | RentPrompts