← All tools

7 reviewed operations

Grok

xAI models — chat, web/X search, code execution, image generation/editing, and text-to-speech.

Chat Completions

Varies · quoted $0.004952 / request

Generates text from a Grok model, messages, and max_tokens in an OpenAI-compatible format. Returns choices with message content.

POST · Paid per call with x402

Chat with Code Execution

Varies · quoted $4.605778 / request

Generates text from messages with Grok models that can write and execute code in a sandboxed environment. Returns an output array and a status.

POST · Paid per call with x402

Chat with Web Search

Varies · quoted $4.605778 / request

Generates text from a model and messages, grounded in live web search results. Returns an output array and a status.

POST · Paid per call with x402

Chat with X Search

Varies · quoted $4.605778 / request

Generates text from a model and messages, grounded in live X (Twitter) search results. Returns an output array and a status.

POST · Paid per call with x402

Image Editing

Varies · quoted $0.001 / request

Edits an existing image from a source image URL and a text prompt. Returns a temporary hosted URL or base64 image bytes.

POST · Paid per call with x402

Image Generation

Varies · quoted $0.046 / request

Generates images from a text prompt and a Grok Imagine model. Returns a temporary hosted URL or base64 image bytes.

POST · Paid per call with x402

Text-to-Speech

$0.001 / request

Converts text and a language code into spoken audio. Supports multiple voices, speech tags, and output formats.

POST · Paid per call with x402

Give your agent a Weft account.

Create an account, set a spending limit, and connect your agent. It can then search this catalog and pay inside your policy.

· Sign in