{"uid":"cap_v__KGcoqllaZlqxG1Y3Qa","slug":"x402-ottoai-services-6457dce0","name":"x402.ottoai.services Image Generation","description":"Meme generator + professional AI image generation via fal.ai. model: gpt-image-2 (default) | nano-banana-pro; anything else -> 400. Flat $0.15 per image. Supports image editing via public image URL.","url":"https://x402.ottoai.services/generate-meme","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"model":{"enum":["gpt-image-2","nano-banana-pro"],"type":"string","description":"model: gpt-image-2 (default) | nano-banana-pro; anything else -> 400"},"prompt":{"type":"string","description":"Image description (10-2000 chars, longer = better)"},"image_url":{"type":"string","description":"Optional: public URL of image to edit/remix"},"aspect_ratio":{"enum":["1:1","16:9","9:16"],"type":"string","description":"Optional: output aspect ratio (default 1:1)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["status"],"properties":{"error":{"type":"string"},"model":{"type":"string","description":"Model used for generation"},"status":{"enum":["success","failed"],"type":"string"},"imageUrl":{"type":"string","description":"URL of generated image"},"expiresAt":{"type":"string","format":"date-time"}}}}}}},"responseSchema":{"type":"json","example":{"model":"gpt-image-2","status":"success","imageUrl":"https://images.useotto.xyz/abc123.png","expiresAt":"2026-04-24T12:00:00Z"}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"prompt":"A minimalist flat design logo for a tech startup featuring a stylized blue circuit board pattern forming an abstract mountain shape, clean lines, professional appearance, suitable for website and business cards","aspect_ratio":"1:1"}}},"response":{"status":"success","imageUrl":"https://images.useotto.xyz/images/1776457876806.png","expiresAt":"2026-05-17T20:31:16.806Z"}},"exampleRequest":{"prompt":"A minimalist flat design logo for a tech startup featuring a stylized blue circuit board pattern forming an abstract mountain shape, clean lines, professional appearance, suitable for website and business cards","aspect_ratio":"1:1"},"tags":["x402"],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.92","successRate":"0.60","reviews":1,"stars":"4.7","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"15.0000","medianCents":"15.0000","p90Cents":"15.0000","minCents":"15.0000","maxCents":"15.0000","p95Cents":"15.0000","sampleCount":3,"varies":false,"failureChargeRate":0},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g1VvK5mqmiLCQodgsXCCf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from text prompts (and optionally edits existing images) using AI models including GPT-Image-2 and Nano Banana Pro, returning a hosted image URL.","exampleAgentPrompt":"Generate a photorealistic image of a golden retriever surfing a giant wave at sunset on a tropical beach, wide 16:9 format, using the nano-banana-pro model.","exampleUseCases":[{"title":"Create viral meme for social campaign","prompt":"Make me a funny meme image about cryptocurrency volatility with Drake's reaction format. I want it to be square and punchy for Twitter."},{"title":"Design minimalist startup logo quickly","prompt":"Generate a clean, modern logo for my Web3 analytics startup called 'ChainView'. Make it minimalist flat design style, square format, using the GPT-Image-2 model."},{"title":"Edit product image for marketplace listing","prompt":"I have a photo of my NFT art piece that needs better lighting. Can you edit this image to make the colors pop more and add a subtle glow effect around the edges?"}],"resultDescription":"Returns a JSON object with status ('success' or 'failed'), a hosted image URL (e.g. https://images.useotto.xyz/images/...) that expires after a set time, the model used, and an expiry timestamp in ISO 8601 format.","failureModes":["Prompt too short (under 10 characters) returns validation error","Invalid aspect_ratio value returns error","Invalid model name returns error","Image URL provided is not publicly accessible, causing edit failure","Generation failure returns status 'failed' with error message","Payment not completed results in 402 response before generation begins"],"whenToPreferThis":"Choose this endpoint when you need AI-generated images from text prompts with flexible aspect ratios and model options (including GPT-Image-2 or Nano Banana Pro), especially for memes, logos, posters, or photorealistic visuals. Also choose it when you need to edit or remix an existing image by URL. Prefer this over alternatives when operating in an x402 micropayment context and need a hosted URL output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":5,"lastUsedAt":"2026-08-19T15:57:48.718Z","lastSuccessfullyRanAt":"2026-08-19T15:57:48.718Z","lastHealthCheckAt":"2026-09-16T12:01:09.679Z","isFirstParty":false}