{"slug":"rengi-dev-v1-media-tools-waveform-72a6e6","title":"Media tools","host":"rengi.dev","method":"POST","resource":"https://rengi.dev/v1/media-tools/waveform","category":"image","description":"Media tools: Waveform of an audio file as PNG and SVG in your colours, bar or line style, plus the peak values to draw it yourself, the silence at both ends and whether the audio clips. Full schema: https://rengi.dev/v1/media-tools/schema","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":6,"answered_7d":6,"latency_ms_median":922,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"audioUrl":"https://rengi.dev/samples/tone.wav","height":160,"points":50,"style":"bars","width":800},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"audio":{"description":"Audio file as base64 (MP3, WAV, OGG, FLAC, M4A, AAC), or a video to take the sound from.","type":"string"},"audioUrl":{"description":"Link to the audio.","format":"uri","type":"string"},"background":{"description":"Transparent when omitted.","pattern":"^#?[0-9a-fA-F]{6}$","type":"string"},"barWidth":{"default":4,"maximum":40,"minimum":1,"type":"integer"},"color":{"default":"#d9480f","pattern":"^#?[0-9a-fA-F]{6}$","type":"string"},"gap":{"default":2,"maximum":40,"minimum":0,"type":"integer"},"height":{"default":200,"maximum":1000,"minimum":40,"type":"integer"},"points":{"default":200,"description":"How many peak values to return for drawing the waveform yourself.","maximum":2000,"minimum":10,"type":"integer"},"style":{"default":"bars","description":"bars: rounded bars like a voice message; line: a dense filled waveform.","enum":["bars","line"],"type":"string"},"width":{"default":1200,"maximum":4000,"minimum":100,"type":"integer"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"clipping":{"description":"True when the audio hits full scale for stretches: it was recorded or exported too hot.","type":"boolean"},"duration":{"type":"number"},"image":{"type":"string"},"peakDb":{"type":"number"},"peaks":{"description":"Peak level per slice of the audio, 0..1, loudest slice = 1.","items":{"type":"number"},"type":"array"},"silentEndMs":{"type":"number"},"silentStartMs":{"type":"number"},"svg":{"type":"string"}},"required":["image","svg","peaks","duration","silentStartMs","silentEndMs","peakDb","clipping"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":944,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":888,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":971,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":890,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":919,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":925,"error":null}],"description_full":"Media tools: Waveform of an audio file as PNG and SVG in your colours, bar or line style, plus the peak values to draw it yourself, the silence at both ends and whether the audio clips. Full schema: https://rengi.dev/v1/media-tools/schema","last_updated":"2026-11-21T15:12:29.568Z","schemes":["exact"]}