C

Coinopai · Generate HD

by Coinopai

GETBase

$0.5

per call · USD Coin on Base

Start a high-resolution AI image job from a text prompt, using FLUX 1.1 Pro plus a 4x Real-ESRGAN upscale. The paid response returns HTTP 202 with a job_id and a free status_url to poll until the image succeeds or fails, preventing long generation from being lost to an HTTP proxy timeout.

Endpoint

GET https://imagegen.coinopai.com/generate/hd

3

Calls / 30d

3

Unique payers / 30d

Sep 7

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://imagegen.coinopai.com/generate/hd", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://imagegen.coinopai.com/generate/hd?aspect=1%3A1&prompt=a+futuristic+city+at+night%2C+cyberpunk+style" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "job_id": "7c43fb4b-08a4-4a0a-ae49-21fe47462c98",
  "status": "queued",
  "status_url": "https://imagegen.coinopai.com/jobs/7c43fb4b-08a4-4a0a-ae49-21fe47462c98",
  "tier": "hd"
}

Payment details

Pay to0x4c1a4fce51fea51f128a01cce8becb106d391155
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Media & Generation and the homepage with a featured placement.

Get featured →

More from Coinopai & similar services