Dettaglio ritrattoAPI e Playground PrunaAI P-Image-Upscale
Aumenta la risoluzione delle immagini con PrunaAI P-Image-Upscale.
| Specifiche | Crediti | Prezzo (USD) |
|---|---|---|
| Varia in base alla configurazione | 0.6 – 14.4per generazione | $0.006 – $0.144per generazione |
I prezzi seguono la configurazione del modello. Le immagini di riferimento non vengono fatturate salvo diversa indicazione del modello.
Esempi
Dettaglio ritrattoControlli supportati di PrunaAI P-Image-Upscale
| Controllo | Tipo | Note | |
|---|---|---|---|
| 01 | image_url | image | Input image to upscale. |
| 02 | upscale_mode | string | Upscale mode. 'target' scales to a fixed megapixel resolution. 'factor' multiplies each side by the given factor. Default: "target" |
| 03 | target | integer | Target resolution in megapixels (used when upscale_mode is 'target'). Default: 4 |
| 04 | factor | number | Scaling factor applied to each side of the image (used when upscale_mode is 'factor'). Output capped at 128 MP. Default: 2 |
| 05 | enhance_details | boolean | Enhance fine textures and small details. May increase contrast and introduce minor deviations from the original image. Default: false |
| 06 | enhance_realism | boolean | Improve realism. May deviate more from the original image. Recommended for AI-generated images. Default: false |
| 07 | output_format | string | Format of the output images Default: "jpg" |
| 08 | output_quality | integer | Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs Default: 80 |
Usa PrunaAI P-Image-Upscale tramite l'API AIReiter
API ↗prunaai_p_image_upscale
POST a /api/openapi/submit con il modello, un out_task_id univoco e i parametri.
POST a /api/openapi/query con lo stesso out_task_id finché l’attività non è completata.
Salva gli output nel tuo storage invece di collegarli direttamente.
