{"uid":"cap_KiwVvY-0RueuftiRNaam1","slug":"x402-ai-alt-text-generator-3abe518e","name":"x402 AI Alt-Text Generator","description":"Paid AI API endpoints via x402 micropayments","url":"https://x402-ai-peach.vercel.app/api/alt-text","method":"POST","headers":{},"bodySchema":{"type":"object","required":["messages"],"properties":{"stream":{"type":"boolean","description":"Stream response"},"messages":{"type":"array","description":"Chat messages array"},"max_tokens":{"type":"integer","description":"Max tokens"},"temperature":{"type":"number","description":"Temperature"}}},"responseSchema":{"type":"object","properties":{"id":{"type":"string","description":"Response ID"},"choices":{"type":"array","items":{"type":"object","properties":{"message":{"type":"object","properties":{"role":{"type":"string"},"content":{"type":"string"}}}}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.075","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.075/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.075","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.075","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_u196d47BaaXrP6UVE_ynB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.075","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates descriptive alt-text for images using AI, paid via x402 micropayments at $0.075 USDC per call","exampleAgentPrompt":"Generate alt text for this product image of a red leather handbag on a white background — keep it concise and accessible, under 100 tokens.","exampleUseCases":[{"title":"Accessible e-commerce product images","prompt":"I have a photo of our new running shoes on a white background — can you write me descriptive alt text for it so screen reader users know what they're looking at? Keep it under 125 tokens."},{"title":"CMS image library accessibility audit","prompt":"Write alt text for this blog hero image showing a woman coding at a standing desk in a modern office — make it clear and concise for accessibility compliance."},{"title":"Social media image description","prompt":"Can you generate a short alt text description for this Instagram-style photo of a latte art coffee cup on a wooden table? Max 80 tokens, natural and descriptive."}],"resultDescription":"Returns a JSON object containing a response ID and a choices array, where each choice includes a message with role and content fields. The content field contains the AI-generated alt-text description for the provided image input.","failureModes":["Missing or malformed messages array returns validation error","Payment not included or insufficient USDC triggers 402 Payment Required","Invalid temperature value (outside 0.0–2.0 range) may cause error or unexpected output","Oversized image or message payload may exceed token limits","Network timeout on streaming responses if stream:true is set"],"whenToPreferThis":"Choose this endpoint when you need AI-generated alt text paid on a per-call basis via x402 micropayments without a subscription. Ideal for agents that process images infrequently or need to pay programmatically with USDC stablecoins. Prefer over subscription-based vision APIs when cost control per-image is critical or when building crypto-native workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:43:33.290Z","isFirstParty":false}