Documentation Index
Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
Use this file to discover all available pages before exploring further.
Request
Make aPOST request to below endpoint and pass the required parameters in the request body.
curl
Body
json
Body Attributes
Your API Key used for request authorization.
Text prompt describing the image you want to generate.
Array of image URLs to use as reference images for multi-reference composition.
Items you don’t want in the image.
Width of the generated image. Must be between 1024 and 2048 and divisible by 32.
Height of the generated image. Must be between 1024 and 2048 and divisible by 32.
Seed for reproducible generation. 0 triggers a random seed.
Number of images to return. Maximum: 4.
Starting noise scale for the generation process.
Ending noise scale for the generation process.
Noise clip standard deviation.
Whether to add a watermark to the generated image. Values: “yes” or “no”.
Store in temporary directory. Values: “yes” or “no”.
Return image as base64 encoded text. Values: “yes” or “no”.
A URL to receive a POST API call once the image generation is complete.
A unique ID used in the webhook response to identify the request.

