Imagegen icon

Imagegen

Provides an MCP server for generating and editing images using OpenAI's models.

About

Imagegen is an MCP server that acts as a wrapper around OpenAI's Image Generation and Editing APIs, enabling text-to-image and image-to-image capabilities within MCP-compatible environments like Cursor. It supports models like DALL-E 2, DALL-E 3, and gpt-image-1 (if available), offering configurable parameters such as size, quality, and style. Generated and edited images are saved as temporary files, with the paths and base64 data returned for easy integration.

Key Features

  • Supports image-to-image editing with optional mask using DALL-E 2 and gpt-image-1.
  • Saves generated images to temporary files and returns the path along with base64 data.
  • 7 GitHub stars
  • Configurable via environment variables and command-line arguments.
  • Easily integrates with Cursor via MCP settings.
  • Supports text-to-image generation using DALL-E 2, DALL-E 3, and gpt-image-1.

Use Cases

  • Generating images from text prompts within Cursor.
  • Integrating OpenAI image generation capabilities into MCP-compatible tools.
  • Editing existing images based on text prompts and masks.
Craft Better Prompts with AnyPrompt
Sponsored