Extensions
xAI Grok icon

xAI Grok

Grok 4.6 chat plus Grok Imagine image generation, with history, system prompts, and temperature control.

18 September 2026v2.0
$7.99
AI/ML

About

xAI Extension 2.0 talks to the current Grok API from App Inventor. Generate text with Grok 4.6 / 4.5 / 4.3 / grok-build-0.1, or images with Grok Imagine 2.0. Optional chat history keeps context; one API key unlocks both.

Features

  • GenerateText with Grok 4.6, 4.5, 4.3, and grok-build-0.1
  • GenerateImage with grok-imagine-image-2.0 and quality variants
  • ChatHistory toggle to preserve conversational context
  • ResetChatHistory helper for fresh sessions
  • System prompts, temperature, and max-token controls
  • Events for text responses, image URLs, and errors

Documentation

xAI Grok 4.6 text and Grok Imagine image generation with optional chat history. Set ApiKey, pick a model, then GenerateText or GenerateImage.

Docs13

ErrorOccurred

Event

Triggered when an error occurs

ParameterType
errorMessagetext

ImageResponseReceived

Event

Triggered when an image response is received

ParameterType
imageUrltext

TextResponseReceived

Event

Triggered when a text response is received

ParameterType
responsetext
Blocks20
xAI Grok block 1xAI Grok block 2xAI Grok block 3xAI Grok block 4xAI Grok block 5xAI Grok block 6xAI Grok block 7xAI Grok block 8xAI Grok block 9xAI Grok block 10xAI Grok block 11xAI Grok block 12xAI Grok block 13xAI Grok block 14xAI Grok block 15xAI Grok block 16xAI Grok block 17xAI Grok block 18xAI Grok block 19xAI Grok block 20

Compatible platforms

MIT App InventorKodularNiotronAndroid BuilderThunkable

Related extensions