Skip to main content
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.