AI Photoshoot I/O
Learn how to configure input and output to use AI Photoshoot API.
The AI Photoshoot Endpoint allows you to turn simple product photos into beautiful visual assets. In just a few seconds, you can get up to 4 options and select the images that work best for you.
Only one product image can be processed per request.
Configuring output is optional. By default, you may omit the output option from the request payload. In this case, our system stores the result in a temporary bucket with a lifespan of 24 hours and provides a public URL to the image.
Alternatively, you can use a connected Cloud Storage: just configure the path to the folder where you want to store results.
The following image formats are supported for the output: JPEG, PNG, WEBP, and AVIF.
You may also specify advanced output, like number of images to generate, image format, and format-specific options like PNG compression level, JPEG quality, or using JPEG progressive display type.
Basic Usage
Advanced Usage
Advanced Format Usage
{
"output": "storage://storage-name/result-path/image-name.jpg"
}
"output": {
"destination": "storage://storage-name/result-path/image-name.jpg",
"format": "jpeg",
"number_of_images": 1
}
"output": {
"destination": "storage://storage-name/result-path/image-name.jpg",
"format": {
"type": "jpeg",
"quality": 85,
"progressive": true
},
"number_of_images": 1
}
With AI Photoshoot API, you can generate up to 4 images with one request.
{
"output": {
"number_of_images": 4
}
}
Every generated image charges 1 credit. So, setting
number_of_images
to 4 will charge 4 credits per request.