Api Endpoint

BlockRun.AI

Generate images with GPT Image 1, ChatGPT Images 2.0, Nano Banana, or Grok Imagine.

Open interactive test console

Offering

Provider
BlockRun.AI
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://arc.blockrun.ai/api/v1/images/generations
MIME type
application/json
First seen
2026-10-16T01:50:03.601Z
Last seen
Tags
X402, AI, blockchain, ai-&-ml

Payment pricing

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

Payment option 1
22000 atomic units
Atomic price: 22000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "22000",
    "payTo": "0x634D274e67DafaF76C54153aa113906a606e1E0B"
  }
]

Observed health

Status
Healthy
Latest latency
81 ms
Average latency
152 ms
HTTP status
204
Last checked
Reachability
100% over 12 checks

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

Input schema

{
  "body": {
    "type": "object",
    "required": [
      "prompt"
    ],
    "properties": {
      "n": {
        "type": "integer",
        "default": 1,
        "maximum": 4,
        "minimum": 1,
        "description": "Number of images to generate"
      },
      "size": {
        "enum": [
          "1024x1024",
          "1792x1024",
          "1024x1792"
        ],
        "type": "string",
        "default": "1024x1024",
        "description": "Image dimensions"
      },
      "model": {
        "enum": [
          "openai/gpt-image-1",
          "openai/gpt-image-2",
          "google/nano-banana",
          "google/nano-banana-2",
          "google/nano-banana-pro",
          "zai/cogview-4",
          "xai/grok-imagine-image"
        ],
        "type": "string",
        "description": "Image model to use"
      },
      "prompt": {
        "type": "string",
        "maxLength": 4000,
        "minLength": 1,
        "description": "Text description of the image to generate"
      }
    }
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
}

Output schema

{
  "type": "object",
  "properties": {
    "example": {
      "type": "object",
      "properties": {
        "data": {
          "type": "array"
        },
        "created": {
          "type": "number"
        }
      }
    }
  }
}