Authorizations
Your NeosantaraAI API Key.
Body
application/json
The model to use for image generation.
A text description of the desired image(s). The maximum length is 1000 characters.
The number of images to generate.
Required range:
1 <= x <= 4
The size of the generated images.
Available options:
256x256
, 512x512
, 1024x1024
The format in which the generated images are returned.
Available options:
url
, b64_json
Response
Image generation result
A unique identifier for the image generation request.
The type of object returned.
Example:
"image"
The timestamp of when the image was created.
The model used for the image generation.
A list of generated image objects.
- Option 1
- Option 2
Token usage information for the request.