Перейти к основному содержанию
POST
Upscale an image with Precision V2

Авторизации

Authorization
string
header
обязательно

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).

Тело

application/json
image
string
обязательно

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
Доступные опции:
sublime,
photo,
photo_denoiser
scale_factor
integer

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

Требуемый диапазон: 2 <= x <= 16
sharpen
integer
по умолчанию:7

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

Требуемый диапазон: 0 <= x <= 100
smart_grain
integer
по умолчанию:7

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

Требуемый диапазон: 0 <= x <= 100
ultra_detail
integer
по умолчанию:30

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

Требуемый диапазон: 0 <= x <= 100
webhook_url
string<uri>

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

Ответ

OK - The upscaling process has started

data
object
обязательно