v1

latestOpenAPI 3.0.22026-07-2610288167.4 KB
Freepik
Proxy

Upscale an image with 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.

post/proxy/freepik/v1/ai/image-upscaler-precision-v2

Request body

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
imagestring required

Source image to upscale. Accepts either:

  • A publicly accessible HTTPS URL pointing to the image
  • A base64-encoded image string
scale_factorinteger

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

sharpeninteger

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

smart_graininteger

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

ultra_detailinteger

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

webhook_urlstring uri

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

Response

OK - The upscaling process has started

Example response

{
  "data": {
    "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
  }
}