Skip to main content
P-Image is Pruna’s ultra-fast text-to-image model with automatic prompt enhancement and 2-stage refinement. It generates high-quality images quickly with minimal configuration.

Try in playground

Test P-Image T2I in the Runpod Hub playground.
Endpointhttps://api.runpod.ai/v2/p-image-t2i/runsync
Pricing$0.005 per image
TypeImage generation

Request

All parameters are passed within the input object in the request body.
input.prompt
string
required
Text description of the desired image.
input.aspect_ratio
string
default:"16:9"
Output aspect ratio. Options: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3.
input.seed
integer
Seed for reproducible results.
input.disable_safety_checker
boolean
default:"false"
Disable content safety filtering.
curl -X POST "https://api.runpod.ai/v2/p-image-t2i/runsync" \
  -H "Authorization: Bearer $RUNPOD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input": {
      "prompt": "A majestic lion standing on a rocky cliff at sunset",
      "aspect_ratio": "16:9"
    }
  }'

Response

id
string
Unique identifier for the request.
status
string
Request status. Returns COMPLETED on success, FAILED on error.
output
object
The generation result containing the image URL and cost.
output.image_url
string
URL of the generated image. This URL expires after 7 days.
output.cost
float
Cost of the generation in USD.
{
  "id": "sync-a1b2c3d4-e5f6-7890-abcd-ef1234567890-u1",
  "status": "COMPLETED",
  "delayTime": 10,
  "executionTime": 1245,
  "output": {
    "image_url": "https://image.runpod.ai/abc123/output.png",
    "cost": 0.005
  }
}
Image URLs expire after 7 days. Download and store generated images immediately if you need to keep them.

Cost calculation

P-Image T2I charges $0.005 per image generated.