Developers

Build with real, licensed talent. Mirai checks generation eligibility and model restrictions before rendering.

An eligible account and generation entitlement are required.

Get API access API reference
Availability

Talent API · available

Browse participating talent, generate drafts and purchase licences for approved assets. Generation and commercial licensing are separate steps.

Read the API reference

Character IP · by request

Character Studio is open on the web today. API access to characters is by request, for partners with the owner's agreed terms.

Explore IP licensing
Quickstart

01 · LIST THE ROSTER

Every bookable person, public-safe fields only.

curl https://mirai.inc/api/v1/models \
  -H "Authorization: Bearer YOUR_KEY"
02 · GENERATE A DRAFT

Use an ID from the roster response. Keep the connection open until the JSON result arrives and check its error field, even after HTTP 200.

curl -X POST https://mirai.inc/api/v1/generate \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model_id": "MODEL_ID_FROM_ROSTER",
    "prompt": "editorial fashion still, golden hour",
    "format": "portrait"
  }'
03 · LICENSE THE USE

Only approved assets can reach checkout. If standing consent does not apply, arrange individual approval through Mirai before licensing. Open checkout_url to pay; creating checkout alone does not activate a licence.

curl -X POST https://mirai.inc/api/v1/licenses \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image_ids": ["ASSET_ID"],
    "format": "Digital",
    "duration": "12 months"
  }'
04 · CONFIRM AND DOWNLOAD

After payment is confirmed, request the asset record. The authenticated clean URL is available only when the asset has an active licence. Otherwise, keep using the watermarked draft.

curl https://mirai.inc/api/v1/assets/ASSET_ID \
  -H "Authorization: Bearer YOUR_KEY"
How it behaves

AUTH

Bearer keys, scoped.

Keys have read, generate and license scopes, with per-key rate limits. Manage them from your account.

TERMS

Consent and licence gates.

Generation eligibility and commercial licensing have separate checks. Your integration must respect talent restrictions, approval status and the purchased scope, then review final outputs before use.

METERING

Every generation recorded.

Each generation carries an ID and a licence status. Licensed files link back to their licence and terms.

Start with the talent API. For a platform integration or character pilot, talk to the team.