xmorf_generate_image
Generate an image from a text description using AI. Specify a prompt, choose an OpenAI model and dimensions, and optionally save the result to a file.
Instructions
Generate an image from a text description using AI
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": "xmorf_generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the image to generate, e.g. 'A futuristic city at sunset, cyberpunk style' | |
| model | No | OpenAI model to use (default: dall-e-2) | |
| size | No | Image dimensions, e.g. 1024x1024 (default: 1024x1024) | |
| outputPath | No | Save result to this file path instead of returning base64 |