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
objectThe model name for the model field of an AI API request, exactly as written: the gateway looks the model up by exact match.
Human-readable model name.
Model family (for example claude, gpt) — for grouping in a list.
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.
A short description of the model; null when there is none.
The model context window, in tokens.
How many tokens the model can produce in one answer.
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.
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.
pricerequiredCurrent 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).
nullableobject
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).
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.
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.
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"
}Used by 2 operations
AssetKind
string- money
- unit
Show an example
"money"Asset
objectInternal identifier of the asset.
Asset code: LUMC is the internal currency, TOKEN the generation tokens.
Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.
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.
Display name of the asset, in the account language.
When the asset was retired, ISO 8601. null while it is in use.
When the asset was created, ISO 8601.
When the asset last changed, ISO 8601.
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
objectitemsrequiredContents 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
Contents of the current folder — folders and templates interleaved, in sort order. Tell them apart by service_key: only a template has it.
Current page number, starting at 1.
Number of the last page. When it equals current_page, there is nothing further.
How many records fit on a page.
How many records the folder holds in total, across all pages.
current_folderrequiredThe folder whose contents are shown. null means you are at the root.
nullableobject
The folder whose contents are shown. null means you are at the root.
UUID of the current folder — pass it as folder_id to open the folder again.
Name of the current folder.
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
objectClone UUID. Use it in /voices/cartesia/clones/{voiceClone}/… paths; it does NOT go into a template — voice_id does.
Clone provider — always cartesia.
Clone name given at creation.
Language of the sample (ISO 639-1), or null if none was sent.
Your description of the clone, or null.
Status: pending → cloning → ready or failed; archived — retired by the owner; banned — blocked by a moderator. Only ready can be used for narration.
The Cartesia voice id — the value for tts_settings.voice_id of a template with service_key: cartesia. Present only for ready, otherwise null.
Cloning attempt number: 1 on creation, +1 for every retry.
errorrequiredWhy the last attempt failed; null while there has been no failure.
nullableobject
Why the last attempt failed; null while there has been no failure.
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.
Human-readable explanation of the failure, or null. Branch on reason, not on this text.
When the clone was created.
When the clone became ready; null until then.
When the last attempt failed; null if it has not.
When a moderator banned the clone (status = banned); null if it is not banned.
Reason for the ban given by the moderator, or null. A banned clone can be neither used nor archived.
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
objectInternal identifier of the entitlement.
Entitlement code — a service checks it to decide whether you have access.
Display name of the entitlement, in the account language.
Extra attributes of the entitlement. The key set is free-form.
Whether the entitlement is active.
When the entitlement was created, ISO 8601.
When the entitlement last changed, ISO 8601.
Whether this capability is unlimited under the plan. Present only when the entitlement is returned in a plan context.
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
objectA request for a temporary link to a result file. Fetch the link with a plain GET,
without the X-API-KEY header.
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.
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.
Where chunk numbering starts in the file name: 1 → the first chunk is "001", 0 → "000". Defaults to 1.
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.
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
objectThe batch id.
Always reseller — the batch was issued from the reseller balance.
How many codes the batch holds.
Sum of the code nominals, LMC minor units.
Sum of the nominals, LMC.
How much was charged to the reseller balance (nominals minus the discount), LMC minor units.
Charged to the reseller balance, LMC.
The reseller personal discount at issue time, basis points (1000 = 10%).
codesoptionalThe batch codes with the FULL code value — store them: they are bearer money.
array<GiftCode>GiftCode
The batch codes with the FULL code value — store them: they are bearer money.
Code UUID. Use it in the GET /reseller/codes/{uuid} and POST /reseller/codes/{uuid}/cancel paths.
The code with a mask, LUM-****-****-XXXX: safe to show in a UI and to write to logs.
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.
The code’s nominal value in minor LMC units: real = nominal / 10^currency_asset.precision. This is how much LMC the redeemer receives.
The same nominal value in whole LMC — a number ready to display.
What the code cost the reseller after the discount, in minor LMC units. Present only for reseller codes (source: reseller).
The same cost in whole LMC. Present only for reseller codes.
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.
Where the code came from: bought by a user with money (purchase) or issued by a
reseller from their own balance (reseller).
What paid for the code: roubles (rub), crypto (crypto) or both (mixed — a
reseller code issued from a balance topped up both ways).
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.
The moment from which the code can be redeemed; until then it is frozen. null means no restriction.
When the code was redeemed. null until it is. The API never reveals who redeemed it.
When the reseller cancelled the code. null if it was not cancelled.
When the code was issued.
currency_assetrequiredThe currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.
object
The currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.
Code of the asset the amounts are expressed in.
How many decimals LMC has: real = value / 10^precision.
When the batch was issued.
currency_assetrequiredThe currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.
object
The currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.
Code of the asset the amounts are expressed in.
How many decimals LMC has: real = value / 10^precision.
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
objectitemsrequiredRecords on the current page, in the list’s sort order.
array<GiftCode>GiftCode
Records on the current page, in the list’s sort order.
Code UUID. Use it in the GET /reseller/codes/{uuid} and POST /reseller/codes/{uuid}/cancel paths.
The code with a mask, LUM-****-****-XXXX: safe to show in a UI and to write to logs.
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.
The code’s nominal value in minor LMC units: real = nominal / 10^currency_asset.precision. This is how much LMC the redeemer receives.
The same nominal value in whole LMC — a number ready to display.
What the code cost the reseller after the discount, in minor LMC units. Present only for reseller codes (source: reseller).
The same cost in whole LMC. Present only for reseller codes.
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.
Where the code came from: bought by a user with money (purchase) or issued by a
reseller from their own balance (reseller).
What paid for the code: roubles (rub), crypto (crypto) or both (mixed — a
reseller code issued from a balance topped up both ways).
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.
The moment from which the code can be redeemed; until then it is frozen. null means no restriction.
When the code was redeemed. null until it is. The API never reveals who redeemed it.
When the reseller cancelled the code. null if it was not cancelled.
When the code was issued.
currency_assetrequiredThe currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.
object
The currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.
Code of the asset the amounts are expressed in.
How many decimals LMC has: real = value / 10^precision.
Current page number, starting from one.
Number of the last page. The walk is over once current_page equals last_page.
Page size the server applied.
Total number of records matching the filter.
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
stringWhat 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
objectCode UUID. Use it in the GET /reseller/codes/{uuid} and POST /reseller/codes/{uuid}/cancel paths.
The code with a mask, LUM-****-****-XXXX: safe to show in a UI and to write to logs.
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.
The code’s nominal value in minor LMC units: real = nominal / 10^currency_asset.precision. This is how much LMC the redeemer receives.
The same nominal value in whole LMC — a number ready to display.
What the code cost the reseller after the discount, in minor LMC units. Present only for reseller codes (source: reseller).
The same cost in whole LMC. Present only for reseller codes.
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.
Where the code came from: bought by a user with money (purchase) or issued by a
reseller from their own balance (reseller).
What paid for the code: roubles (rub), crypto (crypto) or both (mixed — a
reseller code issued from a balance topped up both ways).
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.
The moment from which the code can be redeemed; until then it is frozen. null means no restriction.
When the code was redeemed. null until it is. The API never reveals who redeemed it.
When the reseller cancelled the code. null if it was not cancelled.
When the code was issued.
currency_assetrequiredThe currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.
object
The currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.
Code of the asset the amounts are expressed in.
How many decimals LMC has: real = value / 10^precision.
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
stringWhere 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
stringGift 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
objectIssuing codes from the reseller balance. The Idempotency-Key header is optional but
recommended: with it a network retry cannot issue a second batch.
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.
Show an example
{
"nominals": [
100,
100,
250
]
}No reference operation links to this schema directly — it appears inside other objects.
LedgerEntry
objectPosting ID.
The posting’s wallet — an id from GET /wallets.
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.
The same signed amount in whole asset units, ready to display.
assetoptionalThe asset of the posting’s wallet; its precision is the divisor for amount.
AssetAsset
The asset of the posting’s wallet; its precision is the divisor for amount.
Internal identifier of the asset.
Asset code: LUMC is the internal currency, TOKEN the generation tokens.
Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.
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.
Display name of the asset, in the account language.
When the asset was retired, ISO 8601. null while it is in use.
When the asset was created, ISO 8601.
When the asset last changed, ISO 8601.
credit — into the wallet, debit — out of it.
When the posting was created, ISO 8601.
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
objectitemsrequiredRecords on the current page, in the list’s sort order.
array<LedgerTransaction>LedgerTransaction
Records on the current page, in the list’s sort order.
ID of the money movement.
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.
Movement state: posted — booked, pending — awaiting booking, void — cancelled, with no effect on the balance.
A description of the movement in words, for display. null when there is none.
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.
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.
assetoptionalThe asset of the amount; its precision is the divisor for amount. Present under the same conditions as amount_formatted.
AssetAsset
The asset of the amount; its precision is the divisor for amount. Present under the same conditions as amount_formatted.
Internal identifier of the asset.
Asset code: LUMC is the internal currency, TOKEN the generation tokens.
Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.
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.
Display name of the asset, in the account language.
When the asset was retired, ISO 8601. null while it is in use.
When the asset was created, ISO 8601.
When the asset last changed, ISO 8601.
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.
When the movement was created, ISO 8601.
entriesrequiredPostings 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
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.
Posting ID.
The posting’s wallet — an id from GET /wallets.
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.
The same signed amount in whole asset units, ready to display.
assetoptionalThe asset of the posting’s wallet; its precision is the divisor for amount.
AssetAsset
The asset of the posting’s wallet; its precision is the divisor for amount.
Internal identifier of the asset.
Asset code: LUMC is the internal currency, TOKEN the generation tokens.
Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.
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.
Display name of the asset, in the account language.
When the asset was retired, ISO 8601. null while it is in use.
When the asset was created, ISO 8601.
When the asset last changed, ISO 8601.
credit — into the wallet, debit — out of it.
When the posting was created, ISO 8601.
Current page number, starting from one.
Number of the last page. The walk is over once current_page equals last_page.
Page size the server applied.
Total number of records matching the filter.
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
objectID of the money movement.
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.
Movement state: posted — booked, pending — awaiting booking, void — cancelled, with no effect on the balance.
A description of the movement in words, for display. null when there is none.
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.
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.
assetoptionalThe asset of the amount; its precision is the divisor for amount. Present under the same conditions as amount_formatted.
AssetAsset
The asset of the amount; its precision is the divisor for amount. Present under the same conditions as amount_formatted.
Internal identifier of the asset.
Asset code: LUMC is the internal currency, TOKEN the generation tokens.
Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.
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.
Display name of the asset, in the account language.
When the asset was retired, ISO 8601. null while it is in use.
When the asset was created, ISO 8601.
When the asset last changed, ISO 8601.
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.
When the movement was created, ISO 8601.
entriesrequiredPostings 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
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.
Posting ID.
The posting’s wallet — an id from GET /wallets.
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.
The same signed amount in whole asset units, ready to display.
assetoptionalThe asset of the posting’s wallet; its precision is the divisor for amount.
AssetAsset
The asset of the posting’s wallet; its precision is the divisor for amount.
Internal identifier of the asset.
Asset code: LUMC is the internal currency, TOKEN the generation tokens.
Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.
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.
Display name of the asset, in the account language.
When the asset was retired, ISO 8601. null while it is in use.
When the asset was created, ISO 8601.
When the asset last changed, ISO 8601.
credit — into the wallet, debit — out of it.
When the posting was created, ISO 8601.
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
stringType of a money movement. The common values:
| Value | Meaning |
|---|---|
deposit | Balance top-up |
deposit_bonus | Bonus added to a top-up |
order_completion | Charge for a completed order |
order_refund | Refund for an unfinished part of an order |
subscription_direct_payment | Subscription payment |
subscription_token_consumed | Subscription tokens spent on generation |
subscription_token_refund | Subscription tokens returned |
subscription_token_credit | Tokens granted when a plan is purchased |
subscription_token_forfeited | Unused tokens expiring at the end of their term |
referral_reward | Referral reward |
referral_reward_reversal | Referral reward reversed |
lock_balance / unlock_balance | Funds reserved for an order, and the reservation released |
policy_block_fee | Fee for an attempt rejected by the content policy |
admin_credit / admin_charge | Manual 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
objectVoice 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.
Display name of the voice.
Author’s description of the voice: timbre, delivery, intended use.
Voice gender.
Accent or regional pronunciation variant.
The language the voice defaults to, ISO-639-1.
Cloning state of the voice. Only a fully prepared voice can be used in orders.
Publication stage: draft, under review, published. It determines whether the voice appears in the shared catalogue GET /voices/public.
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.
When the preview clips were produced, ISO 8601. null means there is no preview yet.
When the voice was created, ISO 8601.
When the voice last changed, ISO 8601.
languagesoptionalLanguages 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
Languages the voice has been cloned into, each with its own state. An order is only possible in a language that is ready.
Internal identifier of the voice’s language version.
Language code, ISO-639-1. It is also the key used in preview_urls.
Cloning state for this language. Orders are accepted only in a language whose clone is ready.
Duration of the reference recording in milliseconds — the clone was trained on it.
Version of the trained model. It increments whenever the voice is retrained.
Why cloning failed. null when there was no failure.
When cloning started, ISO 8601.
When cloning finished, ISO 8601. null means it is still running or it failed.
When the language version last changed, ISO 8601.
preview_urlsrequiredPreview 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
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.
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": {}
}Used by 2 operations
OrderList
objectitemsrequiredRecords on the current page, in the list’s sort order.
array<Order>Order
Records on the current page, in the list’s sort order.
Order UUID. Use it in /orders/{order}/… paths and when calling POST /orders/{order}/retry.
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.
Order name: the downloaded file name and the ZIP archive name are derived from it.
templateoptionalThe 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
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.
Template UUID. Put it into template_id when creating an order.
ID of the template owner.
Short public identifier used for sharing. null on a template that was never shared.
Template name — for humans only; it does not affect generation.
Code of the service whose schema validates config: elevenlabs, lumimg, and so on.
The template’s service for reference: name and pricing, without configuration schemas. null means no service with that code exists any more.
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).
Whether the template is published in the shared catalogue.
UUID of the folder holding the template, or null for the root. The folder tree is visible in GET /templates/browse.
When the template was created, ISO 8601.
When the template last changed, ISO 8601.
UUID of the template used, or null when the order was created without one.
Task type — it determines what goes into task_data and what comes back in result.
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.
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.
The same amount as price_units, expressed in whole LMC and ready to display. null until the cost is settled.
currency_assetrequiredThe amount's asset is always LMC. Its precision is what converts minor units into the real value.
AssetAsset
The amount's asset is always LMC. Its precision is what converts minor units into the real value.
Internal identifier of the asset.
Asset code: LUMC is the internal currency, TOKEN the generation tokens.
Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.
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.
Display name of the asset, in the account language.
When the asset was retired, ISO 8601. null while it is in use.
When the asset was created, ISO 8601.
When the asset last changed, ISO 8601.
The order's full cost in tokens: the original chunks plus every retry and regeneration. This is a quota unit, not money.
Total length of the produced audio in milliseconds. This is the result's duration, not the time spent generating it.
The task input exactly as the server accepted it: text, references to uploaded files, resolved settings. The set of keys depends on task_type.
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.
When the order was created, ISO 8601.
When the order last changed, ISO 8601. It advances on every status transition, which makes it a cheap “something happened” signal.
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.
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.
true means retention has elapsed and the files are already deleted: no link can be issued, and the order has to be created again.
retentionrequiredRetention deadlines by file level. For a stitched order the per-fragment tracks are removed earlier than the result itself.
object
Retention deadlines by file level. For a stitched order the per-fragment tracks are removed earlier than the result itself.
chunksrequiredLifetime of the per-fragment tracks — pause editing, re-stitching and per-fragment regeneration all operate on them.
object
Lifetime of the per-fragment tracks — pause editing, re-stitching and per-fragment regeneration all operate on them.
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.
true means the per-fragment tracks are gone: editing and re-stitching are rejected. The finished result may still be available — check retention.files.
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.
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.
filesrequiredLifetime of every file of the order, including the result. Mirrors the top-level files_expire_at / files_expired fields.
object
Lifetime of every file of the order, including the result. Mirrors the top-level files_expire_at / files_expired fields.
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.
Same as files_expired: nothing is left to download.
Estimated time remaining, in seconds — present only while the order is running. null once it is finished, and before it starts.
Expected completion moment, ISO 8601 — the same forecast as eta_seconds, expressed as an absolute time.
How many source chunks are already finished. Retries and regenerations are excluded — counting them would push progress past 100%.
How many source chunks the order has in total. Zero means the split has not happened yet.
Completion percentage, 0–100 — derived from completed_chunks and total_chunks, so there is no need to compute it yourself.
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.
paragraphsrequiredPer-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).
nullablearray<object>
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).
Zero-based index of the paragraph.
How many chunks the paragraph was split into.
How many of the paragraph’s chunks are already finished.
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[].
Paragraph completion percentage, 0–100.
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.
itemsoptionalThe 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
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.
Chunk UUID. Use it in /orders/{order}/items/{item}/… paths.
UUID of the order this chunk belongs to.
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.
Zero-based position of the fragment within the order. It defines the order in which the final file is assembled.
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.
UUID of the source chunk — present on retry and regeneration records. null on an original chunk.
Length of the text the fragment was created with. It is the ceiling for text in regenerate.
Length of the fragment’s current text: after a regeneration it differs from original_text_length.
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).
How many tokens were actually charged for this fragment. Zero while the fragment is unfinished.
How many tokens are still reserved for the fragment. Drops to zero once the fragment finishes or is cancelled.
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.
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.
Duration of the produced audio in milliseconds — the length of the recording, not the generation time. null for non-audio tasks.
Attempt number for this fragment, starting at 1. It grows with every retry.
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.
Whether the fragment’s status allows a free retry. The attempt limit is not counted here — attempts_exhausted shows it.
Whether a paid regeneration is allowed right now. Available for finished fragments only.
When the fragment was created, ISO 8601.
When the fragment last changed, ISO 8601.
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.
How many of the spent tokens were covered by the subscription quota. null means the quota covered nothing.
How many tokens were paid for out of the LMC balance, beyond the quota. null means there was no top-up.
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.
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".
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.
Current page number, starting from one.
Number of the last page. The walk is over once current_page equals last_page.
Page size the server applied.
Total number of records matching the filter.
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
objectChunk UUID. Use it in /orders/{order}/items/{item}/… paths.
UUID of the order this chunk belongs to.
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.
Zero-based position of the fragment within the order. It defines the order in which the final file is assembled.
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.
UUID of the source chunk — present on retry and regeneration records. null on an original chunk.
Length of the text the fragment was created with. It is the ceiling for text in regenerate.
Length of the fragment’s current text: after a regeneration it differs from original_text_length.
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).
How many tokens were actually charged for this fragment. Zero while the fragment is unfinished.
How many tokens are still reserved for the fragment. Drops to zero once the fragment finishes or is cancelled.
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.
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.
Duration of the produced audio in milliseconds — the length of the recording, not the generation time. null for non-audio tasks.
Attempt number for this fragment, starting at 1. It grows with every retry.
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.
Whether the fragment’s status allows a free retry. The attempt limit is not counted here — attempts_exhausted shows it.
Whether a paid regeneration is allowed right now. Available for finished fragments only.
When the fragment was created, ISO 8601.
When the fragment last changed, ISO 8601.
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.
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
objectOrder UUID. Use it in /orders/{order}/… paths and when calling POST /orders/{order}/retry.
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.
Order name: the downloaded file name and the ZIP archive name are derived from it.
templateoptionalThe 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
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.
Template UUID. Put it into template_id when creating an order.
ID of the template owner.
Short public identifier used for sharing. null on a template that was never shared.
Template name — for humans only; it does not affect generation.
Code of the service whose schema validates config: elevenlabs, lumimg, and so on.
The template’s service for reference: name and pricing, without configuration schemas. null means no service with that code exists any more.
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).
Whether the template is published in the shared catalogue.
UUID of the folder holding the template, or null for the root. The folder tree is visible in GET /templates/browse.
When the template was created, ISO 8601.
When the template last changed, ISO 8601.
UUID of the template used, or null when the order was created without one.
Task type — it determines what goes into task_data and what comes back in result.
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.
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.
The same amount as price_units, expressed in whole LMC and ready to display. null until the cost is settled.
currency_assetrequiredThe amount's asset is always LMC. Its precision is what converts minor units into the real value.
AssetAsset
The amount's asset is always LMC. Its precision is what converts minor units into the real value.
Internal identifier of the asset.
Asset code: LUMC is the internal currency, TOKEN the generation tokens.
Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.
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.
Display name of the asset, in the account language.
When the asset was retired, ISO 8601. null while it is in use.
When the asset was created, ISO 8601.
When the asset last changed, ISO 8601.
The order's full cost in tokens: the original chunks plus every retry and regeneration. This is a quota unit, not money.
Total length of the produced audio in milliseconds. This is the result's duration, not the time spent generating it.
The task input exactly as the server accepted it: text, references to uploaded files, resolved settings. The set of keys depends on task_type.
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.
When the order was created, ISO 8601.
When the order last changed, ISO 8601. It advances on every status transition, which makes it a cheap “something happened” signal.
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.
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.
true means retention has elapsed and the files are already deleted: no link can be issued, and the order has to be created again.
retentionrequiredRetention deadlines by file level. For a stitched order the per-fragment tracks are removed earlier than the result itself.
object
Retention deadlines by file level. For a stitched order the per-fragment tracks are removed earlier than the result itself.
chunksrequiredLifetime of the per-fragment tracks — pause editing, re-stitching and per-fragment regeneration all operate on them.
object
Lifetime of the per-fragment tracks — pause editing, re-stitching and per-fragment regeneration all operate on them.
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.
true means the per-fragment tracks are gone: editing and re-stitching are rejected. The finished result may still be available — check retention.files.
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.
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.
filesrequiredLifetime of every file of the order, including the result. Mirrors the top-level files_expire_at / files_expired fields.
object
Lifetime of every file of the order, including the result. Mirrors the top-level files_expire_at / files_expired fields.
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.
Same as files_expired: nothing is left to download.
Estimated time remaining, in seconds — present only while the order is running. null once it is finished, and before it starts.
Expected completion moment, ISO 8601 — the same forecast as eta_seconds, expressed as an absolute time.
How many source chunks are already finished. Retries and regenerations are excluded — counting them would push progress past 100%.
How many source chunks the order has in total. Zero means the split has not happened yet.
Completion percentage, 0–100 — derived from completed_chunks and total_chunks, so there is no need to compute it yourself.
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.
paragraphsrequiredPer-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).
nullablearray<object>
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).
Zero-based index of the paragraph.
How many chunks the paragraph was split into.
How many of the paragraph’s chunks are already finished.
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[].
Paragraph completion percentage, 0–100.
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.
itemsoptionalThe 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
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.
Chunk UUID. Use it in /orders/{order}/items/{item}/… paths.
UUID of the order this chunk belongs to.
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.
Zero-based position of the fragment within the order. It defines the order in which the final file is assembled.
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.
UUID of the source chunk — present on retry and regeneration records. null on an original chunk.
Length of the text the fragment was created with. It is the ceiling for text in regenerate.
Length of the fragment’s current text: after a regeneration it differs from original_text_length.
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).
How many tokens were actually charged for this fragment. Zero while the fragment is unfinished.
How many tokens are still reserved for the fragment. Drops to zero once the fragment finishes or is cancelled.
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.
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.
Duration of the produced audio in milliseconds — the length of the recording, not the generation time. null for non-audio tasks.
Attempt number for this fragment, starting at 1. It grows with every retry.
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.
Whether the fragment’s status allows a free retry. The attempt limit is not counted here — attempts_exhausted shows it.
Whether a paid regeneration is allowed right now. Available for finished fragments only.
When the fragment was created, ISO 8601.
When the fragment last changed, ISO 8601.
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.
How many of the spent tokens were covered by the subscription quota. null means the quota covered nothing.
How many tokens were paid for out of the LMC balance, beyond the quota. null means there was no top-up.
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.
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".
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.
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
objectChunk-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.
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.
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).
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.
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.
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
objectKey ID — the same as in the dashboard key list.
Key name set when it was issued.
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.
The key is active. An inactive key never gets here — it receives 401, so the response always has true.
When the key expires (ISO 8601; in UTC unless X-Timezone is sent); null — it never expires.
limitsrequiredKey limits: request and token windows and a token pool with no time-based reset.
object
Key limits: request and token windows and a token pool with no time-based reset.
requestsrequiredHow many requests the key may make per window; null — the window is not limited.
object
How many requests the key may make per window; null — the window is not limited.
Requests per minute; null — unlimited.
Requests per hour; null — unlimited.
Requests per day; null — unlimited.
tokensrequiredHow many generation tokens the key may spend per window; null — the window is not limited.
object
How many generation tokens the key may spend per window; null — the window is not limited.
Tokens per minute; null — unlimited.
Tokens per hour; null — unlimited.
Tokens per day; null — unlimited.
Tokens per month; null — unlimited.
quotarequiredA token pool with no time-based reset, granted by an administrator. Once it runs out, generation answers 429 token_quota_exceeded.
object
A token pool with no time-based reset, granted by an administrator. Once it runs out, generation answers 429 token_quota_exceeded.
Pool size; null — there is no pool and it does not limit the key.
How many pool tokens are already spent.
How many pool tokens are left; null — there is no pool.
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
objectitemsrequiredRecords on the current page, in the list’s sort order.
array<LumVoice>LumVoice
Records on the current page, in the list’s sort order.
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.
Display name of the voice.
Author’s description of the voice: timbre, delivery, intended use.
Voice gender.
Accent or regional pronunciation variant.
The language the voice defaults to, ISO-639-1.
Cloning state of the voice. Only a fully prepared voice can be used in orders.
Publication stage: draft, under review, published. It determines whether the voice appears in the shared catalogue GET /voices/public.
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.
When the preview clips were produced, ISO 8601. null means there is no preview yet.
When the voice was created, ISO 8601.
When the voice last changed, ISO 8601.
languagesoptionalLanguages 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
Languages the voice has been cloned into, each with its own state. An order is only possible in a language that is ready.
Internal identifier of the voice’s language version.
Language code, ISO-639-1. It is also the key used in preview_urls.
Cloning state for this language. Orders are accepted only in a language whose clone is ready.
Duration of the reference recording in milliseconds — the clone was trained on it.
Version of the trained model. It increments whenever the voice is retrained.
Why cloning failed. null when there was no failure.
When cloning started, ISO 8601.
When cloning finished, ISO 8601. null means it is still running or it failed.
When the language version last changed, ISO 8601.
preview_urlsrequiredPreview 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
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.
Current page number, starting from one.
Number of the last page. The walk is over once current_page equals last_page.
Page size the server applied.
Total number of records matching the filter.
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
objectParameters for regenerating a completed order fragment.
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).
Show an example
{
"text": "A new version of the fragment."
}No reference operation links to this schema directly — it appears inside other objects.
ResellerProfile
objectReseller ID.
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.
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).
Why the account is blocked. null while it is not blocked.
When the reseller application was approved.
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.
balanceoptionalThe 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
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).
currency_assetrequiredThe currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.
object
The currency of the amounts in the response — LMC. Use precision to convert amounts in minor units into whole LMC.
Code of the asset the amounts are expressed in.
How many decimals LMC has: real = value / 10^precision.
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
stringReseller 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
objectParameters for retrying a failed order fragment.
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.
Show an example
{
"text": "A reworded fragment of the text."
}No reference operation links to this schema directly — it appears inside other objects.
RetryOrderRequest
objectBilling 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.
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.
The top-up quote from this request's 402 response (fallback mode only). Lives about 60 seconds.
Show an example
{
"confirm_payg_topup": false,
"quote_token": "string"
}No reference operation links to this schema directly — it appears inside other objects.
Service
objectInternal numeric identifier of the service. Use code in requests, not this.
Service code — the value that goes into a template’s service_key and into the GET /usage/{service} path.
Internal service name.
Service name for display, translated into the account language.
Whether pay-as-you-go top-up beyond the subscription quota is allowed for this service.
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.
ID of the asset the service units are denominated in. The asset itself is in unit_asset.
unit_assetoptionalThe service’s unit asset; its precision is what converts the integer units_* values into decimals.
AssetAsset
The service’s unit asset; its precision is what converts the integer units_* values into decimals.
Internal identifier of the asset.
Asset code: LUMC is the internal currency, TOKEN the generation tokens.
Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.
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.
Display name of the asset, in the account language.
When the asset was retired, ISO 8601. null while it is in use.
When the asset was created, ISO 8601.
When the asset last changed, ISO 8601.
ID of the entitlement required to use the service. null means the service is open to everyone.
required_entitlementoptionalThe subscription entitlement that unlocks the service. Whether you have it is visible in GET /usage.
EntitlementEntitlement
The subscription entitlement that unlocks the service. Whether you have it is visible in GET /usage.
Internal identifier of the entitlement.
Entitlement code — a service checks it to decide whether you have access.
Display name of the entitlement, in the account language.
Extra attributes of the entitlement. The key set is free-form.
Whether the entitlement is active.
When the entitlement was created, ISO 8601.
When the entitlement last changed, ISO 8601.
Whether this capability is unlimited under the plan. Present only when the entitlement is returned in a plan context.
A value in the asset's minor units: the real one is value / 10^precision, with precision carried by unit_asset.
How many units one character costs — used under per-character billing. The value is in the asset’s minor units.
How many units one image costs. The value is in the asset’s minor units.
How many units one second of output costs. The value is in the asset’s minor units.
The minimum number of characters billed even when the text is shorter. It guards against negligible orders.
Price of a single token when topping up from LMC, in minor units. The top-up cost is tokens × lumcoin_per_token.
Number of LMC decimal places — the 10^precision divisor for every amount given in minor units.
Price in LMC minor units per unit_size natural units of the service. null means the service is priced through tokens instead.
How many natural service units price_lumc_minor is quoted for — for example, per 1000 characters.
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.
Natural billing unit for display: characters, seconds or images.
Catalogue section the service is filed under in the interface.
Sort weight in the catalogue: lower comes first.
Extra service attributes. The key set is free-form and may change — do not depend on any particular one.
Whether the service is listed in the catalogue. Order intake is stopped by maintenance_mode, not by this flag.
The service is under maintenance: creating an order, retrying and regenerating return 503. Orders already accepted keep processing.
When the service was created, ISO 8601.
When the service settings last changed, ISO 8601.
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
objectDubbing 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.
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.
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.
The dub model from the options' models. Omitted — the template model, otherwise default_model.
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.
The new order's name, up to 120 characters. Omitted — "<source name> → <LANG>".
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.
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
objectOrder creation parameters. Accepted both as application/json and as
multipart/form-data (the latter when input_files are involved).
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.
Task type for generation without a template. Required when template_id is not
sent.
| Value | What it does | Where the parameters go |
|---|---|---|
sfx | A sound effect from a text description | task_data |
music | A music track from a description | task_data |
voice_search | Finding voices similar to your audio clip | input_files (audio) + task_data.top |
tts requires a template — that is where the voice and model live.
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).
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-optionsshows 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": "…"}}returns422"text is required": the wrapper hid the key.
SFX (task_type: "sfx") — one generation yields exactly one file:
| Key | Type | Default | Purpose |
|---|---|---|---|
text | string, required | — | Description of the sound; English prompts work best |
prompt_influence | number 0..1 | 0.3 | How strictly to follow the prompt |
duration_seconds | number 0.5..30 | null | null = automatic length |
loop | boolean | false | Seamless looping |
output_format | mp3_44100_128 | mp3_44100_192 | opus_48000_128 | mp3_44100_128 | Output format |
Music (task_type: "music") — n_variants generations yield that many files:
| Key | Type | Default | Purpose |
|---|---|---|---|
prompt | string, required | — | Description of the track: genre, mood, instruments |
n_variants | integer 1..4 | 1 | How many variants to generate. Multiplies the price and yields the same number of files in result.files[] |
lyrics_text | string | null | Song lyrics; if empty and force_instrumental is off, the model may add vocals on its own |
force_instrumental | boolean | false | Instrumental only, no vocals |
music_length_ms | integer 10000..30000 | 30000 | Track length in milliseconds: 10–30 s at most, above 30000 → 422 |
model_id | music_v2 | music_v2 | Currently the only value |
Voice Search (task_type: "voice_search") — the audio clip travels in
input_files; only one parameter lives here:
| Key | Type | Default | Purpose |
|---|---|---|---|
top | integer 1..50 | 10 | How many similar voices to return |
What drives the price
What counts is the number of generations, not their size:
| Type | Price | Does NOT affect the price |
|---|---|---|
sfx | One service rate per order | duration_seconds, the length of text |
music | Rate × n_variants | music_length_ms, the length of prompt, lyrics_text |
voice_search | One rate per order | Clip 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.
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
nulldoes 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 putsnullinto 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"}| Value | What it does |
|---|---|
paragraph | A paragraph becomes a unit of generation in its own right |
default | Continuous 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.
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.
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:
| Channel | When to use it |
|---|---|
input_text | The 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.text | Template-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).
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.
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.
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 type | File |
|---|---|
tts (narration) | A .txt — a full replacement for input_text: its contents become the text to narrate |
voice_search | An 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, music | Unused — the whole description lives in task_data |
input_refsoptionalInput 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: 20array<object>
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).
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
objectA new generation template. config is validated against the service schema — take the
structure for your service_key from GET /templates/config-options.
UUID of one of your folders. Omitted — the template is created at the root.
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.
Template name, up to 255 characters. Shown in GET /templates and in the web interface.
Publish the template in the shared catalogue. Defaults to false — visible only to you.
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):
| Model | Without the flag | With the flag |
|---|---|---|
eleven_v3, eleven_v3_beta | stability | all five |
eleven_v4, eleven_v4_exp | stability, similarity_boost, clone_strength | all five + clone_strength |
| others | all five | all 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.
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
objectitemsrequiredRecords on the current page, in the list’s sort order.
array<Template>Template
Records on the current page, in the list’s sort order.
Template UUID. Put it into template_id when creating an order.
ID of the template owner.
Short public identifier used for sharing. null on a template that was never shared.
Template name — for humans only; it does not affect generation.
Code of the service whose schema validates config: elevenlabs, lumimg, and so on.
The template’s service for reference: name and pricing, without configuration schemas. null means no service with that code exists any more.
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).
Whether the template is published in the shared catalogue.
UUID of the folder holding the template, or null for the root. The folder tree is visible in GET /templates/browse.
When the template was created, ISO 8601.
When the template last changed, ISO 8601.
Current page number, starting from one.
Number of the last page. The walk is over once current_page equals last_page.
Page size the server applied.
Total number of records matching the filter.
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
objectShow 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
objectTemplate UUID. Put it into template_id when creating an order.
ID of the template owner.
Short public identifier used for sharing. null on a template that was never shared.
Template name — for humans only; it does not affect generation.
Code of the service whose schema validates config: elevenlabs, lumimg, and so on.
The template’s service for reference: name and pricing, without configuration schemas. null means no service with that code exists any more.
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).
Whether the template is published in the shared catalogue.
UUID of the folder holding the template, or null for the root. The folder tree is visible in GET /templates/browse.
When the template was created, ISO 8601.
When the template last changed, ISO 8601.
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
objectPartial 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.
UUID of the folder to move the template into. null moves it to the root.
New service code. Changes only together with config — the config is validated against the new service's schema.
New template name, up to 255 characters.
Publish the template in the shared catalogue, or unpublish it.
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>.
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
objectRecords on the current page, in the list’s sort order.
Current page number, starting from one.
Number of the last page. The walk is over once current_page equals last_page.
Page size the server applied.
Total number of records matching the filter.
Show an example
{
"items": [
{}
],
"current_page": 1,
"last_page": 1,
"per_page": 1,
"total": 1
}Used by 1 operations
VoiceLanguage
objectInternal identifier of the voice’s language version.
Language code, ISO-639-1. It is also the key used in preview_urls.
Cloning state for this language. Orders are accepted only in a language whose clone is ready.
Duration of the reference recording in milliseconds — the clone was trained on it.
Version of the trained model. It increments whenever the voice is retrained.
Why cloning failed. null when there was no failure.
When cloning started, ISO 8601.
When cloning finished, ISO 8601. null means it is still running or it failed.
When the language version last changed, ISO 8601.
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"
}Used by 2 operations
VoiceTag
objectInternal identifier of the tag.
Tag code — the stable value to filter by, unlike the translatable name.
Tag name in the account language.
Explanation of the tag in the account language, when the author provided one.
Tag colour in HEX — a styling hint.
Sort weight within the tag list: lower comes first.
Show an example
{
"id": 1,
"code": "string",
"name": "string",
"description": "string",
"color": "string",
"sort_order": 1
}Used by 3 operations
WalletList
objectitemsrequiredRecords on the current page, in the list’s sort order.
array<Wallet>Wallet
Records on the current page, in the list’s sort order.
Wallet ID. Use it to filter the history: GET /ledger-transactions?wallet_id=.
ID of the wallet owner — always the key owner.
ID of the asset the wallet is kept in; the asset itself is in asset.
Wallet purpose: main is the main balance, referral holds referral earnings.
Balance in the asset’s minor units: amount = balance / 10^asset.precision. An integer, not a fraction.
Locked part of the balance in the asset’s minor units — reserved for orders in progress and payout requests, so it cannot be spent.
Balance as a decimal number by asset.precision (balance / 10^precision), ready to display.
Locked part of the balance as a decimal number by asset.precision.
balance_convertedrequiredInformational 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.
nullableobject
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.
Display currency code (ISO 4217).
Amount in the display currency, rounded to its precision.
Currency symbol for display; null if the currency has none.
Number of decimal places of the display currency.
assetoptionalThe wallet asset: code, kind and the precision that turns balance into an amount.
AssetAsset
The wallet asset: code, kind and the precision that turns balance into an amount.
Internal identifier of the asset.
Asset code: LUMC is the internal currency, TOKEN the generation tokens.
Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.
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.
Display name of the asset, in the account language.
When the asset was retired, ISO 8601. null while it is in use.
When the asset was created, ISO 8601.
When the asset last changed, ISO 8601.
When the wallet was deleted; null for wallets in this list.
When the wallet was created.
When the wallet last changed, balance included.
Current page number, starting from one.
Number of the last page. The walk is over once current_page equals last_page.
Page size the server applied.
Total number of records matching the filter.
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
objectWallet ID. Use it to filter the history: GET /ledger-transactions?wallet_id=.
ID of the wallet owner — always the key owner.
ID of the asset the wallet is kept in; the asset itself is in asset.
Wallet purpose: main is the main balance, referral holds referral earnings.
Balance in the asset’s minor units: amount = balance / 10^asset.precision. An integer, not a fraction.
Locked part of the balance in the asset’s minor units — reserved for orders in progress and payout requests, so it cannot be spent.
Balance as a decimal number by asset.precision (balance / 10^precision), ready to display.
Locked part of the balance as a decimal number by asset.precision.
balance_convertedrequiredInformational 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.
nullableobject
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.
Display currency code (ISO 4217).
Amount in the display currency, rounded to its precision.
Currency symbol for display; null if the currency has none.
Number of decimal places of the display currency.
assetoptionalThe wallet asset: code, kind and the precision that turns balance into an amount.
AssetAsset
The wallet asset: code, kind and the precision that turns balance into an amount.
Internal identifier of the asset.
Asset code: LUMC is the internal currency, TOKEN the generation tokens.
Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption.
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.
Display name of the asset, in the account language.
When the asset was retired, ISO 8601. null while it is in use.
When the asset was created, ISO 8601.
When the asset last changed, ISO 8601.
When the wallet was deleted; null for wallets in this list.
When the wallet was created.
When the wallet last changed, balance included.
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
API version 1.0.0