This API extracts DRM keys from Penpencil content.
POST /getkeys-from-video-info
Parameters:
{
"video_id": "66c029c57f6475deeef0d9d0",
"subject_id": "5f9ff5bed4fc1f011595f1e0",
"batch_id": "65dedbbd16156900189fdeec"
}
GET/POST /convert-dash-to-mpd
https://...//dash/240/2.mp4?... https://...//dash/1.mp4?... https://...//dash/audio/init.mp4?... https://...//master.mpd?... (used as-is){
"url": "https://sec-prod-mediacdn.pw.live/7609c665-25b3-40b9-8ef2-b7ae5e0719c0/dash/240/2.mp4?URLPrefix=...&Expires=...&KeyName=...&Signature=..."
}
⚠️ For GET requests, the URL must be properly URL-encoded:
https://your-api.com/convert-dash-to-mpd?url=https%3A//sec-prod-mediacdn.pw.live/7609c665-25b3-40b9-8ef2-b7ae5e0719c0/dash/240/2.mp4%3FURLPrefix%3D...%26Expires%3D...%26KeyName%3D...%26Signature%3D...
Note: Use POST method to avoid URL encoding issues with complex URLs containing multiple query parameters.
POST /getkeys
Parameters:
{
"url": "https://sec-prod-mediacdn.pw.live/.../master.mpd?..."
}
API is running and ready to accept requests