API
APNG.dev REST API
Programmatic access to APNG conversion and compression. Authenticate with an API key tied to your GitHub account.
Endpoints
POST /api/v1/convert/gif-to-apng
POST /api/v1/convert/apng-to-webp
POST /api/v1/compress/apngSample request
curl -X POST https://apng.dev/api/v1/convert/gif-to-apng \
-H "Authorization: Bearer <your-api-key>" \
-F "file=@animation.gif" \
-o output.apngAuthentication
All API requests require a Bearer token in the Authorization header. Sign in with GitHub to generate and manage your API keys.
Endpoint reference
POST
/api/v1/convert/gif-to-apngConvert a GIF to APNG. Send the file as multipart/form-data with field name `file`.
POST
/api/v1/convert/apng-to-webpConvert an APNG to animated WebP. Send the file as multipart/form-data with field name `file`.
POST
/api/v1/compress/apngLosslessly compress an APNG. Send the file as multipart/form-data with field name `file`.