For the complete documentation index, see llms.txt. This page is also available as Markdown.

Introduction

The API turns one source file into a set of PBR texture maps. You upload a 3D mesh or an image. You submit that file for generation. You then poll the run until it finishes. Each finished run gives you presigned download URLs.

Server

Base URL https://api.marso.app/api/public/v1/

Credits

A submission reserves credits. The API refunds the credits for each item that fails. You pay only for successful results. Read your balance with GET /account/credits. Read the price of each action with GET /pricing.

Rate limits

Each API key has a rate limit. The default limit is 300 requests per minute. Every response has X-RateLimit-* headers. A 429 response also has a Retry-After header. This header gives the wait time in seconds.

Errors

Every error uses the same envelope. The error.code field is for programs. The error.message field is for people.

{
  "error": {
    "code": "ASSET_NOT_FOUND",
    "message": "The asset does not exist."
  }
}

Any request can return these errors:

Status
Meaning

400

The request is not valid. Check the body.

401

You sent no key, or the key is invalid or revoked.

403

Your plan does not include this feature.

404

The resource does not exist.

429

You sent too many requests. Wait, then retry.

500

The server had an error.

Last updated