Skip to content
Lumean

API objects

The schemas responses are built from. An object’s full table lives only here: operation pages link to it instead of repeating it. The object and each of its fields have their own anchor, so you can link to them in a conversation.

AiGatewayCatalogModel

object
keyrequired

The model name for the model field of an AI API request, exactly as written: the gateway looks the model up by exact match.

string
namerequired

Human-readable model name.

string
familyrequired

Model family (for example claude, gpt) — for grouping in a list.

string
kindrequired

chat or image. An image model is called through /v1/images (or through chat — the answer arrives as a markdown image); its price is price.request.

string
descriptionrequired

A short description of the model; null when there is none.

nullable
string
context_windowrequired

The model context window, in tokens.

string
max_output_tokensrequired

How many tokens the model can produce in one answer.

string
capabilitiesrequired

Model capabilities (image input, tools, reasoning and so on). Image models carry image_options — allowed values of the size / aspect_ratio fields of /v1/images/*, the first one is the default; no key means no choice.

string
pricing_moderequired

How the rate is set: markup follows the provider price and may change, fixed is set by Lumean and does not depend on the provider.

string
pricerequired

Current rates per token class. null — the model is not sold for money right now. A zero for a single class means that class is not billed (for example request on chat models).

nullable
object
*optional
arbitrary keys
object
billing_availablerequired

Whether the model can be called with a paid key. false on a live model — it is listed for calls with your own provider key (BYOK), and a paid call is refused.

boolean
byokrequired

Whether the model can be called with your own provider key (BYOK): available and the refusal reason — not_entitled (the plan does not include BYOK), no_credential (no key of yours for a matching provider) or null.

string
Show an example
{
  "key": "string",
  "name": "string",
  "family": "string",
  "kind": "string",
  "description": "string",
  "context_window": "string",
  "max_output_tokens": "string",
  "capabilities": "string",
  "pricing_mode": "string",
  "price": {},
  "billing_available": true,
  "byok": "string"
}

AssetKind

string
  • money
  • unit
Show an example
"money"

Asset

object
idrequired

Internal identifier of the asset.

integer
coderequired

Asset code: LUMC is the internal currency, TOKEN the generation tokens.

string
kindrequired

Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.

Valuesmoneyunit
AssetKindAssetKind
precisionrequired

Number of decimal places. The load-bearing field: every integer amount in this asset is divided by 10^precision to obtain the real value. Do not assume the divisor is 100.

integer
namerequired

Display name of the asset, in the account language.

string
deleted_atrequired

When the asset was retired, ISO 8601. null while it is in use.

nullabledate-time
string
created_atrequired

When the asset was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the asset last changed, ISO 8601.

nullabledate-time
string
Show an example
{
  "id": 1,
  "code": "string",
  "kind": "money",
  "precision": 1,
  "name": "string",
  "deleted_at": "string",
  "created_at": "string",
  "updated_at": "string"
}

BillingMode

string
  • subscription
  • pay_as_you_go
Show an example
"subscription"

No reference operation links to this schema directly — it appears inside other objects.

BrowseTemplates

object
itemsrequired

Contents of the current folder — folders and templates interleaved, in sort order. Tell them apart by service_key: only a template has it.

array<TemplateItem>TemplateItem
array item
typerequired
Valuestemplate
string
idrequired
string
namerequired
string
slugoptional
string
service_keyoptional
string
serviceoptional
nullable
Service | null
configoptional
object | array<any>
is_publicoptional
boolean
folder_idoptional
nullable
string
created_atrequired
nullabledate-time
string
updated_atrequired
nullabledate-time
string
templates_countoptional
string | integer
current_pagerequired

Current page number, starting at 1.

integer
last_pagerequired

Number of the last page. When it equals current_page, there is nothing further.

integer
per_pagerequired

How many records fit on a page.

integer
totalrequired

How many records the folder holds in total, across all pages.

integer
current_folderrequired

The folder whose contents are shown. null means you are at the root.

nullable
object
idrequired

UUID of the current folder — pass it as folder_id to open the folder again.

string
namerequired

Name of the current folder.

string
breadcrumbsrequired

The path from the root to the current folder, ancestor first — ready to render as a breadcrumb trail.

array<object>
array item
idoptional

UUID of an ancestor folder — the folder_id value that jumps back to that level.

uuid
string
nameoptional

Name of the ancestor folder.

string
Show an example
{
  "items": [
    {
      "type": "template",
      "id": "string",
      "name": "string",
      "slug": "string",
      "service_key": "string",
      "service": {
        "id": 1,
        "code": "string",
        "name": "string",
        "display_name": "string",
        "label": null,
        "payg_access": "string",
        "billing_mode": "subscription",
        "unit_asset_id": 1,
        "unit_asset": {
          "id": null,
          "code": null,
          "kind": null,
          "precision": null,
          "name": null,
          "deleted_at": null,
          "created_at": null,
          "updated_at": null
        },
        "required_entitlement_id": 1,
        "required_entitlement": {
          "id": null,
          "code": null,
          "name": null,
          "metadata": null,
          "is_active": null,
          "created_at": null,
          "updated_at": null,
          "is_unlimited": null
        },
        "units_per_call": 1,
        "units_per_char": 1,
        "units_per_image": 1,
        "units_per_second": 1,
        "min_billable_chars": 1,
        "lumcoin_per_token": 1,
        "lumc_precision": 1,
        "price_lumc_minor": 1,
        "unit_size": 1,
        "uses_money_first_pricing": true,
        "rate_unit": "string",
        "display_category": "string",
        "is_premium": true,
        "display_order": 1,
        "metadata": {},
        "is_active": true,
        "maintenance_mode": true,
        "access_level": "string",
        "maintenance_auto_resume": true,
        "maintenance_started_at": "string",
        "maintenance_note": "string",
        "created_at": "string",
        "updated_at": "string"
      },
      "config": {},
      "is_public": true,
      "folder_id": "string",
      "created_at": "string",
      "updated_at": "string"
    }
  ],
  "current_page": 1,
  "last_page": 1,
  "per_page": 1,
  "total": 1,
  "current_folder": {
    "id": "string",
    "name": "string"
  },
  "breadcrumbs": [
    {
      "id": "string",
      "name": "string"
    }
  ]
}

Used by 1 operations

CartesiaVoiceClone

object
idrequired

Clone UUID. Use it in /voices/cartesia/clones/{voiceClone}/… paths; it does NOT go into a template — voice_id does.

string
providerrequired

Clone provider — always cartesia.

Valuescartesia
string
display_namerequired

Clone name given at creation.

string
languagerequired

Language of the sample (ISO 639-1), or null if none was sent.

nullable
string
descriptionrequired

Your description of the clone, or null.

nullable
string
statusrequired

Status: pending → cloning → ready or failed; archived — retired by the owner; banned — blocked by a moderator. Only ready can be used for narration.

string
voice_idrequired

The Cartesia voice id — the value for tts_settings.voice_id of a template with service_key: cartesia. Present only for ready, otherwise null.

nullable
string
attemptsrequired

Cloning attempt number: 1 on creation, +1 for every retry.

integer
errorrequired

Why the last attempt failed; null while there has been no failure.

nullable
object
reasonrequired

Machine-readable failure code: processing_error, max_retries, network, timeout, dispatch_failed. Retry with POST /voices/cartesia/clones/{voiceClone}/retry; if processing_error keeps coming back, use a different sample.

nullable
string
messagerequired

Human-readable explanation of the failure, or null. Branch on reason, not on this text.

nullable
string
created_atrequired

When the clone was created.

nullabledate-time
string
completed_atrequired

When the clone became ready; null until then.

nullabledate-time
string
failed_atrequired

When the last attempt failed; null if it has not.

nullabledate-time
string
banned_atrequired

When a moderator banned the clone (status = banned); null if it is not banned.

nullabledate-time
string
ban_reasonrequired

Reason for the ban given by the moderator, or null. A banned clone can be neither used nor archived.

nullable
string
Show an example
{
  "id": "string",
  "provider": "cartesia",
  "display_name": "string",
  "language": "string",
  "description": "string",
  "status": "string",
  "voice_id": "string",
  "attempts": 1,
  "error": {
    "reason": "string",
    "message": "string"
  },
  "created_at": "string",
  "completed_at": "string",
  "failed_at": "string",
  "banned_at": "string",
  "ban_reason": "string"
}

Entitlement

object
idrequired

Internal identifier of the entitlement.

integer
coderequired

Entitlement code — a service checks it to decide whether you have access.

string
namerequired

Display name of the entitlement, in the account language.

string
metadatarequired

Extra attributes of the entitlement. The key set is free-form.

nullable
object
is_activerequired

Whether the entitlement is active.

boolean
created_atrequired

When the entitlement was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the entitlement last changed, ISO 8601.

nullabledate-time
string
is_unlimitedoptional

Whether this capability is unlimited under the plan. Present only when the entitlement is returned in a plan context.

boolean
Show an example
{
  "id": 1,
  "code": "string",
  "name": "string",
  "metadata": {},
  "is_active": true,
  "created_at": "string",
  "updated_at": "string",
  "is_unlimited": true
}

No reference operation links to this schema directly — it appears inside other objects.

GetFileUrlRequest

object

A request for a temporary link to a result file. Fetch the link with a plain GET, without the X-API-KEY header.

pathrequired

The full file path exactly as it arrived in the order's result.files[] or result.service_files[]. Do not assemble it by hand — it contains internal segments.

string
Example storage/42/orders/9f8b2c1a-4d3e-4f5a-8b9c-0d1e2f3a4b5c/result/output.mp3
downloadoptional

When true, the link is marked as an attachment: the file is saved under the human-readable order name instead of opening in a browser tab.

default false
boolean
number_baseoptional

Where chunk numbering starts in the file name: 1 → the first chunk is "001", 0 → "000". Defaults to 1.

default 1
Values01
integer
number_paddingoptional

Width of the zero-padded chunk number, 1..4: 3 → "007". Defaults to 3. Keep it identical to the ZIP archive request, otherwise the same chunk is named differently on its own and inside the archive.

default 31..4
integer
Show an example
{
  "path": "storage/42/orders/9f8b2c1a-4d3e-4f5a-8b9c-0d1e2f3a4b5c/result/output.mp3",
  "download": false,
  "number_base": 1,
  "number_padding": 3
}

No reference operation links to this schema directly — it appears inside other objects.

GiftCodeBatch

object
uuidrequired

The batch id.

string
sourcerequired

Always reseller — the batch was issued from the reseller balance.

Valuespurchaseresellersystem
GiftCodeSourceGiftCodeSource
codes_countrequired

How many codes the batch holds.

integer
nominal_totalrequired

Sum of the code nominals, LMC minor units.

integer
nominal_total_formattedrequired

Sum of the nominals, LMC.

number
cost_totaloptional

How much was charged to the reseller balance (nominals minus the discount), LMC minor units.

integer
cost_total_formattedoptional

Charged to the reseller balance, LMC.

number
discount_bpsoptional

The reseller personal discount at issue time, basis points (1000 = 10%).

integer
codesoptional

The batch codes with the FULL code value — store them: they are bearer money.

array<GiftCode>GiftCode
array item
uuidrequired

Code UUID. Use it in the GET /reseller/codes/{uuid} and POST /reseller/codes/{uuid}/cancel paths.

string
code_maskedrequired

The code with a mask, LUM-****-****-XXXX: safe to show in a UI and to write to logs.

string
codeoptional

The FULL code value — what the recipient types to redeem it. The reseller public API returns it in the list, on show and on issue. Treat it as a secret: whoever knows the code can redeem it.

string
nominalrequired

The code’s nominal value in minor LMC units: real = nominal / 10^currency_asset.precision. This is how much LMC the redeemer receives.

integer
nominal_formattedrequired

The same nominal value in whole LMC — a number ready to display.

number
costoptional

What the code cost the reseller after the discount, in minor LMC units. Present only for reseller codes (source: reseller).

integer
cost_formattedoptional

The same cost in whole LMC. Present only for reseller codes.

number
discount_bpsoptional

The reseller’s discount at the moment of issue, in basis points (100 = 1%). A later change of the personal discount does not affect this code. Present only for reseller codes.

integer
sourcerequired

Where the code came from: bought by a user with money (purchase) or issued by a reseller from their own balance (reseller).

Valuespurchaseresellersystem
GiftCodeSourceGiftCodeSource
fundingrequired

What paid for the code: roubles (rub), crypto (crypto) or both (mixed — a reseller code issued from a balance topped up both ways).

Valuesrubcryptomixedadmin
GiftCodeFundingGiftCodeFunding
statusrequired

Gift code status: active — issued and awaiting redemption (possibly still frozen until activatable_at); refunding — a refund is in progress, redemption and cancellation are unavailable; redeemed — redeemed, the nominal is on the redeemer's balance; refunded — the money went back to the buyer's card; cancelled — the reseller cancelled the code and the cost returned to their balance; annulled — annulled with no refund.

Valuesactiverefundingredeemedrefundedcancelledannulled
GiftCodeStatusGiftCodeStatus
activatable_atrequired

The moment from which the code can be redeemed; until then it is frozen. null means no restriction.

nullabledate-time
string
redeemed_atrequired

When the code was redeemed. null until it is. The API never reveals who redeemed it.

nullabledate-time
string
cancelled_atrequired

When the reseller cancelled the code. null if it was not cancelled.

nullabledate-time
string
created_atrequired

When the code was issued.

nullabledate-time
string
currency_assetrequired

The currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.

object
coderequired

Code of the asset the amounts are expressed in.

ValuesLUMC
string
precisionrequired

How many decimals LMC has: real = value / 10^precision.

integer
created_atrequired

When the batch was issued.

nullabledate-time
string
currency_assetrequired

The currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.

object
coderequired

Code of the asset the amounts are expressed in.

ValuesLUMC
string
precisionrequired

How many decimals LMC has: real = value / 10^precision.

integer
Show an example
{
  "uuid": "string",
  "source": "purchase",
  "codes_count": 1,
  "nominal_total": 1,
  "nominal_total_formatted": 1,
  "cost_total": 1,
  "cost_total_formatted": 1,
  "discount_bps": 1,
  "codes": [
    {
      "uuid": "string",
      "code_masked": "string",
      "code": "string",
      "nominal": 1,
      "nominal_formatted": 1,
      "cost": 1,
      "cost_formatted": 1,
      "discount_bps": 1,
      "source": "purchase",
      "funding": "rub",
      "status": "active",
      "activatable_at": "string",
      "redeemed_at": "string",
      "cancelled_at": "string",
      "created_at": "string",
      "currency_asset": {
        "code": "LUMC",
        "precision": 1
      }
    }
  ],
  "created_at": "string",
  "currency_asset": {
    "code": "LUMC",
    "precision": 1
  }
}

Used by 1 operations

GiftCodeList

object
itemsrequired

Records on the current page, in the list’s sort order.

array<GiftCode>GiftCode
array item
uuidrequired

Code UUID. Use it in the GET /reseller/codes/{uuid} and POST /reseller/codes/{uuid}/cancel paths.

string
code_maskedrequired

The code with a mask, LUM-****-****-XXXX: safe to show in a UI and to write to logs.

string
codeoptional

The FULL code value — what the recipient types to redeem it. The reseller public API returns it in the list, on show and on issue. Treat it as a secret: whoever knows the code can redeem it.

string
nominalrequired

The code’s nominal value in minor LMC units: real = nominal / 10^currency_asset.precision. This is how much LMC the redeemer receives.

integer
nominal_formattedrequired

The same nominal value in whole LMC — a number ready to display.

number
costoptional

What the code cost the reseller after the discount, in minor LMC units. Present only for reseller codes (source: reseller).

integer
cost_formattedoptional

The same cost in whole LMC. Present only for reseller codes.

number
discount_bpsoptional

The reseller’s discount at the moment of issue, in basis points (100 = 1%). A later change of the personal discount does not affect this code. Present only for reseller codes.

integer
sourcerequired

Where the code came from: bought by a user with money (purchase) or issued by a reseller from their own balance (reseller).

Valuespurchaseresellersystem
GiftCodeSourceGiftCodeSource
fundingrequired

What paid for the code: roubles (rub), crypto (crypto) or both (mixed — a reseller code issued from a balance topped up both ways).

Valuesrubcryptomixedadmin
GiftCodeFundingGiftCodeFunding
statusrequired

Gift code status: active — issued and awaiting redemption (possibly still frozen until activatable_at); refunding — a refund is in progress, redemption and cancellation are unavailable; redeemed — redeemed, the nominal is on the redeemer's balance; refunded — the money went back to the buyer's card; cancelled — the reseller cancelled the code and the cost returned to their balance; annulled — annulled with no refund.

Valuesactiverefundingredeemedrefundedcancelledannulled
GiftCodeStatusGiftCodeStatus
activatable_atrequired

The moment from which the code can be redeemed; until then it is frozen. null means no restriction.

nullabledate-time
string
redeemed_atrequired

When the code was redeemed. null until it is. The API never reveals who redeemed it.

nullabledate-time
string
cancelled_atrequired

When the reseller cancelled the code. null if it was not cancelled.

nullabledate-time
string
created_atrequired

When the code was issued.

nullabledate-time
string
currency_assetrequired

The currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.

object
coderequired

Code of the asset the amounts are expressed in.

ValuesLUMC
string
precisionrequired

How many decimals LMC has: real = value / 10^precision.

integer
current_pagerequired

Current page number, starting from one.

integer
last_pagerequired

Number of the last page. The walk is over once current_page equals last_page.

integer
per_pagerequired

Page size the server applied.

integer
totalrequired

Total number of records matching the filter.

integer
Show an example
{
  "items": [
    {
      "uuid": "string",
      "code_masked": "string",
      "code": "string",
      "nominal": 1,
      "nominal_formatted": 1,
      "cost": 1,
      "cost_formatted": 1,
      "discount_bps": 1,
      "source": "purchase",
      "funding": "rub",
      "status": "active",
      "activatable_at": "string",
      "redeemed_at": "string",
      "cancelled_at": "string",
      "created_at": "string",
      "currency_asset": {
        "code": "LUMC",
        "precision": 1
      }
    }
  ],
  "current_page": 1,
  "last_page": 1,
  "per_page": 1,
  "total": 1
}

Used by 1 operations

GiftCodeFunding

string

What paid for the code: roubles (rub), crypto (crypto) or both (mixed — a reseller code issued from a balance topped up both ways).

  • rub
  • crypto
  • mixed
  • admin
Show an example
"rub"

GiftCode

object
uuidrequired

Code UUID. Use it in the GET /reseller/codes/{uuid} and POST /reseller/codes/{uuid}/cancel paths.

string
code_maskedrequired

The code with a mask, LUM-****-****-XXXX: safe to show in a UI and to write to logs.

string
codeoptional

The FULL code value — what the recipient types to redeem it. The reseller public API returns it in the list, on show and on issue. Treat it as a secret: whoever knows the code can redeem it.

string
nominalrequired

The code’s nominal value in minor LMC units: real = nominal / 10^currency_asset.precision. This is how much LMC the redeemer receives.

integer
nominal_formattedrequired

The same nominal value in whole LMC — a number ready to display.

number
costoptional

What the code cost the reseller after the discount, in minor LMC units. Present only for reseller codes (source: reseller).

integer
cost_formattedoptional

The same cost in whole LMC. Present only for reseller codes.

number
discount_bpsoptional

The reseller’s discount at the moment of issue, in basis points (100 = 1%). A later change of the personal discount does not affect this code. Present only for reseller codes.

integer
sourcerequired

Where the code came from: bought by a user with money (purchase) or issued by a reseller from their own balance (reseller).

Valuespurchaseresellersystem
GiftCodeSourceGiftCodeSource
fundingrequired

What paid for the code: roubles (rub), crypto (crypto) or both (mixed — a reseller code issued from a balance topped up both ways).

Valuesrubcryptomixedadmin
GiftCodeFundingGiftCodeFunding
statusrequired

Gift code status: active — issued and awaiting redemption (possibly still frozen until activatable_at); refunding — a refund is in progress, redemption and cancellation are unavailable; redeemed — redeemed, the nominal is on the redeemer's balance; refunded — the money went back to the buyer's card; cancelled — the reseller cancelled the code and the cost returned to their balance; annulled — annulled with no refund.

Valuesactiverefundingredeemedrefundedcancelledannulled
GiftCodeStatusGiftCodeStatus
activatable_atrequired

The moment from which the code can be redeemed; until then it is frozen. null means no restriction.

nullabledate-time
string
redeemed_atrequired

When the code was redeemed. null until it is. The API never reveals who redeemed it.

nullabledate-time
string
cancelled_atrequired

When the reseller cancelled the code. null if it was not cancelled.

nullabledate-time
string
created_atrequired

When the code was issued.

nullabledate-time
string
currency_assetrequired

The currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.

object
coderequired

Code of the asset the amounts are expressed in.

ValuesLUMC
string
precisionrequired

How many decimals LMC has: real = value / 10^precision.

integer
Show an example
{
  "uuid": "string",
  "code_masked": "string",
  "code": "string",
  "nominal": 1,
  "nominal_formatted": 1,
  "cost": 1,
  "cost_formatted": 1,
  "discount_bps": 1,
  "source": "purchase",
  "funding": "rub",
  "status": "active",
  "activatable_at": "string",
  "redeemed_at": "string",
  "cancelled_at": "string",
  "created_at": "string",
  "currency_asset": {
    "code": "LUMC",
    "precision": 1
  }
}

GiftCodeSource

string

Where the code came from: bought by a user with money (purchase) or issued by a reseller from their own balance (reseller).

  • purchase
  • reseller
  • system
Show an example
"purchase"

GiftCodeStatus

string

Gift code status: active — issued and awaiting redemption (possibly still frozen until activatable_at); refunding — a refund is in progress, redemption and cancellation are unavailable; redeemed — redeemed, the nominal is on the redeemer's balance; refunded — the money went back to the buyer's card; cancelled — the reseller cancelled the code and the cost returned to their balance; annulled — annulled with no refund.

  • active
  • refunding
  • redeemed
  • refunded
  • cancelled
  • annulled
Show an example
"active"

IssueGiftCodesRequest

object

Issuing codes from the reseller balance. The Idempotency-Key header is optional but recommended: with it a network retry cannot issue a second batch.

nominalsrequired

Code nominals in LMC, one number per code: as many codes as elements. Numbers and decimal strings are accepted; a nominal is either one of the presets from GET /reseller/settings or between min_nominal and max_nominal. The number of elements is capped by limits.max_codes_per_issue from GET /reseller.

min items: 1max items: 1000
array<number>
Example [100,100,250]
Show an example
{
  "nominals": [
    100,
    100,
    250
  ]
}

No reference operation links to this schema directly — it appears inside other objects.

LedgerEntry

object
idrequired

Posting ID.

integer
wallet_idrequired

The posting’s wallet — an id from GET /wallets.

integer
amountrequired

Posting amount as an integer in the wallet asset’s minor units (the divisor is asset.precision), signed: negative means out; the direction is also in entry_type.

integer
amount_formattedoptional

The same signed amount in whole asset units, ready to display.

number
assetoptional

The asset of the posting’s wallet; its precision is the divisor for amount.

AssetAsset
idrequired

Internal identifier of the asset.

integer
coderequired

Asset code: LUMC is the internal currency, TOKEN the generation tokens.

string
kindrequired

Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.

Valuesmoneyunit
AssetKindAssetKind
precisionrequired

Number of decimal places. The load-bearing field: every integer amount in this asset is divided by 10^precision to obtain the real value. Do not assume the divisor is 100.

integer
namerequired

Display name of the asset, in the account language.

string
deleted_atrequired

When the asset was retired, ISO 8601. null while it is in use.

nullabledate-time
string
created_atrequired

When the asset was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the asset last changed, ISO 8601.

nullabledate-time
string
entry_typerequired

credit — into the wallet, debit — out of it.

Valuescreditdebit
string
created_atrequired

When the posting was created, ISO 8601.

nullabledate-time
string
Show an example
{
  "id": 1,
  "wallet_id": 1,
  "amount": 1,
  "amount_formatted": 1,
  "asset": {
    "id": 1,
    "code": "string",
    "kind": "money",
    "precision": 1,
    "name": "string",
    "deleted_at": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "entry_type": "credit",
  "created_at": "string"
}

Used by 1 operations

LedgerTransactionList

object
itemsrequired

Records on the current page, in the list’s sort order.

array<LedgerTransaction>LedgerTransaction
array item
idrequired

ID of the money movement.

integer
typerequired

Movement type — a LedgerTransactionType value: deposit (top-up), order_completion (charge for an order), order_refund (refund), policy_block_fee (fee for an attempt rejected by the content policy), and others.

Valuesreferral_rewardinitial_depositdepositunlock_balancelock_balanceadmin_adjustmenttransfertransfer_feesubscription_refundadmin_subscription_grantdeposit_refundadmin_chargeadmin_creditmigration_creditorder_completionorder_refundsubscription_direct_paymenttoken_consumption_chargedeposit_bonusreferral_reward_usdreferral_reward_reversalsubscription_renewalsubscription_token_consumedsubscription_token_refundsubscription_token_forfeitedsubscription_token_creditlegacy_balance_migrationpolicy_block_feeai_gateway_usagegift_code_purchasegift_code_issuegift_code_cancelgift_code_redemptiongift_code_self_redemptiongift_code_discountgift_code_refundgift_code_system_annulreseller_top_upreseller_top_up_refundreseller_debt_repaymentreseller_revoke_transfersubscription_quota_return
LedgerTransactionTypeLedgerTransactionType
statusrequired

Movement state: posted — booked, pending — awaiting booking, void — cancelled, with no effect on the balance.

Valuespendingpostedvoid
string
descriptionrequired

A description of the movement in words, for display. null when there is none.

nullable
string
amountoptional

Movement amount as an integer in the asset’s minor units (asset.precision), unsigned — the direction is in direction. Absent when the amount cannot be determined.

integer
amount_formattedoptional

The same amount in whole asset units, ready to display. Present when the asset of the amount is known: always for wallet movements, and for a movement that bypasses a wallet when its asset is recorded.

number
assetoptional

The asset of the amount; its precision is the divisor for amount. Present under the same conditions as amount_formatted.

AssetAsset
idrequired

Internal identifier of the asset.

integer
coderequired

Asset code: LUMC is the internal currency, TOKEN the generation tokens.

string
kindrequired

Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.

Valuesmoneyunit
AssetKindAssetKind
precisionrequired

Number of decimal places. The load-bearing field: every integer amount in this asset is divided by 10^precision to obtain the real value. Do not assume the divisor is 100.

integer
namerequired

Display name of the asset, in the account language.

string
deleted_atrequired

When the asset was retired, ISO 8601. null while it is in use.

nullabledate-time
string
created_atrequired

When the asset was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the asset last changed, ISO 8601.

nullabledate-time
string
directionoptional

credit — money in, debit — money out. Locking and unlocking for an order (type: lock_balance, unlock_balance) keep the money in the wallet, so the direction is that of the available balance (balance in GET /wallets): a lock is debit, an unlock is credit.

Valuesdebitcredit
string
created_atrequired

When the movement was created, ISO 8601.

nullabledate-time
string
entriesrequired

Postings to your wallets. A movement that bypasses a wallet (such as a direct subscription payment) has an empty list; the amount is then on the transaction itself.

array<LedgerEntry>LedgerEntry
array item
idrequired

Posting ID.

integer
wallet_idrequired

The posting’s wallet — an id from GET /wallets.

integer
amountrequired

Posting amount as an integer in the wallet asset’s minor units (the divisor is asset.precision), signed: negative means out; the direction is also in entry_type.

integer
amount_formattedoptional

The same signed amount in whole asset units, ready to display.

number
assetoptional

The asset of the posting’s wallet; its precision is the divisor for amount.

AssetAsset
idrequired

Internal identifier of the asset.

integer
coderequired

Asset code: LUMC is the internal currency, TOKEN the generation tokens.

string
kindrequired

Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.

Valuesmoneyunit
AssetKindAssetKind
precisionrequired

Number of decimal places. The load-bearing field: every integer amount in this asset is divided by 10^precision to obtain the real value. Do not assume the divisor is 100.

integer
namerequired

Display name of the asset, in the account language.

string
deleted_atrequired

When the asset was retired, ISO 8601. null while it is in use.

nullabledate-time
string
created_atrequired

When the asset was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the asset last changed, ISO 8601.

nullabledate-time
string
entry_typerequired

credit — into the wallet, debit — out of it.

Valuescreditdebit
string
created_atrequired

When the posting was created, ISO 8601.

nullabledate-time
string
current_pagerequired

Current page number, starting from one.

integer
last_pagerequired

Number of the last page. The walk is over once current_page equals last_page.

integer
per_pagerequired

Page size the server applied.

integer
totalrequired

Total number of records matching the filter.

integer
Show an example
{
  "items": [
    {
      "id": 1,
      "type": "referral_reward",
      "status": "pending",
      "description": "string",
      "amount": 1,
      "amount_formatted": 1,
      "asset": {
        "id": 1,
        "code": "string",
        "kind": "money",
        "precision": 1,
        "name": "string",
        "deleted_at": "string",
        "created_at": "string",
        "updated_at": "string"
      },
      "direction": "debit",
      "created_at": "string",
      "entries": [
        {
          "id": 1,
          "wallet_id": 1,
          "amount": 1,
          "amount_formatted": 1,
          "asset": {
            "id": 1,
            "code": "string",
            "kind": "money",
            "precision": 1,
            "name": "string",
            "deleted_at": "string",
            "created_at": "string",
            "updated_at": "string"
          },
          "entry_type": "credit",
          "created_at": "string"
        }
      ]
    }
  ],
  "current_page": 1,
  "last_page": 1,
  "per_page": 1,
  "total": 1
}

Used by 1 operations

LedgerTransaction

object
idrequired

ID of the money movement.

integer
typerequired

Movement type — a LedgerTransactionType value: deposit (top-up), order_completion (charge for an order), order_refund (refund), policy_block_fee (fee for an attempt rejected by the content policy), and others.

Valuesreferral_rewardinitial_depositdepositunlock_balancelock_balanceadmin_adjustmenttransfertransfer_feesubscription_refundadmin_subscription_grantdeposit_refundadmin_chargeadmin_creditmigration_creditorder_completionorder_refundsubscription_direct_paymenttoken_consumption_chargedeposit_bonusreferral_reward_usdreferral_reward_reversalsubscription_renewalsubscription_token_consumedsubscription_token_refundsubscription_token_forfeitedsubscription_token_creditlegacy_balance_migrationpolicy_block_feeai_gateway_usagegift_code_purchasegift_code_issuegift_code_cancelgift_code_redemptiongift_code_self_redemptiongift_code_discountgift_code_refundgift_code_system_annulreseller_top_upreseller_top_up_refundreseller_debt_repaymentreseller_revoke_transfersubscription_quota_return
LedgerTransactionTypeLedgerTransactionType
statusrequired

Movement state: posted — booked, pending — awaiting booking, void — cancelled, with no effect on the balance.

Valuespendingpostedvoid
string
descriptionrequired

A description of the movement in words, for display. null when there is none.

nullable
string
amountoptional

Movement amount as an integer in the asset’s minor units (asset.precision), unsigned — the direction is in direction. Absent when the amount cannot be determined.

integer
amount_formattedoptional

The same amount in whole asset units, ready to display. Present when the asset of the amount is known: always for wallet movements, and for a movement that bypasses a wallet when its asset is recorded.

number
assetoptional

The asset of the amount; its precision is the divisor for amount. Present under the same conditions as amount_formatted.

AssetAsset
idrequired

Internal identifier of the asset.

integer
coderequired

Asset code: LUMC is the internal currency, TOKEN the generation tokens.

string
kindrequired

Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.

Valuesmoneyunit
AssetKindAssetKind
precisionrequired

Number of decimal places. The load-bearing field: every integer amount in this asset is divided by 10^precision to obtain the real value. Do not assume the divisor is 100.

integer
namerequired

Display name of the asset, in the account language.

string
deleted_atrequired

When the asset was retired, ISO 8601. null while it is in use.

nullabledate-time
string
created_atrequired

When the asset was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the asset last changed, ISO 8601.

nullabledate-time
string
directionoptional

credit — money in, debit — money out. Locking and unlocking for an order (type: lock_balance, unlock_balance) keep the money in the wallet, so the direction is that of the available balance (balance in GET /wallets): a lock is debit, an unlock is credit.

Valuesdebitcredit
string
created_atrequired

When the movement was created, ISO 8601.

nullabledate-time
string
entriesrequired

Postings to your wallets. A movement that bypasses a wallet (such as a direct subscription payment) has an empty list; the amount is then on the transaction itself.

array<LedgerEntry>LedgerEntry
array item
idrequired

Posting ID.

integer
wallet_idrequired

The posting’s wallet — an id from GET /wallets.

integer
amountrequired

Posting amount as an integer in the wallet asset’s minor units (the divisor is asset.precision), signed: negative means out; the direction is also in entry_type.

integer
amount_formattedoptional

The same signed amount in whole asset units, ready to display.

number
assetoptional

The asset of the posting’s wallet; its precision is the divisor for amount.

AssetAsset
idrequired

Internal identifier of the asset.

integer
coderequired

Asset code: LUMC is the internal currency, TOKEN the generation tokens.

string
kindrequired

Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.

Valuesmoneyunit
AssetKindAssetKind
precisionrequired

Number of decimal places. The load-bearing field: every integer amount in this asset is divided by 10^precision to obtain the real value. Do not assume the divisor is 100.

integer
namerequired

Display name of the asset, in the account language.

string
deleted_atrequired

When the asset was retired, ISO 8601. null while it is in use.

nullabledate-time
string
created_atrequired

When the asset was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the asset last changed, ISO 8601.

nullabledate-time
string
entry_typerequired

credit — into the wallet, debit — out of it.

Valuescreditdebit
string
created_atrequired

When the posting was created, ISO 8601.

nullabledate-time
string
Show an example
{
  "id": 1,
  "type": "referral_reward",
  "status": "pending",
  "description": "string",
  "amount": 1,
  "amount_formatted": 1,
  "asset": {
    "id": 1,
    "code": "string",
    "kind": "money",
    "precision": 1,
    "name": "string",
    "deleted_at": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "direction": "debit",
  "created_at": "string",
  "entries": [
    {
      "id": 1,
      "wallet_id": 1,
      "amount": 1,
      "amount_formatted": 1,
      "asset": {
        "id": 1,
        "code": "string",
        "kind": "money",
        "precision": 1,
        "name": "string",
        "deleted_at": "string",
        "created_at": "string",
        "updated_at": "string"
      },
      "entry_type": "credit",
      "created_at": "string"
    }
  ]
}

Used by 1 operations

LedgerTransactionType

string

Type of a money movement. The common values:

ValueMeaning
depositBalance top-up
deposit_bonusBonus added to a top-up
order_completionCharge for a completed order
order_refundRefund for an unfinished part of an order
subscription_direct_paymentSubscription payment
subscription_token_consumedSubscription tokens spent on generation
subscription_token_refundSubscription tokens returned
subscription_token_creditTokens granted when a plan is purchased
subscription_token_forfeitedUnused tokens expiring at the end of their term
referral_rewardReferral reward
referral_reward_reversalReferral reward reversed
lock_balance / unlock_balanceFunds reserved for an order, and the reservation released
policy_block_feeFee for an attempt rejected by the content policy
admin_credit / admin_chargeManual adjustment by an administrator

The remaining values are internal and do not appear in normal operation.

  • referral_reward
  • initial_deposit
  • deposit
  • unlock_balance
  • lock_balance
  • admin_adjustment
  • transfer
  • transfer_fee
  • subscription_refund
  • admin_subscription_grant
  • deposit_refund
  • admin_charge
  • admin_credit
  • migration_credit
  • order_completion
  • order_refund
  • subscription_direct_payment
  • token_consumption_charge
  • deposit_bonus
  • referral_reward_usd
  • referral_reward_reversal
  • subscription_renewal
  • subscription_token_consumed
  • subscription_token_refund
  • subscription_token_forfeited
  • subscription_token_credit
  • legacy_balance_migration
  • policy_block_fee
  • ai_gateway_usage
  • gift_code_purchase
  • gift_code_issue
  • gift_code_cancel
  • gift_code_redemption
  • gift_code_self_redemption
  • gift_code_discount
  • gift_code_refund
  • gift_code_system_annul
  • reseller_top_up
  • reseller_top_up_refund
  • reseller_debt_repayment
  • reseller_revoke_transfer
  • subscription_quota_return
Show an example
"referral_reward"

Used by 1 operations

LumVoice

object
idrequired

Voice identifier — a string of 16 Latin letters and digits (for example, k3nH9vRt2Lw7ZpXb), not a UUID and not a number. Put it into a template’s config.tts_settings.voice_id; the same value goes into /voices/{voice} paths.

string
display_namerequired

Display name of the voice.

string
descriptionrequired

Author’s description of the voice: timbre, delivery, intended use.

nullable
string
genderrequired

Voice gender.

nullable
string
accentrequired

Accent or regional pronunciation variant.

nullable
string
default_language_coderequired

The language the voice defaults to, ISO-639-1.

nullable
string
voice_statusrequired

Cloning state of the voice. Only a fully prepared voice can be used in orders.

string
publication_statusrequired

Publication stage: draft, under review, published. It determines whether the voice appears in the shared catalogue GET /voices/public.

string
allow_usage_in_ordersrequired

Whether the author lets others use the voice. Without this flag the voice is absent from the GET /voices/public catalogue, and library entries other users already made for it become unavailable.

boolean
preview_generated_atrequired

When the preview clips were produced, ISO 8601. null means there is no preview yet.

nullabledate-time
string
created_atrequired

When the voice was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the voice last changed, ISO 8601.

nullabledate-time
string
tagsoptional

Voice tags for search and filtering. The full directory is GET /voices/tags.

array<VoiceTag>VoiceTag
array item
idrequired

Internal identifier of the tag.

integer
coderequired

Tag code — the stable value to filter by, unlike the translatable name.

string
namerequired

Tag name in the account language.

string
descriptionrequired

Explanation of the tag in the account language, when the author provided one.

nullable
string
colorrequired

Tag colour in HEX — a styling hint.

nullable
string
sort_orderrequired

Sort weight within the tag list: lower comes first.

integer
languagesoptional

Languages the voice has been cloned into, each with its own state. An order is only possible in a language that is ready.

array<VoiceLanguage>VoiceLanguage
array item
idrequired

Internal identifier of the voice’s language version.

integer
language_coderequired

Language code, ISO-639-1. It is also the key used in preview_urls.

string
statusrequired

Cloning state for this language. Orders are accepted only in a language whose clone is ready.

string
reference_duration_msrequired

Duration of the reference recording in milliseconds — the clone was trained on it.

nullable
integer
model_versionrequired

Version of the trained model. It increments whenever the voice is retrained.

integer
failure_reasonrequired

Why cloning failed. null when there was no failure.

nullable
string
clone_started_atrequired

When cloning started, ISO 8601.

nullabledate-time
string
clone_completed_atrequired

When cloning finished, ISO 8601. null means it is still running or it failed.

nullabledate-time
string
updated_atrequired

When the language version last changed, ISO 8601.

nullabledate-time
string
preview_urlsrequired

Preview clips by language: the key is a language code, the value a temporary audio link or null when there is no preview for that language. The links live for about a minute.

object
*optional
nullablearbitrary keys
string
Show an example
{
  "id": "string",
  "display_name": "string",
  "description": "string",
  "gender": "string",
  "accent": "string",
  "default_language_code": "string",
  "voice_status": "string",
  "publication_status": "string",
  "allow_usage_in_orders": true,
  "preview_generated_at": "string",
  "created_at": "string",
  "updated_at": "string",
  "tags": [
    {
      "id": 1,
      "code": "string",
      "name": "string",
      "description": "string",
      "color": "string",
      "sort_order": 1
    }
  ],
  "languages": [
    {
      "id": 1,
      "language_code": "string",
      "status": "string",
      "reference_duration_ms": 1,
      "model_version": 1,
      "failure_reason": "string",
      "clone_started_at": "string",
      "clone_completed_at": "string",
      "updated_at": "string"
    }
  ],
  "preview_urls": {}
}

OrderList

object
itemsrequired

Records on the current page, in the list’s sort order.

array<Order>Order
array item
idrequired

Order UUID. Use it in /orders/{order}/… paths and when calling POST /orders/{order}/retry.

string
user_idrequired

ID of the order owner. For orders created with an API key this is always the key owner — a key never sees someone else’s order.

integer
namerequired

Order name: the downloaded file name and the ZIP archive name are derived from it.

nullable
string
templateoptional

The template the order was created from. Present only for orders that have a template_id; template-less orders (sfx/music created by task_type) omit it. Its config holds the settings THIS order runs with: the template configuration at the moment the order was created, with config_override applied on top; editing the template later does not change it. In the GET /orders list config is null — the full configuration comes from GET /orders/{order}. The template may have been deleted since: it is still shown here, but GET /templates/{template} returns 404 and a new order with that template_id returns 422. Orders created before this API version (late September 2026) have no snapshot: their config is the current template configuration with config_override applied, and editing the template changes it.

TemplateTemplate
idrequired

Template UUID. Put it into template_id when creating an order.

string
user_idrequired

ID of the template owner.

integer
slugrequired

Short public identifier used for sharing. null on a template that was never shared.

string
namerequired

Template name — for humans only; it does not affect generation.

string
service_keyrequired

Code of the service whose schema validates config: elevenlabs, lumimg, and so on.

string
servicerequired

The template’s service for reference: name and pricing, without configuration schemas. null means no service with that code exists any more.

nullable
Service | null
configrequired

Generation settings: voice, model, speed and so on — the set of keys is defined by the service. Look up allowed values in GET /templates/config-options?service=<code>; anything outside the schema is rejected with 422. Inside an order (template in GET /orders/{order}) this is the order’s own settings — the snapshot taken at creation with config_override applied, not the template’s current configuration (for orders created before late September 2026 — the current template configuration with config_override).

object
is_publicrequired

Whether the template is published in the shared catalogue.

boolean
folder_idrequired

UUID of the folder holding the template, or null for the root. The folder tree is visible in GET /templates/browse.

nullable
string
created_atrequired

When the template was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the template last changed, ISO 8601.

nullabledate-time
string
template_idrequired

UUID of the template used, or null when the order was created without one.

nullable
string
task_typerequired

Task type — it determines what goes into task_data and what comes back in result.

Valuesttsimagetxt2imgremiximage_editvoice_clonesfxmusicvoice_searchcartesia_dubelevenlabs_dubpipelineaimontage
TaskTypeTaskType
statusrequired

Current state of the order. There are five terminal values — completed, result_delivered, failed, compensated and cancelled; there is nothing to poll for after those.

partially_completed is NOT terminal: some chunks succeeded and some failed. The finished files are already downloadable, and the failed fragments can be requeued via POST /orders/{order}/items/retry-failed — after the retry the order can move on to completed.

compensated and failed mean the order closed without a result. compensated is the normal outcome: no fragment succeeded (a generation failure, or every fragment was rejected by the content policy), the order’s lock is released and the quota returned; only the fee for policy_flagged attempts is withheld (see items[].status). failed is rare: the order failed while its input files were being prepared (the refund is made right away), or the automatic refund did not go through — such an order is settled by support. If at least one fragment is ready, a failure yields partially_completed instead: what is done is paid for, and what failed can be retried.

Valuescreatedpendingin_progresscompletedresult_deliveredfailedcompensatedcancelledpartially_completed
OrderStatusOrderStatus
price_unitsrequired

The amount locked for the order, in LMC minor units. Do not display this number as-is: the real value is price_units / 10^precision, where precision comes from the asset alongside. A display-ready value sits in the neighbouring decimal field.

integer
price_formattedrequired

The same amount as price_units, expressed in whole LMC and ready to display. null until the cost is settled.

nullable
number
currency_assetrequired

The amount's asset is always LMC. Its precision is what converts minor units into the real value.

AssetAsset
idrequired

Internal identifier of the asset.

integer
coderequired

Asset code: LUMC is the internal currency, TOKEN the generation tokens.

string
kindrequired

Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.

Valuesmoneyunit
AssetKindAssetKind
precisionrequired

Number of decimal places. The load-bearing field: every integer amount in this asset is divided by 10^precision to obtain the real value. Do not assume the divisor is 100.

integer
namerequired

Display name of the asset, in the account language.

string
deleted_atrequired

When the asset was retired, ISO 8601. null while it is in use.

nullabledate-time
string
created_atrequired

When the asset was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the asset last changed, ISO 8601.

nullabledate-time
string
total_tokensrequired

The order's full cost in tokens: the original chunks plus every retry and regeneration. This is a quota unit, not money.

integer
total_duration_msrequired

Total length of the produced audio in milliseconds. This is the result's duration, not the time spent generating it.

nullable
integer
task_datarequired

The task input exactly as the server accepted it: text, references to uploaded files, resolved settings. The set of keys depends on task_type.

nullable
object
resultrequired

Execution result. files[] holds the primary files; service_files[] holds auxiliary ones (subtitles .srt/.vtt/.lrc, alignment) for TTS orders. Paths are absolute and ready to pass to POST /storage/url.

null while the order is unfinished, and also for a failed order: the public surface does not expose error internals.

nullable
object
created_atrequired

When the order was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the order last changed, ISO 8601. It advances on every status transition, which makes it a cheap “something happened” signal.

nullabledate-time
string
dispatch_scheduled_atrequired

When the order is scheduled to enter the worker queue: input readiness plus the user delay, or the actual moment of immediate dispatch. null for orders created before this field was introduced.

nullabledate-time
string
files_expire_atrequired

Retention of the order's files. files_expire_at is the deletion moment (null when the order has not finished yet, or the files are already gone); files_expired means nothing is left to download.

nullable
string
files_expiredrequired

true means retention has elapsed and the files are already deleted: no link can be issued, and the order has to be created again.

boolean
retentionrequired

Retention deadlines by file level. For a stitched order the per-fragment tracks are removed earlier than the result itself.

object
chunksrequired

Lifetime of the per-fragment tracks — pause editing, re-stitching and per-fragment regeneration all operate on them.

object
expires_atrequired

When the per-fragment tracks disappear, ISO 8601. Until then pause editing, re-stitching and per-fragment regeneration remain available. null means the order has not finished yet (the countdown has not started) or the fragments are already gone.

string
expiredrequired

true means the per-fragment tracks are gone: editing and re-stitching are rejected. The finished result may still be available — check retention.files.

boolean
expires_earlyrequired

true means the fragments will disappear before the result (the order is stitched into a separate file). false means the fragments are the result, and both levels expire together.

boolean
reasonrequired

Why the fragments are unavailable: chunks_purged — removed on their own schedule while the result is still there; storage_expired — every file of the order is gone. null means the fragments are available.

nullable
Valueschunks_purgedstorage_expired
string
filesrequired

Lifetime of every file of the order, including the result. Mirrors the top-level files_expire_at / files_expired fields.

object
expires_atrequired

When every file of the order will be deleted, ISO 8601. The same value as files_expire_at — the top-level field is kept for compatibility.

nullable
string
expiredrequired

Same as files_expired: nothing is left to download.

boolean
eta_secondsrequired

Estimated time remaining, in seconds — present only while the order is running. null once it is finished, and before it starts.

nullable
integer
eta_atrequired

Expected completion moment, ISO 8601 — the same forecast as eta_seconds, expressed as an absolute time.

nullabledate-time
string
completed_chunksrequired

How many source chunks are already finished. Retries and regenerations are excluded — counting them would push progress past 100%.

nullable
integer
total_chunksrequired

How many source chunks the order has in total. Zero means the split has not happened yet.

nullable
integer
progress_percentrequired

Completion percentage, 0–100 — derived from completed_chunks and total_chunks, so there is no need to compute it yourself.

nullable
integer
stitchingrequired

true means the audio is being stitched and the result is not final yet. This also happens with status = completed: after a fragment is regenerated the final track is rebuilt, and until stitching ends result points to the previous track. Download the result once stitching = false.

boolean
paragraphsrequired

Per-paragraph summary: index, fragment count, aggregate status, progress and audio file (result_file). null means the order uses ordinary mode — use items[] instead. To get paragraphs, create the order with config_override.generation_mode = paragraph (see that field for details).

nullable
array<object>
array item
paragraph_indexrequired

Zero-based index of the paragraph.

integer
chunks_countrequired

How many chunks the paragraph was split into.

integer | number
completed_chunksrequired

How many of the paragraph’s chunks are already finished.

string | integer
statusrequired

Aggregate status of the paragraph: derived from its chunks’ statuses rather than stored separately. It uses its own, shorter vocabulary: pending, in_progress, failed, completed — a chunk blocked by moderation also reads as failed. Only the original chunks count, so a successful retry of a failed fragment does NOT change the paragraph status: check the fragment itself in items[].

string
progress_percentrequired

Paragraph completion percentage, 0–100.

integer
result_filerequired

The whole paragraph stitched into one audio file: an absolute path, or a structure carrying path and size. Download it via POST /storage/url, same as the other order files. null means two different things depending on chunks_count: with chunks_count = 1 the paragraph has no file of its own and never will — the paragraph is that single fragment, so take its result_file from items[] under the same paragraph_index; with chunks_count > 1 the stitch has not happened yet — a multi-chunk paragraph gets its file ONLY after stitching, never in advance.

nullable
string
itemsoptional

The order’s chunks. Present in the detailed GET /orders/{order} response; the list endpoint GET /orders omits the field — use GET /orders/{order}/items instead.

array<OrderItem>OrderItem
array item
idrequired

Chunk UUID. Use it in /orders/{order}/items/{item}/… paths.

string
order_idrequired

UUID of the order this chunk belongs to.

string
item_typerequired

What the record is: chunk is an original fragment, retry a free re-run of a failed one, regeneration a paid redo of a finished one.

Retries and regenerations are separate records sharing the same chunk_index: the full attempt history is kept, and the last one is what the result plays.

string
chunk_indexrequired

Zero-based position of the fragment within the order. It defines the order in which the final file is assembled.

nullable
integer
paragraph_indexrequired

The paragraph this fragment belongs to — filled in only for the original fragments of a paragraph-mode order. It is null both in ordinary mode and on retry or regeneration records: those carry no paragraph link of their own and inherit it from the parent fragment via parent_item_id. The mode is switched on by the generation_mode key in the order's config_override.

nullable
integer
parent_item_idrequired

UUID of the source chunk — present on retry and regeneration records. null on an original chunk.

nullable
string
original_text_lengthrequired

Length of the text the fragment was created with. It is the ceiling for text in regenerate.

integer
current_text_lengthrequired

Length of the fragment’s current text: after a regeneration it differs from original_text_length.

integer
price_unitsrequired

Cost of the fragment in tokens — not money. The monetary amount lives on the order itself, in its own price_units field (LMC there, tokens here; the names match, the units do not).

integer
consumed_unitsrequired

How many tokens were actually charged for this fragment. Zero while the fragment is unfinished.

integer
remaining_lockedrequired

How many tokens are still reserved for the fragment. Drops to zero once the fragment finishes or is cancelled.

integer
statusrequired

Fragment state: pending waits for a worker, processing is in flight, completed is done, failed hit a technical error, and policy_flagged was rejected by the content policy.

The difference between the last two dictates the fix: failed is cured by retrying as is, whereas policy_flagged requires rewording — retrying the same text is rejected again.

A policy_flagged attempt on ElevenLabs is not free: it consumes the provider’s resources even without a result, so a fixed per-attempt fee is withheld from the amount that would otherwise be returned for the fragment (on quota-funded orders — the equivalent in tokens). It is withheld only from what is being returned — nothing is charged beyond the order’s lock, and the balance never goes negative. The money part shows up in the transaction history as policy_block_fee; from the quota, simply fewer tokens are returned.

string
result_filerequired

The finished fragment’s file: an absolute path, or a structure carrying path and size. Download it via POST /storage/url, same as order files. null until the fragment is ready.

nullable
object | string | null
duration_msrequired

Duration of the produced audio in milliseconds — the length of the recording, not the generation time. null for non-audio tasks.

nullable
integer
attempt_numberrequired

Attempt number for this fragment, starting at 1. It grows with every retry.

integer
attempts_exhaustedrequired

true means the fragment has used up its free retries: a retry will be refused with max_attempts_reached. Hide the retry button when it is true.

boolean
can_retryrequired

Whether the fragment’s status allows a free retry. The attempt limit is not counted here — attempts_exhausted shows it.

boolean
can_regeneraterequired

Whether a paid regeneration is allowed right now. Available for finished fragments only.

boolean
created_atrequired

When the fragment was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the fragment last changed, ISO 8601.

nullabledate-time
string
failure_reasonoptional

The reason the fragment failed, for display to the user — localised text in the request language, not a machine code (do not branch on it, the wording changes). Present only on failed and policy_flagged; everything else, and a failure whose reason could not be determined, gets null.

nullable
string
tokens_from_quotaoptional

How many of the spent tokens were covered by the subscription quota. null means the quota covered nothing.

nullable
integer
tokens_from_paygoptional

How many tokens were paid for out of the LMC balance, beyond the quota. null means there was no top-up.

nullable
integer
tokens_spentoptional

The sum of the two fields above: how many tokens were charged for the order (quota + top-up). Orders covered by an unlimited subscription and free versions are excluded — an unlimited order has null here; the generated volume is total_tokens. Retries are excluded — they are not billed again.

nullable
integer
queue_positionoptional

The order’s place in the queue: how many orders are ahead of it, 0 means next. Present for any task type while the order waits for a free worker (for voice_search, until the check is done); once processing starts, the field is gone. A missing key means "not queued", not "position unknown".

nullable
integer
queue_wait_secondsoptional

Estimated wait in the queue, in seconds. Computed only for voice search; for other tasks, and while no statistics exist, it is null. An estimate, not a promise — recomputed on every response.

nullable
integer
current_pagerequired

Current page number, starting from one.

integer
last_pagerequired

Number of the last page. The walk is over once current_page equals last_page.

integer
per_pagerequired

Page size the server applied.

integer
totalrequired

Total number of records matching the filter.

integer
Show an example
{
  "items": [
    {
      "id": "string",
      "user_id": 1,
      "name": "string",
      "template": {
        "id": "string",
        "user_id": 1,
        "slug": "string",
        "name": "string",
        "service_key": "string",
        "service": {
          "id": 1,
          "code": "string",
          "name": "string",
          "display_name": "string",
          "label": null,
          "payg_access": "string",
          "billing_mode": "subscription",
          "unit_asset_id": 1,
          "unit_asset": {
            "id": null,
            "code": null,
            "kind": null,
            "precision": null,
            "name": null,
            "deleted_at": null,
            "created_at": null,
            "updated_at": null
          },
          "required_entitlement_id": 1,
          "required_entitlement": {
            "id": null,
            "code": null,
            "name": null,
            "metadata": null,
            "is_active": null,
            "created_at": null,
            "updated_at": null,
            "is_unlimited": null
          },
          "units_per_call": 1,
          "units_per_char": 1,
          "units_per_image": 1,
          "units_per_second": 1,
          "min_billable_chars": 1,
          "lumcoin_per_token": 1,
          "lumc_precision": 1,
          "price_lumc_minor": 1,
          "unit_size": 1,
          "uses_money_first_pricing": true,
          "rate_unit": "string",
          "display_category": "string",
          "is_premium": true,
          "display_order": 1,
          "metadata": {},
          "is_active": true,
          "maintenance_mode": true,
          "access_level": "string",
          "maintenance_auto_resume": true,
          "maintenance_started_at": "string",
          "maintenance_note": "string",
          "created_at": "string",
          "updated_at": "string"
        },
        "config": {},
        "is_public": true,
        "folder_id": "string",
        "created_at": "string",
        "updated_at": "string"
      },
      "template_id": "string",
      "task_type": "tts",
      "status": "created",
      "price_units": 1,
      "price_formatted": 1,
      "currency_asset": {
        "id": 1,
        "code": "string",
        "kind": "money",
        "precision": 1,
        "name": "string",
        "deleted_at": "string",
        "created_at": "string",
        "updated_at": "string"
      },
      "total_tokens": 1,
      "total_duration_ms": 1,
      "task_data": {},
      "result": {},
      "created_at": "string",
      "updated_at": "string",
      "dispatch_scheduled_at": "string",
      "files_expire_at": "string",
      "files_expired": true,
      "retention": {
        "chunks": {
          "expires_at": "string",
          "expired": true,
          "expires_early": true,
          "reason": "chunks_purged"
        },
        "files": {
          "expires_at": "string",
          "expired": true
        }
      },
      "eta_seconds": 1,
      "eta_at": "string",
      "completed_chunks": 1,
      "total_chunks": 1,
      "progress_percent": 1,
      "stitching": true,
      "paragraphs": [
        {
          "paragraph_index": 1,
          "chunks_count": 1,
          "completed_chunks": "string",
          "status": "string",
          "progress_percent": 1,
          "result_file": "string"
        }
      ],
      "items": [
        {
          "id": "string",
          "order_id": "string",
          "item_type": "string",
          "chunk_index": 1,
          "paragraph_index": 1,
          "parent_item_id": "string",
          "original_text_length": 1,
          "current_text_length": 1,
          "price_units": 1,
          "consumed_units": 1,
          "remaining_locked": 1,
          "status": "string",
          "result_file": {},
          "duration_ms": 1,
          "attempt_number": 1,
          "attempts_exhausted": true,
          "can_retry": true,
          "can_regenerate": true,
          "created_at": "string",
          "updated_at": "string",
          "failure_reason": "string"
        }
      ],
      "tokens_from_quota": 1,
      "tokens_from_payg": 1,
      "tokens_spent": 1,
      "queue_position": 1,
      "queue_wait_seconds": 1
    }
  ],
  "current_page": 1,
  "last_page": 1,
  "per_page": 1,
  "total": 1
}

Used by 1 operations

OrderItem

object
idrequired

Chunk UUID. Use it in /orders/{order}/items/{item}/… paths.

string
order_idrequired

UUID of the order this chunk belongs to.

string
item_typerequired

What the record is: chunk is an original fragment, retry a free re-run of a failed one, regeneration a paid redo of a finished one.

Retries and regenerations are separate records sharing the same chunk_index: the full attempt history is kept, and the last one is what the result plays.

string
chunk_indexrequired

Zero-based position of the fragment within the order. It defines the order in which the final file is assembled.

nullable
integer
paragraph_indexrequired

The paragraph this fragment belongs to — filled in only for the original fragments of a paragraph-mode order. It is null both in ordinary mode and on retry or regeneration records: those carry no paragraph link of their own and inherit it from the parent fragment via parent_item_id. The mode is switched on by the generation_mode key in the order's config_override.

nullable
integer
parent_item_idrequired

UUID of the source chunk — present on retry and regeneration records. null on an original chunk.

nullable
string
original_text_lengthrequired

Length of the text the fragment was created with. It is the ceiling for text in regenerate.

integer
current_text_lengthrequired

Length of the fragment’s current text: after a regeneration it differs from original_text_length.

integer
price_unitsrequired

Cost of the fragment in tokens — not money. The monetary amount lives on the order itself, in its own price_units field (LMC there, tokens here; the names match, the units do not).

integer
consumed_unitsrequired

How many tokens were actually charged for this fragment. Zero while the fragment is unfinished.

integer
remaining_lockedrequired

How many tokens are still reserved for the fragment. Drops to zero once the fragment finishes or is cancelled.

integer
statusrequired

Fragment state: pending waits for a worker, processing is in flight, completed is done, failed hit a technical error, and policy_flagged was rejected by the content policy.

The difference between the last two dictates the fix: failed is cured by retrying as is, whereas policy_flagged requires rewording — retrying the same text is rejected again.

A policy_flagged attempt on ElevenLabs is not free: it consumes the provider’s resources even without a result, so a fixed per-attempt fee is withheld from the amount that would otherwise be returned for the fragment (on quota-funded orders — the equivalent in tokens). It is withheld only from what is being returned — nothing is charged beyond the order’s lock, and the balance never goes negative. The money part shows up in the transaction history as policy_block_fee; from the quota, simply fewer tokens are returned.

string
result_filerequired

The finished fragment’s file: an absolute path, or a structure carrying path and size. Download it via POST /storage/url, same as order files. null until the fragment is ready.

nullable
object | string | null
duration_msrequired

Duration of the produced audio in milliseconds — the length of the recording, not the generation time. null for non-audio tasks.

nullable
integer
attempt_numberrequired

Attempt number for this fragment, starting at 1. It grows with every retry.

integer
attempts_exhaustedrequired

true means the fragment has used up its free retries: a retry will be refused with max_attempts_reached. Hide the retry button when it is true.

boolean
can_retryrequired

Whether the fragment’s status allows a free retry. The attempt limit is not counted here — attempts_exhausted shows it.

boolean
can_regeneraterequired

Whether a paid regeneration is allowed right now. Available for finished fragments only.

boolean
created_atrequired

When the fragment was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the fragment last changed, ISO 8601.

nullabledate-time
string
failure_reasonoptional

The reason the fragment failed, for display to the user — localised text in the request language, not a machine code (do not branch on it, the wording changes). Present only on failed and policy_flagged; everything else, and a failure whose reason could not be determined, gets null.

nullable
string
Show an example
{
  "id": "string",
  "order_id": "string",
  "item_type": "string",
  "chunk_index": 1,
  "paragraph_index": 1,
  "parent_item_id": "string",
  "original_text_length": 1,
  "current_text_length": 1,
  "price_units": 1,
  "consumed_units": 1,
  "remaining_locked": 1,
  "status": "string",
  "result_file": {},
  "duration_ms": 1,
  "attempt_number": 1,
  "attempts_exhausted": true,
  "can_retry": true,
  "can_regenerate": true,
  "created_at": "string",
  "updated_at": "string",
  "failure_reason": "string"
}

Order

object
idrequired

Order UUID. Use it in /orders/{order}/… paths and when calling POST /orders/{order}/retry.

string
user_idrequired

ID of the order owner. For orders created with an API key this is always the key owner — a key never sees someone else’s order.

integer
namerequired

Order name: the downloaded file name and the ZIP archive name are derived from it.

nullable
string
templateoptional

The template the order was created from. Present only for orders that have a template_id; template-less orders (sfx/music created by task_type) omit it. Its config holds the settings THIS order runs with: the template configuration at the moment the order was created, with config_override applied on top; editing the template later does not change it. In the GET /orders list config is null — the full configuration comes from GET /orders/{order}. The template may have been deleted since: it is still shown here, but GET /templates/{template} returns 404 and a new order with that template_id returns 422. Orders created before this API version (late September 2026) have no snapshot: their config is the current template configuration with config_override applied, and editing the template changes it.

TemplateTemplate
idrequired

Template UUID. Put it into template_id when creating an order.

string
user_idrequired

ID of the template owner.

integer
slugrequired

Short public identifier used for sharing. null on a template that was never shared.

string
namerequired

Template name — for humans only; it does not affect generation.

string
service_keyrequired

Code of the service whose schema validates config: elevenlabs, lumimg, and so on.

string
servicerequired

The template’s service for reference: name and pricing, without configuration schemas. null means no service with that code exists any more.

nullable
Service | null
configrequired

Generation settings: voice, model, speed and so on — the set of keys is defined by the service. Look up allowed values in GET /templates/config-options?service=<code>; anything outside the schema is rejected with 422. Inside an order (template in GET /orders/{order}) this is the order’s own settings — the snapshot taken at creation with config_override applied, not the template’s current configuration (for orders created before late September 2026 — the current template configuration with config_override).

object
is_publicrequired

Whether the template is published in the shared catalogue.

boolean
folder_idrequired

UUID of the folder holding the template, or null for the root. The folder tree is visible in GET /templates/browse.

nullable
string
created_atrequired

When the template was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the template last changed, ISO 8601.

nullabledate-time
string
template_idrequired

UUID of the template used, or null when the order was created without one.

nullable
string
task_typerequired

Task type — it determines what goes into task_data and what comes back in result.

Valuesttsimagetxt2imgremiximage_editvoice_clonesfxmusicvoice_searchcartesia_dubelevenlabs_dubpipelineaimontage
TaskTypeTaskType
statusrequired

Current state of the order. There are five terminal values — completed, result_delivered, failed, compensated and cancelled; there is nothing to poll for after those.

partially_completed is NOT terminal: some chunks succeeded and some failed. The finished files are already downloadable, and the failed fragments can be requeued via POST /orders/{order}/items/retry-failed — after the retry the order can move on to completed.

compensated and failed mean the order closed without a result. compensated is the normal outcome: no fragment succeeded (a generation failure, or every fragment was rejected by the content policy), the order’s lock is released and the quota returned; only the fee for policy_flagged attempts is withheld (see items[].status). failed is rare: the order failed while its input files were being prepared (the refund is made right away), or the automatic refund did not go through — such an order is settled by support. If at least one fragment is ready, a failure yields partially_completed instead: what is done is paid for, and what failed can be retried.

Valuescreatedpendingin_progresscompletedresult_deliveredfailedcompensatedcancelledpartially_completed
OrderStatusOrderStatus
price_unitsrequired

The amount locked for the order, in LMC minor units. Do not display this number as-is: the real value is price_units / 10^precision, where precision comes from the asset alongside. A display-ready value sits in the neighbouring decimal field.

integer
price_formattedrequired

The same amount as price_units, expressed in whole LMC and ready to display. null until the cost is settled.

nullable
number
currency_assetrequired

The amount's asset is always LMC. Its precision is what converts minor units into the real value.

AssetAsset
idrequired

Internal identifier of the asset.

integer
coderequired

Asset code: LUMC is the internal currency, TOKEN the generation tokens.

string
kindrequired

Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.

Valuesmoneyunit
AssetKindAssetKind
precisionrequired

Number of decimal places. The load-bearing field: every integer amount in this asset is divided by 10^precision to obtain the real value. Do not assume the divisor is 100.

integer
namerequired

Display name of the asset, in the account language.

string
deleted_atrequired

When the asset was retired, ISO 8601. null while it is in use.

nullabledate-time
string
created_atrequired

When the asset was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the asset last changed, ISO 8601.

nullabledate-time
string
total_tokensrequired

The order's full cost in tokens: the original chunks plus every retry and regeneration. This is a quota unit, not money.

integer
total_duration_msrequired

Total length of the produced audio in milliseconds. This is the result's duration, not the time spent generating it.

nullable
integer
task_datarequired

The task input exactly as the server accepted it: text, references to uploaded files, resolved settings. The set of keys depends on task_type.

nullable
object
resultrequired

Execution result. files[] holds the primary files; service_files[] holds auxiliary ones (subtitles .srt/.vtt/.lrc, alignment) for TTS orders. Paths are absolute and ready to pass to POST /storage/url.

null while the order is unfinished, and also for a failed order: the public surface does not expose error internals.

nullable
object
created_atrequired

When the order was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the order last changed, ISO 8601. It advances on every status transition, which makes it a cheap “something happened” signal.

nullabledate-time
string
dispatch_scheduled_atrequired

When the order is scheduled to enter the worker queue: input readiness plus the user delay, or the actual moment of immediate dispatch. null for orders created before this field was introduced.

nullabledate-time
string
files_expire_atrequired

Retention of the order's files. files_expire_at is the deletion moment (null when the order has not finished yet, or the files are already gone); files_expired means nothing is left to download.

nullable
string
files_expiredrequired

true means retention has elapsed and the files are already deleted: no link can be issued, and the order has to be created again.

boolean
retentionrequired

Retention deadlines by file level. For a stitched order the per-fragment tracks are removed earlier than the result itself.

object
chunksrequired

Lifetime of the per-fragment tracks — pause editing, re-stitching and per-fragment regeneration all operate on them.

object
expires_atrequired

When the per-fragment tracks disappear, ISO 8601. Until then pause editing, re-stitching and per-fragment regeneration remain available. null means the order has not finished yet (the countdown has not started) or the fragments are already gone.

string
expiredrequired

true means the per-fragment tracks are gone: editing and re-stitching are rejected. The finished result may still be available — check retention.files.

boolean
expires_earlyrequired

true means the fragments will disappear before the result (the order is stitched into a separate file). false means the fragments are the result, and both levels expire together.

boolean
reasonrequired

Why the fragments are unavailable: chunks_purged — removed on their own schedule while the result is still there; storage_expired — every file of the order is gone. null means the fragments are available.

nullable
Valueschunks_purgedstorage_expired
string
filesrequired

Lifetime of every file of the order, including the result. Mirrors the top-level files_expire_at / files_expired fields.

object
expires_atrequired

When every file of the order will be deleted, ISO 8601. The same value as files_expire_at — the top-level field is kept for compatibility.

nullable
string
expiredrequired

Same as files_expired: nothing is left to download.

boolean
eta_secondsrequired

Estimated time remaining, in seconds — present only while the order is running. null once it is finished, and before it starts.

nullable
integer
eta_atrequired

Expected completion moment, ISO 8601 — the same forecast as eta_seconds, expressed as an absolute time.

nullabledate-time
string
completed_chunksrequired

How many source chunks are already finished. Retries and regenerations are excluded — counting them would push progress past 100%.

nullable
integer
total_chunksrequired

How many source chunks the order has in total. Zero means the split has not happened yet.

nullable
integer
progress_percentrequired

Completion percentage, 0–100 — derived from completed_chunks and total_chunks, so there is no need to compute it yourself.

nullable
integer
stitchingrequired

true means the audio is being stitched and the result is not final yet. This also happens with status = completed: after a fragment is regenerated the final track is rebuilt, and until stitching ends result points to the previous track. Download the result once stitching = false.

boolean
paragraphsrequired

Per-paragraph summary: index, fragment count, aggregate status, progress and audio file (result_file). null means the order uses ordinary mode — use items[] instead. To get paragraphs, create the order with config_override.generation_mode = paragraph (see that field for details).

nullable
array<object>
array item
paragraph_indexrequired

Zero-based index of the paragraph.

integer
chunks_countrequired

How many chunks the paragraph was split into.

integer | number
completed_chunksrequired

How many of the paragraph’s chunks are already finished.

string | integer
statusrequired

Aggregate status of the paragraph: derived from its chunks’ statuses rather than stored separately. It uses its own, shorter vocabulary: pending, in_progress, failed, completed — a chunk blocked by moderation also reads as failed. Only the original chunks count, so a successful retry of a failed fragment does NOT change the paragraph status: check the fragment itself in items[].

string
progress_percentrequired

Paragraph completion percentage, 0–100.

integer
result_filerequired

The whole paragraph stitched into one audio file: an absolute path, or a structure carrying path and size. Download it via POST /storage/url, same as the other order files. null means two different things depending on chunks_count: with chunks_count = 1 the paragraph has no file of its own and never will — the paragraph is that single fragment, so take its result_file from items[] under the same paragraph_index; with chunks_count > 1 the stitch has not happened yet — a multi-chunk paragraph gets its file ONLY after stitching, never in advance.

nullable
string
itemsoptional

The order’s chunks. Present in the detailed GET /orders/{order} response; the list endpoint GET /orders omits the field — use GET /orders/{order}/items instead.

array<OrderItem>OrderItem
array item
idrequired

Chunk UUID. Use it in /orders/{order}/items/{item}/… paths.

string
order_idrequired

UUID of the order this chunk belongs to.

string
item_typerequired

What the record is: chunk is an original fragment, retry a free re-run of a failed one, regeneration a paid redo of a finished one.

Retries and regenerations are separate records sharing the same chunk_index: the full attempt history is kept, and the last one is what the result plays.

string
chunk_indexrequired

Zero-based position of the fragment within the order. It defines the order in which the final file is assembled.

nullable
integer
paragraph_indexrequired

The paragraph this fragment belongs to — filled in only for the original fragments of a paragraph-mode order. It is null both in ordinary mode and on retry or regeneration records: those carry no paragraph link of their own and inherit it from the parent fragment via parent_item_id. The mode is switched on by the generation_mode key in the order's config_override.

nullable
integer
parent_item_idrequired

UUID of the source chunk — present on retry and regeneration records. null on an original chunk.

nullable
string
original_text_lengthrequired

Length of the text the fragment was created with. It is the ceiling for text in regenerate.

integer
current_text_lengthrequired

Length of the fragment’s current text: after a regeneration it differs from original_text_length.

integer
price_unitsrequired

Cost of the fragment in tokens — not money. The monetary amount lives on the order itself, in its own price_units field (LMC there, tokens here; the names match, the units do not).

integer
consumed_unitsrequired

How many tokens were actually charged for this fragment. Zero while the fragment is unfinished.

integer
remaining_lockedrequired

How many tokens are still reserved for the fragment. Drops to zero once the fragment finishes or is cancelled.

integer
statusrequired

Fragment state: pending waits for a worker, processing is in flight, completed is done, failed hit a technical error, and policy_flagged was rejected by the content policy.

The difference between the last two dictates the fix: failed is cured by retrying as is, whereas policy_flagged requires rewording — retrying the same text is rejected again.

A policy_flagged attempt on ElevenLabs is not free: it consumes the provider’s resources even without a result, so a fixed per-attempt fee is withheld from the amount that would otherwise be returned for the fragment (on quota-funded orders — the equivalent in tokens). It is withheld only from what is being returned — nothing is charged beyond the order’s lock, and the balance never goes negative. The money part shows up in the transaction history as policy_block_fee; from the quota, simply fewer tokens are returned.

string
result_filerequired

The finished fragment’s file: an absolute path, or a structure carrying path and size. Download it via POST /storage/url, same as order files. null until the fragment is ready.

nullable
object | string | null
duration_msrequired

Duration of the produced audio in milliseconds — the length of the recording, not the generation time. null for non-audio tasks.

nullable
integer
attempt_numberrequired

Attempt number for this fragment, starting at 1. It grows with every retry.

integer
attempts_exhaustedrequired

true means the fragment has used up its free retries: a retry will be refused with max_attempts_reached. Hide the retry button when it is true.

boolean
can_retryrequired

Whether the fragment’s status allows a free retry. The attempt limit is not counted here — attempts_exhausted shows it.

boolean
can_regeneraterequired

Whether a paid regeneration is allowed right now. Available for finished fragments only.

boolean
created_atrequired

When the fragment was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the fragment last changed, ISO 8601.

nullabledate-time
string
failure_reasonoptional

The reason the fragment failed, for display to the user — localised text in the request language, not a machine code (do not branch on it, the wording changes). Present only on failed and policy_flagged; everything else, and a failure whose reason could not be determined, gets null.

nullable
string
tokens_from_quotaoptional

How many of the spent tokens were covered by the subscription quota. null means the quota covered nothing.

nullable
integer
tokens_from_paygoptional

How many tokens were paid for out of the LMC balance, beyond the quota. null means there was no top-up.

nullable
integer
tokens_spentoptional

The sum of the two fields above: how many tokens were charged for the order (quota + top-up). Orders covered by an unlimited subscription and free versions are excluded — an unlimited order has null here; the generated volume is total_tokens. Retries are excluded — they are not billed again.

nullable
integer
queue_positionoptional

The order’s place in the queue: how many orders are ahead of it, 0 means next. Present for any task type while the order waits for a free worker (for voice_search, until the check is done); once processing starts, the field is gone. A missing key means "not queued", not "position unknown".

nullable
integer
queue_wait_secondsoptional

Estimated wait in the queue, in seconds. Computed only for voice search; for other tasks, and while no statistics exist, it is null. An estimate, not a promise — recomputed on every response.

nullable
integer
Show an example
{
  "id": "string",
  "user_id": 1,
  "name": "string",
  "template": {
    "id": "string",
    "user_id": 1,
    "slug": "string",
    "name": "string",
    "service_key": "string",
    "service": {
      "id": 1,
      "code": "string",
      "name": "string",
      "display_name": "string",
      "label": [
        "string"
      ],
      "payg_access": "string",
      "billing_mode": "subscription",
      "unit_asset_id": 1,
      "unit_asset": {
        "id": 1,
        "code": "string",
        "kind": "money",
        "precision": 1,
        "name": "string",
        "deleted_at": "string",
        "created_at": "string",
        "updated_at": "string"
      },
      "required_entitlement_id": 1,
      "required_entitlement": {
        "id": 1,
        "code": "string",
        "name": "string",
        "metadata": {},
        "is_active": true,
        "created_at": "string",
        "updated_at": "string",
        "is_unlimited": true
      },
      "units_per_call": 1,
      "units_per_char": 1,
      "units_per_image": 1,
      "units_per_second": 1,
      "min_billable_chars": 1,
      "lumcoin_per_token": 1,
      "lumc_precision": 1,
      "price_lumc_minor": 1,
      "unit_size": 1,
      "uses_money_first_pricing": true,
      "rate_unit": "string",
      "display_category": "string",
      "is_premium": true,
      "display_order": 1,
      "metadata": {},
      "is_active": true,
      "maintenance_mode": true,
      "access_level": "string",
      "maintenance_auto_resume": true,
      "maintenance_started_at": "string",
      "maintenance_note": "string",
      "created_at": "string",
      "updated_at": "string"
    },
    "config": {},
    "is_public": true,
    "folder_id": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "template_id": "string",
  "task_type": "tts",
  "status": "created",
  "price_units": 1,
  "price_formatted": 1,
  "currency_asset": {
    "id": 1,
    "code": "string",
    "kind": "money",
    "precision": 1,
    "name": "string",
    "deleted_at": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "total_tokens": 1,
  "total_duration_ms": 1,
  "task_data": {},
  "result": {},
  "created_at": "string",
  "updated_at": "string",
  "dispatch_scheduled_at": "string",
  "files_expire_at": "string",
  "files_expired": true,
  "retention": {
    "chunks": {
      "expires_at": "string",
      "expired": true,
      "expires_early": true,
      "reason": "chunks_purged"
    },
    "files": {
      "expires_at": "string",
      "expired": true
    }
  },
  "eta_seconds": 1,
  "eta_at": "string",
  "completed_chunks": 1,
  "total_chunks": 1,
  "progress_percent": 1,
  "stitching": true,
  "paragraphs": [
    {
      "paragraph_index": 1,
      "chunks_count": 1,
      "completed_chunks": "string",
      "status": "string",
      "progress_percent": 1,
      "result_file": "string"
    }
  ],
  "items": [
    {
      "id": "string",
      "order_id": "string",
      "item_type": "string",
      "chunk_index": 1,
      "paragraph_index": 1,
      "parent_item_id": "string",
      "original_text_length": 1,
      "current_text_length": 1,
      "price_units": 1,
      "consumed_units": 1,
      "remaining_locked": 1,
      "status": "string",
      "result_file": {},
      "duration_ms": 1,
      "attempt_number": 1,
      "attempts_exhausted": true,
      "can_retry": true,
      "can_regenerate": true,
      "created_at": "string",
      "updated_at": "string",
      "failure_reason": "string"
    }
  ],
  "tokens_from_quota": 1,
  "tokens_from_payg": 1,
  "tokens_spent": 1,
  "queue_position": 1,
  "queue_wait_seconds": 1
}

OrderStatus

string
  • created
  • pending
  • in_progress
  • completed
  • result_delivered
  • failed
  • compensated
  • cancelled
  • partially_completed
Show an example
"created"

PreviewChunksRequest

object

Chunk-preview parameters — a dry-run of the text-to-chunks split and its cost, without creating an order. Free of charge, does not spend the key's token quota.

template_idrequired
uuid
string
task_typeoptional
nullable
string
input_textrequired
string
previous_preview_idoptional

The preview_id of a prior preview response, for incremental re-preview: only the edited neighborhood is recomputed. Works for sync texts (≤50,000 characters); for larger ones the edit still goes through a full async recalculation. If it has expired, just omit it — you get a full recalculation instead.

nullable
string
text_hashoptional

Not required for POST — the server computes the hash itself from input_text. Send it only if you already know it for some other reason; it is otherwise ignored here (used by GET /orders/chunks/preview for the preflight lookup instead).

nullablepattern: ^[a-f0-9]{64}$
string
generation_modeoptional

Generation mode — the same value accepted by config_override.generation_mode when creating an order. paragraph splits the text on blank lines first, and each paragraph becomes its own generation unit (see POST /orders for the full explanation). Omitted — a continuous split, the previous behavior.

nullable
Valuesdefaultparagraph
string
config_overrideoptional

Generation settings on top of the template config — the same JSON object you will send to POST /orders. Settings that affect the split apply to the preview exactly as to the order; keys the service does not declare are dropped. Omitted — the split follows the template config alone.

object
Show an example
{
  "template_id": "string",
  "task_type": "string",
  "input_text": "string",
  "previous_preview_id": "string",
  "text_hash": "string",
  "generation_mode": "default",
  "config_override": {}
}

No reference operation links to this schema directly — it appears inside other objects.

PublicApiKey

object
idrequired

Key ID — the same as in the dashboard key list.

integer
namerequired

Key name set when it was issued.

string
permissionsrequired

Key permissions — the same list as in the dashboard (orders.read, billing.read, * and so on). An empty list means no Public API permissions: this endpoint works, the other /api/public/* endpoints answer 403. AI API access does not depend on permissions.

array<any>
is_activerequired

The key is active. An inactive key never gets here — it receives 401, so the response always has true.

boolean
expires_atrequired

When the key expires (ISO 8601; in UTC unless X-Timezone is sent); null — it never expires.

nullabledate-time
string
limitsrequired

Key limits: request and token windows and a token pool with no time-based reset.

object
requestsrequired

How many requests the key may make per window; null — the window is not limited.

object
per_minuterequired

Requests per minute; null — unlimited.

nullable
integer
per_hourrequired

Requests per hour; null — unlimited.

nullable
integer
per_dayrequired

Requests per day; null — unlimited.

nullable
integer
tokensrequired

How many generation tokens the key may spend per window; null — the window is not limited.

object
per_minuterequired

Tokens per minute; null — unlimited.

nullable
integer
per_hourrequired

Tokens per hour; null — unlimited.

nullable
integer
per_dayrequired

Tokens per day; null — unlimited.

nullable
integer
per_monthrequired

Tokens per month; null — unlimited.

nullable
integer
quotarequired

A token pool with no time-based reset, granted by an administrator. Once it runs out, generation answers 429 token_quota_exceeded.

object
limitrequired

Pool size; null — there is no pool and it does not limit the key.

nullable
integer
usedrequired

How many pool tokens are already spent.

integer
remainingrequired

How many pool tokens are left; null — there is no pool.

nullable
integer
Show an example
{
  "id": 1,
  "name": "string",
  "permissions": [
    "string"
  ],
  "is_active": true,
  "expires_at": "string",
  "limits": {
    "requests": {
      "per_minute": 1,
      "per_hour": 1,
      "per_day": 1
    },
    "tokens": {
      "per_minute": 1,
      "per_hour": 1,
      "per_day": 1,
      "per_month": 1,
      "quota": {
        "limit": 1,
        "used": 1,
        "remaining": 1
      }
    }
  }
}

Used by 1 operations

PublicVoiceList

object
itemsrequired

Records on the current page, in the list’s sort order.

array<LumVoice>LumVoice
array item
idrequired

Voice identifier — a string of 16 Latin letters and digits (for example, k3nH9vRt2Lw7ZpXb), not a UUID and not a number. Put it into a template’s config.tts_settings.voice_id; the same value goes into /voices/{voice} paths.

string
display_namerequired

Display name of the voice.

string
descriptionrequired

Author’s description of the voice: timbre, delivery, intended use.

nullable
string
genderrequired

Voice gender.

nullable
string
accentrequired

Accent or regional pronunciation variant.

nullable
string
default_language_coderequired

The language the voice defaults to, ISO-639-1.

nullable
string
voice_statusrequired

Cloning state of the voice. Only a fully prepared voice can be used in orders.

string
publication_statusrequired

Publication stage: draft, under review, published. It determines whether the voice appears in the shared catalogue GET /voices/public.

string
allow_usage_in_ordersrequired

Whether the author lets others use the voice. Without this flag the voice is absent from the GET /voices/public catalogue, and library entries other users already made for it become unavailable.

boolean
preview_generated_atrequired

When the preview clips were produced, ISO 8601. null means there is no preview yet.

nullabledate-time
string
created_atrequired

When the voice was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the voice last changed, ISO 8601.

nullabledate-time
string
tagsoptional

Voice tags for search and filtering. The full directory is GET /voices/tags.

array<VoiceTag>VoiceTag
array item
idrequired

Internal identifier of the tag.

integer
coderequired

Tag code — the stable value to filter by, unlike the translatable name.

string
namerequired

Tag name in the account language.

string
descriptionrequired

Explanation of the tag in the account language, when the author provided one.

nullable
string
colorrequired

Tag colour in HEX — a styling hint.

nullable
string
sort_orderrequired

Sort weight within the tag list: lower comes first.

integer
languagesoptional

Languages the voice has been cloned into, each with its own state. An order is only possible in a language that is ready.

array<VoiceLanguage>VoiceLanguage
array item
idrequired

Internal identifier of the voice’s language version.

integer
language_coderequired

Language code, ISO-639-1. It is also the key used in preview_urls.

string
statusrequired

Cloning state for this language. Orders are accepted only in a language whose clone is ready.

string
reference_duration_msrequired

Duration of the reference recording in milliseconds — the clone was trained on it.

nullable
integer
model_versionrequired

Version of the trained model. It increments whenever the voice is retrained.

integer
failure_reasonrequired

Why cloning failed. null when there was no failure.

nullable
string
clone_started_atrequired

When cloning started, ISO 8601.

nullabledate-time
string
clone_completed_atrequired

When cloning finished, ISO 8601. null means it is still running or it failed.

nullabledate-time
string
updated_atrequired

When the language version last changed, ISO 8601.

nullabledate-time
string
preview_urlsrequired

Preview clips by language: the key is a language code, the value a temporary audio link or null when there is no preview for that language. The links live for about a minute.

object
*optional
nullablearbitrary keys
string
current_pagerequired

Current page number, starting from one.

integer
last_pagerequired

Number of the last page. The walk is over once current_page equals last_page.

integer
per_pagerequired

Page size the server applied.

integer
totalrequired

Total number of records matching the filter.

integer
Show an example
{
  "items": [
    {
      "id": "string",
      "display_name": "string",
      "description": "string",
      "gender": "string",
      "accent": "string",
      "default_language_code": "string",
      "voice_status": "string",
      "publication_status": "string",
      "allow_usage_in_orders": true,
      "preview_generated_at": "string",
      "created_at": "string",
      "updated_at": "string",
      "tags": [
        {
          "id": 1,
          "code": "string",
          "name": "string",
          "description": "string",
          "color": "string",
          "sort_order": 1
        }
      ],
      "languages": [
        {
          "id": 1,
          "language_code": "string",
          "status": "string",
          "reference_duration_ms": 1,
          "model_version": 1,
          "failure_reason": "string",
          "clone_started_at": "string",
          "clone_completed_at": "string",
          "updated_at": "string"
        }
      ],
      "preview_urls": {}
    }
  ],
  "current_page": 1,
  "last_page": 1,
  "per_page": 1,
  "total": 1
}

Used by 1 operations

RegenerateOrderItemRequest

object

Parameters for regenerating a completed order fragment.

textrequired

New text for a completed chunk — required. Regenerating an already finished fragment is billed as a new generation (the key's token quota is checked first, 429 on excess).

≤ 50000 chars
string
Example A new version of the fragment.
Show an example
{
  "text": "A new version of the fragment."
}

No reference operation links to this schema directly — it appears inside other objects.

ResellerProfile

object
idrequired

Reseller ID.

integer
statusrequired

Reseller status: active — tops up the balance and issues codes; blocked — the account is blocked, issuing and top-ups are closed; revoked — the status was withdrawn, issuing is closed.

Valuesactiveblockedrevoked
ResellerStatusResellerStatus
discount_bpsrequired

The reseller’s personal discount on issued codes, in basis points: 100 = 1%. It sets the price of a code: cost = nominal × (1 − discount_bps / 10000).

integer
blocked_reasonrequired

Why the account is blocked. null while it is not blocked.

nullable
string
approved_atrequired

When the reseller application was approved.

nullabledate-time
string
limitsoptional

Limits — personal when an administrator set them, otherwise the shared defaults: max_topup_rub is the ceiling of a single top-up in roubles, max_codes_per_issue is how many codes one POST /reseller/codes request may issue.

string
balanceoptional

The account balance. Every amount comes as a pair: in minor LMC units (available, held, debt, …; real = value / 10^currency_asset.precision) and <name>_formatted, the same amount in whole LMC. available is what sits on the account, held is frozen, debt is owed to the platform (the next top-up repays it), spendable is what can actually be spent on issuing (available minus the debt).

object
*optional
arbitrary keys
integer | number
currency_assetrequired

The currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.

object
coderequired

Code of the asset the amounts are expressed in.

ValuesLUMC
string
precisionrequired

How many decimals LMC has: real = value / 10^precision.

integer
Show an example
{
  "id": 1,
  "status": "active",
  "discount_bps": 1,
  "blocked_reason": "string",
  "approved_at": "string",
  "limits": "string",
  "balance": {},
  "currency_asset": {
    "code": "LUMC",
    "precision": 1
  }
}

Used by 1 operations

ResellerStatus

string

Reseller status: active — tops up the balance and issues codes; blocked — the account is blocked, issuing and top-ups are closed; revoked — the status was withdrawn, issuing is closed.

  • active
  • blocked
  • revoked
Show an example
"active"

Used by 1 operations

RetryOrderItemRequest

object

Parameters for retrying a failed order fragment.

textoptional

Corrected chunk text. If omitted, the chunk is retried with its previous text.

For a policy_flagged chunk (content rejected by the provider) the same text will be rejected again — send a rephrased one. The current text is available at GET /orders/{order}/items/{item}/text.

nullable≤ 50000 chars
string
Example A reworded fragment of the text.
Show an example
{
  "text": "A reworded fragment of the text."
}

No reference operation links to this schema directly — it appears inside other objects.

RetryOrderRequest

object

Billing confirmation for the repeat order. An empty body is the normal path; these fields only matter after a 402 response in the fallback mode with explicit confirmation.

confirm_payg_topupoptional

Consent to a pay-as-you-go top-up for the new order — only in the fallback mode with explicit confirmation (otherwise ignored). Same semantics as POST /orders: valid only together with a fresh quote_token from a 402 response.

nullabledefault false
boolean
quote_tokenoptional

The top-up quote from this request's 402 response (fallback mode only). Lives about 60 seconds.

nullable
string
Show an example
{
  "confirm_payg_topup": false,
  "quote_token": "string"
}

No reference operation links to this schema directly — it appears inside other objects.

Service

object
idrequired

Internal numeric identifier of the service. Use code in requests, not this.

integer
coderequired

Service code — the value that goes into a template’s service_key and into the GET /usage/{service} path.

string
namerequired

Internal service name.

string
display_namerequired

Service name for display, translated into the account language.

nullable
string
labeloptional
nullable
null | array<any> | string | object
payg_accessrequired

Whether pay-as-you-go top-up beyond the subscription quota is allowed for this service.

string
billing_moderequired

How the service is billed: per call, per character, per second or per image. It determines which of the units_per_* fields is in effect.

Valuessubscriptionpay_as_you_go
BillingModeBillingMode
unit_asset_idrequired

ID of the asset the service units are denominated in. The asset itself is in unit_asset.

nullable
integer
unit_assetoptional

The service’s unit asset; its precision is what converts the integer units_* values into decimals.

AssetAsset
idrequired

Internal identifier of the asset.

integer
coderequired

Asset code: LUMC is the internal currency, TOKEN the generation tokens.

string
kindrequired

Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.

Valuesmoneyunit
AssetKindAssetKind
precisionrequired

Number of decimal places. The load-bearing field: every integer amount in this asset is divided by 10^precision to obtain the real value. Do not assume the divisor is 100.

integer
namerequired

Display name of the asset, in the account language.

string
deleted_atrequired

When the asset was retired, ISO 8601. null while it is in use.

nullabledate-time
string
created_atrequired

When the asset was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the asset last changed, ISO 8601.

nullabledate-time
string
required_entitlement_idrequired

ID of the entitlement required to use the service. null means the service is open to everyone.

nullable
integer
required_entitlementoptional

The subscription entitlement that unlocks the service. Whether you have it is visible in GET /usage.

EntitlementEntitlement
idrequired

Internal identifier of the entitlement.

integer
coderequired

Entitlement code — a service checks it to decide whether you have access.

string
namerequired

Display name of the entitlement, in the account language.

string
metadatarequired

Extra attributes of the entitlement. The key set is free-form.

nullable
object
is_activerequired

Whether the entitlement is active.

boolean
created_atrequired

When the entitlement was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the entitlement last changed, ISO 8601.

nullabledate-time
string
is_unlimitedoptional

Whether this capability is unlimited under the plan. Present only when the entitlement is returned in a plan context.

boolean
units_per_callrequired

A value in the asset's minor units: the real one is value / 10^precision, with precision carried by unit_asset.

nullable
integer
units_per_charrequired

How many units one character costs — used under per-character billing. The value is in the asset’s minor units.

nullable
integer
units_per_imagerequired

How many units one image costs. The value is in the asset’s minor units.

nullable
integer
units_per_secondrequired

How many units one second of output costs. The value is in the asset’s minor units.

nullable
integer
min_billable_charsrequired

The minimum number of characters billed even when the text is shorter. It guards against negligible orders.

nullable
integer
lumcoin_per_tokenrequired

Price of a single token when topping up from LMC, in minor units. The top-up cost is tokens × lumcoin_per_token.

nullable
integer
lumc_precisionrequired

Number of LMC decimal places — the 10^precision divisor for every amount given in minor units.

integer
price_lumc_minorrequired

Price in LMC minor units per unit_size natural units of the service. null means the service is priced through tokens instead.

nullable
integer
unit_sizerequired

How many natural service units price_lumc_minor is quoted for — for example, per 1000 characters.

integer
uses_money_first_pricingrequired

true means the price is set directly in LMC (price_lumc_minor) rather than derived from tokens. It affects how the figure is computed, not what you pay.

boolean
rate_unitrequired

Natural billing unit for display: characters, seconds or images.

nullable
string
display_categoryrequired

Catalogue section the service is filed under in the interface.

nullable
string
is_premiumrequired

Whether the service is flagged as premium. A storefront hint; access itself is governed by required_entitlement.

boolean
display_orderrequired

Sort weight in the catalogue: lower comes first.

integer
metadatarequired

Extra service attributes. The key set is free-form and may change — do not depend on any particular one.

nullable
object
is_activerequired

Whether the service is listed in the catalogue. Order intake is stopped by maintenance_mode, not by this flag.

boolean
maintenance_moderequired

The service is under maintenance: creating an order, retrying and regenerating return 503. Orders already accepted keep processing.

boolean
access_leveloptional
string
maintenance_auto_resumeoptional
boolean
maintenance_started_atoptional
nullabledate-time
string
maintenance_noteoptional
nullable
string
created_atrequired

When the service was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the service settings last changed, ISO 8601.

nullabledate-time
string
Show an example
{
  "id": 1,
  "code": "string",
  "name": "string",
  "display_name": "string",
  "label": [
    "string"
  ],
  "payg_access": "string",
  "billing_mode": "subscription",
  "unit_asset_id": 1,
  "unit_asset": {
    "id": 1,
    "code": "string",
    "kind": "money",
    "precision": 1,
    "name": "string",
    "deleted_at": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "required_entitlement_id": 1,
  "required_entitlement": {
    "id": 1,
    "code": "string",
    "name": "string",
    "metadata": {},
    "is_active": true,
    "created_at": "string",
    "updated_at": "string",
    "is_unlimited": true
  },
  "units_per_call": 1,
  "units_per_char": 1,
  "units_per_image": 1,
  "units_per_second": 1,
  "min_billable_chars": 1,
  "lumcoin_per_token": 1,
  "lumc_precision": 1,
  "price_lumc_minor": 1,
  "unit_size": 1,
  "uses_money_first_pricing": true,
  "rate_unit": "string",
  "display_category": "string",
  "is_premium": true,
  "display_order": 1,
  "metadata": {},
  "is_active": true,
  "maintenance_mode": true,
  "access_level": "string",
  "maintenance_auto_resume": true,
  "maintenance_started_at": "string",
  "maintenance_note": "string",
  "created_at": "string",
  "updated_at": "string"
}

No reference operation links to this schema directly — it appears inside other objects.

StoreDubbingOrderRequest

object

Dubbing a finished voice-over order: the dub language and, optionally, the voice, model, template and name. The server takes the billable length and source files from the source order itself.

target_languageoptional

The dub language — a value from languages of GET /orders/dubbing/options for the source kind. Must differ from the source language (422 dub_same_language). Required for creation unless target_languages is passed, optional for the quote.

nullable≤ 16 chars
string
Example en
voice_idoptional

The dub voice. Omitted — the template voice: the source order's template snapshot or template_id. Same format as in the service template: Cartesia — a catalog voice or your own clone id (UUID), ElevenLabs — a 20-character voice id.

nullable≤ 64 chars
string
Example 5d2f0a1c-8b3e-4f5a-9c6d-7e8f9a0b1c2d
model_idoptional

The dub model from the options' models. Omitted — the template model, otherwise default_model.

nullable≤ 64 chars
string
Example sonic-3
template_idoptional

Your template of the same service as the source (cartesia or elevenlabs): the voice, model and voice settings come from it instead of the source order's snapshot. Explicit voice_id and model_id override it. Someone else's or a deleted template, or a template of another service gives 422 on template_id, nothing is charged.

nullable≤ 64 chars
string
Example 01a1701b-c1eb-7000-8000-000000000000
nameoptional

The new order's name, up to 120 characters. Omitted — "<source name> → <LANG>".

nullable≤ 120 chars
string
Example Chapter 1 (EN)
target_languagesoptional

Dub into several languages with one request: one order per language, all or none (if money, quota or the key token pool do not cover the whole batch, none is created). Languages come from the options' languages, no repeats, at most max_languages_per_request, none equal to the source language. The response is {batch_id, orders[]} in the order of the languages; batch orders share task_data.dubbing_batch_id. The price is the sum of the dubs. Together with target_language gives 422.

min items: 1max items: 5
array<string>
Example ["en","de","es"]
Show an example
{
  "target_language": "en",
  "voice_id": "5d2f0a1c-8b3e-4f5a-9c6d-7e8f9a0b1c2d",
  "model_id": "sonic-3",
  "template_id": "01a1701b-c1eb-7000-8000-000000000000",
  "name": "Chapter 1 (EN)",
  "target_languages": [
    "en",
    "de",
    "es"
  ]
}

No reference operation links to this schema directly — it appears inside other objects.

StoreOrderRequest

object

Order creation parameters. Accepted both as application/json and as multipart/form-data (the latter when input_files are involved).

template_idoptional

Template UUID — it determines the service, the task type and every generation setting. Either template_id or task_type is required; if both are sent, the template wins.

Templates are the usual way to work: settings are defined once, and the order only carries the text. To deviate from them just once, use config_override.

nullableuuid
string
Example 4d3e9f8b-2c1a-4f5a-8b9c-0d1e2f3a4b5c
task_typeoptional

Task type for generation without a template. Required when template_id is not sent.

ValueWhat it doesWhere the parameters go
sfxA sound effect from a text descriptiontask_data
musicA music track from a descriptiontask_data
voice_searchFinding voices similar to your audio clipinput_files (audio) + task_data.top

tts requires a template — that is where the voice and model live.

nullable
Valuesttsimagetxt2imgremiximage_editvoice_clonesfxmusicvoice_searchpipeline
string
Example sfx
nameoptional

Human-readable order name: it becomes the name of the downloaded file and of the ZIP archive.

If omitted, the server derives one, in this order: the uploaded file's name without its extension → the first ~60 characters of the text on a word boundary (pause tags {{pause=…}} are stripped).

nullable≤ 120 chars
string
Example Landing page greeting
task_dataoptional

Generation parameters for a template-less order — a one-off "temporary template". A JSON object; multipart clients may send it as a single JSON string.

Put the keys at the root of the object, with no wrapper. GET /templates/config-options shows the same parameters grouped into a section (sfx_settings, music_settings) — that is the shape of a settings UI, not the shape of a request. Sending {"sfx_settings": {"text": "…"}} returns 422 "text is required": the wrapper hid the key.

SFX (task_type: "sfx") — one generation yields exactly one file:

KeyTypeDefaultPurpose
textstring, required—Description of the sound; English prompts work best
prompt_influencenumber 0..10.3How strictly to follow the prompt
duration_secondsnumber 0.5..30nullnull = automatic length
loopbooleanfalseSeamless looping
output_formatmp3_44100_128 | mp3_44100_192 | opus_48000_128mp3_44100_128Output format

Music (task_type: "music") — n_variants generations yield that many files:

KeyTypeDefaultPurpose
promptstring, required—Description of the track: genre, mood, instruments
n_variantsinteger 1..41How many variants to generate. Multiplies the price and yields the same number of files in result.files[]
lyrics_textstringnullSong lyrics; if empty and force_instrumental is off, the model may add vocals on its own
force_instrumentalbooleanfalseInstrumental only, no vocals
music_length_msinteger 10000..3000030000Track length in milliseconds: 10–30 s at most, above 30000 → 422
model_idmusic_v2music_v2Currently the only value

Voice Search (task_type: "voice_search") — the audio clip travels in input_files; only one parameter lives here:

KeyTypeDefaultPurpose
topinteger 1..5010How many similar voices to return

What drives the price

What counts is the number of generations, not their size:

TypePriceDoes NOT affect the price
sfxOne service rate per orderduration_seconds, the length of text
musicRate × n_variantsmusic_length_ms, the length of prompt, lyrics_text
voice_searchOne rate per orderClip duration, top

A five-minute track costs exactly what a ten-second one costs — you pay per call to the model. What was actually charged comes back in the order's price_units.

The server merges the service's default_config underneath your values (yours win) — switch that off with skip_service_defaults. A value outside its range or enum returns 422 before billing: no order is created and no funds are reserved.

object
Example {"text":"A heavy wooden door creaks and slams shut","duration_seconds":4}
config_overrideoptional

A one-off deviation from the template's settings — the only way to change parameters for a single order without creating a new template. The shape is the same JSON object as the template's config, applied on top of it for this order only.

For example, to narrate one order with a different voice: {"tts_settings": {"voice_id": "<OTHER_VOICE_ID>"}} — the rest of the template survives.

Paths absent from the service schema are silently dropped (a typo in a key looks like "the setting did not apply"); the remaining values are validated against the schema — out of range or enum returns 422. Works only together with template_id: template-less sfx/music already keep everything in task_data.

Send only the keys you are changing. An explicit null does not mean "keep the template value" — it means "erase it": it overwrites the template's value with an empty one for this order. A client that serialises its whole settings form and puts null into the untouched fields will silently reset half the template that way. An absent key is the only way to say "leave this alone".

Paragraph narration mode

By default the text is cut into fragments back to back, by technical size, and paragraph boundaries play no part. Paragraph mode changes the order of operations: the text is first split on blank lines into paragraphs, and each paragraph is then cut within itself.

The key sits next to tts_settings, not inside it — at the root of config_override:

{"generation_mode": "paragraph"}
ValueWhat it does
paragraphA paragraph becomes a unit of generation in its own right
defaultContinuous cutting by fragment size (same as omitting the key)

Supported by elevenlabs and heygen; other services ignore the key — there is no rejection, the mode simply does not engage.

What changes in the response: the order gains paragraphs[] (per paragraph: its index, fragment count, aggregate status, progress and result_file — the whole paragraph's audio), and fragments gain paragraph_index. There is no need to cut the order's stitched track into paragraphs: for a multi-fragment paragraph result_file is its stitch (null until then), while for a single-fragment paragraph (chunks_count = 1) result_file is always null — the paragraph's file is items[].result_file of the fragment with the same paragraph_index.

This affects the price. The minimum billable volume applies to EVERY paragraph separately rather than to the order as a whole: five short paragraphs cost five minimums, whereas the same text in the default mode would cost one.

It affects speed too. A paragraph is a task of its own, and no more than 10 single-fragment paragraphs plus 5 multi-fragment ones run at a time per order; the rest wait for a slot. A text of a hundred short paragraphs therefore proceeds in waves — but the first results arrive sooner than with continuous cutting.

A template's config accepts the same key, which makes the mode permanent for every order built from that template. GET /templates/config-options does not list it: that directory describes the service's settings, while the mode is chosen per order.

object
Example {"tts_settings":{"voice_id":"EXAVITQu4vr4xnSDxMaL"}}
skip_service_defaultsoptional

Do not merge the service's default_config into task_data. Send true when you already have the complete parameter set and the worker should receive exactly that — the server will not add a single default key.

The flag is stored on the order: POST /orders/{order}/retry reproduces the same behaviour. It has no effect on template-based orders — those take their config from template.config plus config_override, not from the service defaults.

nullabledefault false
boolean
input_textoptional

The task text. For tts this is what gets narrated; the server splits it into chunks by itself.

There are three channels for text and they are equal — every check (pause limits, "nothing to narrate") applies to each of them:

ChannelWhen to use it
input_textThe usual way: the text right in the request
A .txt in input_files[]Long text as a file; its contents become the task text
task_data.textTemplate-less orders only

What happens to the text before it is cut, and how markup inside it affects the price, is covered in the “Markup inside the text” and “How the text is cut” sections of this method's description.

For template-less sfx/music this field is unused — put the description into task_data.text (SFX) or task_data.prompt (Music).

nullable
string
Example Hello! Glad to see you at Lumean.
confirm_payg_topupoptional

Consent to top up from the LMC balance when the subscription quota does not cover the whole order. Normally not needed: the top-up is charged automatically, and the field is ignored. It only matters in the fallback mode with explicit confirmation, which the platform operator may enable — the rules below describe that mode.

The spending order never changes: subscription quota first, LMC only for the remainder. If the quota covers the order, this flag changes nothing and the balance is not touched at all.

The flag alone charges nothing. Consent is only valid together with a fresh quote_token from a 402 response, bound to you, the service and the exact task volume. Sent without a token (or with an expired or foreign one), confirm_payg_topup: true simply returns 402 again — nothing is charged.

The working cycle: send the order → 402 with shortfall_tokens, shortfall_lmc, quote_token, expires_at → show the amount to your user → repeat the same request with confirm_payg_topup: true and that quote_token. The token lives about 60 seconds.

Consent is an upper bound: if the top-up turns out cheaper at charge time, the actual amount is taken; if it got more expensive (a concurrent order ate the quota), you get 409 quote_mismatch: it already carries a fresh quote_token and expires_at for the new amount (actual_lmc_minor) — repeat the request with them, no new 402 needed.

nullabledefault false
boolean
quote_tokenoptional

The signed top-up quote from a 402 response — pass the string as-is, together with confirm_payg_topup: true.

The token is bound to the user, the service and the task volume, and lives about 60 seconds. An expired, altered or foreign token does not apply: the request returns 402 with a new quote.

nullable
string
input_filesoptional

Input files — multipart/form-data only, up to 20 MB per file. A single file may be sent in the input_file field instead.

Task typeFile
tts (narration)A .txt — a full replacement for input_text: its contents become the text to narrate
voice_searchAn audio clip, required. The type is checked by content rather than extension; a foreign format (image, archive) gives 422 before any charge. Longer than 60 seconds is truncated, and the response says so
sfx, musicUnused — the whole description lives in task_data
nullable
array<file>
input_refsoptional

Input taken from a file of another order of yours instead of uploading it again: a list of {slot, path}, at most 20. path is the order file path as the result returns it (storage/{user_id}/orders/{order_id}/…); the file must be visible to you and not yet removed by the retention period. The server copies it inside the storage when the order is created.

Only voice_search accepts it — one reference in the source slot (audio or video, up to 20 MB, with no uploaded file next to it). Other task types are refused.

Refusals are 422, with the reference number in the index field of the response body: input_ref_not_found (no such file), input_ref_forbidden (the file is not visible), input_ref_expired (the order files were removed by retention), input_ref_unsupported (the task type, slot, format or size does not fit).

nullablemax items: 20
array<object>
array item
slotrequired
≤ 32 chars
string
pathrequired
≤ 512 chars
string
Show an example
{
  "template_id": "4d3e9f8b-2c1a-4f5a-8b9c-0d1e2f3a4b5c",
  "task_type": "sfx",
  "name": "Landing page greeting",
  "task_data": {
    "text": "A heavy wooden door creaks and slams shut",
    "duration_seconds": 4
  },
  "config_override": {
    "tts_settings": {
      "voice_id": "EXAVITQu4vr4xnSDxMaL"
    }
  },
  "skip_service_defaults": false,
  "input_text": "Hello! Glad to see you at Lumean.",
  "confirm_payg_topup": false,
  "quote_token": "string",
  "input_files": [
    "<binary>"
  ],
  "input_refs": [
    {
      "slot": "string",
      "path": "string"
    }
  ]
}

No reference operation links to this schema directly — it appears inside other objects.

StoreTemplateRequest

object

A new generation template. config is validated against the service schema — take the structure for your service_key from GET /templates/config-options.

folder_idoptional

UUID of one of your folders. Omitted — the template is created at the root.

nullableuuid
string
service_keyrequired

Code of the service the template is built for: a short latin string — elevenlabs, heygen, lumimg, sfx, music. The codes available to you are listed by GET /usage in its service_code field; this choice determines what config will accept.

string
Example elevenlabs
namerequired

Template name, up to 255 characters. Shown in GET /templates and in the web interface.

≤ 255 chars
string
Example Narrator — female, calm
is_publicoptional

Publish the template in the shared catalogue. Defaults to false — visible only to you.

default false
boolean
configrequired

Generation settings. The structure depends on service_key; the accepted keys, ranges and value lists come from GET /templates/config-options?service=<code> — take them from there instead of guessing.

A minimal valid config for elevenlabs: {"tts_settings": {"mode": "mode_v1", "model_id": "eleven_multilingual_v2", "voice_id": "<VOICE_ID>", "advanced_voice_settings": true, "voice_settings": {"stability": 0.5, "similarity_boost": 0.75, "use_speaker_boost": true, "speed": 1.0}}}

Fine voice settings need a flag

Which voice_settings reach the speech engine depends on the model and on the tts_settings.advanced_voice_settings flag (defaults to false):

ModelWithout the flagWith the flag
eleven_v3, eleven_v3_betastabilityall five
eleven_v4, eleven_v4_expstability, similarity_boost, clone_strengthall five + clone_strength
othersall fiveall five

Values that do not reach the engine are stored on the template and pass validation, but do not affect the audio. There is no error: it just looks like "the setting does not work" — most often with speed on v3/v4.

voice_settings.stability carries a dependency of the same kind: on models of the eleven_v3 family its step is 0.5, so only 0, 0.5 and 1 are accepted.

Stitching prosody across chunks

Long text is split into chunks, and each one is synthesised by its own request — which is why the pitch can jump at the joins. Two optional boolean flags ask the engine to take the neighbours into account: tts_settings.prev_next_text sends the neighbouring chunk text, tts_settings.request_ids sends the ids of the neighbouring generations. Both default to false. They only affect how the joins sound; pricing and chunking are unchanged.

Only ONE of them may be enabled. Sending both is a 422: given both the text and the ids, the engine uses the ids only and ignores the text, so "both on" would be a silently disabled prev_next_text.

Text normalization

tts_settings.apply_text_normalization has three modes: auto (the engine decides on its own whether to normalize, for example spelling out numbers), on (always normalize), off (skip it). Defaults to auto.

object
Show an example
{
  "folder_id": "string",
  "service_key": "elevenlabs",
  "name": "Narrator — female, calm",
  "is_public": false,
  "config": {}
}

No reference operation links to this schema directly — it appears inside other objects.

TaskType

string
  • tts
  • image
  • txt2img
  • remix
  • image_edit
  • voice_clone
  • sfx
  • music
  • voice_search
  • cartesia_dub
  • elevenlabs_dub
  • pipeline
  • ai
  • montage
Show an example
"tts"

TemplateList

object
itemsrequired

Records on the current page, in the list’s sort order.

array<Template>Template
array item
idrequired

Template UUID. Put it into template_id when creating an order.

string
user_idrequired

ID of the template owner.

integer
slugrequired

Short public identifier used for sharing. null on a template that was never shared.

string
namerequired

Template name — for humans only; it does not affect generation.

string
service_keyrequired

Code of the service whose schema validates config: elevenlabs, lumimg, and so on.

string
servicerequired

The template’s service for reference: name and pricing, without configuration schemas. null means no service with that code exists any more.

nullable
Service | null
configrequired

Generation settings: voice, model, speed and so on — the set of keys is defined by the service. Look up allowed values in GET /templates/config-options?service=<code>; anything outside the schema is rejected with 422. Inside an order (template in GET /orders/{order}) this is the order’s own settings — the snapshot taken at creation with config_override applied, not the template’s current configuration (for orders created before late September 2026 — the current template configuration with config_override).

object
is_publicrequired

Whether the template is published in the shared catalogue.

boolean
folder_idrequired

UUID of the folder holding the template, or null for the root. The folder tree is visible in GET /templates/browse.

nullable
string
created_atrequired

When the template was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the template last changed, ISO 8601.

nullabledate-time
string
current_pagerequired

Current page number, starting from one.

integer
last_pagerequired

Number of the last page. The walk is over once current_page equals last_page.

integer
per_pagerequired

Page size the server applied.

integer
totalrequired

Total number of records matching the filter.

integer
Show an example
{
  "items": [
    {
      "id": "string",
      "user_id": 1,
      "slug": "string",
      "name": "string",
      "service_key": "string",
      "service": {
        "id": 1,
        "code": "string",
        "name": "string",
        "display_name": "string",
        "label": [
          null
        ],
        "payg_access": "string",
        "billing_mode": "subscription",
        "unit_asset_id": 1,
        "unit_asset": {
          "id": 1,
          "code": "string",
          "kind": "money",
          "precision": 1,
          "name": "string",
          "deleted_at": "string",
          "created_at": "string",
          "updated_at": "string"
        },
        "required_entitlement_id": 1,
        "required_entitlement": {
          "id": 1,
          "code": "string",
          "name": "string",
          "metadata": {},
          "is_active": true,
          "created_at": "string",
          "updated_at": "string",
          "is_unlimited": true
        },
        "units_per_call": 1,
        "units_per_char": 1,
        "units_per_image": 1,
        "units_per_second": 1,
        "min_billable_chars": 1,
        "lumcoin_per_token": 1,
        "lumc_precision": 1,
        "price_lumc_minor": 1,
        "unit_size": 1,
        "uses_money_first_pricing": true,
        "rate_unit": "string",
        "display_category": "string",
        "is_premium": true,
        "display_order": 1,
        "metadata": {},
        "is_active": true,
        "maintenance_mode": true,
        "access_level": "string",
        "maintenance_auto_resume": true,
        "maintenance_started_at": "string",
        "maintenance_note": "string",
        "created_at": "string",
        "updated_at": "string"
      },
      "config": {},
      "is_public": true,
      "folder_id": "string",
      "created_at": "string",
      "updated_at": "string"
    }
  ],
  "current_page": 1,
  "last_page": 1,
  "per_page": 1,
  "total": 1
}

Used by 1 operations

TemplateItem

object
typerequired
Valuestemplate
string
idrequired
string
namerequired
string
slugoptional
string
service_keyoptional
string
serviceoptional
nullable
Service | null
configoptional
object | array<any>
is_publicoptional
boolean
folder_idoptional
nullable
string
created_atrequired
nullabledate-time
string
updated_atrequired
nullabledate-time
string
templates_countoptional
string | integer
Show an example
{
  "type": "template",
  "id": "string",
  "name": "string",
  "slug": "string",
  "service_key": "string",
  "service": {
    "id": 1,
    "code": "string",
    "name": "string",
    "display_name": "string",
    "label": [
      "string"
    ],
    "payg_access": "string",
    "billing_mode": "subscription",
    "unit_asset_id": 1,
    "unit_asset": {
      "id": 1,
      "code": "string",
      "kind": "money",
      "precision": 1,
      "name": "string",
      "deleted_at": "string",
      "created_at": "string",
      "updated_at": "string"
    },
    "required_entitlement_id": 1,
    "required_entitlement": {
      "id": 1,
      "code": "string",
      "name": "string",
      "metadata": {},
      "is_active": true,
      "created_at": "string",
      "updated_at": "string",
      "is_unlimited": true
    },
    "units_per_call": 1,
    "units_per_char": 1,
    "units_per_image": 1,
    "units_per_second": 1,
    "min_billable_chars": 1,
    "lumcoin_per_token": 1,
    "lumc_precision": 1,
    "price_lumc_minor": 1,
    "unit_size": 1,
    "uses_money_first_pricing": true,
    "rate_unit": "string",
    "display_category": "string",
    "is_premium": true,
    "display_order": 1,
    "metadata": {},
    "is_active": true,
    "maintenance_mode": true,
    "access_level": "string",
    "maintenance_auto_resume": true,
    "maintenance_started_at": "string",
    "maintenance_note": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "config": {},
  "is_public": true,
  "folder_id": "string",
  "created_at": "string",
  "updated_at": "string"
}

Used by 1 operations

Template

object
idrequired

Template UUID. Put it into template_id when creating an order.

string
user_idrequired

ID of the template owner.

integer
slugrequired

Short public identifier used for sharing. null on a template that was never shared.

string
namerequired

Template name — for humans only; it does not affect generation.

string
service_keyrequired

Code of the service whose schema validates config: elevenlabs, lumimg, and so on.

string
servicerequired

The template’s service for reference: name and pricing, without configuration schemas. null means no service with that code exists any more.

nullable
Service | null
configrequired

Generation settings: voice, model, speed and so on — the set of keys is defined by the service. Look up allowed values in GET /templates/config-options?service=<code>; anything outside the schema is rejected with 422. Inside an order (template in GET /orders/{order}) this is the order’s own settings — the snapshot taken at creation with config_override applied, not the template’s current configuration (for orders created before late September 2026 — the current template configuration with config_override).

object
is_publicrequired

Whether the template is published in the shared catalogue.

boolean
folder_idrequired

UUID of the folder holding the template, or null for the root. The folder tree is visible in GET /templates/browse.

nullable
string
created_atrequired

When the template was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the template last changed, ISO 8601.

nullabledate-time
string
Show an example
{
  "id": "string",
  "user_id": 1,
  "slug": "string",
  "name": "string",
  "service_key": "string",
  "service": {
    "id": 1,
    "code": "string",
    "name": "string",
    "display_name": "string",
    "label": [
      "string"
    ],
    "payg_access": "string",
    "billing_mode": "subscription",
    "unit_asset_id": 1,
    "unit_asset": {
      "id": 1,
      "code": "string",
      "kind": "money",
      "precision": 1,
      "name": "string",
      "deleted_at": "string",
      "created_at": "string",
      "updated_at": "string"
    },
    "required_entitlement_id": 1,
    "required_entitlement": {
      "id": 1,
      "code": "string",
      "name": "string",
      "metadata": {},
      "is_active": true,
      "created_at": "string",
      "updated_at": "string",
      "is_unlimited": true
    },
    "units_per_call": 1,
    "units_per_char": 1,
    "units_per_image": 1,
    "units_per_second": 1,
    "min_billable_chars": 1,
    "lumcoin_per_token": 1,
    "lumc_precision": 1,
    "price_lumc_minor": 1,
    "unit_size": 1,
    "uses_money_first_pricing": true,
    "rate_unit": "string",
    "display_category": "string",
    "is_premium": true,
    "display_order": 1,
    "metadata": {},
    "is_active": true,
    "maintenance_mode": true,
    "access_level": "string",
    "maintenance_auto_resume": true,
    "maintenance_started_at": "string",
    "maintenance_note": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "config": {},
  "is_public": true,
  "folder_id": "string",
  "created_at": "string",
  "updated_at": "string"
}

UpdateTemplateRequest

object

Partial template update: send only the fields you are changing. service_key and config change together — the config is validated against the new service's schema.

folder_idoptional

UUID of the folder to move the template into. null moves it to the root.

nullableuuid
string
service_keyoptional

New service code. Changes only together with config — the config is validated against the new service's schema.

string
Example elevenlabs
nameoptional

New template name, up to 255 characters.

≤ 255 chars
string
is_publicoptional

Publish the template in the shared catalogue, or unpublish it.

boolean
configoptional

Generation settings to change. Deep-merged into the current config: a key you do not send keeps its value, lists merge by position. Validated against the service schema before the merge, so the required schema fields are always sent. Sent only together with service_key. The accepted structure comes from GET /templates/config-options?service=<code>.

object
Show an example
{
  "folder_id": "string",
  "service_key": "elevenlabs",
  "name": "string",
  "is_public": true,
  "config": {}
}

No reference operation links to this schema directly — it appears inside other objects.

UserLibraryList

object
itemsrequired

Records on the current page, in the list’s sort order.

array<object>
current_pagerequired

Current page number, starting from one.

integer
last_pagerequired

Number of the last page. The walk is over once current_page equals last_page.

integer
per_pagerequired

Page size the server applied.

integer
totalrequired

Total number of records matching the filter.

integer
Show an example
{
  "items": [
    {}
  ],
  "current_page": 1,
  "last_page": 1,
  "per_page": 1,
  "total": 1
}

Used by 1 operations

VoiceLanguage

object
idrequired

Internal identifier of the voice’s language version.

integer
language_coderequired

Language code, ISO-639-1. It is also the key used in preview_urls.

string
statusrequired

Cloning state for this language. Orders are accepted only in a language whose clone is ready.

string
reference_duration_msrequired

Duration of the reference recording in milliseconds — the clone was trained on it.

nullable
integer
model_versionrequired

Version of the trained model. It increments whenever the voice is retrained.

integer
failure_reasonrequired

Why cloning failed. null when there was no failure.

nullable
string
clone_started_atrequired

When cloning started, ISO 8601.

nullabledate-time
string
clone_completed_atrequired

When cloning finished, ISO 8601. null means it is still running or it failed.

nullabledate-time
string
updated_atrequired

When the language version last changed, ISO 8601.

nullabledate-time
string
Show an example
{
  "id": 1,
  "language_code": "string",
  "status": "string",
  "reference_duration_ms": 1,
  "model_version": 1,
  "failure_reason": "string",
  "clone_started_at": "string",
  "clone_completed_at": "string",
  "updated_at": "string"
}

VoiceTag

object
idrequired

Internal identifier of the tag.

integer
coderequired

Tag code — the stable value to filter by, unlike the translatable name.

string
namerequired

Tag name in the account language.

string
descriptionrequired

Explanation of the tag in the account language, when the author provided one.

nullable
string
colorrequired

Tag colour in HEX — a styling hint.

nullable
string
sort_orderrequired

Sort weight within the tag list: lower comes first.

integer
Show an example
{
  "id": 1,
  "code": "string",
  "name": "string",
  "description": "string",
  "color": "string",
  "sort_order": 1
}

WalletList

object
itemsrequired

Records on the current page, in the list’s sort order.

array<Wallet>Wallet
array item
idrequired

Wallet ID. Use it to filter the history: GET /ledger-transactions?wallet_id=.

integer
user_idrequired

ID of the wallet owner — always the key owner.

nullable
integer
asset_idrequired

ID of the asset the wallet is kept in; the asset itself is in asset.

nullable
integer
purposerequired

Wallet purpose: main is the main balance, referral holds referral earnings.

string
balancerequired

Balance in the asset’s minor units: amount = balance / 10^asset.precision. An integer, not a fraction.

integer
locked_balancerequired

Locked part of the balance in the asset’s minor units — reserved for orders in progress and payout requests, so it cannot be spent.

integer
balance_formattedoptional

Balance as a decimal number by asset.precision (balance / 10^precision), ready to display.

nullable
number
locked_balance_formattedoptional

Locked part of the balance as a decimal number by asset.precision.

nullable
number
balance_convertedrequired

Informational conversion of the balance into the account’s display currency. null for non-LUMC wallets and when no rate is available; use balance for calculations.

nullable
object
currencyrequired

Display currency code (ISO 4217).

string
amountrequired

Amount in the display currency, rounded to its precision.

number
symbolrequired

Currency symbol for display; null if the currency has none.

string
precisionrequired

Number of decimal places of the display currency.

integer
assetoptional

The wallet asset: code, kind and the precision that turns balance into an amount.

AssetAsset
idrequired

Internal identifier of the asset.

integer
coderequired

Asset code: LUMC is the internal currency, TOKEN the generation tokens.

string
kindrequired

Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.

Valuesmoneyunit
AssetKindAssetKind
precisionrequired

Number of decimal places. The load-bearing field: every integer amount in this asset is divided by 10^precision to obtain the real value. Do not assume the divisor is 100.

integer
namerequired

Display name of the asset, in the account language.

string
deleted_atrequired

When the asset was retired, ISO 8601. null while it is in use.

nullabledate-time
string
created_atrequired

When the asset was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the asset last changed, ISO 8601.

nullabledate-time
string
deleted_atrequired

When the wallet was deleted; null for wallets in this list.

nullabledate-time
string
created_atrequired

When the wallet was created.

nullabledate-time
string
updated_atrequired

When the wallet last changed, balance included.

nullabledate-time
string
current_pagerequired

Current page number, starting from one.

integer
last_pagerequired

Number of the last page. The walk is over once current_page equals last_page.

integer
per_pagerequired

Page size the server applied.

integer
totalrequired

Total number of records matching the filter.

integer
Show an example
{
  "items": [
    {
      "id": 1,
      "user_id": 1,
      "asset_id": 1,
      "purpose": "string",
      "balance": 1,
      "locked_balance": 1,
      "balance_formatted": 1,
      "locked_balance_formatted": 1,
      "balance_converted": {
        "currency": "string",
        "amount": 1,
        "symbol": "string",
        "precision": 1
      },
      "asset": {
        "id": 1,
        "code": "string",
        "kind": "money",
        "precision": 1,
        "name": "string",
        "deleted_at": "string",
        "created_at": "string",
        "updated_at": "string"
      },
      "deleted_at": "string",
      "created_at": "string",
      "updated_at": "string"
    }
  ],
  "current_page": 1,
  "last_page": 1,
  "per_page": 1,
  "total": 1
}

Used by 1 operations

Wallet

object
idrequired

Wallet ID. Use it to filter the history: GET /ledger-transactions?wallet_id=.

integer
user_idrequired

ID of the wallet owner — always the key owner.

nullable
integer
asset_idrequired

ID of the asset the wallet is kept in; the asset itself is in asset.

nullable
integer
purposerequired

Wallet purpose: main is the main balance, referral holds referral earnings.

string
balancerequired

Balance in the asset’s minor units: amount = balance / 10^asset.precision. An integer, not a fraction.

integer
locked_balancerequired

Locked part of the balance in the asset’s minor units — reserved for orders in progress and payout requests, so it cannot be spent.

integer
balance_formattedoptional

Balance as a decimal number by asset.precision (balance / 10^precision), ready to display.

nullable
number
locked_balance_formattedoptional

Locked part of the balance as a decimal number by asset.precision.

nullable
number
balance_convertedrequired

Informational conversion of the balance into the account’s display currency. null for non-LUMC wallets and when no rate is available; use balance for calculations.

nullable
object
currencyrequired

Display currency code (ISO 4217).

string
amountrequired

Amount in the display currency, rounded to its precision.

number
symbolrequired

Currency symbol for display; null if the currency has none.

string
precisionrequired

Number of decimal places of the display currency.

integer
assetoptional

The wallet asset: code, kind and the precision that turns balance into an amount.

AssetAsset
idrequired

Internal identifier of the asset.

integer
coderequired

Asset code: LUMC is the internal currency, TOKEN the generation tokens.

string
kindrequired

Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.

Valuesmoneyunit
AssetKindAssetKind
precisionrequired

Number of decimal places. The load-bearing field: every integer amount in this asset is divided by 10^precision to obtain the real value. Do not assume the divisor is 100.

integer
namerequired

Display name of the asset, in the account language.

string
deleted_atrequired

When the asset was retired, ISO 8601. null while it is in use.

nullabledate-time
string
created_atrequired

When the asset was created, ISO 8601.

nullabledate-time
string
updated_atrequired

When the asset last changed, ISO 8601.

nullabledate-time
string
deleted_atrequired

When the wallet was deleted; null for wallets in this list.

nullabledate-time
string
created_atrequired

When the wallet was created.

nullabledate-time
string
updated_atrequired

When the wallet last changed, balance included.

nullabledate-time
string
Show an example
{
  "id": 1,
  "user_id": 1,
  "asset_id": 1,
  "purpose": "string",
  "balance": 1,
  "locked_balance": 1,
  "balance_formatted": 1,
  "locked_balance_formatted": 1,
  "balance_converted": {
    "currency": "string",
    "amount": 1,
    "symbol": "string",
    "precision": 1
  },
  "asset": {
    "id": 1,
    "code": "string",
    "kind": "money",
    "precision": 1,
    "name": "string",
    "deleted_at": "string",
    "created_at": "string",
    "updated_at": "string"
  },
  "deleted_at": "string",
  "created_at": "string",
  "updated_at": "string"
}

Used by 1 operations

This page for AI

Open .mdllm.md

API version 1.0.0