xAI Grok image and video generation guide covering authentication, endpoints, prompt structure, image editing, reference-image video, and async polling.
56
62%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/grok-media/SKILL.mdUse this skill when working with xAI media models in OpenMontage.
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>0af32ce
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.