{"id":"pruna/p-image","name":"P-Image","vendor":"Pruna AI","kind":"image","description":"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.","useCases":["Try different compositions for a campaign concept","Generate a character or visual style from a trained LoRA"],"technical":[{"label":"API model ID","value":"pruna/p-image"},{"label":"Provider","value":"Pruna AI"},{"label":"Modality","value":"Image"},{"label":"Input","value":"Text prompt"},{"label":"Output","value":"Image"},{"label":"Endpoint","value":"POST /v2/jobs"},{"label":"Workflow","value":"Text to image"}],"parameters":[{"name":"prompt","type":"string","description":"What to draw.","required":true},{"name":"aspect_ratio","type":"string","description":"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."},{"name":"width","type":"integer","description":"Width in pixels, 256 to 1440 and a multiple of 16. Only with aspect_ratio custom."},{"name":"height","type":"integer","description":"Height in pixels, 256 to 1440 and a multiple of 16. Only with aspect_ratio custom."},{"name":"seed","type":"integer","description":"Fixes the random draw: the same inputs and seed give the same result."},{"name":"prompt_upsampling","type":"boolean","description":"Lets the generator expand a short prompt before drawing. Default false."},{"name":"lora_weights","type":"string","description":"Your own LoRA, in the form the generator's documentation gives."},{"name":"lora_scale","type":"number","description":"How strongly the LoRA applies, from -1 to 3. Default 0.5."},{"name":"hf_api_token","type":"string","description":"Hugging Face token for a private LoRA. It travels to the generator with the request, so use a read-only one."},{"name":"enable_copyright_filter","type":"boolean","description":"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."},{"name":"disable_safety_checker","type":"boolean","description":"Fixed for this model; leave it out","optionValues":["false"]}],"pricing":{"currency":"USD","generated":"2026-11-21T02:23:44Z","notes":[],"rates":[{"charge":"per image","options":"","price":0.005,"from":null,"until":null,"note":null,"status":"active"}]},"links":{"page":"https://sociaro.com/models/pruna/p-image","markdown":"https://sociaro.com/models/pruna/p-image.md","json":"https://sociaro.com/models/pruna/p-image.json","pricing":"https://sociaro.com/pricing?model=pruna%2Fp-image","docs":"https://docs.sociaro.com/models/pruna-p-image/","playground":"https://my.sociaro.com/playground/?model=pruna/p-image"},"examples":[{"kind":"image","title":"Tangerine cassette","caption":"A clear orange cassette case reveals two tape reels and silver screws against a turquoise backdrop.","src":"https://previews.sociaro.com/shared/promo/gallery/creative/cassette.webp","references":[]}]}