Api Endpoint

WithZero

Generate images from a text prompt with xAI's Grok Imagine quality tier. Returns hosted image URLs.

Open interactive test console

Offering

Provider
agents.withzero.xyz
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agents.withzero.xyz/zcj/z9ebboghoami/api/v1/image/images/grok-imagine
MIME type
Not provided
First seen
2026-10-16T01:52:13.818Z
Last seen
Tags
Media, Research, Publishing, Automation, Memory

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.05 USDC
Atomic price: 50000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "payTo": "0x9811c0900fcb719bbc363a3846d2d6db2771dea8"
  }
]

Observed health

Status
Reachable
Latest latency
118 ms
Average latency
168 ms
HTTP status
400
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "example": {
        "count": 1,
        "prompt": "A watercolor painting of a lighthouse at sunrise"
      },
      "properties": {
        "count": {
          "default": 1,
          "description": "How many images to generate (1–4).",
          "maximum": 4,
          "minimum": 1,
          "type": "integer"
        },
        "prompt": {
          "description": "Text description of the image to generate.",
          "maxLength": 4000,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "prompt",
        "count"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "example": {
            "count": 1,
            "prompt": "A watercolor painting of a lighthouse at sunrise"
          },
          "properties": {
            "count": {
              "default": 1,
              "description": "How many images to generate (1–4).",
              "maximum": 4,
              "minimum": 1,
              "type": "integer"
            },
            "prompt": {
              "description": "Text description of the image to generate.",
              "maxLength": 4000,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "prompt",
            "count"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}