{"uid":"cap_57DD5pJStD_-H0s8J9gll","slug":"halowerk-spectrogram-image-generator-0785e4e4","name":"Halowerk Spectrogram Image Generator","description":"Takes an audio or video file (up to 24 MB) and returns a spectrogram image: time on the horizontal axis, frequency on the vertical, intensity as colour, with scale and legend. It makes visible what the ear misses — mains hum as a line at 50 or 60 Hz, broadband noise, the cut-off of a phone or low-bitrate recording, and hard edits. Size, colour scheme and linear or logarithmic intensity are selectable. Rendered locally with ffmpeg; returned inline as PNG base64. Nothing leaves this machine.","url":"https://medien.halowerk.com/v1/spectrogram-image?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"color":{"enum":["intensity","rainbow","magma","viridis","cool","fiery","channel"],"type":"string","default":"magma"},"scale":{"enum":["log","lin","sqrt","cbrt"],"type":"string","default":"log"},"width":{"type":"integer","default":1200,"maximum":4000,"minimum":200},"height":{"type":"integer","default":512,"maximum":2000,"minimum":100},"legend":{"type":"boolean","default":true},"source":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"description":"Public http(s) URL of the file."},"filename":{"type":"string","maxLength":260},"content_base64":{"type":"string","maxLength":12000000,"description":"The file inline, base64. Larger files by url."}},"description":"The recording. Either url or content_base64.","additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__rXa7Fjiagm0A8O6VnJGh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an audio or video file into a spectrogram PNG image showing frequency content over time, with configurable color scheme, scale, and dimensions.","exampleAgentPrompt":"Can you generate a spectrogram image from this interview recording — use the magma color scheme, logarithmic scale, 1200×512 pixels, and include the legend so I can see if there's any mains hum or edit cuts in it?","exampleUseCases":[{"title":"Detecting mains hum in field recording","prompt":"I recorded an outdoor interview but suspect there's electrical interference. Can you make a spectrogram from this audio file using magma colors and log scale at 1200×512 so I can see if there's a 50 Hz hum line?"},{"title":"Checking audio quality of a compressed file","prompt":"I've got this low-bitrate MP3 from a client — can you render a spectrogram with viridis color scheme and logarithmic scale so I can see where the frequency cutoff is and how bad the compression really is?"},{"title":"Finding hard edits in a podcast episode","prompt":"I need to spot any cuts or splices in this podcast episode. Generate a spectrogram using the rainbow color scheme, log scale, 2000 pixels wide and 600 pixels tall, with the legend visible so I can identify any hard edits."}],"resultDescription":"A PNG image returned inline as a base64-encoded string, depicting a spectrogram with time on the horizontal axis, frequency on the vertical axis, and intensity as color. The image includes an optional scale legend and reflects the chosen color scheme (magma, rainbow, viridis, etc.), frequency scale (log, linear, sqrt, cbrt), and custom dimensions.","failureModes":["File exceeds 24 MB limit — request rejected","Invalid URL or inaccessible file at provided URL — fetch error","Unsupported audio/video format not recognized by ffmpeg — processing error","base64 content_base64 string exceeds 12,000,000 character limit — payload too large","Width or height outside allowed range (200–4000 / 100–2000) — validation error","Neither url nor content_base64 provided — missing source error","Payment not included or insufficient — x402 payment required response"],"whenToPreferThis":"Choose this endpoint when you need a visual frequency-domain representation of an audio or video file — especially for forensic purposes (detecting edits, hum, noise artifacts, codec cutoffs) or quality-control workflows. It is the right choice when you want a server-rendered, configurable spectrogram PNG without sending data to a third-party cloud service, since processing happens locally on the provider's machine. Prefer it over generic audio analysis endpoints when you specifically need an image output rather than transcribed text or numeric measurements.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:44.771Z","isFirstParty":false,"canonicalSlug":"halowerk-spectrogram-image-generator-0785e4e4"}