$0.195
per call · USD Coin on Base
Generate one image from a text prompt: app icon, brand logo, character mascot or illustration. POST JSON {description, type?, style?, aspect_ratio?}. type is icon, logo, mascot or illustration (default icon; only icon gets app-icon framing and mask safe margins). style is flat, metallic, 2d-game, clay, 3d, gradient or glassmorphism. aspect_ratio is 1:1, 4:3 or 16:9. Returns image_key and preview_url. No account required.
Endpoint
POST https://imagcon.app/routes/x402/generate-image1
Calls / 30d
1
Unique payers / 30d
Aug 29
Last called
exact
Payment scheme
Call this service
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://imagcon.app/routes/x402/generate-image", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"description": "A friendly lobster holding a starfish",
"style": "clay",
"type": "mascot"
}),
});
const data = await res.json();curl -X POST \
"https://imagcon.app/routes/x402/generate-image" \
-H "Content-Type: application/json" \
-d '{"description":"A friendly lobster holding a starfish","style":"clay","type":"mascot"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"image_key": "generated_images/anonymous/<uuid>.png",
"preview_url": "https://imagcon.app/routes/get-image/generated_images/anonymous/<uuid>.png"
}Payment details
0x1f2a484ef654d49c58c625b09e78b538501d652dUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Media & Generation and the homepage with a featured placement.
More from Imagcon & similar services
Imagcon · Routes Resize Image
imagcon.app
Resize any image to exact dimensions or social-media presets — Open Graph (1200x630), Twitter card, YouTube thumbnail, Instagram, LinkedIn. Smart fit modes avoid distortion: cover (focal-point crop), contain (padded), blur-fill letterbox, stretch. Deterministic and instant — no AI, no account required. Returns the resized PNG/JPEG/WebP directly. Images from generate-image resize free at /routes/x402/resize-generated (pass your image_key).
Imagcon · Routes Validate
imagcon.app
Test any x402 endpoint with a REAL signed payment from a fresh unfunded wallet — no funds can move. Returns the facilitator's verdict (healthy / broken / payment-ignored), decoded challenge, lint checks for silent payment-killers like over-long resource descriptions, and a 402index discovery report. Config validators check your paperwork; this reports what the facilitator actually said. Run it from CI after every deploy.
Imagcon · Routes Splash From Image
imagcon.app
Generate all 19 iOS/iPad launch splash screens from an existing image. Returns a ZIP of all required sizes, composited against the supplied background color.