Takes an image by URL or inline base64 and returns its colour palette
medien.halowerk.com/v1/image-palette
Takes an image by URL or inline base64 and returns its colour palette: up to sixteen colours, each with the share of the visible area it covers, its HEX and sRGB values, its OKLCH coordinates, and the WCAG 2.1 contrast ratio against white, against black and against every other colour in the palette. The grouping runs in OKLab rather than RGB, because distance in RGB does not match what an eye sees
POST
https://medien.halowerk.com/v1/image-paletteUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://medien.halowerk.com/v1/image-palette", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"include_contrast":true,"max_colors":4,"min_share_pct":1,"source":{"content_base64":"iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAAKklEQVR42mO4aGKBB+l1h+NBDKOaRzUT1CzvtwIPenFECw8a1TyqmaBmACXxCf9EgyxCAAAAAElFTkSuQmCC","filename":"beispiel.png"}}),
});
console.log(await res.json());Example input
{
"include_contrast": true,
"max_colors": 4,
"min_share_pct": 1,
"source": {
"content_base64": "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAAKklEQVR42mO4aGKBB+l1h+NBDKOaRzUT1CzvtwIPenFECw8a1TyqmaBmACXxCf9EgyxCAAAAAElFTkSuQmCC",
"filename": "beispiel.png"
}
}More from HALOWERK Medien
- medien.halowerk.com/v1/baumarkt/media/chapter-keyword-markersCreate source-time chapter markers for caller-specified literal terms. Reuses exactly one existing qualified transcript-package request. Source audio leaves the server for the existing Deepgram processor; existing provider disclosure and cost/margin retained. Deterministic timestamps/text processing only; no acoustic VAD, speaker identity or specialist accuracy claims. Base motor quote plus0.001US0.03
- medien.halowerk.com/v1/baumarkt/media/chapter-keyword-markers/snapshot-compareReturns exact change witnesses between a fresh run and a bounded caller-supplied previous snapshot of this transcript analysis: create source-time chapter markers for caller-specified literal terms. The baseline is supplied by the caller and is never authenticated as historical server output. Timing and source-quote validation runs before payment. Exactly one current provider call, zero baseline p0.03
- medien.halowerk.com/v1/baumarkt/media/clinical-appointment-literals-literal-indeReturns exact change witnesses between a fresh run and a bounded caller-supplied previous snapshot of this transcript analysis: timestamped source search for appointment vocabulary only, no medical assessment; literal vocabulary only. The baseline is supplied by the caller and is never authenticated as historical server output. Timing and source-quote validation runs before payment.0.03
- medien.halowerk.com/v1/baumarkt/media/clinical-appointment-literals-literal-indeTimestamped source search for appointment vocabulary only, no medical assessment; literal vocabulary only. Reuses exactly one existing qualified transcript-package request. Source audio leaves the server for the existing Deepgram processor; existing provider disclosure and cost/margin retained. Deterministic timestamps/text processing only; no acoustic VAD, speaker identity or specialist accuracy 0.03
- medien.halowerk.com/v1/baumarkt/media/clinical-medication-literals-literal-indexReturns exact change witnesses between a fresh run and a bounded caller-supplied previous snapshot of this transcript analysis: timestamped source search for medication vocabulary only, no dose or clinical inference; literal vocabulary only. The baseline is supplied by the caller and is never authenticated as historical server output. Timing and source-quote validation runs before payment.0.03
- medien.halowerk.com/v1/baumarkt/media/clinical-medication-literals-literal-indexTimestamped source search for medication vocabulary only, no dose or clinical inference; literal vocabulary only. Reuses exactly one existing qualified transcript-package request. Source audio leaves the server for the existing Deepgram processor; existing provider disclosure and cost/margin retained. Deterministic timestamps/text processing only; no acoustic VAD, speaker identity or specialist ac0.03
- medien.halowerk.com/v1/baumarkt/media/clinical-symptom-literals-literal-indexTimestamped source search for symptom vocabulary only, no diagnostic claim; literal vocabulary only. Reuses exactly one existing qualified transcript-package request. Source audio leaves the server for the existing Deepgram processor; existing provider disclosure and cost/margin retained. Deterministic timestamps/text processing only; no acoustic VAD, speaker identity or specialist accuracy claims0.03
- medien.halowerk.com/v1/baumarkt/media/clinical-symptom-literals-literal-index/snReturns exact change witnesses between a fresh run and a bounded caller-supplied previous snapshot of this transcript analysis: timestamped source search for symptom vocabulary only, no diagnostic claim; literal vocabulary only. The baseline is supplied by the caller and is never authenticated as historical server output. Timing and source-quote validation runs before payment.0.03
- medien.halowerk.com/v1/baumarkt/media/confidence-cue-worklistGroup low-confidence recognized words into source subtitle review tasks. Reuses exactly one existing qualified transcript-package request. Source audio leaves the server for the existing Deepgram processor; existing provider disclosure and cost/margin retained. Deterministic timestamps/text processing only; no acoustic VAD, speaker identity or specialist accuracy claims. Base motor quote plus0.0010.03
- medien.halowerk.com/v1/baumarkt/media/confidence-cue-worklist/snapshot-compareReturns exact change witnesses between a fresh run and a bounded caller-supplied previous snapshot of this transcript analysis: group low-confidence recognized words into source subtitle review tasks. The baseline is supplied by the caller and is never authenticated as historical server output. Timing and source-quote validation runs before payment. Exactly one current provider call, zero baseline0.03
- medien.halowerk.com/v1/baumarkt/media/confidence-histogram/snapshot-compareReturns exact change witnesses between a fresh run and a bounded caller-supplied previous snapshot of this transcript analysis: separate provider confidence bands from unknown confidence values. The baseline is supplied by the caller and is never authenticated as historical server output. Timing and source-quote validation runs before payment. Exactly one current provider call, zero baseline provi0.03
- medien.halowerk.com/v1/baumarkt/media/construction-defect-literal-indexTimestamped source search for construction-defect report passages; literal vocabulary only. Reuses exactly one existing qualified transcript-package request. Source audio leaves the server for the existing Deepgram processor; existing provider disclosure and cost/margin retained. Deterministic timestamps/text processing only; no acoustic VAD, speaker identity or specialist accuracy claims. Base mo0.03
