Access: beta The Mint API lets your app start long-running World and 3D Model generation flows, check their status, and fetch generated resources. Use the production base URL:Documentation Index
Fetch the complete documentation index at: https://docs.mint.gg/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
The Mint API is currently in beta. Email hello@mint.gg for access. After access is enabled, create an API key in Mint from Developer. Send it as a Bearer token:Start a generation
Use action routes to start generation:generationMode can be:
auto: continue without a manual approval pause when the generation can proceed.review: stop at Preview so your app can approve or revise before final generation.
generationPreset can be fast, standard, or production.
Every mutating request requires Idempotency-Key. Reusing a key with the same request safely returns the same operation. Reusing it with different input returns a conflict.
Track progress
Generation takes time. A start request returns an operation and aLocation header:
GET /v1/operations/{operationId} until the status is preview_ready, succeeded, failed, or canceled.
When an operation has a generated resource, mintUrl links to the World or 3D Model on Mint. When an operation succeeds, assets includes the generated files your app needs. World assets include fields such as panoUrl, colliderMeshUrl, spzUrls, thumbnailUrl, and caption. 3D Model assets include fields such as optimizedGlbUrl, glbUrl, thumbnailUrl, and previewImageUrl.
List generated resources
UseGET /v1/worlds and GET /v1/models to list resources generated through your API project:
data and pagination.nextCursor. Pass cursor to fetch the next page. These list endpoints only return resources created through the Mint API for the authenticated project.
Check credits and usage
UseGET /v1/usage to check the authenticated Mint account’s available Credits and aggregate API usage:
credits, subscription, and compact apiUsage totals.