- Home
- MCP servers
- 4o-image
4o-image
- javascript
4
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You can run a dedicated MCP server that talks to the 4o-image API to generate and edit images using simple text prompts. This server exposes a consistent protocol so your AI systems or LLMs can request image creation, edits, and progress updates with minimal setup.
How to use
You will connect to the 4o-image MCP server from your MCP client (or workflow) and send image generation requests using a prompt and, optionally, a base image for editing. The server returns status updates as the image is produced and, once ready, opens the result in your default browser. To edit an existing image, supply the base64-encoded image data along with a prompt describing the desired changes.
How to install
# prerequisites
node -v
npm -v
# install the MCP server package globally (or install in your project)
npm install -g 4oimage-mcp
# run the MCP server (this uses the standard runtime via npx in the config example)
npx -y 4oimage-mcp
Additional content
Configuration is centered around providing your API key to the server so it can access the 4o-image service. You will set the API key in the environment when starting the server.
Available tools
generateImage
Generate images from text prompts with optional imageBase64 for editing or style transfer