imgix APIs
Rendering API
Fill Generative Fallback

Fill Generative Fallback


Premium Feature

Fill Generative Fallback is currently available for imgix customers on a Premium plan. If you’re interested in this feature, please contact our sales team (opens in a new tab) to get more information on this feature.

Parameter that accepts a boolean value for modifying the fallback behavior of fit=fill&fill=gen. A value of true means that imgix will serve the original image if generative fill fails. A value of false means we will instead return a 400 error on generative fill failure.

Defaults to true when fill-gen-fallback is not specified.

This parameter is useful for debugging and controlling the output of generative fill failures.