跳到正文
Skillpedia
动效与动画12k · #11567

grok-image-to-video

它能做什么

该技能通过 Ekko Studio 应用及其 Grok Imagine 服务,把一张静态图片制作成一段短视频。适用于希望用自己的图片制作动态短片的人。

适用场景

  • ✓当你有一张照片或插图,想用它制作一段短动画视频时。
  • ✓当你想为静态图片添加缓慢的镜头推进或细微的动态效果时。
  • ✓当你需要获取成片视频文件,以便观看时。

技能链接

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/grok-image-to-video/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/grok-image-to-video/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把这张产品照片做成一段短视频,镜头缓慢推近。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会编写动态提示词,通过 Studio 辅助工具发送你的图片,等待结果,并返回 MP4 文件。它会保留你描述的主体和风格。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Grok image to video

Use this Skill when the user wants to animate a local image into a short video with xAI Grok Imagine.

Always use the Studio media endpoint through the bundled helper. Do not call xAI directly, request credentials in chat, or fall back to another image/video generator when Studio reports an error. Studio owns xAI credential resolution, request polling, download, and Profile selection.

Workflow

  1. Resolve the exact local source image. It must be PNG, JPEG, or WebP and necessary for the user's requested generation.
  2. Write a motion prompt that preserves the user's intended subject, composition, camera movement, and style. Do not add people, branding, or sensitive traits the user did not request.
  3. Use the exact profile shown under Runtime Context in the Ekko system prompt.
  4. skill_view returns this Skill's baseDirectory. Run:
node <baseDirectory>/scripts/grok-image-to-video.mjs --profile <runtime-profile> --image-path /absolute/path/input.png --prompt "Slow cinematic push-in with subtle natural motion" [options]
  1. The helper calls Studio, waits for completion, verifies the downloaded file, and returns JSON containing output_path.
  2. Verify the file exists, then return it as an absolute Markdown file link so Studio renders the video player.

Options

  • --profile <name>: required in Ekko runs; use the current runtime Profile.
  • --duration <seconds>: integer from 1 to 15; defaults to 8.
  • --output-path <absolute-path.mp4>: optional requested destination. When omitted, Studio writes under its media directory.
  • --timeout-ms <milliseconds>: defaults to 600000 and is capped at 1800000.

The local call can legitimately take several minutes. Set the terminal_exec tool timeout slightly above --timeout-ms; do not start duplicate generations while the first request is still pending.

Errors

  • missing_xai_token: configure XAI_API_KEY or complete xAI OAuth login for the current Profile in Ekko Studio.
  • profile_not_found: the Ekko Profile does not map to an existing Studio/Hermes Profile used by the media endpoint.
  • 401, 403, connection failure, timeout, expired request, provider failure, or missing output: report the Studio error and stop. Do not bypass Studio or silently retry against another service.
常见问题

哪些图片类型可用?

源图片必须是保存在你电脑上的 PNG、JPEG 或 WebP 图片。

它会在视频中添加人物或品牌标识吗?

不会。该技能说明不添加你没有要求的人物、品牌或敏感特征。

如果 Studio 返回错误怎么办?

智能体会报告错误,而不会切换到另一个视频工具。

详情

作者的原始描述

Animate a local image into a short MP4 through Ekko Studio using xAI Grok Imagine.

repo: EKKOLearnAI/ekko-studio

热度

GitHub 星标
12k
排名
#11567
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能