You can show a Khada model on your website with an iframe. Select a model and the options below, then copy the code.
<iframe
src="https://modelviewer.lol/embed?id=103086"
title="Immortalized Legend Ahri 3D model"
width="500"
height="500"
style="border:0"
loading="lazy"
></iframe>/api/search?query=samira finds models by name. Each result
has the id and the group. Extras also have an
alias.
/api/skins?id=54006 gives one model, with the ids of its
chromas and additional models.
| 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. |