Install any skill in seconds. Free to start, no credit card required.
Get Started Free →xAI Grok image and video generation guide covering authentication, endpoints, prompt structure, image editing, reference-image video, and async polling.
.claude/skills/video-production-buddy-grok-media/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -17% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 27% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -4% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -12% | 0% |
Use this skill when working with xAI media models in Video Production Buddy.
grok-imagine-image for image generation and image editinggrok-imagine-video for text-to-video, image-to-video, and reference-image videoXAI_API_KEYhttps://api.x.ai/v1Authorization: Bearer $XAI_API_KEYPOST /images/generationsmodelpromptnaspect_ratioresolutionPOST /images/editsimage for one source imageimages for multi-image compositingPOST /videos/generationsGET /videos/{request_id}status == "done"failed, expiredimage: {"url": ...}reference_images: [{"url": ...}, ...]<IMAGE_1>, <IMAGE_2>480p and 720pgrok-imagine-image: $0.02 per generated imagegrok-imagine-image edits/composites: add $0.002 per input imagegrok-imagine-video:480p: $0.05 per second720p: $0.07 per secondgrok-imagine-video image-conditioned requests: add $0.002 per input image<IMAGE_1><IMAGE_2><IMAGE_3>| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 15,389 | 7,028 | -54% | 1 | 1 | 0% | 2,945 | 2,443 | -17% | 0 | 0 | — |
case-02 | fail→pass | 11,830 | 9,238 | -22% | 1 | 1 | 0% | 2,143 | 2,731 | +27% | 0 | 0 | — |
case-03 | fail→pass | 15,022 | 8,739 | -42% | 1 | 1 | 0% | 3,028 | 2,892 | -4% | 0 | 0 | — |
case-04 | fail→pass | 19,283 | 8,605 | -55% | 1 | 1 | 0% | 3,286 | 2,544 | -23% | 0 | 0 | — |
case-05 | fail→pass | 15,006 | 7,280 | -51% | 1 | 1 | 0% | 2,508 | 2,218 | -12% | 0 | 0 | — |
case-06 | fail→pass | 6,629 | 7,705 | +16% | 1 | 1 | 0% | 1,070 | 2,215 | +107% | 0 | 0 | — |
case-20 | fail→pass | 12,581 | 4,251 | -66% | 1 | 1 | 0% | 2,192 | 1,785 | -19% | 0 | 0 | — |
case-07 | pass→pass | 9,579 | 5,239 | -45% | 1 | 1 | 0% | 1,835 | 2,000 | +9% | 0 | 0 | — |
case-08 | fail→pass | 14,168 | 6,912 | -51% | 1 | 1 | 0% | 2,617 | 2,420 | -8% | 0 | 0 | — |
case-09 | pass→pass | 3,861 | 2,829 | -27% | 1 | 1 | 0% | 712 | 1,479 | +108% | 0 | 0 | — |
case-10 | fail→pass | 10,888 | 2,283 | -79% | 1 | 1 | 0% | 1,965 | 1,330 | -32% | 0 | 0 | — |
case-11 | fail→pass | 23,888 | 2,982 | -88% | 1 | 1 | 0% | 2,107 | 1,508 | -28% | 0 | 0 | — |
case-12 | fail→pass | 7,499 | 2,903 | -61% | 1 | 1 | 0% | 1,303 | 1,458 | +12% | 0 | 0 | — |
case-13 | fail→pass | 10,009 | 2,056 | -79% | 1 | 1 | 0% | 1,770 | 1,272 | -28% | 0 | 0 | — |
case-14 | fail→pass | 10,488 | 1,864 | -82% | 1 | 1 | 0% | 2,041 | 1,285 | -37% | 0 | 0 | — |
case-15 | fail→pass | 17,185 | 13,593 | -21% | 1 | 1 | 0% | 3,585 | 3,728 | +4% | 0 | 0 | — |
case-16 | pass→pass | 12,002 | 5,178 | -57% | 1 | 1 | 0% | 1,878 | 1,758 | -6% | 0 | 0 | — |
case-17 | pass→pass | 11,499 | 9,215 | -20% | 1 | 1 | 0% | 1,770 | 2,411 | +36% | 0 | 0 | — |
case-18 | pass→pass | 11,460 | 4,723 | -59% | 1 | 1 | 0% | 2,261 | 1,897 | -16% | 0 | 0 | — |
case-19 | pass→pass | 11,459 | 4,400 | -62% | 1 | 1 | 0% | 2,115 | 1,545 | -27% | 0 | 0 | — |
case-21 | fail→pass | 11,201 | 5,535 | -51% | 1 | 1 | 0% | 2,050 | 1,954 | -5% | 0 | 0 | — |
case-22 | pass→pass | 8,524 | 4,707 | -45% | 1 | 1 | 0% | 1,442 | 1,815 | +26% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +68 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.