Api Endpoint

BlockRun.AI

AI image generation API - pay per image with USDC on Base (hybrid sync/async)

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://blockrun.ai/api/v1/images/generations
MIME type
Not provided
First seen
2026-10-16T01:50:19.913Z
Last seen
Tags
AI, Inference, LLM, gateway

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
123 ms
Average latency
453 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

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

Input schema

{
  "properties": {
    "body": {
      "properties": {
        "model": {
          "description": "Image model ID (e.g., openai/gpt-image-1, openai/gpt-image-2)",
          "type": "string"
        },
        "n": {
          "description": "Number of images to generate",
          "type": "integer"
        },
        "prompt": {
          "description": "Text description of the image to generate",
          "type": "string"
        },
        "size": {
          "description": "Image dimensions (e.g., 1024x1024)",
          "type": "string"
        }
      },
      "required": [
        "prompt"
      ],
      "type": "object"
    }
  },
  "type": "object"
}

Output schema

{
  "properties": {
    "input": {
      "properties": {
        "body": {
          "properties": {
            "model": {
              "description": "Image model ID (e.g., openai/gpt-image-1, openai/gpt-image-2)",
              "type": "string"
            },
            "n": {
              "description": "Number of images to generate",
              "type": "integer"
            },
            "prompt": {
              "description": "Text description of the image to generate",
              "type": "string"
            },
            "size": {
              "description": "Image dimensions (e.g., 1024x1024)",
              "type": "string"
            }
          },
          "required": [
            "prompt"
          ],
          "type": "object"
        }
      },
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "created": {
              "type": "number"
            },
            "data": {
              "type": "array"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}