Skip to content
AI & Agents
Skill

/image-video-gen

根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此 workflow 没有执行脚本,只是一个描述性的文档。

From plugin
agentkit-samples
417156 skills
Install
$ npx -y skills add bytedance/agentkit-samples --skill image-video-gen --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/image-video-gen

Context preview

The summary Claude sees to decide when to auto-load this skill.

根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此 workflow 没有执行脚本,只是一个描述性的文档。

SKILL.md

image-video-gen.SKILL.md
name: image-video-gen
description: "根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此 workflow 没有执行脚本,只是一个描述性的文档。"
license: Complete terms in LICENSE.txt

Image Video Tool Workflow

描述

这是一个用于生成图片和视频的智能体工作流。它协调 `byted-web-search`, `image-generate`, 和 `video-generate` 工具来完成任务。

依赖技能

  • [byted-web-search](byted-web-search/SKILL.md)
  • [image-generate](image-generate/SKILL.md)
  • [video-generate](video-generate/SKILL.md)

工作流程

1. **理解用户意图**:

  • 接收用户输入的文本描述。
  • 如果用户输入是故事或情节,直接调用 `byted-web-search` 工具获取背景信息。
  • 如果用户输入为其他类型(如问题、请求),则先调用 `byted-web-search` 工具 (最多调用2次),找到合适的信息。

2. **生成图片**:

  • 根据准备好的背景信息,调用 `image-generate` 工具生成分镜图片。
  • 生成后,以 Markdown 图片列表形式返回,例如:
   ![分镜图片1](https://example.com/image1.png)

3. **生成视频** (可选):

  • 根据用户输入,判断是否需要调用 `video-generate` 工具生成视频。
  • 返回视频 URL 时,使用 Markdown 视频链接列表,例如:
   <video src="https://example.com/video1.mp4" width="640" controls>分镜视频1</video>

注意事项

  • 此技能本身没有 Python 执行脚本 (`scripts/` 目录下无脚本)。
  • 它通过协调其他原子技能来工作。
  • 输入输出中,任何涉及图片或视频的链接 url,**绝对禁止任何形式的修改、截断、拼接或替换**,必须 100% 保持原始内容的完整性与准确性。
Ships withagentkit-samples

欢迎来到 AgentKit 代码工坊(Samples)仓库! AgentKit 是火山引擎推出的企业级 AI Agent 开发平台,为开发者提供完整的 Agent 构建、部署和运维解决方案。平台通过标准化的开发工具链和云原生基础设施,显著降低复杂智能体应用的开发部署门槛。 本代码库包含了一系列示例和教程,帮助您理解、实现和集成 AgentKit 的各项功能到您的应用中。

Get the whole plugin
Stats
428
Stars
91
Forks
Active
Maintenance
Python
Language
Apache-2.0
License
7h ago
Last commit
9mo ago
Created

Repo: bytedance/agentkit-samples

Other skills on agentkit-samples.