Skip to main content
POST
Upscale an image with Magnific

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

Base64 image or URL to upscale. The resulted image can't exceed maximum allowed size of 25.3 million pixels.

creativity
integer
predeterminado:0

Increase or decrease AI's creativity. Valid values range [-10, 10].

Rango requerido: -10 <= x <= 10
engine
enum<string>
predeterminado:automatic

Magnific model engines.

Opciones disponibles:
automatic,
magnific_illusio,
magnific_sharpy,
magnific_sparkle
fractality
integer
predeterminado:0

Control the strength of the prompt and intricacy per square pixel. Valid values range [-10, 10].

Rango requerido: -10 <= x <= 10
hdr
integer
predeterminado:0

Increase or decrease the level of definition and detail. Valid values range [-10, 10].

Rango requerido: -10 <= x <= 10
optimized_for
enum<string>
predeterminado:standard

Styles to optimize the upscale process.

Opciones disponibles:
standard,
soft_portraits,
hard_portraits,
art_n_illustration,
videogame_assets,
nature_n_landscapes,
films_n_photography,
3d_renders,
science_fiction_n_horror
prompt
string

Prompt to guide the upscale process. Reusing the same prompt for AI-generated images will improve the results.

resemblance
integer
predeterminado:0

Adjust the level of resemblance to the original image. Valid values range [-10, 10].

Rango requerido: -10 <= x <= 10
scale_factor
enum<string>
predeterminado:2x

Configure scale factor of the image. For higher scales, the image will take longer to process.

Opciones disponibles:
2x,
4x,
8x,
16x
webhook_url
string<uri>

Optional callback URL that will receive asynchronous notifications whenever the task changes status.

Ejemplo:

"https://www.example.com/webhook"

Respuesta

OK - The upscaling process has started

data
object
requerido