kitsune-den/skulk-skills/xai-imagegen
Claude Code and agent skill by kitsune-den/skulk-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate images using xAI's Grok image generation API (model grok-imagine-image). Use when the user asks to create, generate, or make an image, picture, illustration, artwork, avatar, banner, cover art, or visual. Also use for editing images with text prompts. Requires an xAI API key from https://console.x.ai. NOT for image analysis/vision (use the image tool instead).
Install
npx vskill@latest install kitsune-den/skulk-skills/xai-imagegenSKILL.md
xAI Image Generation
Generate images from text prompts using xAI's Grok Aurora model.
Setup
API key must be available via either:
- Env var:
XAI_API_KEY - Credentials file:
~/.config/xai/credentials.json→{"api_key": "xai-..."}
Get a key at https://console.x.ai
Quick Generate
Run the bundled script:
Returns the local file path on success.
Direct API Usage
Response contains a temporary URL — download immediately:
Parameters
| Param | Required | Notes | |
|---|---|---|---|
model | Yes | Use grok-imagine-image | |
prompt | Yes | Text description of desired image | |
n | No | Number of images (default: 1) | |
response_format | No | url (default) or b64_json |
Prompt Tips
- Be specific and descriptive — style, mood, composition, colors
- Reference art styles: "in the style of cyberpunk illustration", "watercolor", "pixel art"
- Specify format when relevant: "square album cover", "wide banner", "portrait avatar"
- Grok handles text-in-images reasonably well (titles, labels)
Image Editing
Provide a source image URL alongside a prompt to edit existing images. See references/api-details.md for the full editing API.
Cost
Each generation costs ~$0.02 (200M cost ticks). Budget accordingly for batch generation.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/xai-imagegen/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kitsune-den/skulk-skills/xai-imagegen)