", * "frame2.png": "" * }, * "groups": { * "my_gif": { * "files": ["frame1.png", "frame2.png"], * "delays": [500, 300], * "loop": true * } * }, * "quality": 256 * } * * ── RESPONSE ── * { * "success": true, * "batchId": "api_xxxxx", * "results": [ * { * "group": "animation_1", * "success": true, * "frames": 3, * "url": "output/api_xxxxx/animation_1.gif", * "download_url": "https://yourserver.com/gif-encoder/output/api_xxxxx/animation_1.gif", * "base64": "" * } * ] * } */ // Just forward to process.php — it handles the API logic require __DIR__ . '/process.php';