/images/search?mime_types=
There are 3 image types available:
- gif - animated
- jpg - static
- png - static
Pass one or more as the mime_types query parameter. Checkout the /images API reference for more info
Example - Filter by file type (mime_types)
Changes the mime_types query parameter
-
For Gifs - Request a new Image with https://api.thecatapi.com/images/search?mime_types=gif
-
For Static Images - Request a new Image with https://api.thecatapi.com/images/search?mime_types=jpg,png
-
For any image type pass nothing, or everything - ?mime_types=gif,jpg,png