Image model API
P-Image Upscale API
prunaai/p-image-upscale is a fast, AI-powered image upscaling and enhancement model designed to increase image resolution while preserving important visual details. It can upscale images using either a target megapixel resolution or a scaling factor, making it useful for improving low-resolution photos, AI-generated images, product visuals, and creative assets. Replicate describes it as capable of reaching high-resolution outputs while maintaining very fast generation times. The model also provides optional realism and detail enhancement, allowing users to choose between simply increasing res
- Model id
p-image-upscale- Takes
- Text (optional) + Image (required)
- Makes
- Image
- Endpoint
POST /api/v1/images/generations- Made by
- Pruna AI
- Mode
- Synchronous
Call P-Image Upscale
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model p-image-upscale
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-upscale",
"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
- 1 image0.6 Joules
- 4 images2.4 Joules
Send requests to POST /api/v1/images/generations. P-Image Upscale answers synchronously: the result comes back in the response to the same request.