设计与多媒体

Apidot Grok Imagine Api

试用

Use APIDot for Grok Imagine API workflows, including xAI Grok Imagine image generation, image editing, text-to-video, image-to-video, Grok Imagine Video 1.5,...

它能做什么

Use APIDot for Grok Imagine API workflows, including xAI Grok Imagine image generation, image editing, text-to-video, image-to-video, Grok Imagine Video 1.5, async task submission, task_id handling, polling, task status, webhook integration, and APIDot docs routing.

技能文档

APIDot Grok Imagine API

Use APIDot as a Grok Imagine-focused API surface for xAI image generation, image editing, text-to-video, image-to-video, polling, and webhook delivery.

This skill is for routing Grok Imagine questions to the right APIDot docs, model pages, reference notes, and async integration guidance. It is documentation-only: it includes no scripts, makes no network requests, and does not store credentials.

This release contains SKILL.md plus non-executable notes in references/api.md. It includes no executable files, install-time automation, review automation helpers, bundled API clients, automatic network calls, or stored credentials.

Start on APIDot

Use these APIDot entry points when coming from ClawHub:

When To Use

Use this skill when the user asks to:

  • Build a Grok Imagine API integration with APIDot.
  • Generate images or videos with Grok Imagine through APIDot.
  • Use prompt-only generation or single-reference image guidance when supported by the current APIDot docs.
  • Route between Grok Imagine image workflows and Grok Imagine video workflows.
  • Implement APIDot async media jobs with task submission, task status polling, or webhook callbacks.
  • Find APIDot Grok Imagine docs, model pages, or examples.

Security Rules

  • Treat APIDOT_API_KEY as a secret.
  • Keep APIDot API keys in server-side environment variables or a backend secret manager.
  • Never place an API key in browser code, frontend bundles, public repos, logs, screenshots, or chat output.
  • Do not make live API calls unless the user explicitly asks and provides a safe server-side environment.
  • Do not invent API facts, commercial terms, model availability, reliability claims, performance claims, or competitor comparisons.
  • Use current APIDot docs and model pages for model-specific request fields and current product details.

Grok Imagine Workflow

APIDot Grok Imagine generation follows the shared async task pattern:

  1. Choose the Grok Imagine request mode from the current APIDot docs.
  2. Submit the generation request through the documented APIDot async generation flow.
  3. Save the returned data.task_id immediately.
  4. Poll task status with the documented task status API for local tests.
  5. Use callback_url webhook delivery for production queues or user workflows that may outlive the current page.
  6. Store final image or video URLs only after the task reaches a terminal success state.

Do not guess model-specific payload fields. If the user needs copyable request examples, point them to the current APIDot docs or general APIDot examples.

Model Routing

Start from the user's Grok Imagine task, then open the matching APIDot source:

User GoalStart Here
Browse APIDot Grok Imagine model pagehttps://apidot.ai/models/grok-imagine
Build with Grok Imaginehttps://apidot.ai/docs/grok-imagine
Build with Grok Imagine Video 1.5https://apidot.ai/docs/grok-imagine-video-1-5
Read APIDot API docshttps://apidot.ai/docs
Learn APIDot quickstart flowhttps://apidot.ai/docs/quickstart
Implement webhookshttps://apidot.ai/docs/webhooks
Use general APIDot exampleshttps://github.com/APIDotAI/apidot-examples

For Grok Imagine request modes, prefer the live APIDot model page and docs pages. Do not copy request fields from another image or video model family unless the APIDot docs show the same field.

Use references/api.md for a local, non-executable summary of Grok Imagine model routing, request planning, and async workflow notes.

Integration Guidance

  • Use apidot-image-generation-api when the user needs broad image generation guidance across several model families.
  • Use apidot-video-generation-api when the user needs broad video generation guidance across several model families.
  • Use this skill when the user is specifically building with Grok Imagine through APIDot.
  • Ask which media task the user needs before choosing a model-specific example: image generation, image editing, text-to-video, image-to-video, product concept, campaign creative, or social clip.
  • Persist task_id, selected model, user ID, source media references, request status, and final media URLs together.
  • Validate source image URLs before submitting workflows that depend on reference images.
  • Treat webhook handlers as idempotent. Duplicate callback deliveries should not create duplicate visible results.
  • Retry transient network failures with backoff. Do not retry invalid payloads unchanged.
  • Avoid logging API keys, private prompts, private media URLs, generated media URLs, or callback URLs.

相关技能

Use APIDot for Grok Imagine Image Quality API workflows, including high-fidelity image generation, image editing, reference-guided images, 1K, 2K, output for...

Grok Imagine Video 1.5 API on APIDot for xAI image-to-video generation, reference image animation, prompt-guided motion, short video clips, duration planning...

Use APIDot for GPT Image 2 API workflows, including text-to-image API, image editing API, image-to-image API, reference image generation, async task submissi...

2 次安装

Generate and edit images and videos with Grok Imagine through RunAPI. Use when the user asks an agent to create, edit, animate, or transform media with Grok Imagine. Default to the RunAPI CLI for one-off generation; use SDKs only when the user is integrating RunAPI into an app or backend.

10 次安装

Use APIDot for image generation API and image editing API workflows, including text-to-image API, image-to-image API, GPT Image 2 API, Nano Banana API, Nano...

5 次安装1 星标

Use APIDot async workflow for AI generation APIs, including task submission, task_id handling, polling API, task status API, callback_url, webhook API, retry...

5 次安装