Access and use 3D models from Sketchfab.
Access and use 3D models from Sketchfab by generating HTML applications that embed interactive 3D models directly in web pages, allowing users to view, rotate, and interact with 3D content seamlessly through customizable Sketchfab embeds.
Required:
action
- The operation to perform (generate-embed)Optional:
sketchfab-url
- Full Sketchfab model URLmodel-id
- Sketchfab model ID (extracted from URL)model-name
- Name/title for the 3D modelwidth
- Embed width (default: 100%)height
- Embed height (default: 100%)Create an HTML application that embeds a Sketchfab 3D model
Parameters:
sketchfab-url
(optional) - Full Sketchfab model URL (model ID will be extracted)model-id
(optional) - Sketchfab model ID if URL not providedmodel-name
(optional) - Display name for the 3D modelwidth
(optional) - Embed width percentage or pixels (default: 100%)height
(optional) - Embed height percentage or pixels (default: 100%)Example:
Alternative Example:
Response:
Generated HTML Application: The tool generates a complete HTML application with:
Sketchfab model IDs are extracted from URLs automatically. The format is: https://sketchfab.com/3d-models/[model-name]-[MODEL_ID]. The generated HTML app includes full responsive design with proper viewport settings. Embed supports VR/AR capabilities with xr-spatial-tracking. All generated apps are fullscreen and touch-friendly for mobile devices. The iframe includes necessary permissions for autoplay, fullscreen, and web-share functionality.