generateImage
Create custom images from text prompts using AI, with options to specify dimensions, models, and seeds for precise control over the generated output.
Instructions
Generate an image and return the base64-encoded data
Input Schema
Name | Required | Description | Default |
---|---|---|---|
options | No | Additional options for image generation | |
prompt | Yes | The text description of the image to generate |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"options": {
"additionalProperties": false,
"description": "Additional options for image generation",
"properties": {
"height": {
"description": "Height of the generated image",
"type": "number"
},
"model": {
"description": "Model name to use for generation",
"type": "string"
},
"seed": {
"description": "Seed for reproducible results",
"type": "number"
},
"width": {
"description": "Width of the generated image",
"type": "number"
}
},
"type": "object"
},
"prompt": {
"description": "The text description of the image to generate",
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
}