Get image from text
Convert descriptive text input into images using AI. This endpoint accepts a variety of parameters to customize the generated images.
Authorizations
Headers
The Content-Type header is used to indicate the media type of the resource. The media type is a string sent along with the file indicating the format of the file.
The Accept header is used to inform the server by the client that which content type is understandable by the client expressed as MIME-types.
Body
Text to generate image from
Attributes to avoid in the generated image
Defines the level of fidelity to the prompt we give to the image, the lower the level, the greater the creativity of the AI. Defaults to 1.0
Number of inference steps, higher values will generate more realistic images but will take longer to generate. Defaults to 8
Number of images to generate
Seed to generate the image. Using the same seed will produce the same image, if not present, a random seed will be used.
Response
Was this page helpful?