WizzyFlow

image editing

P Image Pruna

P Image is a image editing model by Pruna. Use it through the WizzyFlow API with the same key as every other model, see the price before you generate and pay only for what's done.

API docs

Request schema

{
  "type": "object",
  "required": [
    "prompt",
    "images"
  ],
  "properties": {
    "seed": {
      "type": "integer",
      "description": "Random seed. -1 means random."
    },
    "images": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 5,
      "description": "Reference image URLs. Upload 1 to 5 images."
    },
    "prompt": {
      "type": "string",
      "x-rows": 4,
      "description": "Edit instruction.",
      "x-ui-component": "textarea"
    },
    "lora_scale": {
      "type": "number",
      "default": 1,
      "maximum": 3,
      "minimum": -1,
      "description": "Scale of the LoRA weights.",
      "x-ui-component": "slider"
    },
    "aspect_ratio": {
      "enum": [
        "match_input_image",
        "1:1",
        "16:9",
        "9:16",
        "4:3",
        "3:4",
        "3:2",
        "2:3"
      ],
      "type": "string",
      "default": "match_input_image",
      "description": "Aspect ratio of the generated image. match_input_image follows the first input image."
    },
    "hf_api_token": {
      "type": "string",
      "description": "Optional Hugging Face API token used to access the LoRA weights."
    },
    "lora_weights": {
      "type": "string",
      "description": "LoRA weights in Hugging Face format, for example huggingface.co/PrunaAI/p-image-edit-next-scene-lora/weights.safetensors. Use LoRAs trained for p-image-edit-lora."
    },
    "output_format": {
      "enum": [
        "png",
        "jpeg",
        "webp"
      ],
      "type": "string",
      "default": "png",
      "description": "Output image format."
    }
  },
  "x-order-properties": [
    "prompt",
    "images",
    "lora_weights",
    "lora_scale",
    "hf_api_token",
    "aspect_ratio",
    "output_format",
    "seed"
  ],
  "additionalProperties": false
}

Up to 5 files.

Advanced
Output format

The same seed and request repeat the result. Empty or -1 picks one at random.

Fill in the required fields to see the exact price. Charged only if it's done.

Result

The result shows up here.

Enhanced prompts

The latest image prompts you enhanced in this browser, on any model. Use the enhanced one or go back to the original.

None yet. Each prompt you enhance is kept here, along with the original text.

Enhance the prompt

Rewrites your text with more detail on scene, light, framing and style, so the model better understands what you want. You review it before using.

Other image editing models

Get your key in a minute.

Sign up with just your email and use P Image with prepaid balance.