grok-imagine-video
oleh devvgwardo
Coding Agents & IDEsRingkasan
xAI Grok Imagine API integration for image generation, text-to-video, image-to-video, and editing via natural.
Deskripsi
Apa yang Dilakukan Skill Ini
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.
Kapan Menggunakannya
- 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
Contoh Alur Kerja
User asks: Generate a video of a golden retriever running through a sunny meadow
- 1
Submit text-to-video request to Grok Imagine API with the prompt
- 2
Receive job ID and begin polling for completion
- 3
Send progress updates to user every few seconds
- 4
Download completed video file to workspace on job success
MP4 video file delivered to the user via chat
Persyaratan
- XAI_API_KEY environment variable — obtain from https://console.x.ai/
Instalasi
clawhub install devvgwardo/grok-imagine-videoJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.