{"uid":"cap_qeV9TSv7M7hnvsu8lEtow","slug":"aispace-image-generation-c9d0429d","name":"AiSpace Image Generation","description":"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. Resolve a model id from GET /api/v1/models?type=image and an optional style from GET /api/v1/image/styles.","url":"https://x402.aispace.bot/api/v1/image/generate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","example":"venice-sd35","description":"Venice image model id. See GET /api/v1/models?type=image (e.g. flux-2-pro, venice-sd35, gpt-image-2)."},"prompt":{"type":"string","description":"Image description. Up to ~2000 chars."},"style_preset":{"type":"string","description":"Optional named style. See GET /api/v1/image/styles (e.g. \"Cinematic\", \"Anime\")."}}},"responseSchema":{"type":"json","example":{"id":"yidY-aAgyVYbeSQfKnu4gaLS2FhTus0k","images":["UklGRkaBAABXRUJQVlA4IDqBAACQZwGdASoAAgACPhkMhEGhBFcvbAQAYSm3i1vP/1fFy8M/nmmzw39XzLNN9Nt+/Ez/o+YH9G/2fQs58/xP/neqj+H/6f1l"],"timing":{"total":3953,"inferenceDuration":3377,"inferenceQueueTime":557,"inferencePreprocessingTime":3389},"request":{"data":{"seed":-238869555,"model":"venice-sd35","steps":20,"width":512,"format":"webp","height":512,"prompt":"a dot","safe_mode":true,"return_binary":false,"hide_watermark":false,"embed_exif_metadata":false},"success":true}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ONe8TCpsrm0y8vzZqUH7U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates AI images from a text prompt using Venice.ai-powered models on the AiSpace privacy-focused platform","exampleAgentPrompt":"Using AiSpace, generate an image of a futuristic city at sunset with neon lights and flying cars, using the venice-sd35 model.","exampleUseCases":[{"title":"AI art for blog post","prompt":"Can you generate an image of a serene Japanese garden with cherry blossoms and a koi pond using the venice-sd35 model on AiSpace? I need it for a blog header."},{"title":"Fantasy character concept art","prompt":"Create an image of a fierce female warrior in enchanted armor standing on a mountaintop at dawn — use AiSpace with the venice-sd35 model."},{"title":"Product mockup visualization","prompt":"Generate an image of a minimalist white coffee mug on a wooden table with soft morning light using AiSpace — model venice-sd35."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating whether the image generation request succeeded. The generated image data or URL is expected as part of the response payload.","failureModes":["Missing required 'prompt' or 'model' query parameter returns a 400 error","Invalid model name causes generation failure","Payment of 0.001 USDC not provided or rejected results in 402 Payment Required","Prompt content policy violation may reject the request","Network timeout if generation takes too long"],"whenToPreferThis":"Choose this endpoint when you need privacy-conscious AI image generation backed by Venice.ai at a low per-call cost of $0.001 USDC, especially when data privacy is a priority and you want to pay per generation without a subscription. Prefer this over other image APIs when you specifically want Venice.ai model quality (e.g. venice-sd35) with x402 micropayment support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:39:58.956Z","isFirstParty":false}