imgx
v1.6.1AI image generation and editing MCP server.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
generate_image
Generate an image from a text prompt
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Image description |
aspect_ratio | string | Aspect ratio |
background | string | Background transparency (OpenAI only). Use 'transparent' for transparent PNG/WebP |
count | integer | Number of images |
model | string | Model name |
output | string | Output file path |
output_dir | string | Output directory |
output_format | string | Output format |
provider | string | Provider name |
quality | string | Image quality (OpenAI only). Overrides resolution-based quality mapping |
resolution | string | Output resolution |
edit_image
Edit an existing image with text instructions
| Parameter | Type | Description |
|---|---|---|
input * | string | Input image file path |
prompt * | string | Edit instruction |
aspect_ratio | string | Aspect ratio |
background | string | Background transparency (OpenAI only) |
model | string | Model name |
output | string | Output file path |
output_dir | string | Output directory |
output_format | string | Output format |
provider | string | Provider name |
quality | string | Image quality (OpenAI only) |
resolution | string | Output resolution |
edit_last
Edit the last generated/edited image with new text instructions. Uses the output of the previous generate_image or edit_image call as input.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Edit instruction |
aspect_ratio | string | Aspect ratio |
background | string | Background transparency (OpenAI only) |
model | string | Model name |
output | string | Output file path |
output_dir | string | Output directory |
output_format | string | Output format |
provider | string | Provider name |
quality | string | Image quality (OpenAI only) |
resolution | string | Output resolution |
undo_edit
Undo the last edit, reverting to the previous image state
redo_edit
Redo a previously undone edit
edit_history
Show the full edit history with all sessions
switch_session
Switch to a different editing session to continue work on a previous image chain
| Parameter | Type | Description |
|---|---|---|
session_id * | string | Session ID to switch to (e.g. s-a1b2c3d4) |
clear_history
Clear edit history for the current project. Files saved to custom output paths are never deleted — only files in managed directories (.imgx/ or ~/Pictures/imgx/).
| Parameter | Type | Description |
|---|---|---|
delete_files | boolean | Delete image files in managed directories only |
session_id | string | Session ID to clear. Omit to clear all sessions. |
set_output_dir
Change the default output directory for generated images
| Parameter | Type | Description |
|---|---|---|
path * | string | New output directory path |
move_files | boolean | Move existing files to the new directory |
list_providers
List available image providers and their capabilities