Skip to content

Pruna AI

P-Image

Generate one raster image from text at a chosen aspect ratio or custom size. Bring your own compatible LoRA and adjust its strength across a series.

API model IDpruna/p-image
A clear orange cassette case reveals two tape reels and silver screws against a turquoise backdrop.
Tangerine cassetteA clear orange cassette case reveals two tape reels and silver screws against a turquoise backdrop.

Best for

Technical details

Read the model documentation
API model ID
pruna/p-image
Provider
Pruna AI
Modality
Image
Input
Text prompt
Output
Image
Endpoint
POST /v2/jobs
Workflow
Text to image

Request parameters

  • promptstring · Required

    What to draw.

  • heightinteger

    Height in pixels, 256 to 1440 and a multiple of 16. Only with aspect_ratio custom.

  • widthinteger

    Width in pixels, 256 to 1440 and a multiple of 16. Only with aspect_ratio custom.

  • aspect_ratiostring

    Shape of the picture: 1:1, 16:9 (default), 9:16, 4:3, 3:4, 3:2, 2:3, or custom, which takes width and height instead.

  • disable_safety_checkerboolean

    Fixed for this model; leave it out

    • false

Additional parameters

  • hf_api_tokenstring

    Hugging Face token for a private LoRA. It travels to the generator with the request, so use a read-only one.

  • lora_scalenumber

    How strongly the LoRA applies, from -1 to 3. Default 0.5.

  • lora_weightsstring

    Your own LoRA, in the form the generator's documentation gives.

  • prompt_upsamplingboolean

    Lets the generator expand a short prompt before drawing. Default false.

  • seedinteger

    Fixes the random draw: the same inputs and seed give the same result.

Pricing

Billable unit and optionsRate (USD)
Per image$0.005

Catalogue rates on 21 Nov 2026. Prices exclude VAT.

View in pricing catalogue