net.atchan.media.getSpectrogram

Get a spectrogram image drawn from an audio blob of a post embed. Falls back to a placeholder image when the audio can't be drawn.

Repository @atchan.net did:plc:vshgahazzq7qwvp2xc6ai27o namespace authority
Details · query
Kindquery
Authoritymedia.atchan.net
Commit rev3n2pc27pvmk2k
Indexed

Query

query · GET

Parameters

query string

cid

requiredstring · cid

The CID of the blob.

did

requiredstring · did

The DID of the account whose repo holds the blob.

Output

image/webp

Errors

BlobNotFound

atchan has not indexed a post embedding this blob.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Get the audio of a post embed, proxied from the author's PDS and cached.

  • Get the full-size image blob of a post embed, proxied from the author's PDS and cached. Only blobs atchan has indexed from a post embed are served.

  • Get a thumbnail rendered from an image blob of a post embed.

  • Get the video blob of a post embed. Supports HTTP range requests.

  • Get a blob by its CID from temporary R2 storage. Returns the raw binary content. The authenticated user's temporary blob is retrieved using their DID and the provided CID.