{"uid":"cap_sducdgrR0xRM39YNKyUY3","slug":"primeapi-ai-image-generation-892cc26f","name":"PrimeAPI AI Image Generation","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.vercel.app/api/ai/image/generate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.192696","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.192696/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.192696","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.192696","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FB0BMGbJsqbKXEAPsL7ly","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.192696","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from a text query or prompt using an AI image generation model, billed per call in USDC on Base.","exampleAgentPrompt":"Generate an image of a futuristic city skyline at sunset with flying cars and neon lights.","exampleUseCases":[{"title":"Create product mockups for e-commerce","prompt":"I need to generate product images showing a sleek wireless headphone in matte black with minimalist design for our online store listings."},{"title":"Design social media campaign visuals","prompt":"Can you make me a vibrant illustration of a coffee shop scene with people working on laptops, perfect for a tech startup's Instagram post?"},{"title":"Visualize real estate property features","prompt":"Generate an image of a modern kitchen renovation with white marble countertops, stainless steel appliances, and natural light streaming through large windows."}],"resultDescription":"Returns an API response object containing the generated image data, likely as a URL or base64-encoded image, produced by an AI image generation model based on the input text prompt.","failureModes":["Empty or missing query parameter returns an error","Ambiguous or overly complex prompt may yield unexpected results","Payment failure in USDC on Base blocks the request","Rate limiting or server overload returns 429 or 503","Prompt violates content policy and is rejected"],"whenToPreferThis":"Use this endpoint when you need to generate an image from a text prompt via a pay-per-call API that requires no API key setup, only USDC payment on Base. Suitable for agents that need on-demand image generation without managing API subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:34:14.157Z","isFirstParty":false}