- Category: artificial intelligence
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 8
- Triggers: 0
- Slug:
GROK - Version: 00000000_00
Tools
Create Embeddings
Create Embeddings
Create Response
Create Response
Slug:
GROK_CREATE_RESPONSEGenerate a bounded, non-streaming Grok response from text or structured multimodal input, with optional reasoning, search, and function or web-search tools. Responses are ephemeral by default; set store=true to retain one for 30 days.Input Parameters
Plain text, or structured message, function-call, and function-result items containing text, images, or files. To continue a tool call without store=true, replay the model’s function_call item followed by its function_call_output.
Whether xAI should retain the input and response for retrieval or continuation. Defaults to false; stored responses are retained for 30 days.
Output
Generate Image
Generate Image
Slug:
GROK_GENERATE_IMAGEGenerate one or more images from a text prompt with an xAI image-generation model.Input Parameters
Output resolution supported by grok-imagine models; omit to use the provider default.
string ("1:1" | "3:4" | "4:3" | "9:16" | "16:9" | "2:3" | "3:2" | "9:19.5" | "19.5:9" | "9:20" | "20:9" | "1:2" | "2:1" | "auto")
Output aspect ratio supported by grok-imagine models; omit to use the provider default.
Image result format: ‘url’ for a generated-file URL or ‘b64_json’ for base64-encoded image bytes.
Output
Generate Video
Generate Video
Slug:
GROK_GENERATE_VIDEOStart asynchronous xAI video generation from a text prompt, optionally conditioned on an image, and return a request ID for status checks.Input Parameters
Optional public URL or base64 data URL for a JPEG, PNG, or WebP image to use as the video’s first frame.
Output aspect ratio supported by xAI.
Output
Get API Key Info
Get API Key Info
Get Current Account
Get Current Account
Get Video
Get Video