Image Video Gen
Documentsimage-video-genImage Video Gen is an Agent Skill for documents published in the bytedance/agentkit-samples repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此 workflow 没有执行脚本,只是一个描述性的文档。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/bytedance/agentkit-samples/blob/HEAD/skills/image-video-gen/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/image-video-gen, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Image Video Tool Workflow
描述
这是一个用于生成图片和视频的智能体工作流。它协调 byted-web-search, image-generate, 和 video-generate 工具来完成任务。
依赖技能
工作流程
-
理解用户意图:
- 接收用户输入的文本描述。
- 如果用户输入是故事或情节,直接调用
byted-web-search工具获取背景信息。 - 如果用户输入为其他类型(如问题、请求),则先调用
byted-web-search工具 (最多调用2次),找到合适的信息。
-
生成图片:
- 根据准备好的背景信息,调用
image-generate工具生成分镜图片。 - 生成后,以 Markdown 图片列表形式返回,例如:
 - 根据准备好的背景信息,调用
-
生成视频 (可选):
- 根据用户输入,判断是否需要调用
video-generate工具生成视频。 - 返回视频 URL 时,使用 Markdown 视频链接列表,例如:
<video src="https://example.com/video1.mp4" width="640" controls>分镜视频1</video> - 根据用户输入,判断是否需要调用
注意事项
- 此技能本身没有 Python 执行脚本 (
scripts/目录下无脚本)。 - 它通过协调其他原子技能来工作。
- 输入输出中,任何涉及图片或视频的链接 url,绝对禁止任何形式的修改、截断、拼接或替换,必须 100% 保持原始内容的完整性与准确性。