morigraph Start free

Tool · image_gen

Image generation for AI agents

morigraph's image generation tool lets Claude, ChatGPT, Cursor, Codex or your own code create images from a written description, using Seedream from BytePlus and Stable Image from Stability AI. It needs no account or API key with either. An image costs 0.6 to 1.8 credits, about 6 to 18 cents, and is saved to your workspace with a link.

Price
0.6 to 1.8 credits ($0.06 to about $0.18) a call
Providers
BytePlus and Stability AI
Call it from
MCP, command line and HTTP API
Needs
One morigraph connection. No vendor account or API key

What it is for

Three ways to call it

The same tool and the same price, whichever way you call it.

In your assistant (MCP). Connect once, then ask in plain words

claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp

Generate a wide hero image for a landing page: a calm desk at dawn, soft light, no text. Give me the link.

From a terminal or script (CLI)

npx @morigraph/cli@latest login
morigraph call image_gen --json-args '{"prompt":"A calm desk at dawn, soft light, no text","size":"wide","resolution":"standard"}'

From your own code (HTTP API)

curl https://api.morigraph.com/v1/tools/image_gen \
  -H "Authorization: Bearer $MORIGRAPH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A calm desk at dawn, soft light, no text","size":"wide","resolution":"standard"}'

What comes back. A preview, a file saved to your workspace and a download link. Links expire, so download what you need to keep.

Arguments

ArgumentTypeRequiredWhat it is
promptstringyesWhat to generate, described in words.
modelstringnoPin an exact model from the provider offerings, e.g. dola-seedream-5-0-pro-260628 or seedream-5-0-lite-260128.
negative_promptstringnoWhat to avoid, where the provider supports it.
sizesquare | portrait | landscape | widenoAspect of the image. Default "square".
resolutiondraft | standard | highnodraft is smallest and always fits a terminal host. Default "standard".
nintegernoHow many images (1-4). Default 1.
seedintegernoFor a reproducible image, where the model supports it.
want_linkbooleannoPrefer a provider that returns a hosted URL for the full render. Default true.

Every tool with more than one provider also takes cost, depth, speed and provider to steer the choice: see the tools reference.

Good to know

When to choose something else

Choose fal or Replicate when you want a specific open model or hundreds to pick from. Choose a design tool such as Canva or Figma when the image needs laid-out text and brand templates. This tool is for an assistant that needs a good image now, without another account.

Questions

Can Claude Code generate images?

Not by itself. With morigraph connected it can: it calls the image generation tool, which returns a saved file and a link. The same works in Cursor, Codex and ChatGPT.

Which image models does morigraph use?

Seedream from BytePlus and Stable Image from Stability AI. You can let morigraph choose by cost and quality or pin an exact model.

How much does one image cost?

0.6 to 1.8 credits, about 6 to 18 cents, depending on the model. Your assistant can quote the exact price before it runs.

Where do the images go?

Into your workspace's files, with a download link in the response. Through the API the link is in the response body.

Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.