Imgix APIsRendering APIFillFill Generative Negative Prompt

Fill Generative Negative Prompt

fill-gen-neg-prompt

Premium Feature

Fill Generative Negative Prompt is currently available for Imgix customers on a Premium plan. If you’re interested in this feature, please contact our sales team to get more information on this feature.

Provides a negative text suggestion to the output of fill=gen. It accepts URL-safe string values but can also be base64 encoded (fill-gen-neg-prompt64).

Generative fill using fill-gen-prompt=eagle%20flying%20around:

Original image
sandbox-demo
Generative fill with no prompt
sandbox-demo
gen-fill-neg-prompt=food
sandbox-demo

Prefer Base64 Variant

Imgix recommends using the Base64 variant version of this parameter to make encoding values easier.

Limits

Guarantee of keyword output

While fill-gen-neg-prompt suggests what not to display in the final output, it does not guarantee those keywords will not be used in the final generative fill.

Character limits

There is no direct character limit for prompt values, though we recommend keeping your image URLs under 1024 characters.