{"uid":"cap_IKhF3gs_kaHFCqnkhoSp7","slug":"fastapi-online-image-grayscale-converter-bc64f278","name":"fastapi.online Image Grayscale Converter","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/image-grayscale","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"Image file (PNG/JPEG/WebP)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R0dhPYjOTrP-Q6gHaTpD1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a color image (PNG, JPEG, or WebP) to grayscale by removing all color information","exampleAgentPrompt":"Can you convert this color JPEG photo to grayscale for me? Here's the image file.","exampleUseCases":[{"title":"Prepare images for document scanning pipeline","prompt":"I need to strip all color from these product photos and convert them to grayscale before uploading them to our document archive — can you process this PNG for me?"},{"title":"Black and white photo effect for portfolio","prompt":"Take this color portrait JPEG and convert it to a black and white grayscale version so I can use it in my minimalist design portfolio."},{"title":"Reduce image complexity for ML preprocessing","prompt":"I need to desaturate this WebP image to grayscale as a preprocessing step — can you remove the color from it?"}],"resultDescription":"A grayscale version of the submitted image file, returned as a binary image with color channels removed. The image retains its original dimensions and format structure but all pixel color data is converted to luminance values.","failureModes":["Unsupported file format (non-PNG/JPEG/WebP) returns an error","Corrupted or malformed image binary causes processing failure","Oversized image files may exceed payload or processing limits","Missing or empty file field returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call grayscale conversion with no signup required and crypto micro-payment support (x402). Ideal for agents needing lightweight image preprocessing without managing subscriptions or API keys. Best for single-image, low-cost transformations where simplicity and no-auth access matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T08:28:04.925Z","isFirstParty":false}