{"_id":"4oimage-mcp","_rev":"6-23fb2c8e1eba12586d15e30a74154494","name":"4oimage-mcp","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"4oimage-mcp","version":"1.0.0","keywords":["mcp","image","4o-image","modelcontextprotocol","text-to-image","ai","claude","image-generation"],"author":{"name":"4o-image Team"},"license":"MIT","_id":"4oimage-mcp@1.0.0","maintainers":[{"name":"ringer007","email":"liyinan715@gmail.com"}],"homepage":"https://4o-image.app/","bugs":{"url":"https://github.com/yourusername/4o-image-mcp/issues"},"bin":{"4o-image-mcp":"server/index.js"},"dist":{"shasum":"c5bd1304ef71e913f637a3ee05b2f455a829e539","tarball":"https://registry.npmjs.org/4oimage-mcp/-/4oimage-mcp-1.0.0.tgz","fileCount":6,"integrity":"sha512-JpsrUqXusTpsqxOzoto+MUardh7xtwmZScS0Qq2ZTIUBAdvgrMOTMArRGRQtejooXs7TeJmpRrcocb79VKGzJw==","signatures":[{"sig":"MEQCIE+typ6+mxgQ4W3S2xwy3n1O9Y1+zw9rZxdu9e95vnJqAiBuyMxRphzQKf2CUrUZl7mfNsMMc1mhW/vnOYmvs5AbQw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21854},"main":"server/index.js","type":"module","engines":{"node":">=16.0.0"},"scripts":{"dev":"nodemon server/index.js","lint":"echo \"No linting yet\" && exit 0","test":"echo \"No tests yet\" && exit 0","start":"node server/index.js","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"ringer007","email":"liyinan715@gmail.com"},"repository":{"url":"git+https://github.com/yourusername/4o-image-mcp.git","type":"git"},"_npmVersion":"10.8.1","description":"MCP server for 4o-image API integration - Generate images using text prompts and edit existing images","directories":{},"_nodeVersion":"20.16.0","dependencies":{"zod":"^3.22.4","open":"^10.1.1","express":"^4.18.2","form-data":"^4.0.0","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.10.1"},"_hasShrinkwrap":false,"devDependencies":{"nodemon":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/4oimage-mcp_1.0.0_1745304934815_0.022879958738747375","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"4oimage-mcp","version":"1.0.1","keywords":["mcp","image","4o-image","modelcontextprotocol","text-to-image","ai","claude","image-generation"],"author":{"name":"4o-image Team"},"license":"MIT","_id":"4oimage-mcp@1.0.1","maintainers":[{"name":"ringer007","email":"liyinan715@gmail.com"}],"homepage":"https://4o-image.app/","bugs":{"url":"https://github.com/yourusername/4o-image-mcp/issues"},"bin":{"4o-image-mcp":"server/index.js"},"dist":{"shasum":"cdafb69bae8d63a4866f82e803ca06b32f0f23b5","tarball":"https://registry.npmjs.org/4oimage-mcp/-/4oimage-mcp-1.0.1.tgz","fileCount":6,"integrity":"sha512-UG+3iRxCYVI6uQByNEo1szecAyHWyCH+glGuNq1LrnJAFB+bX2ZEWbeZ9TF0qO8Qacgj7ff5oVSR/hbWbRJKEQ==","signatures":[{"sig":"MEUCICShjCzeoC+a4XO8760nu6KyU7lD0DYp4FccABb8fhtrAiEA3HSQx515Pded4v8C4mCRW2l7/PR3KGSBpJEVNXZmn2M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21851},"main":"server/index.js","type":"module","engines":{"node":">=16.0.0"},"scripts":{"dev":"nodemon server/index.js","lint":"echo \"No linting yet\" && exit 0","test":"echo \"No tests yet\" && exit 0","start":"node server/index.js","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"ringer007","email":"liyinan715@gmail.com"},"repository":{"url":"git+https://github.com/yourusername/4o-image-mcp.git","type":"git"},"_npmVersion":"10.8.1","description":"MCP server for 4o-image API integration - Generate images using text prompts and edit existing images","directories":{},"_nodeVersion":"20.16.0","dependencies":{"zod":"^3.22.4","open":"^10.1.1","express":"^4.18.2","form-data":"^4.0.0","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.10.1"},"_hasShrinkwrap":false,"devDependencies":{"nodemon":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/4oimage-mcp_1.0.1_1745305059866_0.9300625494431765","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"4oimage-mcp","version":"1.0.2","keywords":["mcp","image","4o-image","modelcontextprotocol","text-to-image","ai","claude","image-generation"],"author":{"name":"4o-image Team"},"license":"MIT","_id":"4oimage-mcp@1.0.2","maintainers":[{"name":"ringer007","email":"liyinan715@gmail.com"}],"homepage":"https://4o-image.app/","bugs":{"url":"https://github.com/yourusername/4oimage-mcp/issues"},"bin":{"4oimage-mcp":"server/index.js"},"dist":{"shasum":"9beed09601d8d2ebc5e82a0b3fd98ee8f7fb8e15","tarball":"https://registry.npmjs.org/4oimage-mcp/-/4oimage-mcp-1.0.2.tgz","fileCount":6,"integrity":"sha512-Xo44JexFoADgQtdddYRkqkbz8A3ThUrAVJWaDAJXaQr6mlnH5J9Z92RQ9Lc2MzwDcAyhH9FVGWo3frc+C7zG+w==","signatures":[{"sig":"MEUCIQCh3J6JmgGNgcw+jsp5HJG8u5Dsm7s9BpXuCrVi1zMrmAIgcXNGtHYQQSKy3uMGRBwJiWulTovFg6/7mHO3bxk0u1g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21846},"main":"server/index.js","type":"module","engines":{"node":">=16.0.0"},"scripts":{"dev":"nodemon server/index.js","lint":"echo \"No linting yet\" && exit 0","test":"echo \"No tests yet\" && exit 0","start":"node server/index.js","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"ringer007","email":"liyinan715@gmail.com"},"repository":{"url":"git+https://github.com/yourusername/4oimage-mcp.git","type":"git"},"_npmVersion":"10.8.1","description":"MCP server for 4o-image API integration - Generate images using text prompts and edit existing images","directories":{},"_nodeVersion":"20.16.0","dependencies":{"zod":"^3.22.4","open":"^10.1.1","express":"^4.18.2","form-data":"^4.0.0","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.10.1"},"_hasShrinkwrap":false,"devDependencies":{"nodemon":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/4oimage-mcp_1.0.2_1745305341167_0.08581561730982812","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"4oimage-mcp","version":"1.0.3","keywords":["mcp","image","4o-image","modelcontextprotocol","text-to-image","ai","claude","image-generation","action-figure","3d-character-creator","ai-barbie-generator","chgpt-dog-to-human"],"author":{"name":"Antipas"},"license":"MIT","_id":"4oimage-mcp@1.0.3","maintainers":[{"name":"ringer007","email":"liyinan715@gmail.com"}],"homepage":"https://4o-image.app/","bugs":{"url":"https://github.com/Antipas/4oimage-mcp/issues"},"bin":{"4oimage-mcp":"server/index.js"},"dist":{"shasum":"ff5f24940fc3e5bd5d779672323223f4264112f8","tarball":"https://registry.npmjs.org/4oimage-mcp/-/4oimage-mcp-1.0.3.tgz","fileCount":6,"integrity":"sha512-B3k7liZM8WPupn1gZDvqAQ9wOQpCl3qZwaxyoJSN9Rt8cgXFJTQepBD6UzUcmwTyNbKaJ6heWNoXAT21ErS44A==","signatures":[{"sig":"MEUCIQC4cBBjVT0B8E7UJiEHDRugcJZnuh7vJisRAofbObg1KgIgO2Ewx6TbH1L2dhA4+4+L4rxbMkzFn7/2tDJl+uDUdHs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21928},"main":"server/index.js","type":"module","engines":{"node":">=16.0.0"},"gitHead":"88ce9e76e0a793b1428b10e63eed7fa3dfc55aca","scripts":{"dev":"nodemon server/index.js","lint":"echo \"No linting yet\" && exit 0","test":"echo \"No tests yet\" && exit 0","start":"node server/index.js","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"ringer007","email":"liyinan715@gmail.com"},"repository":{"url":"git+https://github.com/Antipas/4oimage-mcp.git","type":"git"},"_npmVersion":"10.8.1","description":"MCP server for 4o-image API integration - Generate images using text prompts and edit existing images","directories":{},"_nodeVersion":"20.16.0","dependencies":{"zod":"^3.22.4","open":"^10.1.1","express":"^4.18.2","form-data":"^4.0.0","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.10.1"},"_hasShrinkwrap":false,"devDependencies":{"nodemon":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/4oimage-mcp_1.0.3_1745305624153_0.5296987108348039","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"4oimage-mcp","version":"1.0.4","keywords":["mcp","image","4o-image","modelcontextprotocol","text-to-image","ai","claude","image-generation","action-figure","3d-character-creator","ai-barbie-generator","chgpt-dog-to-human"],"author":{"name":"Antipas"},"license":"MIT","_id":"4oimage-mcp@1.0.4","maintainers":[{"name":"ringer007","email":"liyinan715@gmail.com"}],"homepage":"https://4o-image.app/","bugs":{"url":"https://github.com/Antipas/4oimage-mcp/issues"},"bin":{"4oimage-mcp":"server/index.js"},"dist":{"shasum":"8323a7aa8a6a47827afefe82e5427226ede38aa1","tarball":"https://registry.npmjs.org/4oimage-mcp/-/4oimage-mcp-1.0.4.tgz","fileCount":6,"integrity":"sha512-ZP+oGxIDZ3Fd1T00+QeO34BDrHW2+7hMON0NqgtA4eGIJavW15s2J6tJ5c8oiF8g0KxKscRU/tGnACJ2mnjC9g==","signatures":[{"sig":"MEQCIDLFcX7jUMPZC97lquUAZUhgoxu/k1414xt+9MWTxSD4AiBQD/VGzf7292Ve97RDjF5bC5f14H5XosesHw+w5yd/Jw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17913},"main":"server/index.js","type":"module","engines":{"node":">=16.0.0"},"gitHead":"a7d32d5d74443bff3a372c422519dbb7fd9df3d3","scripts":{"dev":"nodemon server/index.js","lint":"echo \"No linting yet\" && exit 0","test":"echo \"No tests yet\" && exit 0","start":"node server/index.js","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"ringer007","email":"liyinan715@gmail.com"},"repository":{"url":"git+https://github.com/Antipas/4oimage-mcp.git","type":"git"},"_npmVersion":"10.8.1","description":"MCP server for 4o-image API integration - Generate images using text prompts and edit existing images","directories":{},"_nodeVersion":"20.16.0","dependencies":{"zod":"^3.22.4","open":"^10.1.1","express":"^4.18.2","form-data":"^4.0.0","node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.10.1"},"_hasShrinkwrap":false,"devDependencies":{"nodemon":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/4oimage-mcp_1.0.4_1745306462807_0.6557734371699522","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"4oimage-mcp","version":"1.0.5","description":"MCP server for 4o-image API integration - Generate images using text prompts and edit existing images","main":"server/index.js","type":"module","scripts":{"start":"node server/index.js","dev":"nodemon server/index.js","prepublishOnly":"npm test && npm run lint","test":"echo \"No tests yet\" && exit 0","lint":"echo \"No linting yet\" && exit 0"},"keywords":["mcp","image","4o-image","modelcontextprotocol","text-to-image","ai","claude","image-generation","action-figure","3d-character-creator","ai-barbie-generator","chgpt-dog-to-human"],"author":{"name":"Antipas"},"license":"MIT","homepage":"https://4o-image.app/","repository":{"type":"git","url":"git+https://github.com/Antipas/4oimage-mcp.git"},"bugs":{"url":"https://github.com/Antipas/4oimage-mcp/issues"},"engines":{"node":">=16.0.0"},"dependencies":{"@modelcontextprotocol/sdk":"^1.10.1","express":"^4.18.2","form-data":"^4.0.0","node-fetch":"^3.3.2","open":"^10.1.1","zod":"^3.22.4"},"devDependencies":{"nodemon":"^3.0.1"},"bin":{"4oimage-mcp":"server/index.js"},"_id":"4oimage-mcp@1.0.5","gitHead":"1b89cf22db0e16d8a5a0b4cadaa65f8193cc5128","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-wJTAP4pQGawvPoKg+Zwvy192vkviuoWNE8UZa3WAhs/SBs7HDVeXbKhPRI1C3yF9NaJOxIhzAtCuj2gclsFKrQ==","shasum":"bdfbd82d8912d8424a4736bfcf12070bd3d68ac6","tarball":"https://registry.npmjs.org/4oimage-mcp/-/4oimage-mcp-1.0.5.tgz","fileCount":6,"unpackedSize":17913,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDj/5CwNwliKf/E/e7Rd0OMZxZtAyJW2yPQKZT1K1vgrAIhAJJtiEZtKCZojX3IcNEz7iUGaNWLyn9HZomjVM2jGrtz"}]},"_npmUser":{"name":"ringer007","email":"liyinan715@gmail.com"},"directories":{},"maintainers":[{"name":"ringer007","email":"liyinan715@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/4oimage-mcp_1.0.5_1745316171997_0.21535719130909214"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-22T06:55:34.743Z","modified":"2025-04-22T10:02:52.309Z","1.0.0":"2025-04-22T06:55:34.976Z","1.0.1":"2025-04-22T06:57:40.056Z","1.0.2":"2025-04-22T07:02:21.326Z","1.0.3":"2025-04-22T07:07:04.316Z","1.0.4":"2025-04-22T07:21:03.002Z","1.0.5":"2025-04-22T10:02:52.159Z"},"bugs":{"url":"https://github.com/Antipas/4oimage-mcp/issues"},"author":{"name":"Antipas"},"license":"MIT","homepage":"https://4o-image.app/","keywords":["mcp","image","4o-image","modelcontextprotocol","text-to-image","ai","claude","image-generation","action-figure","3d-character-creator","ai-barbie-generator","chgpt-dog-to-human"],"repository":{"type":"git","url":"git+https://github.com/Antipas/4oimage-mcp.git"},"description":"MCP server for 4o-image API integration - Generate images using text prompts and edit existing images","maintainers":[{"name":"ringer007","email":"liyinan715@gmail.com"}],"readme":"# 4o-image MCP Server\n\nAn MCP server implementation that integrates with 4o-image API, enabling LLMs and other AI systems to generate and edit images through a standardized protocol. Create high-quality art, 3D characters, and custom images using simple text prompts.\n\n[![npm version](https://img.shields.io/npm/v/4oimage-mcp.svg)](https://www.npmjs.com/package/4oimage-mcp)\n[![Node.js Version](https://img.shields.io/node/v/4oimage-mcp.svg)](https://nodejs.org)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Features\n\n* **Text-to-Image Generation**: Create images from text descriptions with AI\n* **Image Editing**: Transform existing images using text prompts\n* **Real-time Progress Updates**: Get feedback on generation status\n* **Browser Integration**: Automatically open generated images in your default browser\n\n\n## Tools\n\n* **generateImage**\n  * Generate images based on text prompts with optional image editing\n  * Inputs:\n    * `prompt` (string, required): Text description of the desired image\n    * `imageBase64` (string, optional): Base64-encoded image for editing or style transfer\n\n## Configuration\n\n### Getting an API Key\n\n1. Register for an account at [4o-image.app](https://4o-image.app/dashboard/)\n2. Obtain your API key from the user dashboard\n3. Set the API key as an environment variable when running the server\n\n### Usage with Claude Desktop\n\nAdd this to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"4o-image\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"4oimage-mcp\"\n      ],\n      \"env\": {\n        \"API_KEY\": \"YOUR_API_KEY_HERE\"\n      }\n    }\n  }\n}\n```\n\n## Example Usage\n\nHere's an example of using this MCP server with Claude:\n\n```\nGenerate an image of a dog running on the beach at sunset\n```\n\nClaude will use the MCP server to generate the image, which will automatically open in your default browser. You'll also get a direct link to the image in Claude's response.\n\nFor image editing, you can include a base image and prompt Claude to modify it:\n\n```\nEdit this image to make the sky more dramatic with storm clouds\n```\n\n## License\n\nThis MCP server is licensed under the MIT License. You are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. ","readmeFilename":"README.md"}