Explorer
Syncing—

Agent Media UtilitiesService

media-utils

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.

Active Suppliers
0
of 0 ever configured
Service Info
Service ID
media-utils
Compute Units / Relay
10,000
Active Applications
3
Relay Mining EMA
2 relays
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 ..."
}
]
"apis":[3 items
0:"media-utils-pdf-render"
1:"media-utils-image-convert"
2:"media-utils-audio-transcribe"
]
"specs":[1 item
0:{4 items
"kind":"openapi"
"api":"media-utils-pdf-render"
"url":"https://raw.githubusercontent.com/organiccryptoyyc/pocket-agentic-services/main/media-utils/openapi.json"
"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..."
"implementations":[1 item
0:"media-utils >= 1.0"
]
"docs":"https://github.com/organiccryptoyyc/pocket-agentic-services/tree/main/media-utils"
"min_disk_gb":2
"min_ram_gb":2
"healthcheck":[3 items
0:{4 items
"rpc_type":"REST"
"request":{2 items
"path":"/v1/version"
"method":"GET"
}
"expect":{2 items
"json_path":"$.service"
"matches":"^media-utils$"
}
"notes":"Identity probe: pins the backend to this service so a wrong backend cannot be staked under this id."
}
1:{3 items
"rpc_type":"REST"
"request":{2 items
"path":"/v1/health"
"method":"GET"
}
"expect":{2 items
"json_path":"$.status"
"matches":"^ok$"
}
}
2:{4 items
"rpc_type":"REST"
"request":{3 items
"path":"/v1/pdf-render"
"method":"POST"
"body":{4 items
"pdf_base64":"JVBERi0xLjQKMSAwIG9iajw8L1R5cGUvQ2F0YWxvZy9QYWdlcyAyIDAgUj4+ZW5kb2JqCjIgMCBvYmo8PC9UeXBlL1BhZ2VzL0tpZHNbMyAwIFJdL0NvdW50IDE+PmVuZG9iagozIDAgb2JqPDwvVHlwZS9QYWdl..."
"page":1
"dpi":72
"format":"png"
}
}
"expect":{2 items
"json_path":"$.width"
"matches":"^200$"
}
"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..."
}
"docs":"https://github.com/organiccryptoyyc/pocket-agentic-services/blob/main/media-utils/README.md"
"updated":"2026-09-26"
}