API docs / Image models

p-image-edit API

Edit images based on text prompts with specialized tasks including multiple angles, relighting, light restoration, fusion, character addition, scene transitions, style consistency, subject consistency, scene consistency, anime conversion, 3D chibi conversion, caricature conversion, texture extraction and application, upscaling, realism conversion, and white film to rendering conversion. Supports multi-image editing where you can reference multiple input images in prompts. Optimized for sub-second generation times with turbo mode for faster inference.

Model id
prunaai/p-image-edit
Provider
prunaai
Output
Image
Price
From 4 credits per run, the same as on voor.ai. Options such as length or resolution can change it.

Request

POST https://voor.ai/v1/generations with "model": "prunaai/p-image-edit". Poll GET /v1/tasks/{id} or receive the signed webhook. See the overview for keys, idempotency, webhooks and errors.

curl https://voor.ai/v1/generations \
  -H "Authorization: Bearer $VOOR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "prunaai/p-image-edit",
  "input": {
    "prompt": "A red fox standing in fresh snow at golden hour, soft light"
  },
  "callback_url": "https://example.com/webhooks/voor"
}'

# Then poll the task (or wait for the webhook):
curl https://voor.ai/v1/tasks/TASK_ID \
  -H "Authorization: Bearer $VOOR_API_KEY"

Input parameters

NameTypeDetails
promptrequiredstring

Text prompt for image generation. Make sure to describe your edit task clearly. You can refer to the images as 'image 1' and 'image 2' and so on.

reference_imagesarray of URLs

Images to use as a reference. For editing task, provide the main image as the first image.

Default: []

Up to 10 files · Accepts image/*

aspect_ratiostring

Default: match_input_image

One of: match_input_image, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3

seednumber

Random seed. Set for reproducible generation.

replicate_weightsstring

Default: default

One of: default, multiple_angles, relight, light_restoration, white_to_scene, fusion, add_characters, next_scene, style_consistency, subject_consistency, scene_consistency, to_anime, to_3dchibi, to_caricature, photous, extract_texture, apply_texture, upscale, anything_to_real, white_film_to_rendering

turboboolean

If turned on, the model will run faster with additional optimizations. For complicated tasks, it is recommended to turn this off.

Default: true