Skip to content
Fourohtwo

x402.aispace.bot/api/v1/image/generate

Text-to-image generation on Venice models (Flux, SD3.5, GPT-Image, HunyuanImage, and more), paid per request in USDC on Base via x402, no API key. Charge is catalog unit × variants (1–4). A bare unpaid probe (no model) quotes default venice-sd35 (from $0.01; flux-2-pro $0.015). S

BaseSolanaAnswering
POSThttps://x402.aispace.bot/api/v1/image/generate

Uptime100% of 3 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://x402.aispace.bot/api/v1/image/generate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"height":1024,"model":"flux-2-pro","prompt":"A neon-lit cyberpunk street at night, cinematic lighting, photorealistic","width":1024}),
});
console.log(await res.json());

Example input

{
  "height": 1024,
  "model": "flux-2-pro",
  "prompt": "A neon-lit cyberpunk street at night, cinematic lighting, photorealistic",
  "width": 1024
}

More from AiSpace VeniceProvider status