Chuyển đến nội dung
Skillpedia
Chuyển động và hoạt ảnh12k · #11567

grok-image-to-video

Skill này làm gì

Skill này làm ảnh tĩnh thành video ngắn qua ứng dụng Ekko Studio và dịch vụ Grok Imagine của nó. Dành cho người muốn có một đoạn phim chuyển động từ một trong các ảnh của họ.

Khi nào nên dùng

  • ✓Khi bạn có ảnh hoặc minh họa và muốn tạo một video hoạt hình ngắn từ đó.
  • ✓Khi bạn muốn thêm chuyển động chậm của máy quay hoặc chuyển động nhẹ cho ảnh tĩnh.
  • ✓Khi bạn cần nhận lại file video MP4 hoàn chỉnh để xem.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/grok-image-to-video/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Biến ảnh sản phẩm này thành một video ngắn với một cú đẩy máy quay chậm vào.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent viết prompt chuyển động, gửi ảnh qua công cụ trợ giúp của Studio, chờ kết quả và trả về file MP4. Nó giữ chủ thể và phong cách bạn đã mô tả.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.
Câu hỏi thường gặp

Loại ảnh nào được dùng?

Nguồn phải là ảnh PNG, JPEG hoặc WebP được lưu trên máy tính của bạn.

Nó có thêm người hoặc thương hiệu vào video không?

Không. Skill nói rõ không thêm người, thương hiệu hay đặc điểm nhạy cảm mà bạn không yêu cầu.

Nếu Studio báo lỗi thì sao?

Agent báo lỗi và không chuyển sang một công cụ video khác.

Chi tiết

Mô tả gốc của tác giả

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

repo: EKKOLearnAI/ekko-studio

Độ phổ biến

Sao GitHub
12k
Vị trí xếp hạng
#11567
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự