Skip to content
Fourohtwo

High-resolution image generation

imagegen.coinopai.com/generate/hd

High-resolution image generation: text prompt to image with FLUX 1.1 Pro plus a 4x Real-ESRGAN upscale, run as an async job. Pass prompt and optional aspect (1:1, 16:9, 9:16 or 4:3). The paid call returns HTTP 202 JSON with job_id, status, tier and a free status_url; poll it until status is succeeded, then read image_url (stored 7 days, see expires_at). If the job fails on our side, its status car

BaseAnswering
GEThttps://imagegen.coinopai.com/generate/hd

Uptime100% 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/hd?aspect=1%3A1&prompt=a+futuristic+city+at+night%2C+cyberpunk+style");
console.log(await res.json());

Example input

{
  "aspect": "1:1",
  "prompt": "a futuristic city at night, cyberpunk style"
}