Short answer: You can generate image in xAI by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the xAI Generate Image action to a workflow, map its 3 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Model model | options | Required | Model. Options: Grok 2 Image |
Prompt prompt | string | Required | Prompt (required) |
Number of Images n | string | Optional | 1 |
{"model": "{{trigger.model}}","prompt": "{{trigger.prompt}}","n": "1"}
{"data": [{"url": "https://example.com/image.png","revised_prompt": "..."}]}
Use these fields in downstream nodes for routing, logging, or error handling.
Any of these apps can fire this action as part of a workflow.