Skip to main content

Garmint API

The Garmint API lets you programmatically generate apparel mockups, analyze designs for printability, and access our garment catalog. Perfect for:
  • Print-on-demand platforms — Generate mockups at scale
  • Design tools — Integrate mockup preview into your workflow
  • E-commerce — Auto-generate product images
  • Custom applications — Build unique experiences with our AI

Base URL

https://garmint.app/api/v1

Quick Example

# Generate a mockup
curl -X POST https://garmint.app/api/v1/generate \
  -H "Authorization: Bearer gm_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "designUrl": "https://example.com/my-design.png",
    "garmentId": "gildan-5000",
    "garmentImageUrl": "https://cdn.shopify.com/...",
    "placement": { "x": 50, "y": 35, "scale": 0.8 }
  }'
Response:
{
  "id": "gen_1703001234_abc123",
  "status": "completed",
  "mockupUrl": "https://res.cloudinary.com/.../mockup.jpg",
  "tokensUsed": 1,
  "createdAt": "2024-12-19T12:00:00Z"
}

Features

Mockup Generation

Composite designs onto garments with precise placement control

Design Analysis

Analyze colors, detect complexity, get print recommendations

Garment Catalog

Browse available blanks with colors, sizes, and print zones

Image Upload

Upload designs and get URLs for generation

Token-Based Pricing

Generations cost 1 token each. Analysis and uploads are free.
PlanTokens/MonthPrice
Free50$0
Pro500$29/mo
Business2,000$99/mo
EnterpriseCustomContact us
Need higher volume? Contact us for custom pricing.

SDKs & Libraries

Coming soon:
  • @garmint/sdk — TypeScript/JavaScript
  • garmint-py — Python
For now, use direct REST calls with your preferred HTTP client.

Getting Started

  1. Create an API key
  2. List available garments
  3. Generate your first mockup

Rate Limits

  • 60 requests per minute per API key
  • Rate limit headers included in all responses
  • Webhook callbacks don’t count against limits

Support