Api Endpoint

sol.blockrun.ai

AI chat completions API - pay per request with USDC on Solana

Open interactive test console

Offering

Provider
sol.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://sol.blockrun.ai/api/v1/images/image2image
MIME type
application/json
First seen
2026-10-16T02:01:07.550Z
Last seen
Tags
AI, Search

Payment pricing

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

Payment option 1
0.105001 USDC
Atomic price: 105001 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "105001",
    "payTo": "AQqnMFBwGZEoti85aTVRy8XYpKrho7GaMDx9ZB3CEeKA"
  }
]

Observed health

Status
Healthy
Latest latency
64 ms
Average latency
222 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

{
  "body": {
    "n": 1,
    "mask": "string",
    "size": "string",
    "image": "string",
    "model": "string",
    "prompt": "string",
    "quality": "low"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json",
  "bodyFields": {
    "n": {
      "type": "integer",
      "maximum": 10,
      "minimum": 1
    },
    "mask": {
      "type": "string",
      "description": "Base64 data URI of the mask (optional; OpenAI models only — rejected for google/nano-banana). Must decode to a PNG."
    },
    "size": {
      "type": "string",
      "description": "Exact output size; supported values are model-specific (see GET /api/v1/images/models)"
    },
    "image": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 4
        }
      ],
      "description": "Source image as a base64 data URI (data:image/<format>;base64,...), or an array of up to 4 images for fusion (OpenAI up to 4, Google nano-banana up to 3). Decoded bytes must be a real PNG, JPEG or WEBP image (Google models also accept HEIC/HEIF) and the base64 must be single-line (no newlines) — validated before the 402. Mislabeled mime types are normalized to the actual byte format."
    },
    "model": {
      "type": "string",
      "description": "Image model (openai/gpt-image-1, openai/gpt-image-2, openai/gpt-image-2.5-sunburst, google/nano-banana, google/nano-banana-pro)"
    },
    "prompt": {
      "type": "string",
      "description": "Text description of the edit"
    },
    "quality": {
      "enum": [
        "low",
        "medium",
        "high",
        "xhigh",
        "max",
        "auto"
      ],
      "type": "string",
      "description": "Any tier on GPT Image 2.5 (flare, sunburst); low or auto only on gpt-image-1 / gpt-image-2; refused elsewhere. Lower = faster"
    }
  },
  "discoverable": true
}

Output schema

{
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "body": {
          "type": "object",
          "required": [
            "prompt",
            "image"
          ],
          "properties": {
            "n": {
              "type": "integer",
              "maximum": 10,
              "minimum": 1
            },
            "mask": {
              "type": "string",
              "description": "Base64 data URI of the mask (optional; OpenAI models only — rejected for google/nano-banana). Must decode to a PNG."
            },
            "size": {
              "type": "string",
              "description": "Exact output size; supported values are model-specific (see GET /api/v1/images/models)"
            },
            "image": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 4
                }
              ],
              "description": "Source image as a base64 data URI (data:image/<format>;base64,...), or an array of up to 4 images for fusion (OpenAI up to 4, Google nano-banana up to 3). Decoded bytes must be a real PNG, JPEG or WEBP image (Google models also accept HEIC/HEIF) and the base64 must be single-line (no newlines) — validated before the 402. Mislabeled mime types are normalized to the actual byte format."
            },
            "model": {
              "type": "string",
              "description": "Image model (openai/gpt-image-1, openai/gpt-image-2, openai/gpt-image-2.5-sunburst, google/nano-banana, google/nano-banana-pro)"
            },
            "prompt": {
              "type": "string",
              "description": "Text description of the edit"
            },
            "quality": {
              "enum": [
                "low",
                "medium",
                "high",
                "xhigh",
                "max",
                "auto"
              ],
              "type": "string",
              "description": "Any tier on GPT Image 2.5 (flare, sunburst); low or auto only on gpt-image-1 / gpt-image-2; refused elsewhere. Lower = faster"
            }
          }
        }
      }
    },
    "output": {
      "type": "object",
      "properties": {
        "example": {
          "type": "object",
          "properties": {
            "data": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "revised_prompt": {
                    "type": "string"
                  }
                }
              }
            },
            "created": {
              "type": "number"
            }
          }
        }
      }
    }
  }
}