With Discover Gifs api you can search gifs. Basis of keywords it will search any gif and generates a list with that keyword.
An Actor diagram is focused on (code)objects that can be seen as the actors of your code. WHO handles functionality in your app.
The Interaction diagram focuses on WHAT happens in your code. It visualizes functions and shows how action flows through your application.
Giphy: https://developers.giphy.com/
The downsize from the api there is not really something to filter the data (for example a tag). In the Codepen demo i made a array with tags included to show waht filter can do.
Demo https://codepen.io/thekevster-nl/pen/ExVRazo