Gifli API Docs
Api

Upload a GIF

Upload a GIF, PNG, WebP, MP4, or WebM up to 10 MB. Files are converted to WebP and an AI description is added asynchronously.

POST
/gifs/

Authorization

AuthorizationBearer <token>

Pass a user session token (from /auth/login) or an app API key (gk_…).

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/gifs/" \  -F file="string"
{  "id": "string",  "name": "string",  "description": "string",  "url": "http://example.com",  "mimeType": "image/webp",  "sizeBytes": "204800",  "width": 0,  "height": 0,  "thumbhash": "string",  "userId": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}
{  "error": "string"}
{  "error": "string"}