LIVE$APIEDCA0x720800690cd81c3319cb0ab9c4f480b659a772d4
APIED
Loading…
Loading prices…

Image edit (OpenAI-compatible)

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 FL

Price per call
$0.02
Chain
Base
Method
POST
Paid calls · 30 days
22

Call it from code

This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.

import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";

const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });

const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://agent402.tools/v1/images/edits", { method: "POST" });
console.log(await res.json());

https://agent402.tools/v1/images/edits