Image generation with transparent background
imagegen.coinopai.com/generate/clean
Image generation with transparent background: text prompt to image with FLUX Schnell, then automatic background removal. Pass prompt and optional aspect (1:1, 16:9, 9:16 or 4:3). Returns JSON in one synchronous call with image_url (link to the transparent PNG cutout, stored 7 days), expires_at, prompt, aspect, tier, model and generated_at. Use it for product cutouts, stickers, logo marks and e-com
GET
https://imagegen.coinopai.com/generate/cleanUptime100% of 4 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://imagegen.coinopai.com/generate/clean?aspect=1%3A1&prompt=a+product+photo+of+a+ceramic+mug");
console.log(await res.json());Example input
{
"aspect": "1:1",
"prompt": "a product photo of a ceramic mug"
}