Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 65 additions & 2 deletions src/agentscope_bricks/components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,38 @@
SpeechToVideoSubmit,
SpeechToVideoFetch,
)
from agentscope_bricks.components.generations.async_text_to_video_wan26 import ( # noqa
TextToVideoWan26Submit,
)
from agentscope_bricks.components.generations.async_image_to_video_wan26 import ( # noqa
ImageToVideoWan26Submit,
)
from agentscope_bricks.components.generations.image_generation_wan26 import ( # noqa
ImageGenerationWan26,
)
from agentscope_bricks.components.generations.fetch_wan import WanVideoFetch
from agentscope_bricks.components.generations.qwen_image_edit_new import (
QwenImageEditNew,
)
from agentscope_bricks.components.generations.image_edit_wan26 import (
ImageEditWan26,
)
from agentscope_bricks.components.generations.image_generation_zimage import (
ZImageGeneration,
)
from agentscope_bricks.components.generations.async_image_out_painting import (
ImageOutPaintingSubmit,
ImageOutPaintingFetch,
)
from agentscope_bricks.components.generations.async_image_to_video_fl_wan22 import ( # noqa
ImageToVideoByFirstAndLastFrameWan22Submit,
)
from agentscope_bricks.components.generations.image_out_painting import (
ImageOutPaintingAuto,
)
from agentscope_bricks.components.generations.image_text_interleave_generation_wan26 import ( # noqa
WanImageInterleaveGeneration,
)


class McpServerMeta(BaseModel):
Expand All @@ -76,7 +108,14 @@ class McpServerMeta(BaseModel):
mcp_server_metas: Dict[str, McpServerMeta] = {
"modelstudio_wan_image": McpServerMeta(
instructions="基于通义万相大模型的智能图像生成服务,提供高质量的图像处理和编辑功能",
components=[ImageGeneration, ImageEdit, ImageStyleRepaint],
components=[
ImageGeneration,
ImageEdit,
ImageStyleRepaint,
ImageOutPaintingSubmit,
ImageOutPaintingFetch,
ImageOutPaintingAuto,
],
),
"modelstudio_wan_video": McpServerMeta(
instructions="基于通义万相大模型提供AI视频生成服务,支持文本到视频、图像到视频和语音到视频的多模态生成功能",
Expand All @@ -87,6 +126,8 @@ class McpServerMeta(BaseModel):
ImageToVideoFetch,
SpeechToVideoSubmit,
SpeechToVideoFetch,
ImageToVideoByFirstAndLastFrameWan22Submit,
WanVideoFetch,
],
),
"modelstudio_wan25_media": McpServerMeta(
Expand All @@ -102,7 +143,11 @@ class McpServerMeta(BaseModel):
),
"modelstudio_qwen_image": McpServerMeta(
instructions="基于通义千问大模型的智能图像生成服务,提供高质量的图像处理和编辑功能",
components=[QwenImageGen, QwenImageEdit],
components=[
QwenImageGen,
QwenImageEdit,
QwenImageEditNew,
], # ← 新增 QwenImageEditNew
),
"modelstudio_web_search": McpServerMeta(
instructions="提供实时互联网搜索服务,提供准确及时的信息检索功能",
Expand All @@ -116,4 +161,22 @@ class McpServerMeta(BaseModel):
instructions="基于通义千问大模型的语音合成服务,支持多种语言语音合成功能",
components=[QwenTextToSpeech],
),
"modelstudio_wan26_media": McpServerMeta(
instructions="基于通义万相大模型2.6版本提供的图像和视频生成服务",
components=[
ImageGenerationWan26,
TextToVideoWan26Submit,
ImageToVideoWan26Submit,
WanVideoFetch,
ImageEditWan26,
WanImageInterleaveGeneration,
],
),
"modelstudio_Z_image": McpServerMeta(
instructions="基于通义Z-Image大模型的智能图像生成服务,是一款轻量级文生图模型,"
"可快速生成图像,支持中英文字渲染,并灵活适配多种分辨率与宽高比例。",
components=[
ZImageGeneration,
],
),
}
Loading