Labsco
MCP SERVER

Image Generator

by rmcendarfer2017

Generate images with Stable Diffusion on Replicate, and keep the ones worth keeping.

Image Generation
Summary
Generation and the folder it ends up in, joined up.

Most image tools hand back a URL that expires while you are still deciding. Here generating, saving under an ID and listing what you kept are three calls in one place, so the good one is still there tomorrow.

What it is

An image generator backed by Replicate's Stable Diffusion, with local storage attached: generate from a prompt, save to disk, and browse what you saved.

What you get
  • Image generation from a prompt, with optional negative prompt, width, height, inference steps and guidance scale
  • The generated image and its URL returned together
  • A generated image saved to a local generated_images directory under a unique ID
  • A listing of everything saved, with metadata and thumbnails
  • Saved images addressable individually through an image:// URI
  • A prompt template that writes the generation prompt for you, with realistic, artistic or abstract styling
Requirements

Python with a virtualenv and the project's requirements, plus a Replicate account. Your Replicate API token goes in a .env file, which the repository already keeps out of version control.

Setup effort

One command plus a key — uvx image-generator, then supply credentials