generate_image
Generate an image from a text prompt with specified theme, size, and optional negative prompt for document creation projects.
Instructions
Generate a single image via the ComfyUI MCP server and return its local path.
Args:
prompt: Base image description.
theme: Theme whose image_style is appended for consistency.
size: Output size, e.g. "1024x1024".
negative_prompt: Optional negative prompt.
target: "content" or "background".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1024x1024 | |
| theme | No | dark_tech | |
| prompt | Yes | ||
| target | No | content | |
| negative_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |