Skip to content
Skillpedia
Motion & animation12k · #11567

grok-image-to-video

What it does

This skill animates a still picture into a short video through the Ekko Studio app and its Grok Imagine service. It is for people who want a moving clip made from one of their images.

When to use it

  • ✓When you have a photo or illustration and want a short animated video made from it.
  • ✓When you want a slow camera movement or subtle motion added to a still image.
  • ✓When you need the finished video file returned so you can watch it.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/grok-image-to-video/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Turn this product photo into a short video with a slow camera push-in.”

5 new skills a week. 1 minute to read.

How it works

The agent writes a motion prompt, sends your image through the Studio helper, waits for the result and returns the MP4 file. It keeps the subject and style you described.

Technical content (original SKILL.md)

Original text by the author, straight from 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.
FAQ

Which image types work?

The source must be a PNG, JPEG or WebP image saved on your computer.

Does it add people or branding to the video?

No. The skill says not to add people, branding or sensitive traits that you did not request.

What if Studio returns an error?

The agent reports the error and does not switch to another video tool.

Details

Original description by the author

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

repo: EKKOLearnAI/ekko-studio

Popularity

GitHub stars
12k
Ranking position
#11567
License
—
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills