Integrate AI-powered shoe AR try-on into your e-commerce website
Sign UpWEARFITS Shoes AR Try-On is a cutting-edge solution that transforms shoe images into interactive 3D models for augmented reality visualization. Customers can see how footwear looks in real-world scale using their smartphone camera.
Upload 1-4 images of a shoe, and our AI generates a high-quality 3D model that can be viewed in AR on any mobile device via a simple QR code scan.
Key benefits include increased customer confidence, reduced returns, and an innovative shopping experience that differentiates your brand.
Advanced AI converts 2D shoe images into detailed 3D models automatically.
Generated models are instantly available for AR viewing via QR code - no app required.
RESTful API with job-based processing. Submit images, poll for status, get AR URL.
AR viewer works on all modern smartphones with WebXR support.
The WEARFITS Shoes AR Try-On enables customers to visualize footwear in augmented reality using AI-generated 3D models. The process is simple:
Upload 1-4 high-quality images of the shoe. Multiple angles improve 3D model quality:
Our AI processes the images using state-of-the-art 3D reconstruction technology. The best model is automatically selected for optimal results.
Once processing completes, you receive an AR viewer URL. Customers can:
https://api.wearfits.com/v1
All requests require an API key in the header:
X-API-Key: your-api-key
If you already have a 3D model of the shoe in .glb format, you can upload it directly to bypass the AI 2D-to-3D generation phase.
POST /v1/files/upload
Content-Type: multipart/form-data
| Field | Type | Required | Description |
|---|---|---|---|
file |
file | Yes | The .glb base 3D model (max 50MB) |
{
"url": "https://storage.wearfits.com/uploads/abc-123.glb"
}
POST /v1/shoe-3d
{
"images": [
"https://example.com/shoe-front.jpg",
"https://example.com/shoe-side.jpg"
],
"glbInput": "https://storage.wearfits.com/uploads/abc-123.glb",
"options": {
"uploadToWearFits": true,
"rightShoe": false
}
}
| Field | Type | Required | Description |
|---|---|---|---|
images |
array | Yes | Array of image URLs or base64 data URLs (1-4 images) |
glbInput |
string | No | Optional URL of a pre-uploaded .glb model to bypass mesh generation |
options.uploadToWearFits |
boolean | Yes* | Must be true to get AR viewer URL |
options.rightShoe |
boolean | No | Set to true if image shows right shoe |
{
"jobId": "d6543a37-7867-4986-af23-856501c1338d"
}
GET /v1/jobs/{jobId}
{
"id": "d6543a37-7867-4986-af23-856501c1338d",
"status": "processing",
"progress": {
"stage": "generating_3d_model",
"percentage": 45
}
}
{
"id": "d6543a37-7867-4986-af23-856501c1338d",
"status": "completed",
"mode": "shoe-3d",
"results": [
{
"url": "https://storage.example.com/model.glb",
"expiresAt": "2026-01-22T00:43:10.895Z"
}
],
"wearfitsTryOn": {
"modelId": "shoe-model-123",
"colorId": "color-456",
"viewerUrl": "https://dev.wearfits.com/tryon/shoe/shoe-model-123/color-456"
},
"progress": {
"stage": "completed",
"percentage": 100
}
}
| Status | Description |
|---|---|
queued |
Job is waiting to be processed |
validating |
Validating input images |
processing |
Generating 3D model |
uploading |
Uploading to WEARFITS AR platform |
completed |
Job finished successfully |
failed |
Job failed (check error field) |
Once you've generated the AR viewer URL via the API (backend), add a "Try On" button to your product pages:
https://dev.wearfits.com/tryon?object={id}
Store this URL in your product database after generating the 3D model via the API.
<!-- Direct link to AR viewer -->
<a href="https://dev.wearfits.com/tryon?object=abc123"
target="_blank"
class="tryon-button">
Try On in AR
</a>
<div class="shoe-tryon">
<!-- QR Code for mobile scanning -->
<img src="https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=https://dev.wearfits.com/tryon?object=abc123"
alt="Scan to try on" />
<p>Scan with your phone to try on</p>
<a href="https://dev.wearfits.com/tryon?object=abc123"
target="_blank">
Open AR Viewer
</a>
</div>
// Product data from your backend (AR URL already generated)
const product = {
id: 'shoe-001',
name: 'Running Sneaker',
arViewerUrl: 'https://dev.wearfits.com/tryon?object=abc123'
};
// Generate QR code URL
function getQrCodeUrl(arUrl) {
return `https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${encodeURIComponent(arUrl)}`;
}
// Add try-on button to product page
function addTryOnButton(product) {
const button = document.createElement('a');
button.href = product.arViewerUrl;
button.target = '_blank';
button.className = 'tryon-button';
button.textContent = 'Try On in AR';
document.querySelector('.product-actions').appendChild(button);
}
The WEARFITS shoes try-on app automatically persists in-progress jobs across page reloads:
For technical support and API access, contact our support team