{"uid":"cap_euRhXKKMW5_ztJ3XdEh-e","slug":"image-alt-text-generator-e47b5526","name":"Image Alt Text Generator","description":"86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.","url":"https://agentsvc.io/api/v1/proxy/image-alt-text?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"context":{"type":"string","description":"Where the image is used, max 500 chars"},"language":{"type":"string","description":"Language of the alt text, default English"},"image_url":{"type":"string","description":"Public image URL (max 15 MB)"},"image_base64":{"type":"string","description":"Base64 image instead of a URL"}}},"responseSchema":{"type":"json","example":{"data":{"html":"alt=\"Panoramic view of forested mountain ridges with rocky cliffs under cumulus clouds, with a lake visible at the lower right\"","image":{"width":800,"height":359,"original":{"width":1280,"format":"jpeg","height":575,"size_bytes":221419}},"model":"claude-haiku-5-5","alt_text":"Panoramic view of forested mountain ridges with rocky cliffs under cumulus clouds, with a lake visible at the lower right","language":null,"decorative":false,"text_in_image":null,"long_description":"A wide landscape photo of a steep, forested mountain with a flat rocky summit and exposed limestone cliffs at its top. Lower slopes show green meadows and scattered farm buildings, while snow-capped peaks rise in the distance on the right. A blue lake appears at the far lower right beneath a blue sky with white clouds."},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xWhBsl6S2KuyTZauO55LL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates descriptive, accessible alt text for images from a URL or base64 input, with optional context and language control.","exampleAgentPrompt":"Can you generate alt text for this image — https://example.com/mountain-photo.jpg — it's being used as the hero image on a travel website homepage, and I need the output in English.","exampleUseCases":[{"title":"Accessible e-commerce product images","prompt":"I have a product photo at https://shop.example.com/images/red-sneaker.jpg — it's displayed on a shoe product page. Can you write alt text for it in English so it's accessible to screen reader users?"},{"title":"Multilingual blog accessibility","prompt":"Generate alt text in French for this image: https://blog.example.com/paris-sunset.jpg — it's used in a travel blog post about Paris at sunset."},{"title":"CMS bulk image auditing","prompt":"I'm auditing my CMS and need alt text for this image: https://cms.mysite.com/uploads/team-photo.jpg — it's a team photo shown on our About Us page. Give me both the alt text and the ready-to-paste HTML attribute."}],"resultDescription":"Returns a JSON object with: the generated alt text string, an HTML-ready alt attribute snippet, image dimensions (width, height), the AI model used, the language of the output, a boolean indicating whether the image is decorative (and thus should have empty alt), any text detected within the image, and a long-form detailed description of the image for extended accessibility use cases.","failureModes":["Image URL not publicly accessible or returns 4xx/5xx — endpoint cannot fetch the image","Image exceeds 15 MB size limit — request rejected","Invalid base64 encoding if using image_base64 input","Unsupported image format — only common formats like JPEG, PNG, GIF, WebP accepted","Context string exceeds 500 character limit","Network timeout fetching the remote image URL"],"whenToPreferThis":"Choose this endpoint when you need production-quality, AI-generated alt text for accessibility compliance (WCAG), SEO enrichment, or CMS automation — especially when you want both a concise alt attribute and a detailed long description in one call. It is ideal for agents that process images at scale, need multilingual output, or require HTML-ready snippets without building their own vision pipeline. Prefer this over generic vision APIs when you specifically need accessibility-oriented descriptions with decorative-image detection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:46:58.112Z","isFirstParty":false,"canonicalSlug":"image-alt-text-generator-e47b5526"}