Popular Use Cases

These pre-made API requests can be used to get started quickly with the Image AI API

Revive an Old Photo

Breathe new life into cherished memories with our comprehensive photo restoration process. This two-step workflow removes noise and enhances overall quality—making it perfect for digitized family photos, historical images, or any treasured photograph that has deteriorated over time. The process even includes intelligent face enhancement to ensure your subjects look their best while maintaining their authentic character.

1

Denoise

curl --request POST \
     --url https://api.topazlabs.com/image/v1/denoise \
     --header 'X-API-Key: YOUR_API_KEY' \
     --header 'accept: image/jpeg' \
     --header 'content-type: multipart/form-data' \
     --form 'model=Extreme' \
     --form 'output_format=jpeg' \
     --form image='@[path to your image].jpg     
     --output 'denoised_photo.jpg'
2

Sharpen

curl --request POST \
     --url https://api.topazlabs.com/image/v1/enhance \
     --header 'X-API-Key: YOUR_API_KEY' \
     --header 'accept: image/jpeg' \
     --header 'content-type: multipart/form-data' \
     --form 'model=Standard V2' \
     --form 'face_enhancement=true' \
     --form 'face_enhancement_strength=0.8' \
     --form 'output_format=jpeg' \
     --form image='@denoised_photo.jpg' \
     --output 'restored_old_photo.jpg'

Enhance a Blurry Photo

Transform disappointing, out-of-focus images into crisp, detailed photographs with our powerful enhancement API. This single-step solution not only corrects blur but also intelligently upscales your image to 4K resolution while preserving natural proportions. With advanced subject detection and face enhancement technology, your subjects will appear sharper and more defined without looking artificially processed—perfect for salvaging important shots that didn't quite come out right the first time.

curl --request POST \
     --url https://api.topazlabs.com/image/v1/enhance \
     --header 'X-API-Key: YOUR_API_KEY' \
     --header 'accept: image/jpeg' \
     --header 'content-type: multipart/form-data' \
     --form 'model=Standard V2' \
     --form output_width=3840 \
     --form crop_to_fill=false \
     --form image='@[path to your image]' \
     --form output_format=jpeg \
     --form subject_detection=Foreground \
     --form face_enhancement=true \
     --form face_enhancement_creativity=0 \
     --form face_enhancement_strength=0.8 \
     --output enhanced_image.jpeg	

Enhance Product Photography

Elevate your e-commerce visuals with our professional-grade product photography enhancement. This two-step process first leverages our sharpening algorithm to add the perfect amount of crispness that highlight product features without introducing artifacts. Then, we upscale your product images to stunning 4K resolution while applying our enhance model that brings out texture and detail without distortion—ensuring your merchandise looks its absolute best online and drives higher conversion rates.

1

Sharpen

curl --request POST \
     --url https://api.topazlabs.com/image/v1/sharpen \
     --header 'X-API-Key: YOUR_API_KEY' \
     --header 'accept: image/jpeg' \
     --header 'content-type: multipart/form-data' \
     --form 'output_format=jpeg' \
     --form image='@[path to your image]' \
     --output 'sharpen_product.jpg'
2

Enhance

curl --request POST \
     --url https://api.topazlabs.com/image/v1/enhance \
     --header 'X-API-Key: YOUR_API_KEY' \
     --header 'accept: image/jpeg' \
     --header 'content-type: multipart/form-data' \
     --form 'output_width=3840' \
     --form 'crop_to_fill=false' \
     --form 'output_format=jpeg' \
     --form image='@sharpen_product.jpg' \
     --output 'enhanced_product.jpg'

Want to try out the API? Simply create your first API key and you'll receive 100 free credits

Last updated