Back to Shoes Try-On App

WEARFITS Shoes AR Try-On

Integrate AI-powered shoe AR try-on into your e-commerce website

About Shoes AR Try-On

WEARFITS 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.

AI 3D Generation

Advanced AI converts 2D shoe images into detailed 3D models automatically.

Instant AR Viewer

Generated models are instantly available for AR viewing via QR code - no app required.

Simple API

RESTful API with job-based processing. Submit images, poll for status, get AR URL.

Mobile Optimized

AR viewer works on all modern smartphones with WebXR support.

Overview

The WEARFITS Shoes AR Try-On enables customers to visualize footwear in augmented reality using AI-generated 3D models. The process is simple:

  1. Upload Images - Submit 1-4 images of a shoe
  2. AI Processing - Our AI generates a 3D model (takes 1-5 minutes)
  3. AR Ready - Receive an AR viewer URL with QR code
  4. Customer Experience - Customers scan QR code to view shoe in AR

How It Works

1. Image Upload

Upload 1-4 high-quality images of the shoe. Multiple angles improve 3D model quality:

2. 3D Model Generation

Our AI processes the images using state-of-the-art 3D reconstruction technology. The best model is automatically selected for optimal results.

3. AR Viewer

Once processing completes, you receive an AR viewer URL. Customers can:

API Reference

Base URL

https://api.wearfits.com/v1

Authentication

All requests require an API key in the header:

X-API-Key: your-api-key

1. Upload Base 3D Model (Optional)

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

Request Fields

Field Type Required Description
file file Yes The .glb base 3D model (max 50MB)

Response

{
  "url": "https://storage.wearfits.com/uploads/abc-123.glb"
}

2. Submit Shoe 3D Generation Job

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
  }
}

Request Fields

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

Response

{
  "jobId": "d6543a37-7867-4986-af23-856501c1338d"
}

3. Check Job Status

GET /v1/jobs/{jobId}

Response (Processing)

{
  "id": "d6543a37-7867-4986-af23-856501c1338d",
  "status": "processing",
  "progress": {
    "stage": "generating_3d_model",
    "percentage": 45
  }
}

Response (Completed)

{
  "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
  }
}

Job Status Values

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)

Frontend Integration

Once you've generated the AR viewer URL via the API (backend), add a "Try On" button to your product pages:

AR Viewer URL Format

https://dev.wearfits.com/tryon?object={id}

Store this URL in your product database after generating the 3D model via the API.

Simple Button Link

<!-- Direct link to AR viewer -->
<a href="https://dev.wearfits.com/tryon?object=abc123"
   target="_blank"
   class="tryon-button">
  Try On in AR
</a>

Button with QR Code

<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>

Dynamic JavaScript Example

// 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);
}

Best Practices

1. Image Requirements (for API)

2. Backend Integration

3. Frontend User Experience

4. Job Persistence

The WEARFITS shoes try-on app automatically persists in-progress jobs across page reloads:

Need Help?

For technical support and API access, contact our support team

View Clothing Try-On Integration Guide