L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

xai-grok-imagine-text-to-video

xai-grok-imagine-text-to-video

XAI | Grok Imagine | Text to Video. Generate videos from text with configurable aspect ratio, duration, and resolution. Triggers: text to video, grok, xai, video generation, t2v

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: xai-grok-imagine-text-to-video description: "XAI | Grok Imagine | Text to Video. Generate videos from text with configurable aspect ratio, duration, and resolution. Triggers: text to video, grok, xai, video generation, t2v" allowed-tools: Bash(curl *), WebFetch

XAI | Grok Imagine | Text to Video

Generate videos from text descriptions using xAI's Grok Imagine with configurable aspect ratios, duration, and up to 720p resolution.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "xai-grok-imagine-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "A hot air balloon rising over a lavender field at sunrise",
      "duration": 6,
      "aspect_ratio": "16:9",
      "resolution": "720p"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring16:9Aspect ratio. enum: 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16
durationinteger6Video duration in seconds.
promptstringText description of the desired video.
resolutionstring720pOutput resolution. enum: 480p, 720p

Examples

Cinematic landscape:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "xai-grok-imagine-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "A thunderstorm rolling across a vast prairie, lightning illuminating the clouds",
      "duration": 8,
      "aspect_ratio": "16:9",
      "resolution": "720p"
    }
  }'

Vertical short-form content:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "xai-grok-imagine-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "A mixologist crafting a cocktail with dramatic flair, pouring from a height",
      "duration": 5,
      "aspect_ratio": "9:16",
      "resolution": "720p"
    }
  }'

Quick square preview:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "xai-grok-imagine-text-to-video",
    "version": "0.0.1",
    "input": {
      "prompt": "A goldfish swimming in a crystal-clear bowl with bubbles rising",
      "duration": 4,
      "aspect_ratio": "1:1",
      "resolution": "480p"
    }
  }'

Related Models

Documentation

Skills enregistrées