Skip to main content
POST
Upscale an image with Precision V2

Autorizaciones

Authorization
string
header
requerido

Bearer token authentication. Normally a Firebase or Cloud JWT. A 'comfyui-' prefixed API key is also accepted in this header: the prefix classifies the value as an API key and it is validated exactly as if it had been sent in X-API-Key. Accepted on the operations served by the comfyFirebase auth middleware (BE-9720, parity with ingest).

Cuerpo

application/json
image
string
requerido

Source image to upscale. Accepts either:

  • A publicly accessible HTTPS URL pointing to the image
  • A base64-encoded image string
flavor
enum<string>

Image processing flavor:

  • sublime: Optimized for artistic and illustrated images
  • photo: Optimized for photographic images
  • photo_denoiser: Specialized for photos with noise reduction
Opciones disponibles:
sublime,
photo,
photo_denoiser
scale_factor
integer

Image scaling factor. Determines how much larger the output will be compared to input.

Rango requerido: 2 <= x <= 16
sharpen
integer
predeterminado:7

Image sharpness intensity control. Higher values increase edge definition and clarity.

Rango requerido: 0 <= x <= 100
smart_grain
integer
predeterminado:7

Intelligent grain/texture enhancement. Higher values add more fine-grained texture.

Rango requerido: 0 <= x <= 100
ultra_detail
integer
predeterminado:30

Ultra detail enhancement level. Higher values create more intricate details.

Rango requerido: 0 <= x <= 100
webhook_url
string<uri>

Optional callback URL that will receive asynchronous notifications when the upscaling task completes.

Respuesta

OK - The upscaling process has started

data
object
requerido