Skip to content
LangChain

Doubao Image — free Seedream 5.0 image generation for LangChain

io.github.lingxiao10/doubao-image-mcp

Generate/edit images with ByteDance Doubao Seedream 5.0 Pro. First 3 images free, no API key.

client:LangChain transport:streamable-http tools:2

Install Doubao Image — free Seedream 5.0 image generation in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "doubao-image-mcp": {
            "transport": "streamable_http",
            "url": "https://tu.xfeixie.com/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

What LangChain can do once it is connected

Doubao Image — free Seedream 5.0 image generation in other clients