`generateImage` takes a `prompt` for text-to-image and adds `imageBase64` for editing and style transfer, so a base image is inlined into the call rather than referenced by path or URL — worth knowing before sending anything large through it. The same call opens the result in your default browser rather than only returning the link, which assumes a desktop session rather than a headless host.
A single-call image generation and editing surface over the 4o-image API, returning a clickable link to the result and opening it in your default browser.
- Text-to-image from a `prompt` alone, with `generateImage` returning a clickable link to the generated result.
- Editing and style transfer on a picture you already have: `generateImage` also accepts `imageBase64` alongside the `prompt`, so the base image travels inside the call itself.
- The result opens in your default browser as the call completes, as well as coming back as a link.
An API key for the 4o-image API, supplied as API_KEY.
One command plus a key — npx -y 4oimage-mcp, then supply credentials
