← All articles

Seedream API and MCP: how to add image generation to your project

A glowing seed crystal with abstract shapes

Seedream is a family of image generation models. NeuralSpace offers the following models: Seedream 4.5, Seedream 5 Lite, Seedream 5 Pro. They all run through a single public API, and there is a ready MCP server for AI agents. The key is issued on the API keys page. Below are the model capabilities, request examples and setup steps.

What Seedream can do

Seedream generates images from text. 4.5 and 5 Lite have a single price per image, 5 Pro is priced by basic (1K) and high (2K) quality. 5 Lite works only in text-to-image mode, while Pro supports higher quality.

API endpoint

Send a request to POST /v1/images/generations. Example: {"model": "seedream-5-pro", "prompt": "a portrait in studio light", "quality": "high"}. Authorization uses an API key in the x-api-key header. Available model ids: seedream-45, seedream-5-lite, seedream-5-pro.

A glowing seed crystal

MCP tools

The NeuralSpace MCP server is available at POST /mcp (Streamable HTTP). To work with Seedream, an agent uses the tools: generate_image, list_models, get_balance. This lets Claude Code, Cursor and other MCP clients use the site models directly.

How to connect

Sign up on NeuralSpace, open the API keys page and create an nsk-… key. Then pass it in the request header or in your MCP client settings. Full documentation is on the the /v1/docs page.

FAQ

How does 5 Pro differ from 5 Lite?

5 Pro supports high (2K) quality, 5 Lite is text-to-image only.

Which resolutions are available?

5 Pro offers basic (1K) and high (2K).

What format is the request?

POST /v1/images/generations with model and prompt fields.