ワンクリックで
wip-xai-grok
xAI Grok API. Search the web, search X, generate images, generate video.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
xAI Grok API. Search the web, search X, generate images, generate video.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | wip-xai-grok |
| version | 1.0.3 |
| description | xAI Grok API. Search the web, search X, generate images, generate video. |
| homepage | https://github.com/wipcomputer/wip-xai-grok |
| metadata | {"category":"search,media","api_base":"https://api.x.ai/v1","capabilities":["api","web-search","x-search","image-generation","image-editing","video-generation"],"dependencies":[],"interface":"REST"} |
| openclaw | {"emoji":"🔍","install":{"env":["XAI_API_KEY"]}} |
| author | {"name":"Parker Todd Brooks"} |
xAI Grok API. Sensor (search) + Actuator (generate). All xAI functions in one tool.
Use search_web for:
Use search_x for:
Use generate_image for:
Use edit_image for:
Use generate_video for:
const result = await search_web({ query: "latest news about AI" });
// result: { content, citations, usage, raw_response }
Options: query (required), model, allowed_domains (max 5), excluded_domains (max 5), enable_image_understanding
const result = await search_x({ query: "AI thoughts", allowed_x_handles: ["elonmusk"] });
Options: query (required), model, allowed_x_handles (max 10), excluded_x_handles (max 10), from_date, to_date, enable_image_understanding, enable_video_understanding
const result = await generate_image({ prompt: "a red cube", n: 1, aspect_ratio: "1:1" });
// result: { images: [{ url, revised_prompt }] }
Options: prompt (required), model, n (1-10), response_format ("url"|"b64_json"), aspect_ratio
Cost: $0.02 per image. URLs are temporary ... download promptly.
const result = await edit_image({ prompt: "make it blue", image: "https://..." });
Options: prompt (required), image (required, URL or file path or base64), model, n, response_format
Cost: $0.022 per image (input + output).
const { request_id } = await generate_video({ prompt: "sunset timelapse", duration: 10 });
const result = await wait_for_video({ request_id });
// result: { status: "completed", url: "https://..." }
Options: prompt (required), model, duration (1-15 sec), resolution ("480p"|"720p"), aspect_ratio, image (seed image URL)
Cost: $0.05/sec at 480p, $0.07/sec at 720p. URLs are temporary.
Poll or wait for async video generation. wait_for_video is a convenience wrapper that polls until complete or timeout.
Set via environment or 1Password: op://Agent Secrets/X API/api key
Grok reasoning models can take 30-60+ seconds. This is normal.
Image and video URLs expire. Download or process them immediately after receiving.