
GPT Image Generator
Connects to OpenAI's gpt-image-1 model to generate and edit images from text prompts, file paths, or base64 inputs. Provides direct image creation capabilities through the Model Context Protocol.
Enables direct image generation and editing through OpenAI's gpt-image-1 model with support for text prompts, file paths, and base64 encoded inputs for creative workflows and visual content creation.
What it does
- Generate images from text descriptions
- Edit existing images with prompts
- Process base64 encoded image inputs
- Handle image files from local paths
- Create visual content on demand
Best for
About GPT Image Generator
GPT Image Generator is a community-built MCP server published by cloudwerx-dev that provides AI assistants with tools and capabilities via the Model Context Protocol. Generate and edit images instantly using GPT Image Generator, an advanced AI image generator for creative visual content It is categorized under ai ml.
How to install
You can install GPT Image Generator in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
License
GPT Image Generator is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
@cloudwerxlab/gpt-image-1-mcp
A Model Context Protocol (MCP) server for generating and editing images using the OpenAI gpt-image-1 model.
π Quick Start
Run this MCP server directly using NPX without installing it. View on npm.
npx -y @cloudwerxlab/gpt-image-1-mcp
The -y flag automatically answers "yes" to any prompts that might appear during the installation process.
π Prerequisites
|
Node.js (v14 or higher) |
OpenAI API key with access to gpt-image-1 |
π Environment Variables
| Variable | Required | Description |
|---|---|---|
OPENAI_API_KEY | β Yes | Your OpenAI API key with access to the gpt-image-1 model |
GPT_IMAGE_OUTPUT_DIR | β No | Custom directory for saving generated images (defaults to user's Pictures folder under gpt-image-1 subfolder) |
π» Example Usage with NPX
| Operating System | Command Line Example |
|---|---|
| Linux/macOS |
|
| Windows (PowerShell) |
|
| Windows (Command Prompt) |
|
π Integration with MCP Clients
π οΈ Setting Up in an MCP Client
Step 1: Locate Settings File
|
Step 2: Add ConfigurationAdd the following configuration to the |
{
"mcpServers": {
"gpt-image-1": {
"command": "npx",
"args": [
"-y",
"@cloudwerxlab/gpt-image-1-mcp"
],
"env": {
"OPENAI_API_KEY": "PASTE YOUR OPEN-AI KEY HERE",
"GPT_IMAGE_OUTPUT_DIR": "OPTIONAL: PATH TO SAVE GENERATED IMAGES"
}
}
}
}
Example Configurations for Different Operating Systems
| Operating System | Example Configuration |
|---|---|
| Windows |
|
| Linux/macOS |
|
Note: For Windows paths, use double backslashes (
\\) to escape the backslash character in JSON. For Linux/macOS, use forward slashes (/).
β¨ Features
π¨ Core Tools
|
π Key Benefits
|
π‘ Enhanced Capabilities
π Output & Formatting
|
βοΈ Configuration & Handling
|
π How It Works
| πΌοΈ Image Generation | βοΈ Image Editing |
|---|---|
|
|
π Output Directory Behavior
π Storage Location
|
Alternatives
Related Skills
Browse all skillsGenerate AI images with FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image
Generate AI images using OpenAI's gpt-image-1 model with customizable aspect ratios and artistic themes. Use when the user wants to create images, generate artwork, or mentions image generation with specific styles like Ghibli, futuristic, Pixar, oil painting, or Chinese painting.
Generate ultra-photorealistic portraits using structured JSON prompts. Use when creating AI-generated portraits, character art, or realistic human images with cinematic quality and detailed specifications.
Generate new images from text prompts using EachLabs AI models. Supports text-to-image with multiple model families including Flux, GPT Image, Gemini, Imagen, Seedream, and more. Use when the user wants to create new images from text. For editing existing images, see eachlabs-image-edit.
Generate images using Nano Banana Pro (Gemini 3 Pro Preview). Use when creating app icons, logos, UI graphics, marketing banners, social media images, illustrations, diagrams, or any visual assets. Triggers include phrases like 'generate an image', 'create a graphic', 'make an icon', 'design a logo', 'create a banner', or any request needing visual content.
OpenAI GPT integration. Chat completions, image generation, embeddings, and fine-tuning via OpenAI API.