Every API here is available over the APIs.io API and to AI agents over MCP.
{"openapi":"3.1.0","info":{"title":"Mint Public API","version":"0.2.0-alpha","description":"Generate static 3D Models from text, reference images, or both, then poll the operation and retrieve the delivered GLB. The Mint REST API also creates and manages account-owned Asset Packs, Worlds, Materials, Images, Audio, Videos, Animations, and their files.","contact":{"name":"Mint Support","url":"https://docs.mint.gg/support"},"license":{"name":"Proprietary","url":"https://docs.mint.gg/terms-of-service"}},"externalDocs":{"description":"Mint API setup, generation workflows, and file delivery","url":"https://docs.mint.gg/developers/api-overview"},"servers":[{"url":"https://api.mint.gg","description":"Production"},{"url":"https://api.dev.mint.gg","description":"Development"},{"url":"http://api.mint.localhost","description":"Local development"}],"tags":[{"name":"3D Models","description":"Generate, read, revise, retry, optimize, retopologize, and convert 3D Models."},{"name":"Asset Packs","description":"Generate and manage coordinated collections of 3D assets."},{"name":"Worlds","description":"Generate, read, review, revise, and retry Worlds."},{"name":"Materials","description":"Generate and read Materials and Material Packs."},{"name":"Images","description":"Generate, edit, read, and upload reusable reference images."},{"name":"Videos","description":"Generate and retrieve playable videos."},{"name":"Audio","description":"Generate and read Audio assets."},{"name":"Animation","description":"Animate eligible assets and retrieve animation outputs."},{"name":"Pricing","description":"Read-only advisory Credit estimates for public API operations."},{"name":"Account","description":"Developer account, Credits, usage, and health."},{"name":"Operations","description":"Poll asynchronous work and act on review-mode Previews."},{"name":"Assets","description":"List account assets and retrieve their files, manifests, and download URLs."}],"paths":{"/v1/modeler:generate":{"post":{"tags":["3D Models"],"operationId":"generateModeledAsset","description":"Use an active Mint account and sufficient Credits. Set maxCredits to cap spending. Requests may queue. Poll the operation for stage, billing state, and the delivered GLB.","summary":"Model a static GLB from text or reference images","parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelerRequest"}}}},"responses":{"200":{"description":"An earlier request with the same retry key returned this operation.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}}},"202":{"description":"Long-running operation accepted.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/RequestBodyTooLarge"},"422":{"$ref":"#/components/responses/ContentPolicyBlocked"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/ServerError"},"503":{"$ref":"#/components/responses/ContentSafetyUnavailable"}},"security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}]}},"/v1/modeler/{modelId}:revise":{"post":{"tags":["3D Models"],"operationId":"reviseModeledAsset","description":"Revise a successful Modeler asset you own using a new maxCredits budget. The new GLB preserves the original.","summary":"Revise an owned Modeler asset into a new GLB","parameters":[{"name":"modelId","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelerRequest"}}}},"responses":{"200":{"description":"An earlier request with the same retry key returned this operation.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}}},"202":{"description":"Long-running operation accepted.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/RequestBodyTooLarge"},"422":{"$ref":"#/components/responses/ContentPolicyBlocked"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/ServerError"},"503":{"$ref":"#/components/responses/ContentSafetyUnavailable"}},"security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}]}},"/v1/operations/{operationId}:cancel":{"post":{"tags":["Operations"],"operationId":"cancelModelerOperation","summary":"Cancel Modeler work and charge verified incurred usage","description":"Cancel an in-flight Modeler operation. Queued cancellation releases the reservation at zero charge. After modeling starts, Mint charges verified work already incurred, within the tier price. Repeating cancellation is safe.","parameters":[{"name":"operationId","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"Canceled or already terminal Modeler operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}}},"409":{"description":"Cancellation is unsupported for this operation","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}}},"429":{"$ref":"#/components/responses/TooManyRequests"}},"security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}]}},"/health":{"get":{"tags":["Account"],"operationId":"getHealth","summary":"Check API health","security":[],"responses":{"200":{"description":"Mint public API health response.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"description":"Check API health."}},"/v1/health":{"get":{"tags":["Account"],"operationId":"getPublicApiHealth","summary":"Check API connectivity without a key","security":[],"responses":{"200":{"description":"Mint API readiness and setup links.","content":{"application/json":{"schema":{"type":"object","required":["status","service","docs","keys","mcp"],"properties":{"status":{"type":"string","const":"ok"},"service":{"type":"string","const":"mint-api"},"docs":{"type":"string","format":"uri"},"keys":{"type":"string","format":"uri"},"mcp":{"type":"string","format":"uri"}}}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"}}},"429":{"$ref":"#/components/responses/TooManyRequests"}},"description":"Check API connectivity without a key."}},"/v1/me":{"get":{"tags":["Account"],"operationId":"getDeveloperAccount","summary":"Get the authenticated developer account","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:read"]},{"mintOAuth":["mint:assets:generate"]}],"responses":{"200":{"description":"Authenticated Mint developer account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeveloperAccount"}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"description":"Get the authenticated developer account."}},"/v1/usage":{"get":{"tags":["Account"],"operationId":"getUsage","summary":"Get credit balance and API usage","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}],"responses":{"200":{"description":"Credit balance and API usage.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Usage"}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/TooManyRequests"}},"description":"Get credit balance and API usage."}},"/v1/pricing:estimate":{"post":{"tags":["Pricing"],"operationId":"estimatePricing","summary":"Estimate Credits without starting work","description":"Returns conservative planned Credit reservations for a normalized request. The estimate is advisory, creates no operation or reservation, and does not mutate Credit balances. The subsequent operation is authoritative and finalized spend may be lower.","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingEstimateRequest"}}}},"responses":{"200":{"description":"Advisory Credit estimate.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingEstimate"}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/RequestBodyTooLarge"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/v1/worlds:generate":{"post":{"tags":["Worlds"],"operationId":"generateWorld","summary":"Start a world generation operation","description":"Start an explorable 3D World from a prompt and optional image references. Use review mode to pause at a Preview. Poll the returned operation, then retrieve the World’s streamed RAD and collider GLB from its artifact manifest.","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorldGenerationRequest"}}}},"responses":{"200":{"description":"An earlier request with the same retry key returned this operation.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorldGenerationOperation"}}}},"202":{"description":"Long-running operation accepted.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorldGenerationOperation"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/RequestBodyTooLarge"},"422":{"$ref":"#/components/responses/ContentPolicyBlocked"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/ServerError"},"503":{"$ref":"#/components/responses/ContentSafetyUnavailable"}}}},"/v1/models:generate":{"post":{"tags":["3D Models"],"operationId":"generateModel","summary":"Start a model generation operation","description":"Generate a 3D object or character from a prompt with optional visual guidance. Pass one imageUrl or 2–8 sourceImages. Poll the operation, then get the finished model by resource.id to retrieve its GLB.","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelGenerationRequest"}}}},"responses":{"200":{"description":"An earlier request with the same retry key returned this operation.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelGenerationOperation"}}}},"202":{"description":"Long-running operation accepted.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelGenerationOperation"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/RequestBodyTooLarge"},"422":{"$ref":"#/components/responses/ContentPolicyBlocked"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/ServerError"},"503":{"$ref":"#/components/responses/ContentSafetyUnavailable"}}}},"/v1/models/{modelId}:optimize":{"post":{"tags":["3D Models"],"operationId":"optimizeModel","summary":"Start a model optimization operation","description":"Create an optimized GLB for a model owned by the authenticated account. Choose light, moderate, or aggressive. Read assets.optimizedGlbUrl after the operation succeeds. The original GLB remains available.","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}],"parameters":[{"name":"modelId","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelOptimizationRequest"}}}},"responses":{"200":{"description":"An earlier request with the same retry key returned this operation.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelOptimizationOperation"}}}},"202":{"description":"Long-running operation accepted.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelOptimizationOperation"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/RequestBodyTooLarge"},"422":{"$ref":"#/components/responses/ContentPolicyBlocked"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/ServerError"},"503":{"$ref":"#/components/responses/ContentSafetyUnavailable"}}}},"/v1/models/{modelId}:convert":{"post":{"tags":["3D Models"],"operationId":"convertModel","summary":"Start a model conversion operation","description":"Convert an account-owned model to GLB, OBJ, STL, USDZ, or FBX by passing targetFormats. Poll the operation and read conversion.assets for the output URLs. The input is a Mint model ID.","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}],"parameters":[{"name":"modelId","in":"path","required":true,"description":"Mint 3D Model ID owned by the authenticated account.","schema":{"type":"string"}},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelConversionRequest"}}}},"responses":{"200":{"description":"An earlier request with the same retry key returned this operation.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelConversionOperation"}}}},"202":{"description":"Long-running operation accepted.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelConversionOperation"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/RequestBodyTooLarge"},"422":{"$ref":"#/components/responses/ContentPolicyBlocked"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/ServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/v1/models/{modelId}:render":{"post":{"tags":["3D Models"],"operationId":"startModelRender","summary":"Start a model or scene render","description":"Render account-owned GLBs to a PNG still or MP4 video with the Standard or Studio tier. An optional prompt directs the shot. A supplied Idempotency-Key is valid for one hour for this request.","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}],"parameters":[{"name":"modelId","in":"path","required":true,"description":"Mint 3D Model ID owned by the authenticated account.","schema":{"type":"string"}},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelRenderRequest"}}}},"responses":{"202":{"description":"Render accepted. Poll the URL in Location.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"description":"Relative render status URL.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelRenderAccepted"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/RequestBodyTooLarge"},"422":{"description":"A source GLB is unavailable or exceeds the render input limit.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}}},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/v1/models/{modelId}/renders/{renderId}":{"get":{"tags":["3D Models"],"operationId":"getModelRender","summary":"Get render status and output","description":"Use the render ID from the start response to check a queued or rendering job. A successful render returns the PNG or MP4 as Base64 in pngBase64 or mp4Base64.","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:read"]}],"parameters":[{"name":"modelId","in":"path","required":true,"description":"Mint 3D Model ID owned by the authenticated account.","schema":{"type":"string"}},{"name":"renderId","in":"path","required":true,"description":"Render ID from the start response.","schema":{"type":"string"}}],"responses":{"200":{"description":"Current render status. A completed render includes its Base64-encoded output.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelRenderStatus"}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/v1/operations/{operationId}":{"get":{"tags":["Operations"],"operationId":"getOperation","summary":"Get a long-running operation","description":"Poll a long-running operation by ID. Use status to decide whether to wait, review a Preview, resolve billing, or retrieve a finished resource. A successful generation includes the resource ID.","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}],"parameters":[{"name":"operationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Long-running generation, optimization, or conversion operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/v1/operations/{operationId}:approve":{"post":{"tags":["Operations"],"operationId":"approveOperation","summary":"Approve a preview-ready generation operation","description":"Approve the current Preview of a review-mode operation at preview_ready so generation can continue. Use the operation ID from polling and send no request body.","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}],"parameters":[{"name":"operationId","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"An earlier request with the same retry key returned this operation.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}}},"202":{"description":"Long-running operation accepted.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"422":{"$ref":"#/components/responses/ContentPolicyBlocked"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/ServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/v1/operations/{operationId}:revise":{"post":{"tags":["Operations"],"operationId":"reviseOperation","summary":"Revise a preview-ready generation operation","description":"Send feedback to revise a Preview at preview_ready using the operation ID. Poll the returned operation before continuing or reviewing the revised Preview.","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}],"parameters":[{"name":"operationId","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationReviseRequest"}}}},"responses":{"200":{"description":"An earlier request with the same retry key returned this operation.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}}},"202":{"description":"Long-running operation accepted.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"413":{"$ref":"#/components/responses/RequestBodyTooLarge"},"422":{"$ref":"#/components/responses/ContentPolicyBlocked"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/ServerError"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}}}},"/v1/operations/{operationId}:resume":{"post":{"tags":["Operations"],"operationId":"resumeOperation","summary":"Resume an operation after resolving its billing requirement","description":"Resume the same operation after resolving billing when it already has a Preview or intermediate resource. Follow billing.actionUrl first. If no resource exists, retry the original request with the same Idempotency-Key.","security":[{"bearerApiKey":[]},{"mintOAuth":["mint:assets:generate"]}],"parameters":[{"name":"operationId","in":"path","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"An earlier request with the same retry key returned this operation.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}}},"202":{"description":"Long-running operation accepted.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-RateLimit-Limit":{"$ref":"#/components/headers/RateLimitLimit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/RateLimitRemaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/RateLimitReset"},"Location":{"schema":{"type":"string"},"description":"Relative URL for polling this operation."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"}
# --- truncated at 32 KB (256 KB total) ---
# Full source: https://artifacts.apis.io/mint-gg/openapi/_original/mint-gg-api-openapi.json