Skip to main content

First request: check your API key

Access: Mint account with an API key Create a live key at Mint Platform → API keys. Set MINT_API_KEY in your trusted server environment, then run this read-only request. It does not start a generation or spend Credits.
A 200 response confirms authentication and reports your account and Modeler access. For 401, check the Bearer key. Modeler generation requires beta approval; other workflows have their own access requirements. API requests use the key without an interactive sign-in or CAPTCHA for each call. Continue below to generate a 3D Model. Generation spends Credits; confirm your budget before starting paid work. Keep the key out of chat, browser code, and source control.

Set up your coding agent

Working with an AI agent? Copy this instruction:
Agent instruction

1. Set your API key

The Mint API is available to all subscribers. Create a key in Developer settings:
Keep this key in trusted server code. Never expose it in a browser or commit it to source control.

2. Generate a 3D Model

Save the operation id from the response.

3. Check progress

Replace op_123 with your operation ID:
Start with a 2-second wait, multiply the wait by 1.6 after each check, and cap it at 15 seconds. Stop after 30 minutes and treat the operation as timed out in your app.

4. Get the 3D Model

When the operation succeeds, use the model ID in resource.id:
That’s it—the 3D Model is now part of your Mint account.
Mint uses the standard preset and auto workflow by default. See 3D Models when you need image guidance, another preset, or Preview review.
Not sure which workflow fits? See the 3D creation guide for text-to-3D, image-to-3D, Modeler, Worlds, Materials, and animation.