generate_image
Create images from text descriptions with adjustable aspect ratios and styles, including slide and fintech themes for use in presentations.
Instructions
Generate image(s) from a text prompt at the given aspect ratio (16:9, 1:1, 3:4, 9:16, or WxH). Returns saved PNG file paths.
When enhance is True (default), the prompt is auto-expanded via the ChatGPT
text path before drawing. style='slide' = clean editorial slide (light cream,
one accent, hero visual); style='fintech' = premium light-blue dashboard look
(glass cards, blue icon badges, optional robot + charts). Both auto-complete
content into a full, information-rich slide (label + 2-line description per
point, sparse input expanded). style='auto' is the general default.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>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| aspect | No | 16:9 | |
| n | No | ||
| out_dir | No | out | |
| enhance | No | ||
| style | No | auto |