मुख्य सामग्री पर जाएँ
Skillpedia
मोशन और एनिमेशन12k · #11583

grok-image-to-video

यह क्या करती है

यह स्किल xAI Grok Imagine से एक स्थिर तस्वीर को छोटे वीडियो में चलाती है, जो Hermes Web UI से जुड़ता है। यह उन लोगों के लिए है जिनके पास पहले से एक तस्वीर है और वे उससे चलता क्लिप चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आपके पास कोई तस्वीर है और उससे छोटा एनिमेटेड क्लिप चाहिए।
  • ✓जब आप स्थिर तस्वीर में हल्की कैमरा गति या स्वाभाविक हरकत जोड़ना चाहते हैं।
  • ✓जब आपको तैयार MP4 फ़ाइल सेव चाहिए ताकि आप उसे साझा कर सकें।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/skills/grok-image-to-video/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस लैंडस्केप फ़ोटो को धीमे ज़ूम के साथ छोटे वीडियो में चलाइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट तस्वीर और मोशन प्रॉम्प्ट Hermes Web UI के media endpoint को भेजता है। सर्वर क्रेडेंशियल जाँचता है, वीडियो पूरा होने का इंतज़ार करता है और आपके लिए 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.

Do not use any built-in image or video generation tool as a fallback. If the Hermes Web UI endpoint returns 401, 403, connection failure, or any other error, stop and report the Hermes Web UI error to the user.

Workflow

Call the local Hermes Web UI media endpoint. Pass a local image path; the server will check for xAI credentials, read the file, convert it to a base64 data URI, call xAI, poll until completion, and optionally save the generated mp4.

Endpoint:

POST <Hermes Web UI base URL>/api/studio/media/grok-image-to-video

Resolve the Hermes Web UI base URL in this order:

  1. HERMES_WEB_UI_URL environment variable, if set.
  2. http://127.0.0.1:${PORT}, if PORT is set.
  3. http://127.0.0.1:8648 for the Web UI single-server default.

Common local ports:

  • Development API backend: http://127.0.0.1:8647. Use this with npm run dev; do not target the Vite frontend port.
  • Web UI single-server default: http://127.0.0.1:8648.
  • Desktop app default: http://127.0.0.1:8748.
  • Custom port: set HERMES_WEB_UI_URL to the full base URL, or set PORT to use http://127.0.0.1:${PORT}.

When Hermes Web UI is running from the provided Docker Compose setup, the default external URL is http://127.0.0.1:6060.

Authentication:

The endpoint is protected by Hermes Web UI auth. Always send the Hermes Web UI server bearer token. This token is accepted only by Hermes Web UI media generation endpoints for agent skills; it is not a general Web UI login token.

Resolve the token in this order:

  1. AUTH_TOKEN environment variable, if set.
  2. ${HERMES_WEB_UI_HOME}/.token, if HERMES_WEB_UI_HOME is set.
  3. ${HERMES_WEBUI_STATE_DIR}/.token, if HERMES_WEBUI_STATE_DIR is set.
  4. ~/.hermes-web-ui/.token.

Profile selection:

Use the current Hermes profile from the run instructions by sending X-Hermes-Profile.

If the run instructions include [Current Hermes profile: <name>], include:

-H "X-Hermes-Profile: <name>"

Replace <name> with the exact profile name from the run instructions. Never send a placeholder value such as <name> or <current-hermes-profile>.

If no current profile is provided, omit the header and let the server fall back to the current Hermes active profile.

Required JSON fields:

  • image_path: local path to a png, jpeg, or webp image.
  • prompt: motion and style instructions for the generated video.

Optional JSON fields:

  • duration: seconds, 1 to 15. Defaults to 8.
  • output_path: local path where the server should save the mp4. If omitted, the server saves to ${HERMES_WEB_UI_HOME:-~/.hermes-web-ui}/media/<request_id>.mp4 and creates the media directory if needed.
  • timeout_ms: maximum wait time. Defaults to 600000.

Example:

