API Documentation
Access iLove3DM tools programmatically
Base URL
https://ilove3dm.com/api/v1Authentication
All API requests require an API key passed in the X-API-Key header.
curl -X POST https://ilove3dm.com/api/v1/compress \
-H "X-API-Key: sk_your_api_key_here" \
-F "file=@model.glb"Get Your API Key
Create and manage your API keys at Account → API Keys
Credits: Each API operation costs credits. Check your balance and purchase more at Pricing.
POST
/compress5 creditsCompress a GLB model using Draco compression, pruning, and deduplication.
Request Body:
{
"options": {
"prune": { "enabled": true },
"dedup": { "enabled": true },
"draco": { "enabled": true }
}
}Example:
curl -X POST https://ilove3dm.com/api/v1/compress \
-H "X-API-Key: sk_your_key" \
-F "file=@model.glb" \
-F 'options={"prune":{"enabled":true},"draco":{"enabled":true}}' \
-o compressed.glbPOST
/scale3 creditsScale a 3D model by a multiplier or to specific dimensions.
Request Body:
{
"options": {
"mode": "multiplier",
"multiplier": 2.0
}
}Example:
curl -X POST https://ilove3dm.com/api/v1/scale \
-H "X-API-Key: sk_your_key" \
-F "file=@model.glb" \
-F 'options={"mode":"multiplier","multiplier":2.0}' \
-o scaled.glbPOST
/watermark5 creditsAdd a text watermark to model textures.
Request Body:
{
"options": {
"watermarkText": "© MyCompany",
"opacity": 0.5,
"rotation": -30
}
}Example:
curl -X POST https://ilove3dm.com/api/v1/watermark \
-H "X-API-Key: sk_your_key" \
-F "file=@model.glb" \
-F 'options={"watermarkText":"© MyCompany"}' \
-o watermarked.glbRate Limits & Support
The API is rate limited to 100 requests per minute per API key. For higher limits or enterprise support, please contact us.