grok-image-to-video
O que ela faz
Esta skill anima uma imagem fixa e a transforma em um vídeo curto usando o xAI Grok Imagine, acessado pelo Hermes Web UI. Ela é para quem quer um clipe em movimento feito a partir de uma foto que já tem.
Quando usar
- ✓Quando você tem uma imagem e quer um clipe animado curto feito a partir dela.
- ✓Quando você quer um movimento suave de câmera ou um movimento natural adicionado a uma imagem fixa.
- ✓Quando você precisa que o arquivo MP4 pronto seja salvo para poder compartilhá-lo.
Link da skill
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/skills/grok-image-to-video/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Anime esta foto de paisagem em um vídeo curto com um zoom lento.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente envia a imagem e um prompt de movimento para o endpoint de mídia do Hermes Web UI. O servidor verifica as credenciais, aguarda o vídeo terminar e pode salvar o arquivo MP4 para você.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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:
HERMES_WEB_UI_URLenvironment variable, if set.http://127.0.0.1:${PORT}, ifPORTis set.http://127.0.0.1:8648for the Web UI single-server default.
Common local ports:
- Development API backend:
http://127.0.0.1:8647. Use this withnpm 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_URLto the full base URL, or setPORTto usehttp://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:
AUTH_TOKENenvironment variable, if set.${HERMES_WEB_UI_HOME}/.token, ifHERMES_WEB_UI_HOMEis set.${HERMES_WEBUI_STATE_DIR}/.token, ifHERMES_WEBUI_STATE_DIRis set.~/.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>.mp4and creates themediadirectory 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.
Perguntas frequentes
O agente pode usar outra ferramenta de vídeo se esta falhar?
Não. A skill diz para parar e relatar o erro, em vez de recorrer a outro gerador.
Preciso colar minha chave do xAI no chat?
Não. O servidor verifica as credenciais do xAI por conta própria, então as chaves não precisam aparecer na conversa.
Onde o agente encontra o endereço do Web UI?
Ele verifica primeiro um endereço definido no ambiente, depois uma configuração de porta e, por fim, um endereço local padrão.
Detalhes
Descrição original do autor
Animate a local image into a short mp4 video through Hermes Web UI using xAI Grok Imagine.
repo: EKKOLearnAI/ekko-studio
Popularidade
- Estrelas no GitHub
- 12 mil
- Posição no ranking
- #11583
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
1password
12 milAjuda seu agente a usar a CLI do 1Password para obter segredos para comandos e arquivos de configuração, sem mostrá-los no chat, nos logs ou em arquivos salvos.
apple-notes
12 milAjuda seu agente a criar, pesquisar, ler, editar, mover ou apagar notas do Apple Notes em um Mac, usando a ferramenta de linha de comando memo.
apple-reminders
12 milAjuda seu agente a listar, criar, editar, concluir ou apagar lembretes e listas de lembretes do Apple Reminders em um Mac, usando a ferramenta remindctl.
document-to-action-items
12 milAjuda seu agente a transformar um documento, uma transcrição de reunião ou um conjunto de notas em uma tabela clara de tarefas, responsáveis, prazos e decisões.
Skills parecidas
blender-motion-state-inspection
280 milPermite inspecionar detalhes de animações em 3D. É útil para verificar poses, movimentos e o alinhamento de personagens em animações.
manim-video
280 milFaz seu agente criar vídeos explicativos animados. Ele usa o Manim para gerar gráficos e diagramas claros para conceitos técnicos.
remotion-video-creation
280 milOrienta seu agente na criação de vídeos usando React com a biblioteca Remotion. Ele cobre boas práticas para animações, áudio, legendas e outros elementos visuais.