generate_image
Create images from text prompts via local ComfyUI or online services, then place them on a new layer with fit cover or contain.
Instructions
Text-to-image with the local ComfyUI or an online service (backend=openai, gemini, stability, openrouter, replicate), placed on a new layer (fit cover/contain).
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 |
|---|---|---|---|
| fit | No | cover | |
| seed | No | ||
| width | No | ||
| height | No | ||
| prompt | Yes | ||
| backend | No | auto | |
| project | No | ||
| negative | No |