Image edit (OpenAI-compatible)
POST https://agent402.tools/v1/images/edits
Listed in Coinbase x402 Bazaar
Edit an image with a prompt over x402 - OpenAI images.edit wire (reference images and a prompt in, inline base64 out) at $0.02 per picture. Send one to 4 PNG or JPEG reference images (256 px a side or more, up to 6 MB each) as base64 or data: URLs in JSON, or one as a multipart "image" file; the output is one JPEG of about one megapixel that follows the first reference's aspect ratio. Served by FLUX 3 Image Klein in about 10 seconds. No mask: describe the change in the prompt.
Other endpoints from agent402.tools
The same service's other paid functions that Hagglyai tracks, each with its own price. Functions outside Hagglyai's categories are not listed. Showing 50 of 217.
| Endpoint | Category | Price per call |
|---|---|---|
| GET /api/answer | Web search | $0.08 |
| GET /api/b20-new-tokens | On-chain data | $0.005 |
| GET /api/barcode-lookup | Products & prices | $0.005 |
| GET /api/block-info | On-chain data | $0.001 |
| GET /api/block-number | On-chain data | $0.001 |
| GET /api/block-receipts | On-chain data | $0.005 |
| POST /api/block-receipts | On-chain data | $0.005 |
| GET /api/chain-info | On-chain data | $0.001 |
| GET /api/chain/erc1155-balance | On-chain data | $0.002 |
| GET /api/chain/storage | On-chain data | $0.001 |
| GET /api/coin-categories | Crypto prices & market data | $0.005 |
| GET /api/coin-history | Crypto prices & market data | $0.005 |
| GET /api/coin-market-chart-range | Crypto prices & market data | $0.008 |
| GET /api/coin-ohlc | Crypto prices & market data | $0.008 |
| GET /api/coin-price-by-contract | Crypto prices & market data | $0.005 |
| GET /api/coin-profile | Crypto prices & market data | $0.008 |
| GET /api/coin-search | Crypto prices & market data | $0.005 |
| GET /api/cpi-yoy | News | $0.005 |
| GET /api/crypto-global | Crypto prices & market data | $0.008 |
| GET /api/crypto-history | Crypto prices & market data | $0.015 |
| GET /api/crypto-market | Crypto prices & market data | $0.015 |
| GET /api/crypto-news | News | $0.002 |
| POST /api/crypto-news | News | $0.002 |
| GET /api/crypto-price | Crypto prices & market data | $0.001 |
| GET /api/crypto-trending | Crypto prices & market data | $0.001 |
| GET /api/defi-protocol | Crypto prices & market data | $0.002 |
| POST /api/defi-protocol | Crypto prices & market data | $0.002 |
| GET /api/defi-protocols | Crypto prices & market data | $0.002 |
| POST /api/defi-protocols | Crypto prices & market data | $0.002 |
| GET /api/dex-pool | Crypto prices & market data | $0.002 |
| POST /api/dex-pool | Crypto prices & market data | $0.002 |
| POST /api/duration | Web page extraction | $0.001 |
| GET /api/edgar-13f-dataset-head | Stocks & forex | $0.005 |
| GET /api/edgar-13f-datasets | Stocks & forex | $0.003 |
| GET /api/edgar-13f-holdings | Stocks & forex | $0.005 |
| GET /api/edgar-company-concept | Stocks & forex | $0.005 |
| GET /api/edgar-company-lookup | People & company enrichment | $0.001 |
| GET /api/edgar-filings | Stocks & forex | $0.005 |
| GET /api/edgar-insider-trades | Stocks & forex | $0.005 |
| GET /api/edgar-search | Stocks & forex | $0.005 |
| GET /api/eth-call | On-chain data | $0.002 |
| POST /api/eth-call | On-chain data | $0.002 |
| GET /api/event-logs | On-chain data | $0.003 |
| POST /api/event-logs | On-chain data | $0.003 |
| GET /api/exa-contents | Web page extraction | $0.02 |
| POST /api/exa-contents | Web page extraction | $0.006 |
| GET /api/exa-search | Web search | $0.012 |
| POST /api/exa-search | Web search | $0.012 |
| GET /api/exchange-rates | Stocks & forex | $0.005 |
| GET /api/extract | Web page extraction | $0.01 |
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X POST "https://agent402.tools/v1/images/edits"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseEstimated calls per day
Paid calls to agent402.tools's tracked endpoints each day, estimated from the 30-day totals the x402 catalogues report. Each bar is the change in that 30-day total since the day before, plus the calls that left the 30-day window (taken as an average day). It is an estimate: Hagglyai does not measure or pay for these calls.
Usage available for 140 of 218 tracked endpoints, 3,067 paid calls in the last 30 days. Last updated 2 hours ago. Unknown usage is left out, not counted as zero.
Compared with other providers
agent402.tools ranks 4th of 96 in LLM inference by its latest reported 30-day paid calls. Coverage matters: a provider whose endpoints report more of their usage can rank higher.
| # | Provider | Reported 30-day calls | Coverage |
|---|---|---|---|
| 1 | blockrun.ai | 89,846 | 30 of 36 endpoints |
| 2 | api.gondola-ai.com | 4,415 | 1 of 3 endpoints |
| 3 | x402.orthogonal.com | 4,097 | 190 of 251 endpoints |
| 4 | agent402.tools (this one) | 3,067 | 140 of 218 endpoints |
| 5 | api.surplusintelligence.ai | 1,430 | 1 of 2 endpoints |
| 6 | api.losbeto.xyz | 1,301 | 20 of 107 endpoints |
| 7 | vaaya.ai | 1,149 | 35 of 72 endpoints |
| 8 | api.jarvisclaw.ai | 1,115 | 8 of 14 endpoints |
