imgx

v1.6.1
io.github.somacoffeekyoto/imgx Checked 2 days ago Published 8 months ago

AI 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

ParameterTypeDescription
prompt *stringImage description
aspect_ratiostringAspect ratio
backgroundstringBackground transparency (OpenAI only). Use 'transparent' for transparent PNG/WebP
countintegerNumber of images
modelstringModel name
outputstringOutput file path
output_dirstringOutput directory
output_formatstringOutput format
providerstringProvider name
qualitystringImage quality (OpenAI only). Overrides resolution-based quality mapping
resolutionstringOutput resolution

edit_image

Edit an existing image with text instructions

ParameterTypeDescription
input *stringInput image file path
prompt *stringEdit instruction
aspect_ratiostringAspect ratio
backgroundstringBackground transparency (OpenAI only)
modelstringModel name
outputstringOutput file path
output_dirstringOutput directory
output_formatstringOutput format
providerstringProvider name
qualitystringImage quality (OpenAI only)
resolutionstringOutput 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.

ParameterTypeDescription
prompt *stringEdit instruction
aspect_ratiostringAspect ratio
backgroundstringBackground transparency (OpenAI only)
modelstringModel name
outputstringOutput file path
output_dirstringOutput directory
output_formatstringOutput format
providerstringProvider name
qualitystringImage quality (OpenAI only)
resolutionstringOutput 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

ParameterTypeDescription
session_id *stringSession 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/).

ParameterTypeDescription
delete_filesbooleanDelete image files in managed directories only
session_idstringSession ID to clear. Omit to clear all sessions.

set_output_dir

Change the default output directory for generated images

ParameterTypeDescription
path *stringNew output directory path
move_filesbooleanMove existing files to the new directory

list_providers

List available image providers and their capabilities