upscaler-precision

Upscaler Precision V2 - Upscale image

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.

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

Request

  • Base URL: https://api.magnific.com
  • URL: https://api.magnific.com/v1/ai/image-upscaler-precision-v2
  • Auth: API key in header x-magnific-api-key

Request body

imagestring required

Source image to upscale. Accepts either:

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

This image will be enhanced with AI-powered upscaling technology that intelligently adds details and improves image quality while increasing resolution.

webhook_urlstring uri

Optional callback URL that will receive asynchronous notifications when the upscaling task completes. The webhook will be called with the task status and the upscaled image URL.

sharpeninteger

Image sharpness intensity control. Higher values increase edge definition and clarity in the upscaled image. Valid values range from 0 (no sharpening) to 100 (maximum sharpness). Default is 7.

smart_graininteger

Intelligent grain/texture enhancement for the upscaled image. Helps preserve natural film grain and texture detail. Higher values add more fine-grained texture to prevent the upscaled image from looking too smooth or artificial. Valid values range from 0 (no grain) to 100 (maximum grain). Default is 7.

ultra_detailinteger

Ultra detail enhancement level for the image upscaling process. This parameter controls how much fine detail the AI adds to the upscaled image, such as textures, patterns, and micro-details. Higher values create more intricate details. Valid values range from 0 to 100. Default is 30.

flavor'sublime' | 'photo' | 'photo_denoiser'

Image processing flavor that determines the upscaling style and optimization for different image types:

  • sublime: Optimized for artistic and illustrated images with smooth gradients and vibrant colors
  • photo: Optimized for photographic images, preserving natural colors and realistic details
  • photo_denoiser: Specialized for photos with noise reduction, ideal for low-light or grainy photographs
filter_nsfwboolean

Enable NSFW content filtering on the output image

Response

OK - The task exists and the status is returned

Example response

{
  "data": {
    "generated": [
      "https://openapi-generator.tech",
      "https://openapi-generator.tech"
    ],
    "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
    "status": "CREATED"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.