Below is our lighting model, which can be used to adjust and balance your images, enhancing their quality even under poor original lighting conditions.Simply input an image, and our automated system will determine the optimal settings to achieve the highest quality.Official documentation reference: https://developer.topazlabs.com/api-reference/image-api/lightingPricing: 0.15PTC/credit. The exact credit consumption will be returned in the Response.
Image processing typically consumes 1 credit; a few models may require 3-6 credits.
Request
Header Params
Body Params application/json
Example
{"image":"Image URL to be processed","output_format":"Output image format, e.g., jpeg","model":"Model to use for adjustment, e.g., Adjust"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.302.ai/topazlabs/image/v1/lighting/async' \
--header'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header'Content-Type: application/json' \
--data-raw'{
"image": "Image URL to be processed",
"output_format": "Output image format, e.g., jpeg",
"model": "Model to use for adjustment, e.g., Adjust"
}'