GenMagic for LangChain
io.github.yumaheymans/genmagic
Generate text, images, speech, music, and video with any AI model, from one credit balance.
client:LangChain
transport:streamable-http
tools:6
Install GenMagic in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"genmagic": {
"transport": "streamable_http",
"url": "https://genmagic.co/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs