Skip to content

Developers

API reference

Novelity licenses real people's likenesses for AI stills, with the owner's consent and policy enforced by machine. The REST API and the MCP server are one contract: an agent borrows a face with a bearer credential and an asset id. It never uploads a photo of anyone, and vendor reference ids never leave our servers.

Base URL
https://staging.novelity.ai.id/api/v1

Five calls

Quickstart

With an API key in PLATFORM_API_KEY: find a face, check its policy, price it, license it, generate, then fetch the labeled outputs. Every call is plain JSON over HTTPS.

# 1. Find a Soul Ready face that allows your use casecurl "https://staging.novelity.ai.id/api/v1/assets?allow_use_case=fiction_microdrama_stills&max_price=300" \  -H "Authorization: Bearer $PLATFORM_API_KEY"# 2. Price one Scout license (no side effects)curl -X POST https://staging.novelity.ai.id/api/v1/quote \  -H "Authorization: Bearer $PLATFORM_API_KEY" -H "Content-Type: application/json" \  -d '{"asset_id":"ip_2vq7kxm4hn3tb6wr5jyc","pack":"scout","units":1}'# 3. Buy it (spends credits; the Idempotency-Key makes a retry safe)curl -X POST https://staging.novelity.ai.id/api/v1/licenses \  -H "Authorization: Bearer $PLATFORM_API_KEY" -H "Content-Type: application/json" \  -H "Idempotency-Key: 5d1f3a52-8c1e-4f5e-9d3a-2b7c9e0f1a44" \  -d '{"asset_id":"ip_2vq7kxm4hn3tb6wr5jyc","pack":"scout","use_case":"fiction_microdrama_stills"}'# 4. Generate: the policy engine answers at once (201 queued, 202 held, or a code)curl -X POST https://staging.novelity.ai.id/api/v1/jobs \  -H "Authorization: Bearer $PLATFORM_API_KEY" -H "Content-Type: application/json" \  -d '{"asset_id":"ip_2vq7kxm4hn3tb6wr5jyc","pack_id":"scout","prompt":"Night street after rain, she glances back","aspect_ratio":"16:9"}'# 5. Poll until completed; outputs carry signed URLs (1 hour) and the AI labelcurl https://staging.novelity.ai.id/api/v1/jobs/job_k3vn6tb5wryca7hq2m4x -H "Authorization: Bearer $PLATFORM_API_KEY"

Bearer credentials

Authentication

Send Authorization: Bearer … on every call except /openapi.json. There are two kinds of credential and they aren't interchangeable: using one on the other's endpoints answers FORBIDDEN with details.required_scope. Session cookies are never accepted here.

Buyer API key

Bearer sk_live_…

  • One organization, many keys (up to 10). Issued only to approved buyer orgs: every account starts pending and a person on our team reviews it. Apply once for your org.
  • An org admin creates keys in the console under API keys. The key is shown once; we store only its sha256.
  • While the org isn't approved, every call answers ACCOUNT_PENDING or ACCOUNT_REJECTED (403, details.status). The check runs on every request, so a suspension applies at once.
  • A key stops working when it is revoked, and when the member who created it is banned or leaves the org.

Owner token

Bearer ot_…

  • For likeness owners, separate from buyer keys: console → Settings → Owner tokens (up to 10), shown once.
  • Reaches only the owner's own assets: list_usage, pause_asset and resume. Someone else's asset answers NOT_FOUND, so its existence never leaks.
  • It can't grant consent, edit a policy, revoke a likeness or move money. Those stay in the owner's own console session.

Keep credentials server-side. The API sends no CORS headers, so browsers can't call it cross-origin, and a key in a web page would leak anyway. Missing, malformed, unknown, revoked and disabled credentials answer UNAUTHENTICATED (401) with details.reason.

The contract

Conventions

  • JSON in and out, snake_case keys. Bodies must be application/json; unknown fields and query parameters are refused (422), never ignored.
  • Money is an integer in minor units with a currency (IDR: whole rupiah; 3840000 = Rp3.840.000), with display strings in formatted. The platform fee is 15% of gross and platform_fee + owner_share = gross.
  • Public ids only: ip_ faces, pk_ packs, lic_ licenses, job_ jobs, org_ buyer orgs, cns_ consent records. Timestamps are ISO 8601 in UTC.
  • Lists page with an opaque cursor: pass next_cursor back until it is null.
  • Every response has X-Request-Id (also error.request_id) and Cache-Control: no-store.
  • Changes are additive: new fields may appear, so ignore fields you don't know.

25 operations

Endpoints

Replace the sample ids with real ones from search results. Each endpoint lists every error code it can answer with; the full table is under Errors.

GET

/api/v1/assets

API keyMCP · search_assets

Search licensable faces

Publicly offered faces only, newest publication first, cursor-paginated. Filters combine with AND. Cards carry the offered packs (prices in minor units, IDR rupiah) and preview URLs (AI-generated, or photos the owner allowed; never raw photos). Tier listed can be quoted but not licensed; soul_ready can generate.

Parameters

Parameters of search_assets
NameInTypeDescription
lookquerystringFree text; every word must match a look tag, the name or the bio. At most 6 words.
age_bandquery18-24 | 25-34 | 35-44 | 45-54 | 55+
genderqueryfemale | male | non_binary | unspecified
allow_use_casequeryfiction_microdrama_stills | commercial_non_sensitive | social_organicThe owner must allow it. A hard-denied value is a 422 (details.reason = hard_denied).
max_pricequerystringWhole rupiah (IDR), e.g. 2400000 or 2.400.000: the cheapest offered pack costs at most this
cursorquerystringnext_cursor from the previous page
limitquerystring1-48, default 24
Request
curl "https://staging.novelity.ai.id/api/v1/assets?look=curly&age_band=25-34&allow_use_case=fiction_microdrama_stills&max_price=300" \  -H "Authorization: Bearer $PLATFORM_API_KEY"
200 · A page of faces
{  "results": [    {      "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",      "display_name": "Rani",      "age_band": "25-34",      "gender": "female",      "look_tags": [        "curly hair",        "freckles"      ],      "tier": "soul_ready",      "allowed_use_cases": [        "fiction_microdrama_stills",        "commercial_non_sensitive"      ],      "territory": "worldwide",      "packs": [        {          "pack": "scout",          "pack_id": "pk_7hq2m4xk3vn6tb5wryca",          "name": "Scout",          "description": "Stills and a character sheet for internal pitch. For testing a face.",          "cap": 20,          "days": 30,          "price": 720000,          "formatted_price": "Rp720.000"        },        {          "pack": "episode",          "pack_id": "pk_3tb6wr5jyc2vq7kxm4hn",          "name": "Episode",          "description": "One commercial or fiction stills project. The main unit.",          "cap": 80,          "days": 60,          "price": 3840000,          "formatted_price": "Rp3.840.000"        }      ],      "previews": [        {          "url": "https://staging.novelity.ai.id/api/catalog/previews/pho_m4xk3vn6tb5wryca7hq2",          "kind": "owner_approved",          "label": "Owner-approved preview"        }      ]    }  ],  "next_cursor": null}
GET

/api/v1/assets/{asset_id}/policy

API keyMCP · get_asset_policy

Read a face's policy and packs

What a buyer may do with one face (allowed use cases, the platform's hard-deny list, the owner's own limits, territory, rating, whether the owner reviews every job) and what each offered pack costs.

Parameters

Parameters of get_asset_policy
NameInTypeDescription
asset_idpath · requiredstringThe face's public id (ip_…)
Request
curl "https://staging.novelity.ai.id/api/v1/assets/ip_2vq7kxm4hn3tb6wr5jyc/policy" \  -H "Authorization: Bearer $PLATFORM_API_KEY"
200 · The policy view
{  "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",  "tier": "soul_ready",  "allowed_use_cases": [    "fiction_microdrama_stills",    "commercial_non_sensitive"  ],  "hard_deny": [    "adult",    "political",    "religious_campaign",    "gambling",    "online_lending",    "medical_financial_claim",    "impersonation_other_person"  ],  "territory": "worldwide",  "max_rating": "PG13",  "owner_limits": [    "No alcohol or smoking",    "No swimwear"  ],  "review_required": false,  "listing_duration": "m12",  "listing_expires_at": "2027-09-25T00:00:00.000Z",  "currency": "IDR",  "packs": [    {      "pack": "scout",      "pack_id": "pk_7hq2m4xk3vn6tb5wryca",      "name": "Scout",      "description": "Stills and a character sheet for internal pitch. For testing a face.",      "cap": 20,      "days": 30,      "price": 720000,      "formatted_price": "Rp720.000"    },    {      "pack": "episode",      "pack_id": "pk_3tb6wr5jyc2vq7kxm4hn",      "name": "Episode",      "description": "One commercial or fiction stills project. The main unit.",      "cap": 80,      "days": 60,      "price": 3840000,      "formatted_price": "Rp3.840.000"    }  ]}
POST

/api/v1/quote

API keyMCP · quote

Price licenses of a pack

N licenses of one pack of one face, with the platform fee and the owner's share. Money is exactly what a purchase will charge. No side effects.

Request
curl -X POST "https://staging.novelity.ai.id/api/v1/quote" \  -H "Authorization: Bearer $PLATFORM_API_KEY" \  -H "Content-Type: application/json" \  -d '{"asset_id":"ip_2vq7kxm4hn3tb6wr5jyc","pack":"episode","units":2}'
Body
{  "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",  "pack": "episode",  "units": 2}
200 · The quote
{  "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",  "pack": "episode",  "units": 2,  "currency": "IDR",  "unit_price": 3840000,  "gross": 7680000,  "platform_fee": 1152000,  "owner_share": 6528000,  "platform_fee_bps": 1500,  "cap_per_unit": 80,  "days": 60,  "total_generations": 160,  "formatted": {    "unit_price": "Rp3.840.000",    "gross": "Rp7.680.000",    "platform_fee": "Rp1.152.000",    "owner_share": "Rp6.528.000"  }}
POST

/api/v1/licenses

API keyMCP · purchase_license

Buy licenses (spends credits)

Buys `units` licenses of one pack and debits the org's credits in the same transaction. Only soul_ready faces can be licensed, for a use case the owner allows. No refunds for unused generations or creative preference; technical failures return generations. Send an Idempotency-Key so a retry never charges twice.

Parameters

Parameters of purchase_license
NameInTypeDescription
Idempotency-Keyheaderstring1-255 visible ASCII characters (a UUID is ideal). The same key + the same request within 24 h replays the first answer (Idempotent-Replayed: true) instead of doing it twice.
Request
curl -X POST "https://staging.novelity.ai.id/api/v1/licenses" \  -H "Authorization: Bearer $PLATFORM_API_KEY" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{"asset_id":"ip_2vq7kxm4hn3tb6wr5jyc","pack":"scout","use_case":"fiction_microdrama_stills","units":1}'
Body
{  "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",  "pack": "scout",  "use_case": "fiction_microdrama_stills",  "units": 1}
201 · Bought (or replayed: header Idempotent-Replayed: true, nothing charged)
{  "licenses": [    {      "license_id": "lic_5wryca7hq2m4xk3vn6tb",      "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",      "asset_name": "Rani",      "asset_state": "live",      "pack": "scout",      "pack_name": "Scout",      "use_case": "fiction_microdrama_stills",      "territory": "worldwide",      "cap": 20,      "gens_used": 0,      "gens_remaining": 20,      "status": "active",      "purchased_at": "2026-09-25T09:30:00.000Z",      "expires_at": "2026-10-25T09:30:00.000Z",      "revoked_at": null,      "currency": "IDR",      "gross": 720000,      "platform_fee": 108000,      "owner_share": 612000,      "formatted": {        "gross": "Rp720.000",        "platform_fee": "Rp108.000",        "owner_share": "Rp612.000"      },      "consent_id": "cns_q7kxm4hn3tb6wr5jyc2v",      "consent_version": 1    }  ],  "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",  "pack": "scout",  "use_case": "fiction_microdrama_stills",  "units": 1,  "currency": "IDR",  "unit_price": 720000,  "gross": 720000,  "platform_fee": 108000,  "owner_share": 612000,  "platform_fee_bps": 1500,  "balance_after": 8560000,  "formatted": {    "unit_price": "Rp720.000",    "gross": "Rp720.000",    "platform_fee": "Rp108.000",    "owner_share": "Rp612.000",    "balance_after": "Rp8.560.000"  }}
GET

/api/v1/licenses

API key

List your org's licenses

Newest first (up to 500). status is computed: active, exhausted (cap used), expired (window over) or revoked (the owner revoked the face).

Parameters

Parameters of list_licenses
NameInTypeDescription
asset_idquerystring
statusqueryactive | exhausted | expired | revoked
limitquerystring1-500, default 200
Request
curl "https://staging.novelity.ai.id/api/v1/licenses?asset_id=ip_2vq7kxm4hn3tb6wr5jyc&status=active" \  -H "Authorization: Bearer $PLATFORM_API_KEY"
200 · The licenses
{  "licenses": [    {      "license_id": "lic_5wryca7hq2m4xk3vn6tb",      "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",      "asset_name": "Rani",      "asset_state": "live",      "pack": "scout",      "pack_name": "Scout",      "use_case": "fiction_microdrama_stills",      "territory": "worldwide",      "cap": 20,      "gens_used": 4,      "gens_remaining": 16,      "status": "active",      "purchased_at": "2026-09-25T09:30:00.000Z",      "expires_at": "2026-10-25T09:30:00.000Z",      "revoked_at": null,      "currency": "IDR",      "gross": 720000,      "platform_fee": 108000,      "owner_share": 612000,      "formatted": {        "gross": "Rp720.000",        "platform_fee": "Rp108.000",        "owner_share": "Rp612.000"      },      "consent_id": "cns_q7kxm4hn3tb6wr5jyc2v",      "consent_version": 1    }  ]}
POST

/api/v1/jobs

API keyMCP · start_job

Start a generation job

The policy engine decides at once, checking in order: the face (live, soul_ready, consent active), the license (yours, this face, not revoked or expired, enough generations), the use case, the territory, the prompt classifier, and holds. 201: queued, generations reserved. 202: held for a person (job.hold); poll get_job. Refusals return the first failed check's code; a refusal tied to your license is recorded (details.job_id). The face is referenced by asset_id only: no photos are ever uploaded.

Parameters

Parameters of start_job
NameInTypeDescription
Idempotency-Keyheaderstring1-255 visible ASCII characters (a UUID is ideal). The same key + the same request within 24 h replays the first answer (Idempotent-Replayed: true) instead of doing it twice.
Request
curl -X POST "https://staging.novelity.ai.id/api/v1/jobs" \  -H "Authorization: Bearer $PLATFORM_API_KEY" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{"asset_id":"ip_2vq7kxm4hn3tb6wr5jyc","pack_id":"pk_7hq2m4xk3vn6tb5wryca","prompt":"Night street after rain, she glances back over her shoulder, neon reflections, cinematic still","aspect_ratio":"16:9","batch_size":1}'
Body
{  "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",  "pack_id": "pk_7hq2m4xk3vn6tb5wryca",  "prompt": "Night street after rain, she glances back over her shoulder, neon reflections, cinematic still",  "aspect_ratio": "16:9",  "batch_size": 1}
201 · Queued: generations reserved on the license
{  "job": {    "job_id": "job_k3vn6tb5wryca7hq2m4x",    "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",    "asset_name": "Rani",    "license_id": "lic_5wryca7hq2m4xk3vn6tb",    "pack": "scout",    "pack_name": "Scout",    "use_case": "fiction_microdrama_stills",    "prompt": "Night street after rain, she glances back over her shoulder, neon reflections, cinematic still",    "aspect_ratio": "16:9",    "batch_size": 1,    "status": "queued",    "hold": null,    "error": null,    "gens_charged": 1,    "outputs": [],    "label": null,    "consent_version": 1,    "created_at": "2026-09-25T09:41:51.000Z",    "submitted_at": null,    "completed_at": null,    "ended_at": null  },  "outcome": "queued"}
202 · Held for review (not an error): MANUAL_REVIEW, OWNER_REVIEW_REQUIRED or ABUSE_HOLD in job.hold
{  "job": {    "job_id": "job_k3vn6tb5wryca7hq2m4x",    "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",    "asset_name": "Rani",    "license_id": "lic_5wryca7hq2m4xk3vn6tb",    "pack": "scout",    "pack_name": "Scout",    "use_case": "fiction_microdrama_stills",    "prompt": "Night street after rain, she glances back over her shoulder, neon reflections, cinematic still",    "aspect_ratio": "16:9",    "batch_size": 1,    "status": "held",    "hold": {      "code": "OWNER_REVIEW_REQUIRED",      "message": "This request is waiting for a review. We will update you within 72 hours.",      "expires_at": "2026-09-28T09:41:51.000Z"    },    "error": null,    "gens_charged": 0,    "outputs": [],    "label": null,    "consent_version": 1,    "created_at": "2026-09-25T09:41:51.000Z",    "submitted_at": null,    "completed_at": null,    "ended_at": null,    "buyer_message": {      "code": "held_for_review",      "title": "In review",      "message": "This request is waiting for a review. We will update you within 72 hours."    }  },  "outcome": "held"}
GET

/api/v1/jobs

API key

List your org's jobs

The latest jobs (default 100, at most 200), newest first. Use get_job for outputs.

Parameters

Parameters of list_jobs
NameInTypeDescription
statusqueryheld | queued | submitted | completed | failed | denied | cancelled
asset_idquerystring
limitquerystring1-200, default 100
Request
curl "https://staging.novelity.ai.id/api/v1/jobs?status=completed&limit=20" \  -H "Authorization: Bearer $PLATFORM_API_KEY"
200 · The jobs
{  "jobs": [    {      "job_id": "job_k3vn6tb5wryca7hq2m4x",      "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",      "asset_name": "Rani",      "pack_name": "Scout",      "status": "completed",      "hold_code": null,      "error_code": null,      "batch_size": 1,      "aspect_ratio": "16:9",      "outputs": 1,      "prompt_preview": "Night street after rain, she glances back over her shoulder, neon reflections, cinematic still",      "created_at": "2026-09-25T09:41:51.000Z"    }  ]}
GET

/api/v1/jobs/{job_id}

API keyMCP · get_job

Read a job and its outputs

Status, the hold or error, and for completed jobs the outputs with signed URLs that expire within one hour (call again for fresh ones). Every image carries the AI label, visibly and in its metadata. Also the license and the consent text version the job ran under.

Parameters

Parameters of get_job
NameInTypeDescription
job_idpath · requiredstringjob_…
Request
curl "https://staging.novelity.ai.id/api/v1/jobs/job_k3vn6tb5wryca7hq2m4x" \  -H "Authorization: Bearer $PLATFORM_API_KEY"
200 · The job
{  "job_id": "job_k3vn6tb5wryca7hq2m4x",  "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",  "asset_name": "Rani",  "license_id": "lic_5wryca7hq2m4xk3vn6tb",  "pack": "scout",  "pack_name": "Scout",  "use_case": "fiction_microdrama_stills",  "prompt": "Night street after rain, she glances back over her shoulder, neon reflections, cinematic still",  "aspect_ratio": "16:9",  "batch_size": 1,  "status": "completed",  "hold": null,  "error": null,  "gens_charged": 1,  "outputs": [    {      "index": 1,      "output_id": "out_m4xk3vn6tb5wryca7hq2",      "verify_url": "https://staging.novelity.ai.id/verify/out_m4xk3vn6tb5wryca7hq2",      "filename": "job_k3vn6tb5wryca7hq2m4x_1.jpg",      "width": 1536,      "height": 864,      "content_type": "image/jpeg",      "url": "https://staging.novelity.ai.id/api/files?k=outputs%2Fip_2vq7kxm4hn3tb6wr5jyc%2Fjob_k3vn6tb5wryca7hq2m4x%2F1.jpg&e=1790000000&s=3f9c…",      "download_url": "https://staging.novelity.ai.id/api/files?k=outputs%2Fip_2vq7kxm4hn3tb6wr5jyc%2Fjob_k3vn6tb5wryca7hq2m4x%2F1.jpg&e=1790000000&s=3f9c…&dl=job_k3vn6tb5wryca7hq2m4x_1.jpg",      "thumb_url": "https://staging.novelity.ai.id/api/files?k=outputs%2Fip_2vq7kxm4hn3tb6wr5jyc%2Fjob_k3vn6tb5wryca7hq2m4x%2F1.thumb.jpg&e=1790000000&s=3f9c…",      "label": "AI · licensed likeness",      "urls_expire_at": "2026-09-25T10:42:05.000Z"    }  ],  "label": "AI-generated image with licensed likeness",  "consent_version": 1,  "created_at": "2026-09-25T09:41:51.000Z",  "submitted_at": "2026-09-25T09:41:52.000Z",  "completed_at": "2026-09-25T09:42:01.000Z",  "ended_at": "2026-09-25T09:42:01.000Z"}
GET

/api/v1/owner/assets/{asset_id}/usage

owner tokenMCP · list_usage

How your face is used, and what it earned

The owner dashboard's report, byte for byte the same numbers: earned (the licenses' ledger rows), used (completed jobs' share), generations, attempts your policy blocked (counts only), jobs waiting for review, licenses sold, and one page of jobs with buyer org, pack, redacted prompt summary, labeled thumbnails (signed, 1 hour) and gross / fee / net. Your own assets only.

Parameters

Parameters of list_usage
NameInTypeDescription
asset_idpath · requiredstringThe face's public id (ip_…)
fromquerystringYYYY-MM-DD (UTC), inclusive
toquerystringYYYY-MM-DD (UTC), inclusive
orgquerystringOnly this buyer org
packqueryscout | episode
cursorquerystringnext_cursor from the previous page (jobs)
limitquerystringJobs per page, 1-200, default 50
Request
curl "https://staging.novelity.ai.id/api/v1/owner/assets/ip_2vq7kxm4hn3tb6wr5jyc/usage?from=2026-09-01&to=2026-09-30" \  -H "Authorization: Bearer $PLATFORM_OWNER_TOKEN"
200 · The usage report
{  "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",  "display_name": "Rani",  "asset_status": "live",  "tier": "soul_ready",  "paused_at": null,  "currency": "IDR",  "filters": {    "from": null,    "to": null,    "buyer_org_id": null,    "pack": null  },  "earned": {    "licenses_sold": 1,    "gross": 720000,    "platform_fee": 108000,    "owner_net": 612000,    "formatted": {      "gross": "Rp720.000",      "platform_fee": "Rp108.000",      "owner_net": "Rp612.000"    }  },  "used": {    "jobs_completed": 1,    "gens_consumed": 1,    "gross_alloc": 36000,    "fee_alloc": 5400,    "net_alloc": 30600,    "formatted": {      "gross_alloc": "Rp36.000",      "fee_alloc": "Rp5.400",      "net_alloc": "Rp30.600"    }  },  "generations": {    "cap": 20,    "used": 1,    "consumed": 1,    "reserved": 0,    "remaining": 19  },  "blocked": {    "total": 1,    "categories": [      {        "code": "DENY_ADULT",        "label": "Adult or sexual content",        "kind": "policy",        "count": 1      }    ]  },  "waiting_now": {    "total": 0,    "owner_review": 0,    "staff_review": 0  },  "licenses": [    {      "license_id": "lic_5wryca7hq2m4xk3vn6tb",      "purchased_at": "2026-09-25T09:30:00.000Z",      "buyer_org_id": "org_4hn3tb6wr5jyc2vq7kxm",      "buyer_org": "Northlight Studio",      "pack": "scout",      "pack_name": "Scout",      "use_case": "fiction_microdrama_stills",      "territory": "worldwide",      "status": "active",      "expires_at": "2026-10-25T09:30:00.000Z",      "revoked_at": null,      "cap": 20,      "gens_used": 1,      "gens_consumed": 1,      "gens_reserved": 0,      "gross": 720000,      "platform_fee": 108000,      "owner_net": 612000,      "gross_alloc": 36000,      "fee_alloc": 5400,      "net_alloc": 30600,      "formatted": {        "gross": "Rp720.000",        "platform_fee": "Rp108.000",        "owner_net": "Rp612.000",        "gross_alloc": "Rp36.000",        "fee_alloc": "Rp5.400",        "net_alloc": "Rp30.600"      }    }  ],  "licenses_truncated": false,  "jobs": [    {      "job_id": "job_k3vn6tb5wryca7hq2m4x",      "created_at": "2026-09-25T09:41:51.000Z",      "completed_at": "2026-09-25T09:42:01.000Z",      "buyer_org_id": "org_4hn3tb6wr5jyc2vq7kxm",      "buyer_org": "Northlight Studio",      "license_id": "lic_5wryca7hq2m4xk3vn6tb",      "pack": "scout",      "pack_name": "Scout",      "use_case": "fiction_microdrama_stills",      "status": "completed",      "withheld": false,      "outcome": null,      "batch_size": 1,      "gens_charged": 1,      "gens_reserved": 0,      "prompt_summary": "Night street after rain, she glances back over her shoulder, neon reflections, cinematic still",      "thumbnails": [        {          "index": 1,          "url": "https://staging.novelity.ai.id/api/files?k=outputs%2Fip_2vq7kxm4hn3tb6wr5jyc%2Fjob_k3vn6tb5wryca7hq2m4x%2F1.thumb.jpg&e=1790000000&s=3f9c…",          "label": "AI · licensed likeness"        }      ],      "thumbnails_expire_at": "2026-09-25T10:45:00.000Z",      "gross_alloc": 36000,      "fee_alloc": 5400,      "net_alloc": 30600,      "formatted": {        "gross_alloc": "Rp36.000",        "fee_alloc": "Rp5.400",        "net_alloc": "Rp30.600"      }    }  ],  "next_cursor": null}
POST

/api/v1/owner/assets/{asset_id}/pause

owner tokenMCP · pause_asset

Pause future use of your face

Immediate: the next start_job by any buyer gets ASSET_PAUSED, held and queued jobs are cancelled with their generations returned, in-flight ones are cancelled upstream where still possible. Finished jobs stay with their buyers. The talent's pause ends active licenses with a pro rata credit refund of unused generations (D10 C4); a resume does not restore them. Pausing a paused face is a no-op (changed: false). Reversible with resume.

Parameters

Parameters of pause_asset
NameInTypeDescription
asset_idpath · requiredstringThe face's public id (ip_…)
Request
curl -X POST "https://staging.novelity.ai.id/api/v1/owner/assets/ip_2vq7kxm4hn3tb6wr5jyc/pause" \  -H "Authorization: Bearer $PLATFORM_OWNER_TOKEN"
200 · Paused
{  "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",  "status": "paused",  "paused_at": "2026-09-25T10:00:00.000Z",  "changed": true,  "stopped_jobs": {    "cancelled": 1,    "cancel_requested": 0  },  "note": "Future use is paused: new jobs are refused with ASSET_PAUSED, and jobs that were waiting were cancelled with their generations returned. Finished jobs stay with their buyers. Active licenses ended, and buyers got a pro rata credit refund for unused generations. Resume at any time."}
POST

/api/v1/owner/assets/{asset_id}/resume

owner token

Resume a paused face

paused → live: buyers with active licenses can start jobs again. Jobs the pause cancelled stay cancelled. Resuming a live face is a no-op (changed: false).

Parameters

Parameters of resume_asset
NameInTypeDescription
asset_idpath · requiredstringThe face's public id (ip_…)
Request
curl -X POST "https://staging.novelity.ai.id/api/v1/owner/assets/ip_2vq7kxm4hn3tb6wr5jyc/resume" \  -H "Authorization: Bearer $PLATFORM_OWNER_TOKEN"
200 · Live again
{  "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",  "status": "live",  "paused_at": null,  "changed": true,  "note": "The likeness is live again: buyers with active licenses can start new jobs. Jobs the pause cancelled stay cancelled."}
GET

/api/v1/me

key or token

Who this credential is

An API key: its org (always approved when this answers), credit balance and rate limit. An owner token: the owner's display name and assets.

Request
curl "https://staging.novelity.ai.id/api/v1/me" \  -H "Authorization: Bearer $PLATFORM_API_KEY"
200 · The identity
{  "type": "api_key",  "scopes": [    "buyer"  ],  "key": {    "key_id": "key_6tb5wryca7hq2m4xk3vn",    "name": "Pipeline agent",    "prefix": "sk_live_abcdef",    "created_at": "2026-09-25T09:00:00.000Z",    "last_used_at": "2026-09-25T09:41:51.000Z"  },  "org": {    "org_id": "org_4hn3tb6wr5jyc2vq7kxm",    "name": "Northlight Studio",    "status": "approved",    "distribution_territory": "worldwide"  },  "credits": {    "balance": 8560000,    "currency": "IDR",    "formatted": "Rp8.560.000"  },  "rate_limit": {    "limit": 60,    "window_seconds": 60  }}
GET

/api/v1/openapi.json

public

This OpenAPI 3.1 document

No credential needed.

Request
curl "https://staging.novelity.ai.id/api/v1/openapi.json"
200 · OpenAPI 3.1
{  "openapi": "3.1.0",  "info": {    "title": "Novelity API",    "version": "1"  },  "paths": {}}

Error codes

GET

/api/v1/owner/earnings

owner token

Your balance, pending payouts and ledger entries

balance_cents is earned minus clawbacks minus paid out. Earnings are payable hold_days after the sale: on_hold_cents are younger, withheld_cents are past the hold but wait for an open report, released_cents are payable. available_cents = released minus paid out minus payouts in progress (pending_cents; held_cents of it wait for approval) and is what you can request. entries are your ledger rows (owner_share and payout), newest first, cursor-paginated.

Parameters

Parameters of get_earnings
NameInTypeDescription
cursorquerystringnext_cursor from the previous page
limitquerystringEntries per page, 1-200, default 50
Request
curl "https://staging.novelity.ai.id/api/v1/owner/earnings?limit=20" \  -H "Authorization: Bearer $PLATFORM_OWNER_TOKEN"
200 · The owner earnings
{  "currency": "IDR",  "balance_cents": 1920000,  "available_cents": 1120000,  "pending_cents": 800000,  "held_cents": 800000,  "on_hold_cents": 0,  "withheld_cents": 0,  "released_cents": 1920000,  "next_release_at": null,  "lifetime_earned_cents": 1920000,  "paid_out_cents": 0,  "min_payout_cents": 750000,  "hold_days": 14,  "formatted": {    "balance": "Rp1.920.000",    "available": "Rp1.120.000",    "pending": "Rp800.000",    "held": "Rp800.000",    "on_hold": "Rp0",    "withheld": "Rp0",    "lifetime_earned": "Rp1.920.000",    "paid_out": "Rp0"  },  "entries": [    {      "entry_id": "led_q7kxm4hn3tb6wr5jyc2v",      "type": "owner_share",      "amount_cents": 1920000,      "formatted": "Rp1.920.000",      "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc",      "license_id": "lic_5wryca7hq2m4xk3vn6tb",      "payout_id": null,      "memo": "Owner share of lic_5wryca7hq2m4xk3vn6tb",      "created_at": "2026-11-20T09:00:00.000Z"    }  ],  "next_cursor": null}
POST

/api/v1/owner/payouts

owner token

Request a payout

Asks to be paid amount_cents. At least min_payout_cents and at most available_cents (earnings past the hold minus payouts). One payout at a time: a request while another is in progress is INVALID_STATE with details.reason payout_open. Two different admins then approve it (after hold_until, which is the request time unless PAYOUT_REVIEW_HOLD_DAYS is set). V1 has no payment rail: marking it paid only writes the ledger entry (reference stub). Send an Idempotency-Key so a retry never requests twice.

Parameters

Parameters of request_payout
NameInTypeDescription
Idempotency-Keyheaderstring1-255 visible ASCII characters (a UUID is ideal). The same key + the same amount replays the first answer (Idempotent-Replayed: true); the same key with another amount is IDEMPOTENCY_KEY_REUSED.
Request
curl -X POST "https://staging.novelity.ai.id/api/v1/owner/payouts" \  -H "Authorization: Bearer $PLATFORM_OWNER_TOKEN" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{"amount_cents":800000}'
Body
{  "amount_cents": 800000}
201 · The payout, held
{  "payout": {    "payout_id": "pay_7hq2m4xk3vn6tb5wryca",    "owner_user_id": "usr_k3vn6tb5wryca7hq2m4x",    "amount_cents": 800000,    "amount_minor": 800000,    "currency": "IDR",    "formatted": "Rp800.000",    "kind": "request",    "status": "held",    "hold_until": "2026-12-12T09:00:00.000Z",    "approvals": 0,    "paid_at": null,    "fail_reason": null,    "reference": null,    "created_at": "2026-11-28T09:00:00.000Z",    "updated_at": "2026-11-28T09:00:00.000Z"  }}
GET

/api/v1/owner/payouts

owner token

Your payouts

Your payout requests, newest first, cursor-paginated, optionally one status.

Parameters

Parameters of list_payouts
NameInTypeDescription
statusqueryrequested | held | approved | paid | failed | cancelled
cursorquerystringnext_cursor from the previous page
limitquerystringPayouts per page, 1-200, default 50
Request
curl "https://staging.novelity.ai.id/api/v1/owner/payouts?status=held" \  -H "Authorization: Bearer $PLATFORM_OWNER_TOKEN"
200 · A page of payouts
{  "payouts": [    {      "payout_id": "pay_7hq2m4xk3vn6tb5wryca",      "owner_user_id": "usr_k3vn6tb5wryca7hq2m4x",      "amount_cents": 800000,      "amount_minor": 800000,      "currency": "IDR",      "formatted": "Rp800.000",      "kind": "request",      "status": "held",      "hold_until": "2026-12-12T09:00:00.000Z",      "approvals": 0,      "paid_at": null,      "fail_reason": null,      "reference": null,      "created_at": "2026-11-28T09:00:00.000Z",      "updated_at": "2026-11-28T09:00:00.000Z"    }  ],  "next_cursor": null}
POST

/api/v1/jobs/{job_id}/cancel

API key

Cancel a held or waiting job

A held job, or a queued one not yet sent for generation, is cancelled and its reserved generations go back to the licence. A job already sent can't be recalled (INVALID_STATE, details.reason already_started); a finished one neither (job_finished). Cancelling again answers changed: false.

Parameters

Parameters of cancel_job
NameInTypeDescription
job_idpath · requiredstringjob_…
Request
curl -X POST "https://staging.novelity.ai.id/api/v1/jobs/job_k3vn6tb5wryca7hq2m4x/cancel" \  -H "Authorization: Bearer $PLATFORM_API_KEY"
200 · The cancelled job
{  "job_id": "job_k3vn6tb5wryca7hq2m4x",  "status": "cancelled",  "changed": true,  "generations_returned": 1,  "message": "You cancelled this job before it ran. Nothing was generated and the generations were returned to your license."}
POST

/api/v1/jobs/{job_id}/review-request

API key

Ask for a review of a finished job's image

Asks our team to look at an image again (category quality, likeness_mismatch, label_missing or other). Finished jobs only. One open request per job and image: asking again returns it (200, created false). Our team's answer appears in resolution.

Parameters

Parameters of request_job_review
NameInTypeDescription
job_idpath · requiredstringjob_…
Request
curl -X POST "https://staging.novelity.ai.id/api/v1/jobs/job_k3vn6tb5wryca7hq2m4x/review-request" \  -H "Authorization: Bearer $PLATFORM_API_KEY" \  -H "Content-Type: application/json" \  -d '{"category":"quality","details":"The hands look wrong in this image."}'
Body
{  "category": "quality",  "details": "The hands look wrong in this image."}
201 · The new request
{  "request": {    "request_id": "jrq_m4xk3vn6tb5wryca7hq2",    "job_id": "job_k3vn6tb5wryca7hq2m4x",    "output_id": null,    "kind": "review",    "category": "quality",    "details": "The hands look wrong in this image.",    "status": "open",    "resolution": null,    "created_at": "2026-11-29T09:00:00.000Z",    "resolved_at": null  },  "created": true}
200 · The open request that already existed
{  "request": {    "request_id": "jrq_m4xk3vn6tb5wryca7hq2",    "job_id": "job_k3vn6tb5wryca7hq2m4x",    "output_id": null,    "kind": "review",    "category": "quality",    "details": null,    "status": "open",    "resolution": null,    "created_at": "2026-11-29T09:00:00.000Z",    "resolved_at": null  },  "created": false}
POST

/api/v1/jobs/{job_id}/report

API key

Report a problem with a finished job's image

Reports a problem (category broken_file, wrong_output, offensive, rights_concern or other). Finished jobs only. One open report per job and image: reporting again returns it (200, created false). A likeness that shows someone other than the person who listed it is a takedown (/takedown), not this report.

Parameters

Parameters of report_job_problem
NameInTypeDescription
job_idpath · requiredstringjob_…
Request
curl -X POST "https://staging.novelity.ai.id/api/v1/jobs/job_k3vn6tb5wryca7hq2m4x/report" \  -H "Authorization: Bearer $PLATFORM_API_KEY" \  -H "Content-Type: application/json" \  -d '{"category":"broken_file"}'
Body
{  "category": "broken_file"}
201 · The new report
{  "request": {    "request_id": "jrq_m4xk3vn6tb5wryca7hq2",    "job_id": "job_k3vn6tb5wryca7hq2m4x",    "output_id": null,    "kind": "problem",    "category": "broken_file",    "details": null,    "status": "open",    "resolution": null,    "created_at": "2026-11-29T09:00:00.000Z",    "resolved_at": null  },  "created": true}
200 · The open report that already existed
{  "request": {    "request_id": "jrq_m4xk3vn6tb5wryca7hq2",    "job_id": "job_k3vn6tb5wryca7hq2m4x",    "output_id": null,    "kind": "problem",    "category": "broken_file",    "details": null,    "status": "open",    "resolution": null,    "created_at": "2026-11-29T09:00:00.000Z",    "resolved_at": null  },  "created": false}
POST

/api/v1/webhooks

API key

Register a webhook endpoint

Sends job.completed and job.failed events for your organization's jobs to a public https URL (at most 5 endpoints). The signing secret is returned once. Each delivery is a POST with a JSON body { id, type, created_at, data } and the Standard Webhooks headers webhook-id (the event id, the same on every retry), webhook-timestamp (unix seconds) and webhook-signature (v1,<base64 HMAC-SHA256 of "id.timestamp.body" with the base64 part of your whsec_ secret). Answer 2xx within 10 s; otherwise we retry after 1 min, 5 min, 30 min, 2 h and 6 h.

Request
curl -X POST "https://staging.novelity.ai.id/api/v1/webhooks" \  -H "Authorization: Bearer $PLATFORM_API_KEY" \  -H "Content-Type: application/json" \  -d '{"url":"https://hooks.example.com/likeness","events":["job.completed","job.failed"],"description":"Render pipeline"}'
Body
{  "url": "https://hooks.example.com/likeness",  "events": [    "job.completed",    "job.failed"  ],  "description": "Render pipeline"}
201 · The new endpoint and its secret
{  "webhook": {    "webhook_id": "whe_k3vn6tb5wryca7hq2m4x",    "url": "https://hooks.example.com/likeness",    "description": "Render pipeline",    "events": [      "job.completed",      "job.failed"    ],    "status": "active",    "disabled_reason": null,    "disabled_at": null,    "consecutive_failures": 0,    "secret_version": 1,    "created_at": "2026-11-29T09:00:00.000Z",    "stats": {      "succeeded": 0,      "failed": 0,      "retrying": 0,      "last_delivery_at": null    }  },  "secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"}
GET

/api/v1/webhooks

API key

List your webhook endpoints

Every endpoint of your organization with its status and delivery counts.

Request
curl "https://staging.novelity.ai.id/api/v1/webhooks" \  -H "Authorization: Bearer $PLATFORM_API_KEY"
200 · The endpoints
{  "webhooks": [    {      "webhook_id": "whe_k3vn6tb5wryca7hq2m4x",      "url": "https://hooks.example.com/likeness",      "description": "Render pipeline",      "events": [        "job.completed",        "job.failed"      ],      "status": "active",      "disabled_reason": null,      "disabled_at": null,      "consecutive_failures": 0,      "secret_version": 1,      "created_at": "2026-11-29T09:00:00.000Z",      "stats": {        "succeeded": 0,        "failed": 0,        "retrying": 0,        "last_delivery_at": null      }    }  ]}
POST

/api/v1/webhooks/{webhook_id}/test

API key

Send a test event

Queues a signed webhook.test event to the endpoint (delivered within seconds; see its deliveries). The endpoint must be active.

Parameters

Parameters of test_webhook
NameInTypeDescription
webhook_idpath · requiredstringwhe_…
Request
curl -X POST "https://staging.novelity.ai.id/api/v1/webhooks/{webhook_id}/test" \  -H "Authorization: Bearer $PLATFORM_API_KEY"
202 · The queued test delivery
{  "delivery": {    "delivery_id": "whd_m4xk3vn6tb5wryca7hq2",    "event_id": "evt_wryca7hq2m4xk3vn6tb5",    "type": "webhook.test",    "job_id": null,    "status": "pending",    "retrying": false,    "attempts": 0,    "last_status_code": null,    "last_error": null,    "next_attempt_at": null,    "delivered_at": null,    "test": true,    "created_at": "2026-11-29T09:01:00.000Z"  }}
GET

/api/v1/webhooks/{webhook_id}/deliveries

API key

The delivery log of an endpoint

The latest deliveries (newest first, up to 50): status, attempts, the last HTTP status or error, and the next retry.

Parameters

Parameters of list_webhook_deliveries
NameInTypeDescription
webhook_idpath · requiredstringwhe_…
Request
curl "https://staging.novelity.ai.id/api/v1/webhooks/{webhook_id}/deliveries" \  -H "Authorization: Bearer $PLATFORM_API_KEY"
200 · The deliveries
{  "webhook_id": "whe_k3vn6tb5wryca7hq2m4x",  "deliveries": [    {      "delivery_id": "whd_m4xk3vn6tb5wryca7hq2",      "event_id": "evt_wryca7hq2m4xk3vn6tb5",      "type": "webhook.test",      "job_id": null,      "status": "pending",      "retrying": false,      "attempts": 0,      "last_status_code": null,      "last_error": null,      "next_attempt_at": null,      "delivered_at": null,      "test": true,      "created_at": "2026-11-29T09:01:00.000Z"    }  ]}
POST

/api/v1/webhooks/{webhook_id}/disable

API key

Disable an endpoint

No new deliveries go to it; pending ones end failed. Disabling again answers changed: false.

Parameters

Parameters of disable_webhook
NameInTypeDescription
webhook_idpath · requiredstringwhe_…
Request
curl -X POST "https://staging.novelity.ai.id/api/v1/webhooks/{webhook_id}/disable" \  -H "Authorization: Bearer $PLATFORM_API_KEY"
200 · The endpoint
{  "webhook": {    "webhook_id": "whe_k3vn6tb5wryca7hq2m4x",    "url": "https://hooks.example.com/likeness",    "description": "Render pipeline",    "events": [      "job.completed",      "job.failed"    ],    "status": "disabled",    "disabled_reason": "manual",    "disabled_at": "2026-11-29T10:00:00.000Z",    "consecutive_failures": 0,    "secret_version": 1,    "created_at": "2026-11-29T09:00:00.000Z",    "stats": {      "succeeded": 0,      "failed": 0,      "retrying": 0,      "last_delivery_at": null    }  },  "changed": true}
POST

/api/v1/webhooks/{webhook_id}/enable

API key

Enable an endpoint again

Also after it was disabled for failing; its failure count restarts. Enabling an active one answers changed: false.

Parameters

Parameters of enable_webhook
NameInTypeDescription
webhook_idpath · requiredstringwhe_…
Request
curl -X POST "https://staging.novelity.ai.id/api/v1/webhooks/{webhook_id}/enable" \  -H "Authorization: Bearer $PLATFORM_API_KEY"
200 · The endpoint
{  "webhook": {    "webhook_id": "whe_k3vn6tb5wryca7hq2m4x",    "url": "https://hooks.example.com/likeness",    "description": "Render pipeline",    "events": [      "job.completed",      "job.failed"    ],    "status": "active",    "disabled_reason": null,    "disabled_at": null,    "consecutive_failures": 0,    "secret_version": 1,    "created_at": "2026-11-29T09:00:00.000Z",    "stats": {      "succeeded": 0,      "failed": 0,      "retrying": 0,      "last_delivery_at": null    }  },  "changed": true}

Machine-readable

Errors

Every failure is the same envelope. Branch on code, never on message; retry only when retryable is true (and honor Retry-After). No error asks you to wait for a person: holds are not errors, they are 202 answers.

{  "error": {    "code": "LICENSE_DENIED",    "message": "You have no active license for this face and pack. License a pack first.",    "retryable": false,    "details": {      "reason": "no_active_license",      "hint": "purchase_license",      "pack_id": "pk_7hq2m4xk3vn6tb5wryca",      "asset_id": "ip_2vq7kxm4hn3tb6wr5jyc"    },    "request_id": "req_yca7hq2m4xk3vn6tb5wr"  }}
Error codes
CodeHTTPRetryableMeaningWhat to do
UNAUTHENTICATED401noNo valid credential. details.reason: missing, malformed, unknown, revoked or disabled (the key's creator no longer has access, or the owner account is banned).Send Authorization: Bearer with a working key or token. A revoked or disabled key never comes back: create a new one in the console.
FORBIDDEN403noThe wrong kind of credential for this endpoint. details.required_scope is buyer (an API key) or owner (an owner token).Call with the credential named in details.required_scope.
ACCOUNT_PENDING403noYour buyer org is still under review (decision D1: the API is for approved orgs). details.status = pending.Wait for the review decision (we email you). Nothing to retry until then.
ACCOUNT_REJECTED403noYour buyer org was not approved or is suspended (details.status: rejected or suspended).Stop calling; contact support. Keys of this org don't work.
RATE_LIMITED429yesMore than 60 requests a minute on this key or token (details.scope = credential), too many failed authentications from your network (details.scope = ip), or the call check slowed this key down because its recent calls look like scraping or policy probing (details.scope = call_check, details.category).Wait Retry-After seconds (details.retry_after_seconds), then retry the same request.
CALL_BLOCKED403noThe call check blocked this key or token for a while: its recent calls look like scraping or enumeration, or like targeting a real person (details.category, details.blocked_for_seconds). Our team reviews every block.Stop and look at what your integration is doing. Calls are refused until details.blocked_for_seconds pass; contact support if this is a mistake.
VALIDATION_FAILED422noThe request is malformed. details.fields names each problem by the field or parameter you sent.Fix the named fields and send again. Unknown fields and parameters are refused, not ignored.
NOT_FOUND404noNo such resource for this credential. Another org's job and another owner's asset look exactly like missing ones.Check the id (ip_, job_, lic_ …). Don't retry unchanged.
IDEMPOTENCY_KEY_REUSED422noThis Idempotency-Key already did a different request in the last 24 hours.Use a new key for a new request; reuse a key only to retry the identical request.
INSUFFICIENT_CREDITS402noThe org's credit balance doesn't cover the purchase. details: balance, required, shortfall (minor units, IDR rupiah).A member of your org requests a top-up in the console (credits are invoiced), then retry.
LICENSE_DENIED403noNo license for this. details.reason: pack_not_offered (details.offered lists the packs), no_active_license or pack_not_found (details.hint = purchase_license), not_found, other_asset, revoked, pack_mismatch.With hint purchase_license: buy a license (POST /licenses) and start the job again. With pack_not_offered: pick a pack from details.offered.
USE_CASE_NOT_ALLOWED403noThe use case isn't allowed for this face (details.allowed_use_cases), is hard-denied (details.reason = hard_denied), the prompt doesn't fit the license's use case, or it goes against one of the owner's limits (details.reason = owner_limit, details.limit = the text; see owner_limits in get_asset_policy).Choose an allowed use case, or rewrite the prompt to fit the licensed use.
TERRITORY_MISMATCH403noThe owner licenses this face for ID-only distribution and your org distributes worldwide.Choose another face; the territory is the owner's choice.
DENY_ADULT403noThe prompt is adult or sexual, or above PG-13 (details.reason = above_pg13).Rewrite the prompt. The same prompt gets the same answer.
DENY_POLITICAL403noThe prompt is political (parties, candidates, elections, campaigns).Rewrite the prompt. The same prompt gets the same answer.
DENY_RELIGIOUS403noThe prompt is religious campaigning.Rewrite the prompt. The same prompt gets the same answer.
DENY_GAMBLING403noThe prompt promotes gambling.Rewrite the prompt. The same prompt gets the same answer.
DENY_LENDING403noThe prompt promotes online lending or loans.Rewrite the prompt. The same prompt gets the same answer.
DENY_CLAIM403noThe prompt makes a medical or financial claim.Rewrite the prompt. The same prompt gets the same answer.
DENY_IMPERSONATION403noThe prompt casts the face as another real person.The face may appear only as itself or a fictional character.
ASSET_PAUSED409noFuture use of this face is paused; new jobs are refused. A pause by the owner ends active licenses with a pro rata credit refund (D10 C4).Don't retry in a loop. Choose another face, or check get_asset_policy later: the owner may resume.
ASSET_REVOKED409noThe owner revoked the likeness. Its licenses are revoked; finished jobs stay yours.Choose another face. Future use is over.
ASSET_NOT_LIVE409noThe face isn't offered right now (details.reason: not_live, not_listed, not_published, listing_expired).Choose another face.
NOT_SOUL_READY409noThe face can't generate: it is Listed (browse and quote only) or needs retraining (details.reason: listed, no_reference, retrain_required).Quote it if you like; license and generate with a soul_ready face.
CONSENT_REQUIRED409noThe owner's likeness consent behind the trained reference is no longer active.Choose another face.
CAP_REACHED409noThe license has fewer generations left than batch_size (details.remaining, cap).Use batch_size 1, another license, or buy a new one.
LICENSE_EXPIRED409noThe license's window ended (details.expired_at).Buy a new license.
INVALID_STATE409noThe asset can't make this change from its current status (details.status), e.g. pausing a revoked face; or a payout request that can't be made (details.reason: insufficient_balance with available_cents, payout_open with payout_id when one is already in progress, or kyc_required).Read the status (GET /me lists your assets); don't retry unchanged.
INTERNAL500yesUnexpected server error.Retry with backoff. If it persists, contact support with error.request_id.

Holds (202, not errors)

POST /jobs can answer 202 with { job, outcome: "held" }: the job exists and waits for a person, at most 72 hours (then it is cancelled with HOLD_EXPIRED). Nothing is reserved while it waits. Poll get_job.

Hold codes
HoldWaits forWhy
MANUAL_REVIEWour trust & safety teamThe prompt check was unsure (or unavailable). Most checks take minutes; nothing is reserved while it waits.
OWNER_REVIEW_REQUIREDthe likeness ownerThe owner reviews every generation of this face (review_required in the policy).
ABUSE_HOLDour trust & safety teamA takedown report on this face is open. New jobs wait until it's resolved; existing jobs stay.

Job outcome codes

A job that ends denied, failed or cancelled carries error.code on GET /jobs/{job_id}: a refusal code from the table above for denied jobs, or one of these. Technical failures return the generations to your license.

Job outcome codes
CodeMeaning
GENERATION_FAILEDThe generation failed on our provider's side. The generations were returned to your license; try again.
GENERATION_NSFWThis generation couldn't be completed: our provider's content check declined it. The generations were returned to your license. Try a different prompt.
GENERATION_TIMEOUTThe generation took too long and was stopped. The generations were returned to your license.
PROVIDER_ERRORA technical problem stopped this job. The generations were returned to your license; try again.
HOLD_EXPIREDNobody reviewed this request within 72 hours, so it was cancelled. Nothing was charged.
OUTPUT_WITHHELDThe finished images didn't pass our output check, so they were not released. The generations were returned to your license.
ASSET_PAUSEDThis likeness is currently paused. Nothing was generated and no generations were used.
ASSET_REVOKEDThe owner revoked this likeness. Future use has stopped; nothing was generated from it.
ASSET_NOT_LIVEThis likeness isn't available right now.
NOT_SOUL_READYThis likeness can't generate right now (it has no trained character reference in this environment).
CONSENT_REQUIREDThe owner's likeness consent for this face is no longer active.
LICENSE_DENIEDThis license can't be used for this job. License a pack of this face first.
LICENSE_EXPIREDThis license's window has ended.
ACCOUNT_PENDINGYour buyer account is under review. We will email you when a decision is made.
ACCOUNT_REJECTEDThis buyer account can't generate.
CANCELLED_BY_BUYERYou cancelled this job before it ran. Nothing was generated and the generations were returned to your license.
OWNER_DECLINEDThe owner declined this request.

Codes used only by the web console (uploads, consent, invites) never come back from v1: NOT_IMPLEMENTED, INVITE_INVALID, ACCOUNT_EXISTS, ALREADY_USED, FILE_TOO_LARGE, UNSUPPORTED_FILE_TYPE, IMAGE_TOO_SMALL, DUPLICATE_PHOTO, SLOT_FULL, CONSENT_STALE, CONSENT_STEPS_REQUIRED, REQUIREMENTS_NOT_MET.

Safe retries

Idempotency

POST /licenses and POST /jobs accept an Idempotency-Key header (1–255 visible ASCII characters; a UUID is ideal). Send one per intended purchase or job and reuse it only to retry that same request.

  • The same key and the same request within 24 hours replays the first answer with Idempotent-Replayed: true. Nothing is charged or reserved again.
  • The same key with a different request answers IDEMPOTENCY_KEY_REUSED (422).
  • Keys are per org and per operation. The key is stored in the same transaction as the purchase or job, so it exists only if that request committed.
  • Refused requests store nothing: after, say, a top-up, the same key is evaluated again.

Fair use

Rate limits

  • 60 requests per minute per API key or owner token: a bucket of 60 that refills at 1 per second. Every answer carries X-RateLimit-Limit and X-RateLimit-Remaining.
  • Over the limit: RATE_LIMITED (429) with Retry-After and details.retry_after_seconds. It is retryable: wait, then send the same request.
  • Requests with a missing or invalid credential share a smaller bucket per network (30, refilling one every 2 seconds). Valid credentials are never slowed by it.
  • In the closed beta the limiter lives in each server process, so it is enforced per process, like the application form's limit.

For agents

MCP server

The mcp/ package is a stdio MCP server that calls this API. It exposes 8 tools; which ones appear depends on the credentials you give it. Tool errors carry the same machine code and retryable flag.

Build
cd mcpnpm installnpm run build   # -> dist/index.js
Environment
PLATFORM_API_URL=https://staging.novelity.ai.idPLATFORM_API_KEY=sk_live_…        # buyer toolsPLATFORM_OWNER_TOKEN=ot_…         # owner tools (optional, either or both)
Claude Code
claude mcp add platform \  --env PLATFORM_API_URL=https://staging.novelity.ai.id \  --env PLATFORM_API_KEY=sk_live_… \  -- node /absolute/path/to/mcp/dist/index.js
Claude Desktop · claude_desktop_config.json
{  "mcpServers": {    "platform": {      "command": "node",      "args": [        "/absolute/path/to/mcp/dist/index.js"      ],      "env": {        "PLATFORM_API_URL": "https://staging.novelity.ai.id",        "PLATFORM_API_KEY": "sk_live_…"      }    }  }}
MCP tools
ToolRESTCredential
search_assetsGET /api/v1/assetsAPI key
get_asset_policyGET /api/v1/assets/{asset_id}/policyAPI key
quotePOST /api/v1/quoteAPI key
purchase_licensePOST /api/v1/licensesAPI key
start_jobPOST /api/v1/jobsAPI key
get_jobGET /api/v1/jobs/{job_id}API key
list_usageGET /api/v1/owner/assets/{asset_id}/usageowner token
pause_assetPOST /api/v1/owner/assets/{asset_id}/pauseowner token

start_job needs a license: when it answers LICENSE_DENIED with details.hint = purchase_license, the agent calls purchase_license and starts the job again. pause_asset stops future use at once; finished jobs stay with their buyers.

Closed beta

Phase 1 limits

  • Still images only. No video, lipsync or voice.
  • Packs are capped, never unlimited: Scout is 20 generations over 30 days, Episode is 80 over 60 days. 1–10 licenses per purchase.
  • One job is 1 or 4 images, and each counts against the license. Aspect ratios: 1:1, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 16:9, 9:16, 21:9.
  • PG-13 at most. Never allowed, for any face: adult, political, religious campaign, gambling, online lending, medical financial claim, impersonation other person.
  • Only Soul Ready faces can be licensed and generated with; Listed faces are browse-and-quote only. Likeness consistency is not guaranteed.
  • Credits are invoiced by our team during the beta (no card payments): an org member requests a top-up in the console.
  • Output links are signed and expire within an hour; call get_job again for fresh ones. Every image is labeled “AI-generated image with licensed likeness”, visibly and in its metadata. Keep the label when you publish.