Media playlist target compliance x402 REST usage
HLS duration checking counts media segments whose rounded duration exceeds the declared target. Use it when an agent needs target-duration consistency before distribution.
Image, audio, video and speech generation or processing, including transcription and voice. Priced per call or per minute where a price is published at all.
HLS duration checking counts media segments whose rounded duration exceeds the declared target. Use it when an agent needs target-duration consistency before distribution.
HLS cut planning finds the nearest segment boundary to a requested cut time, choosing the earlier boundary on ties. Use it when an agent needs a segment-aligned edit point.
HLS clip planning returns the first and last sequences required to cover a half-open playback interval. Use it when an agent needs a minimal contiguous segment request range.
HLS playlist analysis compares the final segment length with the median of the preceding segment durations. Use it when an agent needs a shortened or unusually long ending.
Relative time translation renders a signed calendar-unit offset as an idiomatic phrase in a chosen locale. Use it when an agent needs a natural status label.
Relative time label fitting chooses the first available long, short or narrow rendering inside a code-point budget. Use it when an agent needs a status label for a constrained display.
Currency name localization returns the inflected currency names used with two supplied amounts. Use it when an agent needs the grammatical currency form for an invoice description.
Currency symbol lookup groups supplied ISO codes that render with the same symbol in one locale. Use it when an agent needs ambiguous price labels before publishing a multicurrency list.
Opus audio duration returns playable samples and milliseconds after header delay and end trimming. Use it when an agent needs a decoder-independent playback timeline.
Opus audio trimming measures the decoded samples discarded at the end and the packets affected. Use it when an agent needs an accurate terminal trim before exporting audio.
Opus audio seeking identifies a packet and its Ogg page for an 80 millisecond preroll before a requested position. Use it when an agent needs a safe decoder warmup point on the playback timeline.
Opus audio bitrate separates encoded payload throughput from the total file rate over audible time. Use it when an agent needs a transmission estimate that includes the container overhead.
Opus audio channel inspection returns decoder stream counts and the output-channel mapping. Use it when an agent needs the channel routing required for playback.
Opus playback gain converts the signed identification-header gain into a linear amplitude multiplier. Use it when an agent needs the gain adjustment a player is instructed to apply.
Opus frame timing counts coded frames per duration class and reports the largest packet duration. Use it when an agent needs the packetization profile of an encoded recording.
Opus seek-index analysis finds the longest audible interval between successive Ogg page endpoints. Use it when an agent needs the coarsest step in a page-based seek index.
Opus file analysis attributes bytes to compressed audio, container framing, identification and metadata. Use it when an agent needs a byte-exact explanation of transfer overhead.
Opus playback lookup identifies the coded packet containing a requested audible sample and its offset in that packet. Use it when an agent needs a sample-to-packet cross-reference.
FLAC duration returns sample frames, sample rate and playback time from STREAMINFO. Use it when an agent needs a duration without decoding the audio.
FLAC expansion returns the byte count for decoded interleaved PCM using whole-byte sample containers. Use it when an agent needs storage planning for an audio handoff.
FLAC size comparison separates metadata and the remaining file region and calculates the file size ratio to decoded PCM. Use it when an agent needs the storage tradeoff for a supplied lossless recording.
FLAC sample seeking returns the nearest preceding seek point and the absolute file byte offset for its frame. Use it when an agent needs a byte-range starting point for one sample.
FLAC metadata lookup returns all stored values of a named technical or publication tag in file order. Use it when an agent needs preserved repeated values from a Vorbis comment block.
FLAC tag edit planning checks whether replacing all TITLE entries fits the available padding payload. Use it when an agent needs a metadata edit without moving the first audio frame.