{"uid":"cap_U4ZJNRv6X59B8Dz3Swjys","slug":"relaystation-dominant-color-extractor-86e74c1c","name":"Relaystation Dominant Color Extractor","description":"$0.0002/call. Get an image's dominant color as hex/RGB — theming and palettes from any picture. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/image/dominant-color","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WWHDiiljn8hf6bydGfBRf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the dominant color of an image and returns it as a hex code and RGB values for use in theming and palette generation.","exampleAgentPrompt":"What's the dominant color in this image — can you give me the hex code and RGB values? Here's the image URL: https://example.com/my-logo.png","exampleUseCases":[{"title":"Brand color extraction from logo","prompt":"I have a logo image at https://example.com/brand-logo.png — can you extract its dominant color as a hex code so I can use it for my website's theme?"},{"title":"Auto-theming a generated image","prompt":"I just generated an image and want to match my UI palette to it — pull the dominant color in hex and RGB from this image URL: https://cdn.myapp.com/generated-hero.jpg"},{"title":"Catalog product color tagging","prompt":"For this product photo at https://shop.example.com/red-shirt.jpg, what's the dominant color as a hex value? I need it to tag the product in my catalog."}],"resultDescription":"Returns the dominant color of the submitted image as both a hex string (e.g. #3A7BD5) and RGB values (e.g. {r: 58, g: 123, b: 213}), suitable for direct use in theming, palette generation, or color tagging workflows.","failureModes":["Invalid or unreachable image URL returns an error","Unsupported image format may cause processing failure","Payment insufficient or x402 flow incomplete blocks the call","Very complex or multi-colored images may return a color that appears non-dominant visually","Large images may incur higher latency"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, single-call dominant color extraction from any image — especially for UI theming, auto-palette generation, or product color tagging. It is priced per-call at $0.0002 with a 1¢ minimum, making it cost-effective for both single requests and batches. Prefer this over full image analysis endpoints when you only need color data, not object detection or scene understanding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:56:11.499Z","isFirstParty":false}