api.aigentra.xyz/v1/images/generations
Text-to-image generation, OpenAI-compatible images/generations response (data[0].b64_json), $0.008 per image, no API key. FLUX.1 [schnell] model, 1024x1024 JPEG returned as base64. POST {prompt, steps} or GET ?prompt=. Good for thumbnails, illustrations, concept art, social images.
GET
https://api.aigentra.xyz/v1/images/generationsUptime100% of 1 check 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://api.aigentra.xyz/v1/images/generations?steps=4&prompt=a+cute+robot+paying+with+a+USDC+coin%2C+flat+illustration");
console.log(await res.json());Example input
{
"steps": "4",
"prompt": "a cute robot paying with a USDC coin, flat illustration"
}