跳到正文
TakoAPI
返回技能列表

grok-imagine-video

由 devvgwardo 提供

Coding Agents & IDEs
1.3k下载量由 clawskills.sh 提供
5星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

xAI Grok Imagine API integration for image generation, text-to-video, image-to-video, and editing via natural.

描述

该技能的功能

Connects to xAI's Grok Imagine API to generate images and videos from text prompts, edit existing images or videos with natural language, and animate static images. Handles async video jobs with polling and automatic delivery via chat.

Combines image generation, video creation, and editing in one skill with built-in async polling, so you don't need separate tools or manual API wiring for long-running jobs.

何时使用

  • Generate product mockup images from text descriptions
  • Animate a static photo into a short clip
  • Edit a video's color grade or speed with a text prompt
  • Create multiple image variations to explore visual concepts
  • Produce social media video content from scene descriptions

示例工作流

输入

User asks: Generate a video of a golden retriever running through a sunny meadow

智能体
  1. 1

    Submit text-to-video request to Grok Imagine API with the prompt

  2. 2

    Receive job ID and begin polling for completion

  3. 3

    Send progress updates to user every few seconds

  4. 4

    Download completed video file to workspace on job success

输出

MP4 video file delivered to the user via chat

前置要求

  • XAI_API_KEY environment variable — obtain from https://console.x.ai/

安装

clawhub install devvgwardo/grok-imagine-video

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接