Creates an image given a prompt.
Documentation Index
Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Prompt and generation options.
A text description of the desired image(s).
The model to use for image generation.
Sets background transparency for generated images.
Control the content-moderation level for images generated.
The number of images to generate. Must be between 1 and 10.
The compression level (0-100%) for the generated images.
The format in which the generated images are returned.
The number of partial images to generate. Used for streaming responses.
The quality of the image that will be generated.
The format in which generated images are returned. Must be one of url or b64_json.
The size of the generated images.
Generate the image in streaming mode.
The style of the generated images.
A unique identifier representing your end-user.