onchaincheck.dev/ai/image
Generate an image from a text prompt with FLUX.1 [schnell]: a 1024x1024 JPEG returned as base64 in JSON. Optional steps (1-8, default 4) and seed for repeatable results.
GET
https://onchaincheck.dev/ai/imageUptime100% 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://onchaincheck.dev/ai/image?prompt=a+lighthouse+on+a+rocky+coast+at+sunset%2C+watercolor");
console.log(await res.json());Example input
{
"prompt": "a lighthouse on a rocky coast at sunset, watercolor"
}More from AI Image & SpeechProvider status
- onchaincheck.dev/ai/transcribeSpeech to text with Whisper large-v3 turbo: pass the URL of an audio file (MP3, WAV, OGG, M4A; up to 15 MB) and get the transcript, detected language, duration, word count and timed segments. Optional language hint.0.01
- onchaincheck.dev/ai/ttsText to speech: up to 1,000 characters spoken as a WAV file (22 kHz mono), returned as base64 in JSON. Languages: English, Spanish, French, Chinese, Japanese, Korean (MeloTTS).0.01
