Presets

To simplify image enhancements preset parameter can be used.

{
    "url": "image_url",
    "preset": "real_estate"
}

Preset description

Preset name
Description

auto_enhance

{
      "max_length": 4096,
      "enhancements": [
        "denoise",
        "face_enhance",
        "deblur",
        "color",
        "light",
        "white_balance",
        "exposure_correction"
      ],
      "light_parameters": {
        "type": "hdr_light_advanced",
        "level": 1.0
      },
      "color_parameters": {
        "type": "hdr_light",
        "level": 0.85
      },
      "white_balance_parameters": {
        "level": 0.5
      },
      "deblur_parameters": {
        "type": "v2"
      },
      "denoise_parameters": {
        "type": "v2"
      },
      "background": {
        "generate": {
          "description": "high quality",
          "adapter_type": "upscale"
        }
    }
}

real_estate

  • enhancements: ["light", "color"]

real_estate_upscaled

  • enhancements: ["light", "color"]

  • width: "200%"

ecommerce

  • enhancements: ["light", "color"]

ecommerce_upscaled

  • enhancements: ["light", "color"]

  • width: 2048

auto_enhance_generative

{
      "max_length": 4096,
      "enhancements": [
        "denoise",
        "face_enhance",
        "deblur",
        "color",
        "light",
        "white_balance",
        "exposure_correction"
      ],
      "light_parameters": {
        "type": "hdr_light_advanced",
        "level": 1.0
      },
      "color_parameters": {
        "type": "hdr_light",
        "level": 0.85
      },
      "white_balance_parameters": {
        "level": 0.5
      },
      "deblur_parameters": {
        "type": "v2"
      },
      "denoise_parameters": {
        "type": "v2"
      },
      "background": {
        "generate": {
          "description": "high quality",
          "adapter_type": "upscale"
        }
    },
    "generative_upscale": true
}

Last updated