Agent Media Utilities. Three things an autonomous agent needs and could not get anywhere on Pocket's Agentic Portal as of 2026-09-26 (checked against the live 99-service catalog before building this): POST /v1/pdf-render (pdf_base64, page?, dpi?, format?) renders one real page of a PDF to a PNG/JPEG image via poppler. POST /v1/image-convert (image_base64, to, quality?, max_width?) converts between image formats -- png, jpeg, webp, tiff, avif -- including real HEIC/HEVC photos (the format virtually all iPhones produce), which the portal's existing OCR/chart services don't handle. POST /v1/audio-transcribe (audio_base64, language?) submits a short audio clip for transcription and returns a job_id; POST /v1/audio-transcribe-status (job_id) polls it -- split into submit+poll because a real speech-to-text pass cannot reliably finish inside a gateway's relay timeout (design rule 7), so the work runs in the background instead of blocking the relay. Every conversion runs through real tools (poppler, libvips/sharp, libheif, ffmpeg, whisper.cpp) on the request's actual bytes -- nothing here is a stub, a guessed format, or a cached-forever answer.
Service Metadata Cardsource: on-chain metadata (LCD)
{10 items
"schema":"pocket-service-card/v1"
"description":"Agent Media Utilities. Three things an autonomous agent needs and could not get anywhere on Pocket's Agentic Portal as of 2026-09-26 (checked against the live 9..."
"rpc_types":[1 item
0:{4 items
"type":"REST"
"intent":"expected"
"backend_hint":"media-utils HTTP server on :8080; mount at /"
"notes":"Only POST /v1/pdf-render, /v1/image-convert, /v1/audio-transcribe, /v1/audio-transcribe-status, and GET /v1/version, /v1/health are expected. Every response is ..."
"notes":"Covers all four resources in one document. TODO before MainNet staking: pin this to an immutable commit SHA in the path (not 'main') and add a sha256 of the exa..."
}
]
"access":"public"
"results":"variable"
"serving":{7 items
"backend":"The media-utils Node.js HTTP server behind a RelayMiner, with the REST backend pointed at http://<container>:8080. No auth toward the backend; callers cannot se..."
"notes":"Functional probe: a tiny hand-built one-page 200x100pt PDF embedded directly in this card, rendered at 72 DPI (1pt = 1px), so the expected output width is exact..."
}
]
"notes":"Suppliers should disable any local rate limiting for the RelayMiner's address. Request bodies are base64 file payloads capped at 12 MiB (~9 MiB of real file byt..."