How long does it take to process an image?

The time it takes for the Image Editing API to process an image depends on (i) the output size of the result image, (ii) the number of AI features used in the API call and (iii) the speed of your internet connection.

Output size of the result image

The higher the output size of the result image, the longer it will take for the image to be processed by the Image Editing API.

Number of AI features used

The higher the number of AI features used in your API call, the longer it will take for the image to be processed by the Image Editing API.

Here's a list of the average time that each AI feature will add to the processing:

  • AI Shadows: 3.2 seconds

  • AI Backgrounds: 2.7 seconds

  • AI Relighting: 8.9 seconds

  • AI Text Removal: 1.7 seconds

  • AI Expand: 8.4 seconds

Internet Speed

In addition to the values above, you also need to take into account the time it will take to upload the original and download the result image.

The amount of time it will take to perform these two operation depends entirely on your the speed of your internet connection.

Last updated