xai-imagegen

Generate images from text prompts using xAI's Grok image generation API.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/Kitsune-Den/skulk-skills --skill xai-imagegen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xai-imagegen
Source: https://github.com/Kitsune-Den/skulk-skills/tree/main/skills/xai-imagegen
Command: npx skills add https://github.com/Kitsune-Den/skulk-skills --skill xai-imagegen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, curl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Image generation from natural language prompts using xAI's Grok image generation API (grok-imagine-image) is streamlined, enabling rapid creation of visuals without design tooling.

Core Features & Use Cases

  • Generate images from prompts (portraits, scenes, concepts) using grok-imagine-image
  • Support editing prompts for refinements and variations
  • Easy integration with shell scripts for automated batch generation

Quick Start

Run the generate script with a prompt to generate and save the image.

Frequently Asked Questions about xai-imagegen

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

FAQPage Schema
How do I generate images from text prompts using the xAI Grok API?

You can generate images from text prompts using xAI's Grok API by running a shell script that sends requests via curl and parses the image output with jq.

Can I automate batch image generation with shell scripts?

Yes, you can automate batch image generation by integrating the grok-imagine-image API calls into shell scripts, enabling rapid creation of multiple visuals without manual design tooling.

Do I need curl and jq to use the xAI image generation API?

Yes, curl and jq are required dependencies to execute the shell-based workflow, handle the HTTP requests to the xAI API, and parse the returned image generation responses.

What is the best way to create variations of AI-generated concept art?

The best way to create variations of AI-generated concept art is by editing your natural language prompts and resubmitting them to the grok-imagine-image API for refinements.

What types of visuals can I create with prompt-based image generation?

Prompt-based image generation with the xAI Grok API supports creating illustrations, avatars, banners, and concept art, covering a wide range of creative tasks from portraits to scenes.