SnapMeasure accepts a front-facing full-body photo (plus a side photo) and returns
9 body measurements in centimetres. Before returning results, Agent 2
(our Gemini Vision quality auditor) inspects the photo and rejects poor-quality images
with specific, actionable advice.
9
Body measurements returned
< 3s
Typical response time
£0.15
Per call after free trial
Authentication
All requests must include an X-API-Key header.
Generate your key at /api-portal.
X-API-Key: sk_live_your_api_key_here
Trial policy: Every new API key receives 2 free calls
(admin-configurable, max 5). Subsequent calls require purchased credits.
Credits never expire.
POST /measure/upload
Submit body photos. Returns measurements or a photo quality error.
Use multipart/form-data encoding.
Request Parameters
Field
Type
Required
Description
front
File
Required
Front-facing full-body photo. JPG or PNG. Person must be fully visible head to ankle, fitted clothing, plain background, even lighting.
{
"measurements": {
"shoulder_width": 44.3, // cm — shoulder point to shoulder point
"chest_circumference": 98.2, // cm — around fullest part of chest
"waist_circumference": 81.5, // cm — natural waist
"hip_circumference": 95.0, // cm — fullest part of hips
"neck_circumference": 38.6, // cm — base of neck
"arm_length": 62.1, // cm — shoulder to wrist
"shirt_length": 71.4, // cm — shoulder to hem
"trouser_length": 103.2, // cm — waist to floor
"thigh_circumference": 57.8 // cm — fullest part of upper thigh
},
"scale_factor": 0.042,
"user_height_cm": 178.0,
"side_depth_used": true, // true if left_side was provided and improved accuracy
"audit": {
"pass": true,
"issues": [],
"advice": ""
},
"api_usage": {
"trial_calls_used": 1,
"trial_calls_remaining": 1,
"paid_credits": 0
}
}
Error Responses
HTTP
error field
When
Action
401
invalid_key
Key missing, wrong, or revoked
Check your API key
400
front image required
No front photo in request
Add front field
400
no_person_detected
Pose not detected in photo
Show full body, head to ankle
402
payment_required
Trial exhausted, no credits
Buy credits at /api-portal
422
photo_quality
Agent 2 flagged photo issues
Read issues + advice fields; re-upload
500
libraries_unavailable
AI libs not installed on server
Contact support
422 Photo Quality Error
{
"error": "photo_quality",
"issues": ["heavy shadow on left side", "baggy clothing hiding waist"],
"advice": "Please re-upload in fitted clothing under bright, even lighting.",
"measurements": { ... } // still returned for reference, but may be inaccurate
}
Photo Guidelines
✓ Front Photo
✓ Full body visible — head to ankle
✓ Facing camera directly
✓ Fitted clothing (not baggy)
✓ Arms slightly away from body
✓ Plain background
✓ Bright, even lighting
✓ JPG or PNG, max 10MB
◈ Side Photo
◈ Left or right profile view
◈ Full body visible
◈ Same lighting conditions as front
◈ Improves chest, waist & hip accuracy
◈ Especially useful for larger sizes
◈ Same file format restrictions
Pricing
Tier
Calls
Cost
Notes
Free Trial
2 per key
£0.00
Automatically applied to every new key
Starter
10 credits
£1.50
£0.150/call
Growth
50 credits
£6.00
£0.120/call — 20% off
Scale
200 credits
£20.00
£0.100/call — 33% off
Enterprise
500 credits
£40.00
£0.080/call — 47% off
Credits never expire. Failed calls (400/422 errors) are not charged if the failure was caused by photo quality — only successful 200 responses consume a credit.
Hi! I'm your Snap2Wear AI Agent. I can take your measurements from body photos (📷), look up orders, reset passwords, build bespoke garment orders, and execute USDC payments. How can I help? ✦
📷 0 photos attached✕ Clear
✦
💳
Top Up Circle Wallet
USDC Deposit & Card Onramp
Buy USDC instantly with Visa, Mastercard, or Apple Pay directly into your store wallet:
Your Store Polygon Deposit Address:
Fetching address...
Send USDC on Polygon (MATIC) network from Binance, Coinbase, or MetaMask.