{"uid":"cap_3vSuVVcwWC-nZuOw2kOtt","slug":"sift-web-tools-ai-image-generation-f4303acc","name":"Sift Web Tools – AI Image Generation","description":"Generate an image from a text prompt (PNG). Text-to-image with Google's Gemini image model. Aspect ratios 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9. Prompts refused by the model's safety filter are not charged.","url":"https://sift.srv1996466.hstgr.cloud/v1/image?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"aspect":{"type":"string","description":"Aspect ratio (default 1:1)"},"prompt":{"type":"string","description":"What to draw (3-2000 chars)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","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.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YOxR6lyaOcUqenBOrhBMj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates an image from a text prompt (with optional aspect ratio) and returns a PNG, billed per successful call via x402 USDC on Base.","exampleAgentPrompt":"Generate an image of a serene mountain lake at golden hour with pine trees reflecting in the still water — use a 16:9 aspect ratio.","exampleUseCases":[{"title":"Blog post hero image creation","prompt":"Create an image of a futuristic city skyline at night with neon lights and flying cars — make it landscape format (16:9) for use as a blog header."},{"title":"Social media square illustration","prompt":"Draw a cute cartoon coffee cup with steam rising and a smile on it, square format, for my café's Instagram post."},{"title":"Product concept visualization","prompt":"Generate a product render of a sleek, minimalist wireless speaker in matte black sitting on a marble surface, in a 4:3 aspect ratio."}],"resultDescription":"Returns a PNG image file generated from the given text prompt. The image is only returned (and payment charged) on a successful HTTP 200 response. No metadata or JSON wrapper — the raw image bytes are the response body.","failureModes":["Prompt too short (under 3 chars) or too long (over 2000 chars) returns a 400 error","Invalid aspect ratio format returns a 400 error","Payment failure or insufficient USDC balance returns a 402 before generation begins","Server-side generation failure returns a 500 with no image and no charge","Network timeout may leave generation state unknown"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to generate a brand-new image from a text description without any image input, and payment is handled via x402 USDC on Base (pay-per-call, no subscription). Ideal for agents that want a pay-as-you-go model at $0.08 per image with no upfront commitment. Prefer this over self-hosted or subscription-based image APIs when operating in a crypto-native, per-call billing context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T13:49:13.117Z","isFirstParty":false,"canonicalSlug":"sift-web-tools-ai-image-generation-f4303acc"}