Detalhe de retratoAPI e Playground do PrunaAI P-Image-Upscale
Amplie imagens com o PrunaAI P-Image-Upscale.
| Especificação | Créditos | Preço (USD) |
|---|---|---|
| Varia conforme a configuracao | 0.6 – 14.4por geracao | $0.006 – $0.144por geracao |
Os preços seguem a configuração do modelo. Imagens de referência não são cobradas, a menos que o modelo indique o contrário.
Exemplos
Detalhe de retratoControles compatíveis de PrunaAI P-Image-Upscale
| Controle | Tipo | Notas | |
|---|---|---|---|
| 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 |
Use PrunaAI P-Image-Upscale por meio da API AIReiter
API ↗prunaai_p_image_upscale
POST para /api/openapi/submit com o modelo, um out_task_id único e parâmetros.
POST para /api/openapi/query com o mesmo out_task_id até a tarefa terminar.
Guarde os resultados no seu próprio armazenamento em vez de os ligar diretamente.
