You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Request to generate or edit an image using AI models through OpenRouter API. This tool can create new images from text prompts or modify existing images based on your instructions. When an input image is provided, the AI will apply the requested edits, transformations, or enhancements to that image.
5
+
Description: Request to generate an image using AI models through OpenRouter API. This tool creates images from text prompts and saves them to the specified path.
6
6
Parameters:
7
-
- prompt: (required) The text prompt describing what to generate or how to edit the image
8
-
- path: (required) The file path where the generated/edited image should be saved (relative to the current workspace directory ${args.cwd}). The tool will automatically add the appropriate image extension if not provided.
9
-
- image: (optional) The file path to an input image to edit or transform (relative to the current workspace directory ${args.cwd}). Supported formats: PNG, JPG, JPEG, GIF, WEBP.
7
+
- prompt: (required) The text prompt describing the image to generate
8
+
- path: (required) The file path where the generated image should be saved (relative to the current workspace directory ${args.cwd}). The tool will automatically add the appropriate image extension if not provided.
10
9
Usage:
11
10
<generate_image>
12
11
<prompt>Your image description here</prompt>
13
12
<path>path/to/save/image.png</path>
14
-
<image>path/to/input/image.jpg</image>
15
13
</generate_image>
16
14
17
15
Example: Requesting to generate a sunset image
18
16
<generate_image>
19
17
<prompt>A beautiful sunset over mountains with vibrant orange and purple colors</prompt>
20
18
<path>images/sunset.png</path>
21
-
</generate_image>
22
-
23
-
Example: Editing an existing image
24
-
<generate_image>
25
-
<prompt>Transform this image into a watercolor painting style</prompt>
26
-
<path>images/watercolor-output.png</path>
27
-
<image>images/original-photo.jpg</image>
28
-
</generate_image>
29
-
30
-
Example: Upscaling and enhancing an image
31
-
<generate_image>
32
-
<prompt>Upscale this image to higher resolution, enhance details, improve clarity and sharpness while maintaining the original content and composition</prompt>
0 commit comments