curl --request POST \
--url https://api.comfy.org/proxy/freepik/v1/ai/image-upscaler-precision-v2 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image": "<string>",
"flavor": "sublime",
"scale_factor": 9,
"sharpen": 7,
"smart_grain": 7,
"ultra_detail": 30,
"webhook_url": "<string>"
}
'{
"data": {
"generated": [
"<string>"
],
"status": "CREATED",
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}
}Upscales an image while adding new visual elements or details (V2). This endpoint may modify the original image content based on the prompt and inferred context. Upon submission, it returns a unique task_id which can be used to track the progress.
curl --request POST \
--url https://api.comfy.org/proxy/freepik/v1/ai/image-upscaler-precision-v2 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image": "<string>",
"flavor": "sublime",
"scale_factor": 9,
"sharpen": 7,
"smart_grain": 7,
"ultra_detail": 30,
"webhook_url": "<string>"
}
'{
"data": {
"generated": [
"<string>"
],
"status": "CREATED",
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Source image to upscale. Accepts either:
Image processing flavor:
sublime, photo, photo_denoiser Image scaling factor. Determines how much larger the output will be compared to input.
2 <= x <= 16Image sharpness intensity control. Higher values increase edge definition and clarity.
0 <= x <= 100Intelligent grain/texture enhancement. Higher values add more fine-grained texture.
0 <= x <= 100Ultra detail enhancement level. Higher values create more intricate details.
0 <= x <= 100Optional callback URL that will receive asynchronous notifications when the upscaling task completes.
OK - The upscaling process has started
Show child attributes
Was this page helpful?