google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
jimeng_mcp_skill
使用jimeng-mcp-server进行AI图像和视频生成。当用户请求从文本生成图像、合成多张图片、从文本描述创建视频或为静态图像添加动画时使用此技能。支持四大核心能力:文生图、图像合成、文生视频、图生视频。需要jimeng-mcp-server在本地运行或通过SSE/HTTP访问。
Full skill instructions
即梦技能通过 jimeng-mcp-server 实现 AI 驱动的图像和视频生成,这是一个集成了即梦 AI 多模态生成能力的 MCP(模型上下文协议)服务器。使用此技能可以直接通过自然语言指令创建视觉内容。
核心能力:
何时使用此技能:
使用此技能前,请确保 jimeng-mcp-server 已正确配置:
服务器必须运行,通过以下模式之一:
环境变量已配置:
JIMENG_API_KEY:您的即梦 API 密钥(从即梦网站 cookies 获取)JIMENG_API_URL:API 端点(默认:http://127.0.0.1:8001)JIMENG_MODEL:模型名称(默认:jimeng-4.5)后端 API 运行中:jimeng-free-api-all Docker 容器必须处于活动状态
详细的设置说明请参考 references/setup_guide.md。
当用户请求图像或视频生成时,遵循以下工作流程:
文本生成图像:
用户:"用即梦生成一张图片:樱花树下的柴犬"
→ 使用 text_to_image 工具,参数 prompt="樱花树下的柴犬"
图像合成:
用户:"帮我合成这两张图片,风格偏向第一张"
→ 使用 image_composition 工具,提供图片 URL
文本生成视频:
用户:"创建一个5秒视频:小马过河的故事场景"
→ 使用 text_to_video 工具,设置提示词和时长
图像生成视频:
用户:"为这张图片添加动画效果"
→ 使用 image_to_video 工具,提供图片 URL
使用即梦 4.5 引擎从文本描述生成图像。
工具:text_to_image
参数:
prompt(必需):期望图像的文本描述model(可选):模型版本(默认:jimeng-4.5)ratio(可选):图像宽高比("1:1", "4:3", "3:4", "16:9", "9:16")resolution(可选):分辨率预设("1k", "2k", "4k",默认:2k)negativePrompt(可选):要在生成图像中避免的元素常见宽高比:
使用示例:
# 用户请求:"生成一张图片:夕阳下的海滩,有椰子树"
{
"model": "jimeng-4.5",
"prompt": "夕阳下的海滩,有椰子树",
"ratio": "16:9",
"resolution": "2k"
}
返回结果: 返回包含多张图片 URL 的数组,可显示或下载。
提示:
通过智能融合合并和混合多张图片。
工具:image_composition
参数:
prompt(必需):如何合成图片的描述images(必需):要合成的 2-5 个图片 URL 数组model(可选):模型版本(默认:jimeng-4.5)ratio(可选):输出图像宽高比("1:1", "4:3", "3:4", "16:9", "9:16")resolution(可选):分辨率预设("1k", "2k", "4k",默认:2k)使用示例:
# 用户请求:"合成这两张图,保留第一张的风格"
{
"model": "jimeng-4.5",
"prompt": "将两张图片无缝融合,保持第一张图片的艺术风格",
"images": [
"https://example.com/image1.jpg",
"https://example.com/image2.jpg"
],
"ratio": "4:3",
"resolution": "2k"
}
使用场景:
提示:
从文本描述创建短视频。
工具:text_to_video
参数:
prompt(必需):视频场景的文本描述model(可选):模型版本(默认:jimeng-video-3.0)ratio(可选):视频宽高比("16:9", "9:16", "4:3", "3:4", "1:1")resolution(可选):预设分辨率("480p", "720p", "1080p")分辨率预设:
使用示例:
# 用户请求:"生成5秒视频:小猫在钓鱼"
{
"model": "jimeng-video-3.0",
"prompt": "一只橘色小猫坐在河边,手持鱼竿专注地钓鱼,阳光明媚",
"ratio": "16:9",
"resolution": "720p"
}
视频特性:
提示:
为静态图像添加运动和动画效果。
工具:image_to_video
参数:
prompt(必需):期望动画效果的描述file_paths(必需):要添加动画的图片 URL 数组model(可选):模型版本(默认:jimeng-video-3.0)ratio(可选):视频宽高比("16:9", "9:16", "4:3", "3:4", "1:1")resolution(可选):预设分辨率("480p", "720p", "1080p")使用示例:
# 用户请求:"让这张照片动起来,添加轻柔的镜头缩放"
{
"model": "jimeng-video-3.0",
"prompt": "添加轻柔的运动效果和自然的镜头缩放,营造电影感",
"file_paths": ["https://example.com/photo.jpg"],
"ratio": "16:9",
"resolution": "720p"
}
动画类型:
提示:
收到用户请求
│
├─ 包含"生成图片"或"create image"?
│ └─ 是 → 使用 text_to_image
│
├─ 包含"合成"或"merge/blend images"?
│ └─ 是 → 使用 image_composition
│
├─ 包含"生成视频"或"create video"?
│ └─ 是 → 使用 text_to_video
│
└─ 包含"动画"或"animate image"?
└─ 是 → 使用 image_to_video
处理用户请求时:
如果工具执行失败:
常见错误:
API key not configured:在环境中设置 JIMENG_API_KEYServer not responding:启动 jimeng-free-api-all Docker 容器Invalid image URL:确保 URL 公开可访问Generation timeout:大型视频可能需要 60+ 秒对于复杂的创意任务,可以链式使用工具:
示例:创建动画艺术作品
text_to_image 生成基础图像image_to_video 为结果添加动画示例:合成和优化
image_composition 合成图片加快生成速度:
提高质量:
当用户请求多次生成时:
症状:工具返回连接错误
解决方案:
docker ps | grep jimeng
curl http://127.0.0.1:8001/health
症状:"Invalid API key"或身份验证错误
解决方案:
症状:质量差或意外结果
解决方案:
ratio 参数选择合适的宽高比resolution 分辨率negativePrompt 以排除不需要的元素症状:生成时间过长或超时
解决方案:
setup_guide.md:详细的安装和配置说明api_reference.md:所有工具的完整 API 文档Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.
Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.
Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.
Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.
Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Opus.ai: Revolutionize Your Web Experience
Build a no-code AI app in minutes.
An IDE for code migration from legacy to modern frameworks through coding agents.
Automate CGI animation in live-action scenes
Branded artistic QR-code concepts
Launch a website in seconds with AI.
Streamline Your Coding Experience with AI Code Helper
Convert any screenshot or design to clean code.