edit_diagram
Edit existing diagrams using natural language instructions, with configurable AI provider, resolution, and optional reference images.
Instructions
Edit an existing diagram based on instructions.
Args: image_path: Path to the existing diagram image prompt: Edit instructions provider: Image generation provider (gemini|openai) resolution: Output resolution (auto-detect if not specified) reference_images: Additional reference image paths output_path: Where to save the result
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| provider | No | gemini | |
| image_path | Yes | ||
| resolution | No | ||
| output_path | No | ||
| reference_images | No |