← All models
P-Image by PrunaAI generates high-quality images in under a second with strong prompt adherence and text rendering. Use P-Image with an API.
images
Details
- Accepts
- text + image
Pricing
- Price
- 1.25 cr / image
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| seed | integer | Random seed. Set for reproducible generation. |
| width | integer | Width of the generated image. Only used when aspect_ratio=custom. Must be a multiple of 16. |
| height | integer | Height of the generated image. Only used when aspect_ratio=custom. Must be a multiple of 16. |
| promptrequired | string | Text prompt for image generation. |
| lora_scale | number | Determines how strongly the main LoRA should be applied. 0.5 usually works well for most LoRAs. |
| aspect_ratio | —enum: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2… | Aspect ratio for the generated image. |
| hf_api_token | string | |
| lora_weights | string | |
| prompt_upsampling | boolean | Upsample the prompt with an LLM. |
| disable_safety_checker | boolean | Disable safety checker for generated images. |
| no_op | boolean | Health check mode - returns status without inference. |
| turbo | boolean | If turned on, the model will run faster with additional optimizations. For complicated tasks, it is recommended to turn this off. |
| images | array | Images to use as a reference. For editing task, provide the main image as the first image. |
| replicate_weights | —enum: default, multiple_angles, relight, light_restoration, white_to_scene, fusion… | Task to perform with P-Edit. |