·video-generation
*

video-generation

xiangyu-cas/vision-skills

通过 Python SDK 使用 Veo 3.1 生成 Gemini 视频。当从文本或图像生成视频、使用参考图像、第一帧/最后一帧插值或视频扩展以及调整 Veo 参数(长宽比、分辨率、持续时间、负面提示、personGeneration、种子)时使用。

6安装·0热度·@xiangyu-cas

安装

$npx skills add https://github.com/xiangyu-cas/vision-skills --skill video-generation

SKILL.md

Use this skill when the user asks to generate or extend videos with Gemini using the Python SDK. Default to veo-3.1-fast-generate-preview, resolution="720p", and durationseconds=4, unless the user asks otherwise or the task requires different settings (e.g., extension, interpolation, reference images, 1080p/4k).

1) Identify the task type: text-to-video, image-to-video, reference images, first/last frames (interpolation), or video extension. 2) Ensure GEMINIAPIKEY is available (env or local .env), then use the Python SDK.

3) When using images, pass types.Image(imageBytes=..., mimeType=...) (not PIL.Image or types.Part) to avoid input type errors. 4) Call client.models.generatevideos(...) with the correct inputs/config (see references).

通过 Python SDK 使用 Veo 3.1 生成 Gemini 视频。当从文本或图像生成视频、使用参考图像、第一帧/最后一帧插值或视频扩展以及调整 Veo 参数(长宽比、分辨率、持续时间、负面提示、personGeneration、种子)时使用。 来源:xiangyu-cas/vision-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/xiangyu-cas/vision-skills --skill video-generation
分类
*创意媒体
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 video-generation?

通过 Python SDK 使用 Veo 3.1 生成 Gemini 视频。当从文本或图像生成视频、使用参考图像、第一帧/最后一帧插值或视频扩展以及调整 Veo 参数(长宽比、分辨率、持续时间、负面提示、personGeneration、种子)时使用。 来源:xiangyu-cas/vision-skills。

如何安装 video-generation?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/xiangyu-cas/vision-skills --skill video-generation 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/xiangyu-cas/vision-skills

详情

分类
*创意媒体
来源
skills.sh
收录时间
2026-02-01