agentsclimarketplace

Video generation minimax

Skill yzp100911/CrabAgent/xCrab/skills/video-generation-minimax

A localized intelligent agent platform suitable for human-machine romance: cclaw (agent side) + eclaw (backend) + wclaw (frontend) + xCrab (AI gateway). 一个适合搞人机恋的本地化智能体(Agent)平台:cclaw(代理端)+ eclaw(后端)+ wclaw(前端)+ xCrab(AI 网关)。懂的都懂!

Install
npx -y skills add yzp100911/CrabAgent --skill video-generation-minimax

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

视频生成技能,使用 MiniMax 视频生成 API 创建视频

SKILL.md

2.7 KB, 835 tokens by cl100k_base, as published. Nobody here has run it

Video Generation MiniMax

使用 MiniMax 视频生成 API 创建视频。支持4种生成模式:

  1. 文生视频:根据文本描述生成视频
  2. 图生视频:基于图片+文本描述生成视频
  3. 首尾帧:首图+尾图+文本生成视频
  4. 主体参考:人脸照片+文本,保持人物特征一致

前置要求

  • 安装 Python 依赖:pip3 install requests
  • 设置环境变量 MINIMAX_API_KEY

使用方法

方式一:Python 脚本(推荐)

python3 {baseDir}/scripts/video_gen.py --mode text --prompt "描述文字"
python3 {baseDir}/scripts/video_gen.py --mode image --prompt "描述文字" --image "图片URL"
python3 {baseDir}/scripts/video_gen.py --mode start_end --prompt "描述文字" --first "首图URL" --last "尾图URL"
python3 {baseDir}/scripts/video_gen.py --mode subject --prompt "描述文字" --subject "人脸图片URL"

参数说明

参数说明必填
--mode模式:text/image/start_end/subject
--prompt视频描述文本
--image图生视频的首帧图片URLimage模式必填
--first首尾帧模式的首帧图片URLstart_end模式必填
--last首尾帧模式的尾帧图片URLstart_end模式必填
--subject主体参考模式的人脸图片URLsubject模式必填
--duration视频时长:6/10否,默认6
--resolution分辨率:720P/1080P否,默认1080P
--output输出文件名否,默认 output.mp4

示例

# 文生视频
python3 {baseDir}/scripts/video_gen.py --mode text --prompt "镜头拍摄一个女性坐在咖啡馆里,女人抬头看着窗外"

# 图生视频
python3 {baseDir}/scripts/video_gen.py --mode image --prompt "Contemporary dance" --image "https://example.com/image.png"

# 首尾帧生成
python3 {baseDir}/scripts/video_gen.py --mode start_end --prompt "A little girl grow up" --first "https://example.com/start.jpg" --last "https://example.com/end.jpg"

# 主体参考
python3 {baseDir}/scripts/video_gen.py --mode subject --prompt "在街头走路的男士" --subject "https://example.com/face.jpg"

数据来源

注意事项

  • 视频生成是异步过程,需要轮询任务状态
  • 推荐轮询间隔为10秒
  • 生成完成后自动下载视频到你的工作空间 {WorkspaceDir}/video-generation/目录下随后发送给用户
  • 模型版本:文生视频用 MiniMax-Hailuo-2.3,主体参考用 S2V-01

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.