WizzyFlow

text to image

P Image Pruna

P Image is a text to image 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"
  ],
  "properties": {
    "seed": {
      "type": "integer",
      "description": "Random seed. -1 means random."
    },
    "width": {
      "type": "integer",
      "default": 512,
      "maximum": 1440,
      "minimum": 256,
      "description": "Output image width in pixels.",
      "x-ui-component": "slider"
    },
    "height": {
      "type": "integer",
      "default": 512,
      "maximum": 1440,
      "minimum": 256,
      "description": "Output image height in pixels.",
      "x-ui-component": "slider"
    },
    "prompt": {
      "type": "string",
      "x-rows": 4,
      "description": "The positive prompt for generation.",
      "x-ui-component": "textarea"
    },
    "lora_scale": {
      "type": "number",
      "default": 0.5,
      "maximum": 3,
      "minimum": -1,
      "description": "Scale of the LoRA weights.",
      "x-ui-component": "slider"
    },
    "aspect_ratio": {
      "enum": [
        "1:1",
        "16:9",
        "9:16",
        "4:3",
        "3:4",
        "3:2",
        "2:3",
        "custom"
      ],
      "type": "string",
      "default": "custom",
      "description": "Aspect ratio of the generated 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-comic-noir-art-lora/weights.safetensors."
    },
    "output_format": {
      "enum": [
        "png",
        "jpeg",
        "webp"
      ],
      "type": "string",
      "default": "png",
      "description": "Output image format."
    }
  },
  "x-order-properties": [
    "prompt",
    "width",
    "height",
    "lora_weights",
    "lora_scale",
    "hf_api_token",
    "aspect_ratio",
    "output_format",
    "seed"
  ],
  "additionalProperties": false
}
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 text to image models

Get your key in a minute.

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