# P-Image

`pruna/p-image` · Pruna AI · 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.

[Model page](https://sociaro.com/models/pruna/p-image) · [JSON](https://sociaro.com/models/pruna/p-image.json) · [Model pricing](https://sociaro.com/pricing?model=pruna%2Fp-image) · [Documentation](https://docs.sociaro.com/models/pruna-p-image/) · [Playground](https://my.sociaro.com/playground/?model=pruna/p-image)

## Use cases

- Try different compositions for a campaign concept
- Generate a character or visual style from a trained LoRA

## Technical details

- 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

- `prompt` (string, required) — What to draw.
- `aspect_ratio` (string) — 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.
- `width` (integer) — Width in pixels, 256 to 1440 and a multiple of 16. Only with aspect_ratio custom.
- `height` (integer) — Height in pixels, 256 to 1440 and a multiple of 16. Only with aspect_ratio custom.
- `seed` (integer) — Fixes the random draw: the same inputs and seed give the same result.
- `prompt_upsampling` (boolean) — Lets the generator expand a short prompt before drawing. Default false.
- `lora_weights` (string) — Your own LoRA, in the form the generator's documentation gives.
- `lora_scale` (number) — How strongly the LoRA applies, from -1 to 3. Default 0.5.
- `hf_api_token` (string) — Hugging Face token for a private LoRA. It travels to the generator with the request, so use a read-only one.
- `enable_copyright_filter` (boolean) — Turns on a check of the prompt: a prompt that asks for a copyrighted character, a trademark or logo, or a real person's likeness is refused. The input images are not checked. Default false; no price change.
- `disable_safety_checker` (boolean) — Fixed for this model; leave it out
  - Allowed values — `false`

## Pricing

Rates in USD. Catalogue timestamp 2026-11-21T02:23:44Z.

- USD 0.005 per image · active

## Examples

### Tangerine cassette

A clear orange cassette case reveals two tape reels and silver screws against a turquoise backdrop.

[Result (image)](https://previews.sociaro.com/shared/promo/gallery/creative/cassette.webp)
