The gifs.com API makes it dead simple to convert and transcode a vast array of media into our HTML5 optimized gifs.com player, a compressed .gif, .webm and .mp4.
Datatype | Description | Example |
---|---|---|
Datepicker | String which includes date and time | |
Map | String which includes latitude and longitude coma separated | |
List | Simple array | |
Select | String with predefined values | |
Array | Array of objects |
Gifs support importing the following file mime types: image/gif, video/mp4, video/webm and you can also link directly to a giphy, imgur, gfycat, streamable, instagram, twitter, facebook, or vine web page and we’ll automagically find the best quality file to import.
Field | Type | Description |
---|---|---|
apiKey | credentials | Your API key |
source | String | The source URL of the media to add |
title | String | The title of the media |
tags | List | The tags relating the the media |
attributionSite | String | twitter, reddit, instagram, vine, or a custom URL |
attributionUser | String | Required if isset attributionSite. The username for social media sites |
attributionUrl | String | The url if site != social media |
You can upload image/gif, video/mp4, and video/webm media.
Field | Type | Description |
---|---|---|
apiKey | credentials | Your API key |
file | File | The file being uploaded. |
title | String | The title of the media |
tags | List | The tags relating the the media |
nsfw | Select | If the media is not safe for work |
attribution_site | String | twitter, reddit, instagram, vine, or a custom URL |
attribution_user | String | Required if isset attributionSite. The username for social media sites |
attribution_url | String | The url if site != social media |