Profile avatars nowadays very popular in websites which helps its users to generate their profile instead of using a own picture as profile, and its obvious websites should provide this feature as default, so if anyone like me doesn't have a good picture of my face then i can use an avatar :).
In this article we are going to generate our own avatars using rapidAPI's funky pixel avatar API which is free and paid both.
Now question comes why we are only using this? because this api helps to generate the avatar based on gender, means you can generate avatar for male and female both by passing gender as query
and it also supports multiple image formats like: png, jpeg, jpg, and gif which is good for it's user.
We can directly test the api on rapidAPI, because rapidAPI provides the users to test the api in realtime directly, so let's start generate our avatars.
1. Go to API Hub - Free Public & Open Rest APIs | RapidAPI
2. Type "funky avatar"
Type funky avatar in the search box and click enter.
3. Click on funky pixel avatars…
Now we can see the funky avatar api card is visible on search page of rapidAPI let's click on it.
4. Click on Test Endpoint
Now we're on the page of the funky pixel avatars api let's test it with the default inputs it have, click on the Test Endpoint button to test the API.
5. Click on tab
Requset is sent it's a successful request, now go to the Results tab to see the response and you can see it have returned a url and a message that the generate image will be deleted after 15 minutes, so let's copy our URL.
6. Open image URL into new tab
Now as we have copied our avatar url let's open it into new tab.
7. Now let's change the image extension, uname and gender to generate another avatar
8. Now Click on Test Endpoint to test the endpoint.
9. Now copy the generate URL of you avatar and open it into new table.
Now we have our response again let's copy the URL and open it in new tab.
10. Open URL in new tab
So as you can see the avatars looks good for both male and female and also provide us to choose which format of image we need so it seems a good api to use for our projects.
API: Funky Pixel Avatars
My Personal Blogging Website : Programming Geeks Club
My Facebook Page : Programming Geeks Club
My Telegram Channel : Programming Geeks Club
My Twitter Account : Kuldeep Singh
My Youtube Channel: Programming Geeks Club
Top comments (0)