---
title: "Upscale an image with Precision V2"
method: POST
path: "/proxy/freepik/v1/ai/image-upscaler-precision-v2"
tags: ["Freepik", "Proxy"]
---

# Upscale an image with Precision V2

`POST /proxy/freepik/v1/ai/image-upscaler-precision-v2`

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.

## Request body

- FreepikMagnificUpscalerPrecisionV2Request
  - `flavor` 'sublime' | 'photo' | 'photo_denoiser' — Image processing flavor: - sublime: Optimized for artistic and illustrated images - photo: Optimized for photographic images - photo_denoiser: Specialized for photos with noise reduction
  - `image` string, required — Source image to upscale. Accepts either: - A publicly accessible HTTPS URL pointing to the image - A base64-encoded image string
  - `scale_factor` integer — Image scaling factor. Determines how much larger the output will be compared to input.
  - `sharpen` integer — Image sharpness intensity control. Higher values increase edge definition and clarity.
  - `smart_grain` integer — Intelligent grain/texture enhancement. Higher values add more fine-grained texture.
  - `ultra_detail` integer — Ultra detail enhancement level. Higher values create more intricate details.
  - `webhook_url` string, uri — Optional callback URL that will receive asynchronous notifications when the upscaling task completes.

## Response `200`

OK - The upscaling process has started

- FreepikTaskResponse
  - `data` FreepikTaskData, required
    - `generated` string[] — URLs to the generated images.
    - `status` 'CREATED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'
    - `task_id` string, uuid

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.dev/ac/apis/comfy-api.md) · [All operations](https://skmtc.dev/ac/apis/comfy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ac/comfy-api/revisions/c1893dffe250/schema)
