Image Generator
JSON →Generate and save images using the Replicate API.
Install
npx @modelcontextprotocol/inspector Tools · 3
- generate-image Generates an image using Replicate's Stable Diffusion model. Takes 'prompt' as a required string argument. Optional parameters include 'negative_prompt', 'width', 'height', 'num_inference_steps', and 'guidance_scale'. Returns the generated image and its URL.
- save-image Saves a generated image to the local filesystem. Takes 'image_url' and 'prompt' as required string arguments. Generates a unique ID for the image and saves it to the 'generated_images' directory.
- list-saved-images Lists all saved images. Returns a list of all saved images with their metadata and thumbnails.
Environment variables
REPLICATE_API_TOKENUV_PUBLISH_TOKEN