xai-grok-imagine-image

Generate and edit production images via the Grok Imagine API.

123|21|Updated Jul 11, 2026
One-click install
npx skills add https://github.com/calesthio/generative-media-skills --skill xai-grok-imagine-image
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xai-grok-imagine-image
Source: https://github.com/calesthio/generative-media-skills/tree/main/skills/providers/image-generation/xai-grok-imagine-image
Command: npx skills add https://github.com/calesthio/generative-media-skills --skill xai-grok-imagine-image

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams generate and edit production-ready images with xAI's first-party Grok Imagine API while managing provider changes, artifact handling, costs, rights, privacy, and quality assurance.

Core Features & Use Cases

  • Image Generation: Create synchronous text-to-image outputs with model, aspect-ratio, resolution, variation, and response-format controls.
  • Reference Editing: Edit images using up to three references with explicit roles, protected invariants, and controlled iteration.
  • Production Operations: Plan Batch workflows, handle retries and rate limits, acquire artifacts securely, reconcile costs, and preserve provenance.
  • Review and Governance: Validate MIME types, pixels, dimensions, text, visual fidelity, rights, consent, privacy, safety, and AI disclosure before release.
  • Use Case: Create hero candidates for interactive art direction, then queue thousands of catalog thumbnails overnight with durable storage and delivery QA.

Quick Start

Use the xai-grok-imagine-image skill to plan and execute a controlled Grok Imagine image-generation workflow for the supplied brief, including prompts, API requests, artifact validation, cost controls, provenance, rights review, and final QA.

Frequently Asked Questions about xai-grok-imagine-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate production-ready images using the Grok Imagine API?

To generate production-ready images with the Grok Imagine API, you use synchronous text-to-image controls for model selection, aspect ratio, resolution, and response format, while applying artifact validation and cost reconciliation.

Can I edit existing product images using multiple references in Grok Imagine?

Yes, Grok Imagine reference editing supports up to three references with explicit roles, protected invariants, and controlled iteration, allowing you to modify existing images while maintaining core visual elements.

What is the best way to handle batch generation for thousands of catalog thumbnails?

For catalog-scale batch generation, plan workflows to handle retries and rate limits, acquire artifacts securely, reconcile costs, and preserve provenance with durable storage and delivery QA.

How does image artifact validation work for production QA?

Image artifact validation for production QA checks MIME types, pixels, dimensions, text, visual fidelity, rights, consent, privacy, safety, and AI disclosure before release to ensure production readiness.

Does Grok Imagine image generation support rights and privacy governance controls?

Yes, Grok Imagine image generation requires documented provenance, privacy, consent, rights, safety, and human review controls to govern the release of generated and edited production images.