Skip to main content

API keys

Create API keys in the dashboard. Use them for:
  • POST /image/generate
  • POST /image/upload
  • GET /tasks/:id
Send them as Bearer tokens:
Authorization: Bearer mak_...

Spending limits

API keys support optional spending limits. The dashboard supports these periods:
  • day
  • week
  • month
Use them to isolate environments, tenants, or workflows.

Public Access Tokens

Mynth can also return a task-scoped Public Access Token in the generate response:
{
  "access": {
    "publicAccessToken": "pat_eyJhbGciOi..."
  }
}
Use it for:
  • GET /tasks/:id/status
  • GET /tasks/:id/results
Do not use it for task creation or as a general replacement for your API key.

Concurrency

Mynth does not impose API concurrency limits. If your application needs to create several tasks at once, you can issue requests in parallel and manage the coordination on your side.

Owner-only task access

GET /tasks/:id is owner-only. It requires the original account’s API key and returns the full task object.