design mediaby video-production-buddy
Grok Media
video-production-buddy/grok-media
xAI Grok image and video generation guide covering authentication, endpoints, prompt structure, image editing, reference-image video, and async polling.
What it changes
Passed 22 of 22 test cases with the skill, and 7 of 22 without it.
Without skill32%
With skill100%
Checks it passed that the model alone missed
- Polls endpoint GET /videos/{request_id}.
- Specifies the endpoint POST /images/edits.
- Uses the image field to pass the input image.
and 21 more in the full report
15 fixed7 passed either way0 still failing0 broke
- Pass-rate lift
- +68 pp
- Tokens
- -4%
- Agent turns
- 0%
- Response time
- -53%
Model gemini-3.6-flashMeasured 8/17/2026v122 of 22 cases passed with skill
See it in action
One of 15 test cases the skill fixed. Same model, same prompt, with and without the skill.
PromptWhat is the xAI API pricing for generating a 5-second text-to-video clip in 720p versus 480p resolution?
What was checked, without and with the skill| Checked | Without skill | With skill |
|---|
| Quotes 480p video generation at $0.05 per second. | Missed | Passed |
|---|
| Quotes 720p video generation at $0.07 per second. | Missed | Passed |
|---|
What's inside
The instructions your model reads when the skill loads.
SKILL.md122 linessingle file
Grok Media
Use this skill when working with xAI media models in Video Production Buddy.
Models
grok-imagine-image for image generation and image editing
grok-imagine-video for text-to-video, image-to-video, and reference-image video
Authentication
- Env var:
XAI_API_KEY
- Base URL:
https://api.x.ai/v1
- Header:
Authorization: Bearer $XAI_API_KEY
Image API
Text-to-image
- Endpoint:
POST /images/generations
- Core fields:
model
prompt
n
aspect_ratio
resolution
Image edit
- Endpoint:
POST /images/edits
- Use
image for one source image
- Use
images for multi-image compositing
- Each source image can be:
- a public HTTPS URL
- a base64 data URI
Image prompting
- Grok responds well to direct natural language
- For edits, describe only the intended change and preserve everything else implicitly
Track record
Benchmark
22 / 22
test cases passed, vs 7 / 22 without
Adoption
- Users
- 10
- Times used
- 257
Safety and source details
SkillSafety
✓ 3 of 3 passed✓Code scan15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/3/2026
View 15 scanner checks
live_secretremote_code_executionreverse_shelldata_exfiltrationssrf_metadataagent_snoopinganti_refusaldestructive_commandsobfuscated_unicodeunicode_homoglyphopaque_blobsuspicious_urltool_overreachtrigger_abuseprompt_injection_phrasing
✓IntentSafe
LLM judge · does the skill do what it claims
✓ContentClean
LLM judge · policy & harmful-content review
Source
Importedvideo-production-buddy / video-production-buddy
.agents/local/skills/grok-media/SKILL.md
View on GitHub ↗License AGPL-3.0Imported 8/3/2026Version v1