{"uid":"cap_z6uEoilwr-a7tdT4ZXxvG","slug":"fastapi-online-image-brightness-contrast-adjustment-6d3d4269","name":"fastapi.online — Image Brightness & Contrast Adjustment","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-brightness-contrast","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"Image file (PNG/JPEG/WebP)"},"contrast":{"type":"string"},"brightness":{"type":"string"}}},"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_JMVotNeI0BHdTDGElmUfY","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":"Adjusts the brightness and contrast of an uploaded image file (PNG/JPEG/WebP) and returns the modified image.","exampleAgentPrompt":"Can you increase the brightness to 1.4 and boost the contrast to 1.6 on this photo I uploaded?","exampleUseCases":[{"title":"Fixing underexposed product photos","prompt":"This product photo came out too dark — can you raise the brightness to 1.5 and bump the contrast to 1.3 so it looks better for the listing?"},{"title":"Darkening overexposed banner image","prompt":"My website banner is way too bright and washed out. Can you lower the brightness to 0.7 and increase the contrast to 1.4 on this PNG file?"},{"title":"Preparing scanned document for OCR","prompt":"I have a scanned document that's a bit faint — can you crank up the contrast to 2.0 and the brightness to 1.2 to make the text stand out better before I run OCR on it?"}],"resultDescription":"Returns a processed image file with the specified brightness and contrast adjustments applied. The output image preserves the original format and dimensions, with pixel values modified according to the requested brightness and contrast parameters.","failureModes":["Unsupported file format (non-PNG/JPEG/WebP) returns an error","Invalid brightness or contrast values (e.g. non-numeric strings) may cause a 422 validation error","File too large may result in a timeout or rejection","Missing file parameter returns a 422 unprocessable entity error","Payment failure (insufficient USDC) returns a 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.001 USDC), no-signup image brightness/contrast adjustment without requiring a full image editing pipeline. Ideal for agents that need to preprocess images for downstream tasks like OCR, classification, or display, and want to pay per call with crypto rather than managing a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T17:25:39.756Z","isFirstParty":false}