TOKEN="${AUTH_TOKEN:-}"
if [ -z "$TOKEN" ] && [ -n "${HERMES_WEB_UI_HOME:-}" ] && [ -f "$HERMES_WEB_UI_HOME/.token" ]; then
  TOKEN="$(cat "$HERMES_WEB_UI_HOME/.token")"
fi
if [ -z "$TOKEN" ] && [ -n "${HERMES_WEBUI_STATE_DIR:-}" ] && [ -f "$HERMES_WEBUI_STATE_DIR/.token" ]; then
  TOKEN="$(cat "$HERMES_WEBUI_STATE_DIR/.token")"
fi
if [ -z "$TOKEN" ] && [ -f "$HOME/.hermes-web-ui/.token" ]; then
  TOKEN="$(cat "$HOME/.hermes-web-ui/.token")"
fi
if [ -z "$TOKEN" ]; then
  echo "Missing Hermes Web UI token. Check AUTH_TOKEN, HERMES_WEB_UI_HOME, HERMES_WEBUI_STATE_DIR, or ~/.hermes-web-ui/.token." >&2
  exit 1
fi

BASE_URL="${HERMES_WEB_UI_URL:-}"
if [ -z "$BASE_URL" ]; then
  BASE_URL="http://127.0.0.1:${PORT:-8648}"
fi
BASE_URL="${BASE_URL%/}"

curl -sS -X POST "$BASE_URL/api/studio/media/grok-image-to-video" \
  -H "Authorization: Bearer $TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "image_path": "/absolute/path/to/input.png",
    "prompt": "Animate the subject with a slow cinematic push-in and subtle natural motion.",
    "duration": 8,
    "output_path": "/absolute/path/to/output.mp4"
  }'

If the response has code: "missing_xai_token", tell the user to set XAI_API_KEY or complete xAI OAuth login in Hermes Web UI before retrying.

Return the generated output_path.

अक्सर पूछे जाने वाले सवाल

अगर यह टूल विफल हो तो क्या एजेंट कोई दूसरा वीडियो टूल इस्तेमाल कर सकता है?

नहीं। स्किल कहती है कि रुककर गलती बताई जाए, किसी दूसरे जनरेटर पर न जाया जाए।

क्या मैं अपनी xAI key चैट में डालूँ?

नहीं। सर्वर xAI क्रेडेंशियल खुद जाँचता है, इसलिए keys बातचीत में आने की ज़रूरत नहीं।

एजेंट Web UI का पता कहाँ से लेता है?

वह पहले एनवायरनमेंट में सेट पता जाँचता है, फिर पोर्ट सेटिंग, और आख़िर में डिफ़ॉल्ट लोकल पता।

जानकारी

लेखक का मूल विवरण

Animate a local image into a short mp4 video through Hermes Web UI using xAI Grok Imagine.

repo: EKKOLearnAI/ekko-studio

लोकप्रियता

GitHub स्टार
12k
रैंकिंग में स्थान
#11583
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

1password

12k

यह आपके एजेंट को 1Password CLI से कमांड और कॉन्फ़िग फ़ाइलों के लिए सीक्रेट लेने में मदद करती है, बिना उन्हें चैट, लॉग या सेव फ़ाइलों में दिखाए।

कोडिंगसिक्योरिटी

apple-notes

12k

यह आपके एजेंट को Mac पर memo कमांड लाइन टूल से Apple Notes बनाने, खोजने, पढ़ने, बदलने, ले जाने या मिटाने में मदद करती है।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

apple-reminders

12k

यह आपके एजेंट को Mac पर remindctl टूल से Apple Reminders और रिमाइंडर लिस्ट देखने, बनाने, बदलने, पूरा करने या मिटाने में मदद करती है।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

document-to-action-items

12k

यह आपके एजेंट को दस्तावेज़, मीटिंग ट्रांस्क्रिप्ट या नोट्स से कार्यों, ज़िम्मेदारों, समय-सीमाओं और फ़ैसलों की साफ़ तालिका बनाने में मदद करती है।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

मिलती-जुलती skills