Tool detail
BlockRun.AI
Generates one or more images from a text prompt using a chosen model, billed per request.
Categories: Image generation, Video generation
Use when
- generate an image from a text prompt
- create multiple image variants in one call with n
- generate an image at a specific pixel size
Not for
- not for video output — see the videos/generations endpoint
Inputs
POST JSON body: { prompt } (required); model, n (integer), size e.g. 1024x1024 (optional).
Admitted input schema
{
"type": "object",
"properties": {
"model": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Image model ID (e.g., openai/gpt-image-1, openai/gpt-image-2)"
},
"n": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Number of images to generate"
},
"prompt": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Text description of the image to generate"
},
"size": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"description": "Image dimensions (e.g., 1024x1024)"
}
},
"required": [
"prompt"
],
"additionalProperties": false
}Endpoint
- Method
POST- URL
https://blockrun.ai/api/v1/images/generations
Payment
- Protocol
- x402
- Listed price
- 0.041 USDC per request on Base
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- POST https://blockrun.ai/api/v1/images/generations
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z