Embed a model
You can show a Khada model on your website with an iframe. Select a model and the options below, then copy the code.
API
-
/api/search?query=samirafinds models by name. Each result has theidand thegroup. Extras also have analias. -
/api/skins?id=54006gives one model, with the ids of its chromas and additional models.
Notes
- Each iframe uses one WebGL context, and browsers limit the number of contexts on a page. If your page shows many models, load each model when the user clicks it.
- New skins are available approximately 48 hours after their release. The ids do not change.
- You can use the embed free of charge, also for commercial use. The Pro options need a key, email us at devkhada44@gmail.com.
Terms
- We give the embed as it is, with no warranty.
- We can change the embed, its parameters or its free options at any time, with no notice.
- We can stop the embed, or block a website, at any time.
- The free embed shows the watermark and the modelviewer.lol bar. Do not hide or cover them.
- The models are the property of Riot Games. Khada is not endorsed by Riot Games. Do not sell the models or use them outside the embed.
- To track usage, we may record the website, the embed URL, the browser type and the country for each load. We do not record IP addresses or other personal data.
- The Terms of Use of Khada also apply.
URL parameters
| Parameter | Example | Function |
|---|---|---|
| id | 103086 | The model id. Required. |
| group | lol | tft | extras | The default is lol. |
| chroma | 54010 | Starts on this chroma. |
| alias | luxfire | Starts on this additional model. |
| tier | 27002 | Starts on this TFT tier. |
| background | 0e1015 | league | A hex colour without the #. The default is d4d4d4, or 171717 with dark. league is the in-game backdrop. |
| background | transparent | Pro. A transparent background. |
| lang | ko-KR | The language of the menus. The default is English. |
| dark | true | Uses the dark style for the menus, the bottom bar and the default background. |
| shadow | false | Removes the shadow under the model. |
| cameraStyle | default | lol | lol is the in-game camera. Use it with background=league. |
| animation | dance | joke | taunt | laugh | Pro. Plays this emote of the champion. It works for all champions and skins. |
| animation | Dance_Loop | Pro. Plays the animation with this name. The names are different for each model. T-Pose is also available. |
| watermark | false | Pro. Removes the watermark. |
| hideButton | true | Pro. Removes the modelviewer.lol bar. |
| variants | false | Pro. Removes the Variations menu (chromas, forms, additional models). |
| hideLoading | true | Pro. Removes the loading spinner. |
| interactable | false | Pro. Locks the camera. |
| fitAnimation | true | Pro. The camera shows all the positions of the animation, so a model that jumps or flies stays in the frame. |
| padding | 20 | Pro. Adds space around the model, in percent of its size (0 to 100). The model shows smaller. |
| key | YOUR_KEY | Your key. The Pro parameters need it. |