Basic information
About Doubao Mcp Server
Doubao Mcp is a MCP server in the Other category listed in the AddMCP.net directory, published by wwwzhouhui. It exposes 4 tools, including text_to_image, image_to_video, text_to_video, encode_image_to_base64. Supported transport: stdio. Runtime: Python. The repository has 11 GitHub stars. Source code is hosted on github.com. Related topics: ai, doubao, generation, mcp, multimodal.
Setup
{
"mcpServers": {
"doubao-mcp-server": {
"command": "uvx",
"args": [
"doubao-mcp-server"
],
"env": {
"DOUBAO_API_KEY": "your-api-key-here"
}
}
}
}
{
"mcpServers": {
"doubao-mcp-server": {
"command": "uvx",
"args": [
"doubao-mcp-server"
],
"env": {
"DOUBAO_API_KEY": "your-api-key-here"
}
}
}
}
{
"servers": {
"doubao-mcp-server": {
"command": "uvx",
"args": [
"doubao-mcp-server"
],
"env": {
"DOUBAO_API_KEY": "your-api-key-here"
}
}
}
}
Doubao Mcp config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"doubao-mcp-server": {
"command": "uvx",
"args": [
"doubao-mcp-server"
],
"env": {
"DOUBAO_API_KEY": "your-api-key-here"
}
}
}
}
Doubao Mcp tools
-
text_to_image
—
文生图功能 - 根据文本描述生成图片
Args:
prompt: 图片描述提示词
size: 图片尺寸,格式为"宽x高",如"1024x1024"
model: 使用的模型名称
Returns:
包含图片URL或错误信息的字典
model:string, prompt:string*, size:string -
image_to_video
—
图生视频功能 - 根据图片和文本描述生成视频
Args:
prompt: 视频描述提示词
image_base64: 图片的base64编码字符串
duration: 视频时长(秒)
ratio: 视频比例,如"16:9"
model: 使用的模型名称
Returns:
包含视频URL或错误信息的字典
duration:string, image_base64:string*, model:string, prompt:string*, ratio:string -
text_to_video
—
文生视频功能 - 根据文本描述生成视频
Args:
prompt: 视频描述提示词
duration: 视频时长(秒)
ratio: 视频比例,如"16:9"
model: 使用的模型名称
Returns:
包含视频URL或错误信息的字典
duration:string, model:string, prompt:string*, ratio:string -
encode_image_to_base64
—
将本地图片文件编码为base64字符串
Args:
image_path: 图片文件路径
Returns:
包含base64编码字符串或错误信息的字典
image_path:string*
Overview
Doubao Mcp tools
text_to_image:
文生图功能 - 根据文本描述生成图片
Args: prompt: 图片描述提示词 size: 图片尺寸,格式为"宽x高",如"1024x1024" model: 使用的模型名称 Returns: 包含图片URL或错误信息的字典
image_to_video:
图生视频功能 - 根据图片和文本描述生成视频
Args: prompt: 视频描述提示词 image_base64: 图片的base64编码字符串 duration: 视频时长(秒) ratio: 视频比例,如"16:9" model: 使用的模型名称
Returns: 包含视频URL或错误信息的字典
text_to_video:
文生视频功能 - 根据文本描述生成视频
Args: prompt: 视频描述提示词 duration: 视频时长(秒) ratio: 视频比例,如"16:9" model: 使用的模型名称
Returns: 包含视频URL或错误信息的字典
encode_image_to_base64:
将本地图片文件编码为base64字符串
Args: image_path: 图片文件路径
Returns: 包含base64编码字符串或错误信息的字典
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In