Text to image
text2image
Premium Feature
Text to image 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.
The text2image
parameter uses the Generative AI Endpoint (/ai?text2image=prompt
) to create AI-rendered images using a text based prompt.
text2image
accepts a string prompt as a suggestion for the type of image to generate using our AI model. The generated image can then leverage all the parameters under the Rendering API to transform or resize the image.
URLs Signing Required
Use of the Generative AI endpoint requires using the secured URL feature to prevent unauthorized generative AI usage.
Limits
Guarantee of keyword output
While text2image
suggests what the output should look like, it does not guarantee that the prompt keywords will be used in the final fill.
Character limits
There is no direct character limit for prompt values, though we recommend keeping your image URLs under 1024 characters.