generate_image
Create new images from text prompts with automatic prompt enhancement. Set aspect ratio, style, dimensions, and output format for precise control over results.
Instructions
Generate images from simple text prompts with automatic prompt enhancement for professional results.
Use this when:
Any image generation from text prompts
Need specific pixel dimensions (use targetWidth/targetHeight)
Professional use with precise control over all parameters
Quick generation with sensible defaults
NOT for:
Editing existing images (use edit_image instead)
Format conversion only (use convert_image instead)
Resize existing image without regeneration (use resize_image instead)
Example: "Create a hero image for a coffee shop website"
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"aspectRatio": "<aspectRatio>",
"outputFormat": "<outputFormat>",
"stripMetadata": "<stripMetadata>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| prompt | Yes | ||
| purpose | No | ||
| quality | No | ||
| fileName | No | ||
| imageSize | No | ||
| resizeFit | No | ||
| inputImage | No | ||
| aspectRatio | Yes | 1:1 | |
| blendImages | No | ||
| targetWidth | No | ||
| outputFormat | Yes | png | |
| targetHeight | No | ||
| stripMetadata | Yes | ||
| inputImagePath | No | ||
| useGoogleSearch | No | ||
| resizeBackground | No | ||
| compressionPreset | No | ||
| useWorldKnowledge | No | ||
| inputImageMimeType | No | ||
| showEnhancedPrompt | No | ||
| skipPromptEnhancement | No | ||
| maintainCharacterConsistency | No |