@nodaro/sdk 2.44.0 → 2.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-ETX3TLNB.cjs → chunk-22P4X3N5.cjs} +16 -5
- package/dist/chunk-22P4X3N5.cjs.map +1 -0
- package/dist/{chunk-RETNLKOC.js → chunk-33HT46A3.js} +2 -2
- package/dist/{chunk-RETNLKOC.js.map → chunk-33HT46A3.js.map} +1 -1
- package/dist/{chunk-IGMWFEFB.js → chunk-5MOJSYHI.js} +2 -2
- package/dist/chunk-5MOJSYHI.js.map +1 -0
- package/dist/{chunk-DAGJLS7W.js → chunk-5Q4SUZPL.js} +3 -3
- package/dist/{chunk-DAGJLS7W.js.map → chunk-5Q4SUZPL.js.map} +1 -1
- package/dist/{chunk-55ZX6TE3.cjs → chunk-66M54BUO.cjs} +6 -6
- package/dist/chunk-66M54BUO.cjs.map +1 -0
- package/dist/chunk-6NTKEXT5.js +3 -0
- package/dist/chunk-6NTKEXT5.js.map +1 -0
- package/dist/{chunk-FQNCIP6K.js → chunk-7LODCIQK.js} +2 -2
- package/dist/chunk-7LODCIQK.js.map +1 -0
- package/dist/{chunk-34JMD6ZO.cjs → chunk-7LTVS75S.cjs} +36 -12
- package/dist/chunk-7LTVS75S.cjs.map +1 -0
- package/dist/{chunk-DQAYIVVS.js → chunk-BQAW4RX2.js} +16 -5
- package/dist/chunk-BQAW4RX2.js.map +1 -0
- package/dist/{chunk-HKDIIFG2.js → chunk-C3C7IL25.js} +6 -6
- package/dist/chunk-C3C7IL25.js.map +1 -0
- package/dist/{chunk-QHXLMCBR.cjs → chunk-DIF7A5OH.cjs} +2 -2
- package/dist/chunk-DIF7A5OH.cjs.map +1 -0
- package/dist/{chunk-PQ7OKM3E.cjs → chunk-FIMBPKIH.cjs} +2 -2
- package/dist/chunk-FIMBPKIH.cjs.map +1 -0
- package/dist/{chunk-ZWPDWFN2.js → chunk-GW76IRQD.js} +2 -2
- package/dist/chunk-GW76IRQD.js.map +1 -0
- package/dist/{chunk-YSZM3N7Q.js → chunk-HPXE3NZW.js} +2 -2
- package/dist/{chunk-YSZM3N7Q.js.map → chunk-HPXE3NZW.js.map} +1 -1
- package/dist/{chunk-OIYMTGYN.cjs → chunk-JOXZ4ZIF.cjs} +2 -2
- package/dist/chunk-JOXZ4ZIF.cjs.map +1 -0
- package/dist/chunk-KBHDUHKM.js +21 -0
- package/dist/chunk-KBHDUHKM.js.map +1 -0
- package/dist/{chunk-FHVNTS4E.cjs → chunk-KMNSPC72.cjs} +2 -2
- package/dist/{chunk-FHVNTS4E.cjs.map → chunk-KMNSPC72.cjs.map} +1 -1
- package/dist/{chunk-ILG5DHQQ.js → chunk-M7VSFZMV.js} +2 -2
- package/dist/chunk-M7VSFZMV.js.map +1 -0
- package/dist/{chunk-3ZZWCHF5.cjs → chunk-POKNFGGD.cjs} +33 -29
- package/dist/chunk-POKNFGGD.cjs.map +1 -0
- package/dist/{chunk-6MQ2LTJZ.js → chunk-PQHZUWSL.js} +36 -12
- package/dist/chunk-PQHZUWSL.js.map +1 -0
- package/dist/{chunk-Z7UZ3FD3.js → chunk-RBX3QTKB.js} +2 -2
- package/dist/{chunk-Z7UZ3FD3.js.map → chunk-RBX3QTKB.js.map} +1 -1
- package/dist/{chunk-7XOK277W.cjs → chunk-SF2CMKWA.cjs} +2 -2
- package/dist/{chunk-7XOK277W.cjs.map → chunk-SF2CMKWA.cjs.map} +1 -1
- package/dist/{chunk-2VJOHJUZ.cjs → chunk-TK2CEVSK.cjs} +2 -2
- package/dist/chunk-TK2CEVSK.cjs.map +1 -0
- package/dist/chunk-UANHMQ3A.cjs +4 -0
- package/dist/chunk-UANHMQ3A.cjs.map +1 -0
- package/dist/{chunk-EK672FFM.cjs → chunk-UIBYZNDR.cjs} +2 -2
- package/dist/chunk-UIBYZNDR.cjs.map +1 -0
- package/dist/{chunk-6PI3CI7P.js → chunk-WFAFFAGV.js} +20 -16
- package/dist/chunk-WFAFFAGV.js.map +1 -0
- package/dist/{chunk-PEMLIAPZ.cjs → chunk-WMT7HEBZ.cjs} +40 -7
- package/dist/chunk-WMT7HEBZ.cjs.map +1 -0
- package/dist/{chunk-Y6VDCZPB.js → chunk-WS4ZQ4AA.js} +40 -7
- package/dist/chunk-WS4ZQ4AA.js.map +1 -0
- package/dist/{chunk-VYEGCEZ3.cjs → chunk-WUM6CWTE.cjs} +2 -2
- package/dist/{chunk-VYEGCEZ3.cjs.map → chunk-WUM6CWTE.cjs.map} +1 -1
- package/dist/{chunk-4UPVE662.js → chunk-XILR6TFO.js} +2 -2
- package/dist/chunk-XILR6TFO.js.map +1 -0
- package/dist/chunk-XKDVEQVD.cjs +23 -0
- package/dist/chunk-XKDVEQVD.cjs.map +1 -0
- package/dist/{chunk-MPQQC45L.cjs → chunk-ZJCHIJND.cjs} +3 -3
- package/dist/{chunk-MPQQC45L.cjs.map → chunk-ZJCHIJND.cjs.map} +1 -1
- package/dist/entries/apps.cjs +2 -2
- package/dist/entries/apps.d.cts +1 -1
- package/dist/entries/apps.d.ts +1 -1
- package/dist/entries/apps.js +1 -1
- package/dist/entries/cast-swap.cjs +2 -2
- package/dist/entries/cast-swap.d.cts +117 -143
- package/dist/entries/cast-swap.d.ts +117 -143
- package/dist/entries/cast-swap.js +1 -1
- package/dist/entries/characters.d.cts +1 -1
- package/dist/entries/characters.d.ts +1 -1
- package/dist/entries/client.cjs +21 -20
- package/dist/entries/client.d.cts +4 -1
- package/dist/entries/client.d.ts +4 -1
- package/dist/entries/client.js +16 -15
- package/dist/entries/core.cjs +5 -5
- package/dist/entries/core.js +1 -1
- package/dist/entries/creatures.d.cts +1 -1
- package/dist/entries/creatures.d.ts +1 -1
- package/dist/entries/credits.cjs +2 -2
- package/dist/entries/credits.d.cts +2 -2
- package/dist/entries/credits.d.ts +2 -2
- package/dist/entries/credits.js +1 -1
- package/dist/entries/edit.cjs +6 -6
- package/dist/entries/edit.d.cts +1 -1
- package/dist/entries/edit.d.ts +1 -1
- package/dist/entries/edit.js +1 -1
- package/dist/entries/jobs.cjs +2 -2
- package/dist/entries/jobs.d.cts +57 -8
- package/dist/entries/jobs.d.ts +57 -8
- package/dist/entries/jobs.js +1 -1
- package/dist/entries/locations.d.cts +1 -1
- package/dist/entries/locations.d.ts +1 -1
- package/dist/entries/media.cjs +2 -2
- package/dist/entries/media.d.cts +14 -3
- package/dist/entries/media.d.ts +14 -3
- package/dist/entries/media.js +1 -1
- package/dist/entries/nodes.cjs +2 -2
- package/dist/entries/nodes.d.cts +1 -1
- package/dist/entries/nodes.d.ts +1 -1
- package/dist/entries/nodes.js +1 -1
- package/dist/entries/objects.d.cts +1 -1
- package/dist/entries/objects.d.ts +1 -1
- package/dist/entries/scene3d.d.cts +2 -2
- package/dist/entries/scene3d.d.ts +2 -2
- package/dist/entries/sessions.cjs +2 -2
- package/dist/entries/sessions.d.cts +58 -8
- package/dist/entries/sessions.d.ts +58 -8
- package/dist/entries/sessions.js +1 -1
- package/dist/entries/templates.cjs +2 -2
- package/dist/entries/templates.d.cts +1 -1
- package/dist/entries/templates.d.ts +1 -1
- package/dist/entries/templates.js +1 -1
- package/dist/entries/trash.cjs +13 -0
- package/dist/entries/trash.cjs.map +1 -0
- package/dist/entries/trash.d.cts +71 -0
- package/dist/entries/trash.d.ts +71 -0
- package/dist/entries/trash.js +4 -0
- package/dist/entries/trash.js.map +1 -0
- package/dist/entries/trends.cjs +2 -2
- package/dist/entries/trends.d.cts +86 -28
- package/dist/entries/trends.d.ts +86 -28
- package/dist/entries/trends.js +1 -1
- package/dist/entries/tutorials.cjs +2 -2
- package/dist/entries/tutorials.d.cts +1 -1
- package/dist/entries/tutorials.d.ts +1 -1
- package/dist/entries/tutorials.js +1 -1
- package/dist/entries/workflows.cjs +2 -2
- package/dist/entries/workflows.d.cts +11 -4
- package/dist/entries/workflows.d.ts +11 -4
- package/dist/entries/workflows.js +1 -1
- package/dist/index.cjs +48 -42
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +18 -16
- package/dist/{nodes-B4ZEqx2V.d.ts → nodes-C9j0PFto.d.ts} +12 -2
- package/dist/{nodes-DzBGNOUV.d.cts → nodes-DGIefTze.d.cts} +12 -2
- package/package.json +8 -3
- package/dist/chunk-2VJOHJUZ.cjs.map +0 -1
- package/dist/chunk-34JMD6ZO.cjs.map +0 -1
- package/dist/chunk-3ZZWCHF5.cjs.map +0 -1
- package/dist/chunk-4UPVE662.js.map +0 -1
- package/dist/chunk-55ZX6TE3.cjs.map +0 -1
- package/dist/chunk-6MQ2LTJZ.js.map +0 -1
- package/dist/chunk-6PI3CI7P.js.map +0 -1
- package/dist/chunk-DQAYIVVS.js.map +0 -1
- package/dist/chunk-EK672FFM.cjs.map +0 -1
- package/dist/chunk-ETX3TLNB.cjs.map +0 -1
- package/dist/chunk-FQNCIP6K.js.map +0 -1
- package/dist/chunk-HKDIIFG2.js.map +0 -1
- package/dist/chunk-IGMWFEFB.js.map +0 -1
- package/dist/chunk-ILG5DHQQ.js.map +0 -1
- package/dist/chunk-OIYMTGYN.cjs.map +0 -1
- package/dist/chunk-PEMLIAPZ.cjs.map +0 -1
- package/dist/chunk-PQ7OKM3E.cjs.map +0 -1
- package/dist/chunk-QHXLMCBR.cjs.map +0 -1
- package/dist/chunk-Y6VDCZPB.js.map +0 -1
- package/dist/chunk-ZWPDWFN2.js.map +0 -1
package/dist/entries/client.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
export { NodaroClient, createClient } from '../chunk-
|
|
1
|
+
export { NodaroClient, createClient } from '../chunk-WFAFFAGV.js';
|
|
2
|
+
import '../chunk-WY4QRJZW.js';
|
|
2
3
|
import '../chunk-ERLXU47J.js';
|
|
3
4
|
import '../chunk-T7N7DFQJ.js';
|
|
4
5
|
import '../chunk-YN6CBIIB.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-33HT46A3.js';
|
|
6
7
|
import '../chunk-Z5GLY4R3.js';
|
|
7
8
|
import '../chunk-NNHWH7ER.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-WS4ZQ4AA.js';
|
|
9
10
|
import '../chunk-WVFAQBS7.js';
|
|
10
11
|
import '../chunk-AUKHMT53.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-M7VSFZMV.js';
|
|
13
|
+
import '../chunk-KBHDUHKM.js';
|
|
14
|
+
import '../chunk-XILR6TFO.js';
|
|
15
|
+
import '../chunk-HPXE3NZW.js';
|
|
15
16
|
import '../chunk-WEQWU2IC.js';
|
|
16
17
|
import '../chunk-KFZOJBI5.js';
|
|
17
18
|
import '../chunk-K4RQOSJH.js';
|
|
@@ -20,18 +21,18 @@ import '../chunk-OIPPTBW4.js';
|
|
|
20
21
|
import '../chunk-AJVSMNPZ.js';
|
|
21
22
|
import '../chunk-IHKIYVZQ.js';
|
|
22
23
|
import '../chunk-NCCBS6GU.js';
|
|
23
|
-
import '../chunk-
|
|
24
|
+
import '../chunk-BQAW4RX2.js';
|
|
24
25
|
import '../chunk-Y6V6CBY5.js';
|
|
25
26
|
import '../chunk-YVU2M7MI.js';
|
|
26
27
|
import '../chunk-JTAW54UM.js';
|
|
27
|
-
import '../chunk-
|
|
28
|
+
import '../chunk-GW76IRQD.js';
|
|
28
29
|
import '../chunk-Z7LGWNI7.js';
|
|
29
30
|
import '../chunk-7LSFG2AF.js';
|
|
30
31
|
import '../chunk-ALSLZG3U.js';
|
|
31
|
-
import '../chunk-
|
|
32
|
+
import '../chunk-RBX3QTKB.js';
|
|
32
33
|
import '../chunk-Z3ZKFI2M.js';
|
|
33
34
|
import '../chunk-JDEZHITT.js';
|
|
34
|
-
import '../chunk-
|
|
35
|
+
import '../chunk-PQHZUWSL.js';
|
|
35
36
|
import '../chunk-P6E4QDJN.js';
|
|
36
37
|
import '../chunk-E37CVHWW.js';
|
|
37
38
|
import '../chunk-TVENC6PH.js';
|
|
@@ -40,15 +41,15 @@ import '../chunk-SFB4YLCS.js';
|
|
|
40
41
|
import '../chunk-BU5A6K4C.js';
|
|
41
42
|
import '../chunk-D2ILCSOQ.js';
|
|
42
43
|
import '../chunk-7CUWAVWB.js';
|
|
43
|
-
export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-
|
|
44
|
+
export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-5Q4SUZPL.js';
|
|
44
45
|
import '../chunk-L6T44A3G.js';
|
|
45
46
|
import '../chunk-CK3AMMSC.js';
|
|
46
|
-
import '../chunk-
|
|
47
|
+
import '../chunk-5MOJSYHI.js';
|
|
47
48
|
import '../chunk-65E3JBFZ.js';
|
|
48
|
-
import '../chunk-
|
|
49
|
+
import '../chunk-7LODCIQK.js';
|
|
49
50
|
import '../chunk-3QFTP5P5.js';
|
|
50
51
|
import '../chunk-J4WFSKY6.js';
|
|
51
|
-
import '../chunk-
|
|
52
|
+
import '../chunk-C3C7IL25.js';
|
|
52
53
|
import '../chunk-KG4R454Z.js';
|
|
53
54
|
import '../chunk-EJSGJDZY.js';
|
|
54
55
|
//# sourceMappingURL=client.js.map
|
package/dist/entries/core.cjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-X7XP5WBP.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkZJCHIJND_cjs = require('../chunk-ZJCHIJND.cjs');
|
|
5
5
|
require('../chunk-FM2KM5TY.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "CallbackAuth", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkZJCHIJND_cjs.CallbackAuth; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "NodaroClientCore", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkZJCHIJND_cjs.NodaroClientCore; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "StaticTokenAuth", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkZJCHIJND_cjs.StaticTokenAuth; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "supabaseAuth", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkZJCHIJND_cjs.supabaseAuth; }
|
|
24
24
|
});
|
|
25
25
|
//# sourceMappingURL=core.cjs.map
|
|
26
26
|
//# sourceMappingURL=core.cjs.map
|
package/dist/entries/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-AUDHV3OE.js';
|
|
2
|
-
export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from '../chunk-
|
|
2
|
+
export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from '../chunk-5Q4SUZPL.js';
|
|
3
3
|
import '../chunk-L6T44A3G.js';
|
|
4
4
|
//# sourceMappingURL=core.js.map
|
|
5
5
|
//# sourceMappingURL=core.js.map
|
|
@@ -2,7 +2,7 @@ import { CreatureAttachColumn, ObjectAspectRatio } from '@nodaro/shared/entities
|
|
|
2
2
|
export { OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn } from '@nodaro/shared/entities';
|
|
3
3
|
import { TtsProvider } from '@nodaro/shared/models';
|
|
4
4
|
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.cjs';
|
|
5
|
-
import { l as GenerationSessionParams } from '../nodes-
|
|
5
|
+
import { l as GenerationSessionParams } from '../nodes-DGIefTze.cjs';
|
|
6
6
|
import '@nodaro/shared/apps';
|
|
7
7
|
import '@nodaro/shared/organizations';
|
|
8
8
|
import '@nodaro/shared/types';
|
|
@@ -2,7 +2,7 @@ import { CreatureAttachColumn, ObjectAspectRatio } from '@nodaro/shared/entities
|
|
|
2
2
|
export { OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn } from '@nodaro/shared/entities';
|
|
3
3
|
import { TtsProvider } from '@nodaro/shared/models';
|
|
4
4
|
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.js';
|
|
5
|
-
import { l as GenerationSessionParams } from '../nodes-
|
|
5
|
+
import { l as GenerationSessionParams } from '../nodes-C9j0PFto.js';
|
|
6
6
|
import '@nodaro/shared/apps';
|
|
7
7
|
import '@nodaro/shared/organizations';
|
|
8
8
|
import '@nodaro/shared/types';
|
package/dist/entries/credits.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-ALUUBPDG.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkFIMBPKIH_cjs = require('../chunk-FIMBPKIH.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "CreditsResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkFIMBPKIH_cjs.CreditsResource; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=credits.cjs.map
|
|
13
13
|
//# sourceMappingURL=credits.cjs.map
|
|
@@ -118,7 +118,7 @@ interface ModelCostsResult {
|
|
|
118
118
|
* The identifiers in `data` whose figure is an ESTIMATE, not a fixed price:
|
|
119
119
|
* metered LLM price keys (`llmPriceKey` from `@nodaro/shared/llm-models`,
|
|
120
120
|
* `<feature>:<model>[:direct]`), charged on what the call actually uses.
|
|
121
|
-
* Show these as
|
|
121
|
+
* Show these as `≈N`. Omitted when there are none, so a batch of fixed ids
|
|
122
122
|
* answers exactly as it always has. A metered key that lands in `missing`
|
|
123
123
|
* instead means the server is not pricing LLM calls per model — show no
|
|
124
124
|
* price for it.
|
|
@@ -135,7 +135,7 @@ interface ModelCostError {
|
|
|
135
135
|
/**
|
|
136
136
|
* Result of `GET /v1/credits/model-cost?model=<id>` (`data`): the credits one
|
|
137
137
|
* identifier is charged. `estimate: true` marks a metered LLM price key's
|
|
138
|
-
* figure as an estimate (show it as
|
|
138
|
+
* figure as an estimate (show it as `≈N`); such an answer is never cached.
|
|
139
139
|
*/
|
|
140
140
|
interface ModelCostResult {
|
|
141
141
|
model: string;
|
|
@@ -118,7 +118,7 @@ interface ModelCostsResult {
|
|
|
118
118
|
* The identifiers in `data` whose figure is an ESTIMATE, not a fixed price:
|
|
119
119
|
* metered LLM price keys (`llmPriceKey` from `@nodaro/shared/llm-models`,
|
|
120
120
|
* `<feature>:<model>[:direct]`), charged on what the call actually uses.
|
|
121
|
-
* Show these as
|
|
121
|
+
* Show these as `≈N`. Omitted when there are none, so a batch of fixed ids
|
|
122
122
|
* answers exactly as it always has. A metered key that lands in `missing`
|
|
123
123
|
* instead means the server is not pricing LLM calls per model — show no
|
|
124
124
|
* price for it.
|
|
@@ -135,7 +135,7 @@ interface ModelCostError {
|
|
|
135
135
|
/**
|
|
136
136
|
* Result of `GET /v1/credits/model-cost?model=<id>` (`data`): the credits one
|
|
137
137
|
* identifier is charged. `estimate: true` marks a metered LLM price key's
|
|
138
|
-
* figure as an estimate (show it as
|
|
138
|
+
* figure as an estimate (show it as `≈N`); such an answer is never cached.
|
|
139
139
|
*/
|
|
140
140
|
interface ModelCostResult {
|
|
141
141
|
model: string;
|
package/dist/entries/credits.js
CHANGED
package/dist/entries/edit.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk6T54F65Q_cjs = require('../chunk-6T54F65Q.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkSF2CMKWA_cjs = require('../chunk-SF2CMKWA.cjs');
|
|
5
5
|
require('../chunk-FM2KM5TY.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
@@ -12,23 +12,23 @@ Object.defineProperty(exports, "unwrapEditPlanOutput", {
|
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "CLIP_PACK_MAX_TARGET_SEC", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkSF2CMKWA_cjs.CLIP_PACK_MAX_TARGET_SEC; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "CLIP_PACK_MIN_TARGET_SEC", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkSF2CMKWA_cjs.CLIP_PACK_MIN_TARGET_SEC; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "EditResource", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkSF2CMKWA_cjs.EditResource; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "TRAILER_FORMATS", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkSF2CMKWA_cjs.TRAILER_FORMATS; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "USE_CASE_NODE_TYPES", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkSF2CMKWA_cjs.USE_CASE_NODE_TYPES; }
|
|
32
32
|
});
|
|
33
33
|
//# sourceMappingURL=edit.cjs.map
|
|
34
34
|
//# sourceMappingURL=edit.cjs.map
|
package/dist/entries/edit.d.cts
CHANGED
|
@@ -546,7 +546,7 @@ interface UseCaseEstimate {
|
|
|
546
546
|
/** The per-run fee. */
|
|
547
547
|
feeCredits: number;
|
|
548
548
|
/** A step is a metered LLM call's ESTIMATE (charged its actual usage), so the
|
|
549
|
-
* total is one: show it
|
|
549
|
+
* total is one: show it `≈N`. Absent for a fixed figure. */
|
|
550
550
|
estimate?: true;
|
|
551
551
|
/** The recording's length, in seconds. */
|
|
552
552
|
durationSec: number | null;
|
package/dist/entries/edit.d.ts
CHANGED
|
@@ -546,7 +546,7 @@ interface UseCaseEstimate {
|
|
|
546
546
|
/** The per-run fee. */
|
|
547
547
|
feeCredits: number;
|
|
548
548
|
/** A step is a metered LLM call's ESTIMATE (charged its actual usage), so the
|
|
549
|
-
* total is one: show it
|
|
549
|
+
* total is one: show it `≈N`. Absent for a fixed figure. */
|
|
550
550
|
estimate?: true;
|
|
551
551
|
/** The recording's length, in seconds. */
|
|
552
552
|
durationSec: number | null;
|
package/dist/entries/edit.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { unwrapEditPlanOutput } from '../chunk-UKB64254.js';
|
|
2
|
-
export { CLIP_PACK_MAX_TARGET_SEC, CLIP_PACK_MIN_TARGET_SEC, EditResource, TRAILER_FORMATS, USE_CASE_NODE_TYPES } from '../chunk-
|
|
2
|
+
export { CLIP_PACK_MAX_TARGET_SEC, CLIP_PACK_MIN_TARGET_SEC, EditResource, TRAILER_FORMATS, USE_CASE_NODE_TYPES } from '../chunk-RBX3QTKB.js';
|
|
3
3
|
import '../chunk-L6T44A3G.js';
|
|
4
4
|
//# sourceMappingURL=edit.js.map
|
|
5
5
|
//# sourceMappingURL=edit.js.map
|
package/dist/entries/jobs.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-EHRWTYGR.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk7LTVS75S_cjs = require('../chunk-7LTVS75S.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "JobsResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk7LTVS75S_cjs.JobsResource; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=jobs.cjs.map
|
|
13
13
|
//# sourceMappingURL=jobs.cjs.map
|
package/dist/entries/jobs.d.cts
CHANGED
|
@@ -160,6 +160,17 @@ interface Job {
|
|
|
160
160
|
/** The generation session this job was born in (the `sessionId` sent with
|
|
161
161
|
* the generation request), or null. See `client.sessions`. */
|
|
162
162
|
session_id?: string | null;
|
|
163
|
+
/**
|
|
164
|
+
* With `list({ withSessions: true })`: every session that holds the job now,
|
|
165
|
+
* each linkable — empty when it is in no session (General). Absent otherwise.
|
|
166
|
+
*/
|
|
167
|
+
sessions?: JobSessionRef[];
|
|
168
|
+
/**
|
|
169
|
+
* When the job was deleted, on a job read from the Trash
|
|
170
|
+
* (`client.trash.list()`). A deleted job is left out of every other read, so
|
|
171
|
+
* this is otherwise absent or `null`.
|
|
172
|
+
*/
|
|
173
|
+
deleted_at?: string | null;
|
|
163
174
|
/**
|
|
164
175
|
* Whether the job's owner favorited it (`client.gallery.toggleFavorite`).
|
|
165
176
|
* Returned by `get()` and `list()`. Absent from an older server, and when
|
|
@@ -191,6 +202,13 @@ type JobSource = "internal" | "mcp" | "app" | "cli" | "sdk" | "extension" | "web
|
|
|
191
202
|
interface DeleteJobResult {
|
|
192
203
|
success: true;
|
|
193
204
|
}
|
|
205
|
+
/** A session that holds a job now (`Job.sessions`). */
|
|
206
|
+
interface JobSessionRef {
|
|
207
|
+
id: string;
|
|
208
|
+
title: string | null;
|
|
209
|
+
/** The session's project, or `null` when it has none. */
|
|
210
|
+
projectId: string | null;
|
|
211
|
+
}
|
|
194
212
|
interface ListJobsParams {
|
|
195
213
|
/** One status or several (a job matching any of them). An unknown status is a 400. */
|
|
196
214
|
status?: JobStatus | readonly JobStatus[];
|
|
@@ -208,6 +226,19 @@ interface ListJobsParams {
|
|
|
208
226
|
rating?: JobRatingFilter;
|
|
209
227
|
/** The jobs of one generate-image batch (`count` / `models`) — its `batchId`. */
|
|
210
228
|
batchId?: string;
|
|
229
|
+
/**
|
|
230
|
+
* The jobs a session of this project holds now — or, `"none"`, a session
|
|
231
|
+
* with no project. Each job once, however many sessions hold it. Not with
|
|
232
|
+
* `inSession: false`.
|
|
233
|
+
*/
|
|
234
|
+
projectId?: string | "none";
|
|
235
|
+
/**
|
|
236
|
+
* `false`: the jobs no session holds now (General), whatever session they
|
|
237
|
+
* were born in. `true`: the jobs at least one session holds.
|
|
238
|
+
*/
|
|
239
|
+
inSession?: boolean;
|
|
240
|
+
/** `true`: each job carries `sessions`, the sessions that hold it now. */
|
|
241
|
+
withSessions?: boolean;
|
|
211
242
|
/** Page size, 1–100 (server default 50). */
|
|
212
243
|
limit?: number;
|
|
213
244
|
/** The previous page's `next`. */
|
|
@@ -279,8 +310,11 @@ declare class JobsResource {
|
|
|
279
310
|
* a client app lists its runs with `{ type: "llm-structured", origin: "studio" }`.
|
|
280
311
|
* `status` and `type` take one value or a list; `favorited` and `rating`
|
|
281
312
|
* filter on your own marks, `source` on the surface that created the job.
|
|
282
|
-
*
|
|
283
|
-
*
|
|
313
|
+
* `projectId` / `inSession` filter on where the job is now (a project's
|
|
314
|
+
* sessions, or General), and `withSessions` says which sessions each job is
|
|
315
|
+
* in — for "everything in this project". Every filter combines with AND,
|
|
316
|
+
* and each job carries `favorited` and `rating`. A deleted job is never
|
|
317
|
+
* listed: read the Trash with `client.trash.list()`.
|
|
284
318
|
*/
|
|
285
319
|
list(params?: ListJobsParams): Promise<ListJobsPage>;
|
|
286
320
|
/**
|
|
@@ -322,12 +356,27 @@ declare class JobsResource {
|
|
|
322
356
|
*/
|
|
323
357
|
cancel(id: string): Promise<CancelJobResult>;
|
|
324
358
|
/**
|
|
325
|
-
* Delete a job
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
*
|
|
359
|
+
* Delete a job: it goes to the Trash (`client.trash.list()`). It is left out
|
|
360
|
+
* of every read from then on, stays restorable for 30 days ({@link restore},
|
|
361
|
+
* back into the sessions it was in), and is then deleted for good, as a
|
|
362
|
+
* delete always was (a copy saved to the Library stays). `{ forever: true }` deletes a job already in the Trash for good now;
|
|
363
|
+
* on a live job it fails with a 409 `NodaroError` whose `code` is
|
|
364
|
+
* `"not_in_trash"`. Only the job's owner (or an admin) may delete it; a job
|
|
365
|
+
* that is still running keeps running — cancel it first when its worker
|
|
366
|
+
* should stop ({@link cancel}). Nothing is refunded. OAuth apps need the
|
|
367
|
+
* `assets:write` scope.
|
|
329
368
|
*/
|
|
330
|
-
delete(id: string
|
|
369
|
+
delete(id: string, options?: {
|
|
370
|
+
forever?: boolean;
|
|
371
|
+
}): Promise<DeleteJobResult>;
|
|
372
|
+
/**
|
|
373
|
+
* Bring a deleted job back from the Trash: it reappears in every read and in
|
|
374
|
+
* every session it was in. A job that is not in the Trash succeeds too.
|
|
375
|
+
* OAuth apps need the `assets:write` scope.
|
|
376
|
+
*/
|
|
377
|
+
restore(id: string): Promise<{
|
|
378
|
+
success: true;
|
|
379
|
+
}>;
|
|
331
380
|
}
|
|
332
381
|
|
|
333
|
-
export { type CancelJobResult, type CreditStatus, type CreditsHint, type DeleteJobResult, type InputRefusedHint, type Job, type JobErrorHint, type JobFromUploadParams, type JobRating, type JobRatingFilter, type JobSource, type JobStatus, type JobStatusResult, JobsResource, type ListJobsPage, type ListJobsParams, type PolicyBlockHint, type RateJobResult, type SafetyBlockHint };
|
|
382
|
+
export { type CancelJobResult, type CreditStatus, type CreditsHint, type DeleteJobResult, type InputRefusedHint, type Job, type JobErrorHint, type JobFromUploadParams, type JobRating, type JobRatingFilter, type JobSessionRef, type JobSource, type JobStatus, type JobStatusResult, JobsResource, type ListJobsPage, type ListJobsParams, type PolicyBlockHint, type RateJobResult, type SafetyBlockHint };
|
package/dist/entries/jobs.d.ts
CHANGED
|
@@ -160,6 +160,17 @@ interface Job {
|
|
|
160
160
|
/** The generation session this job was born in (the `sessionId` sent with
|
|
161
161
|
* the generation request), or null. See `client.sessions`. */
|
|
162
162
|
session_id?: string | null;
|
|
163
|
+
/**
|
|
164
|
+
* With `list({ withSessions: true })`: every session that holds the job now,
|
|
165
|
+
* each linkable — empty when it is in no session (General). Absent otherwise.
|
|
166
|
+
*/
|
|
167
|
+
sessions?: JobSessionRef[];
|
|
168
|
+
/**
|
|
169
|
+
* When the job was deleted, on a job read from the Trash
|
|
170
|
+
* (`client.trash.list()`). A deleted job is left out of every other read, so
|
|
171
|
+
* this is otherwise absent or `null`.
|
|
172
|
+
*/
|
|
173
|
+
deleted_at?: string | null;
|
|
163
174
|
/**
|
|
164
175
|
* Whether the job's owner favorited it (`client.gallery.toggleFavorite`).
|
|
165
176
|
* Returned by `get()` and `list()`. Absent from an older server, and when
|
|
@@ -191,6 +202,13 @@ type JobSource = "internal" | "mcp" | "app" | "cli" | "sdk" | "extension" | "web
|
|
|
191
202
|
interface DeleteJobResult {
|
|
192
203
|
success: true;
|
|
193
204
|
}
|
|
205
|
+
/** A session that holds a job now (`Job.sessions`). */
|
|
206
|
+
interface JobSessionRef {
|
|
207
|
+
id: string;
|
|
208
|
+
title: string | null;
|
|
209
|
+
/** The session's project, or `null` when it has none. */
|
|
210
|
+
projectId: string | null;
|
|
211
|
+
}
|
|
194
212
|
interface ListJobsParams {
|
|
195
213
|
/** One status or several (a job matching any of them). An unknown status is a 400. */
|
|
196
214
|
status?: JobStatus | readonly JobStatus[];
|
|
@@ -208,6 +226,19 @@ interface ListJobsParams {
|
|
|
208
226
|
rating?: JobRatingFilter;
|
|
209
227
|
/** The jobs of one generate-image batch (`count` / `models`) — its `batchId`. */
|
|
210
228
|
batchId?: string;
|
|
229
|
+
/**
|
|
230
|
+
* The jobs a session of this project holds now — or, `"none"`, a session
|
|
231
|
+
* with no project. Each job once, however many sessions hold it. Not with
|
|
232
|
+
* `inSession: false`.
|
|
233
|
+
*/
|
|
234
|
+
projectId?: string | "none";
|
|
235
|
+
/**
|
|
236
|
+
* `false`: the jobs no session holds now (General), whatever session they
|
|
237
|
+
* were born in. `true`: the jobs at least one session holds.
|
|
238
|
+
*/
|
|
239
|
+
inSession?: boolean;
|
|
240
|
+
/** `true`: each job carries `sessions`, the sessions that hold it now. */
|
|
241
|
+
withSessions?: boolean;
|
|
211
242
|
/** Page size, 1–100 (server default 50). */
|
|
212
243
|
limit?: number;
|
|
213
244
|
/** The previous page's `next`. */
|
|
@@ -279,8 +310,11 @@ declare class JobsResource {
|
|
|
279
310
|
* a client app lists its runs with `{ type: "llm-structured", origin: "studio" }`.
|
|
280
311
|
* `status` and `type` take one value or a list; `favorited` and `rating`
|
|
281
312
|
* filter on your own marks, `source` on the surface that created the job.
|
|
282
|
-
*
|
|
283
|
-
*
|
|
313
|
+
* `projectId` / `inSession` filter on where the job is now (a project's
|
|
314
|
+
* sessions, or General), and `withSessions` says which sessions each job is
|
|
315
|
+
* in — for "everything in this project". Every filter combines with AND,
|
|
316
|
+
* and each job carries `favorited` and `rating`. A deleted job is never
|
|
317
|
+
* listed: read the Trash with `client.trash.list()`.
|
|
284
318
|
*/
|
|
285
319
|
list(params?: ListJobsParams): Promise<ListJobsPage>;
|
|
286
320
|
/**
|
|
@@ -322,12 +356,27 @@ declare class JobsResource {
|
|
|
322
356
|
*/
|
|
323
357
|
cancel(id: string): Promise<CancelJobResult>;
|
|
324
358
|
/**
|
|
325
|
-
* Delete a job
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
*
|
|
359
|
+
* Delete a job: it goes to the Trash (`client.trash.list()`). It is left out
|
|
360
|
+
* of every read from then on, stays restorable for 30 days ({@link restore},
|
|
361
|
+
* back into the sessions it was in), and is then deleted for good, as a
|
|
362
|
+
* delete always was (a copy saved to the Library stays). `{ forever: true }` deletes a job already in the Trash for good now;
|
|
363
|
+
* on a live job it fails with a 409 `NodaroError` whose `code` is
|
|
364
|
+
* `"not_in_trash"`. Only the job's owner (or an admin) may delete it; a job
|
|
365
|
+
* that is still running keeps running — cancel it first when its worker
|
|
366
|
+
* should stop ({@link cancel}). Nothing is refunded. OAuth apps need the
|
|
367
|
+
* `assets:write` scope.
|
|
329
368
|
*/
|
|
330
|
-
delete(id: string
|
|
369
|
+
delete(id: string, options?: {
|
|
370
|
+
forever?: boolean;
|
|
371
|
+
}): Promise<DeleteJobResult>;
|
|
372
|
+
/**
|
|
373
|
+
* Bring a deleted job back from the Trash: it reappears in every read and in
|
|
374
|
+
* every session it was in. A job that is not in the Trash succeeds too.
|
|
375
|
+
* OAuth apps need the `assets:write` scope.
|
|
376
|
+
*/
|
|
377
|
+
restore(id: string): Promise<{
|
|
378
|
+
success: true;
|
|
379
|
+
}>;
|
|
331
380
|
}
|
|
332
381
|
|
|
333
|
-
export { type CancelJobResult, type CreditStatus, type CreditsHint, type DeleteJobResult, type InputRefusedHint, type Job, type JobErrorHint, type JobFromUploadParams, type JobRating, type JobRatingFilter, type JobSource, type JobStatus, type JobStatusResult, JobsResource, type ListJobsPage, type ListJobsParams, type PolicyBlockHint, type RateJobResult, type SafetyBlockHint };
|
|
382
|
+
export { type CancelJobResult, type CreditStatus, type CreditsHint, type DeleteJobResult, type InputRefusedHint, type Job, type JobErrorHint, type JobFromUploadParams, type JobRating, type JobRatingFilter, type JobSessionRef, type JobSource, type JobStatus, type JobStatusResult, JobsResource, type ListJobsPage, type ListJobsParams, type PolicyBlockHint, type RateJobResult, type SafetyBlockHint };
|
package/dist/entries/jobs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LocationAssetType, CharacterAspectRatio, LocationAttachColumn, SurroundDirection } from '@nodaro/shared/entities';
|
|
2
2
|
export { LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
|
|
3
3
|
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.cjs';
|
|
4
|
-
import { l as GenerationSessionParams } from '../nodes-
|
|
4
|
+
import { l as GenerationSessionParams } from '../nodes-DGIefTze.cjs';
|
|
5
5
|
import '@nodaro/shared/apps';
|
|
6
6
|
import '@nodaro/shared/organizations';
|
|
7
7
|
import '@nodaro/shared/types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LocationAssetType, CharacterAspectRatio, LocationAttachColumn, SurroundDirection } from '@nodaro/shared/entities';
|
|
2
2
|
export { LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
|
|
3
3
|
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.js';
|
|
4
|
-
import { l as GenerationSessionParams } from '../nodes-
|
|
4
|
+
import { l as GenerationSessionParams } from '../nodes-C9j0PFto.js';
|
|
5
5
|
import '@nodaro/shared/apps';
|
|
6
6
|
import '@nodaro/shared/organizations';
|
|
7
7
|
import '@nodaro/shared/types';
|
package/dist/entries/media.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-RHETJOUM.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk22P4X3N5_cjs = require('../chunk-22P4X3N5.cjs');
|
|
5
5
|
require('../chunk-FRQJNGJS.cjs');
|
|
6
6
|
require('../chunk-FM2KM5TY.cjs');
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ require('../chunk-FM2KM5TY.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "MediaResource", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk22P4X3N5_cjs.MediaResource; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=media.cjs.map
|
|
15
15
|
//# sourceMappingURL=media.cjs.map
|
package/dist/entries/media.d.cts
CHANGED
|
@@ -434,13 +434,16 @@ declare class MediaResource {
|
|
|
434
434
|
* `height`, `frames`, `coverage` (the fraction of pixels selected, rounded
|
|
435
435
|
* to 4 decimals) and `kept` (any region left on any frame: false only when
|
|
436
436
|
* the size / zone filters left an empty mask — read it rather than
|
|
437
|
-
* `coverage`, which a few pixels round to 0)
|
|
437
|
+
* `coverage`, which a few pixels round to 0), and `recipe` (the version of
|
|
438
|
+
* the masking algorithm that made it, `VIDEO_MASK_RECIPE`: it changes
|
|
439
|
+
* whenever the same clip and settings would give a different mask). Feed the mask to
|
|
438
440
|
* {@link MediaResource.maskComposite}.
|
|
439
441
|
*
|
|
440
442
|
* `holdLastMask: true` keeps the last mask on frames where the subject is
|
|
441
443
|
* lost (a mask covering under 0.002 % of the frame, e.g. a face behind a
|
|
442
444
|
* hand): each such frame after the first detection repeats the most recent
|
|
443
|
-
* non-empty one
|
|
445
|
+
* non-empty one, for at most 1 s of frames (`VIDEO_MASK_LIMITS.HOLD_MAX_SEC`;
|
|
446
|
+
* longer gaps stay empty after that); the output then also carries `heldFrames`.
|
|
444
447
|
* `minSubjectHeightPct` (0–100, default 0 = off) drops every connected
|
|
445
448
|
* region whose bounding box is shorter than that % of the frame height
|
|
446
449
|
* (extras' small faces behind the main subject); it runs before
|
|
@@ -456,7 +459,15 @@ declare class MediaResource {
|
|
|
456
459
|
* detected again after every cut, `holdLastMask` never crosses a cut, and
|
|
457
460
|
* each shot's mask is fitted to that shot's exact frame count; on a clip
|
|
458
461
|
* with no cut it gives the same mask, fitted to the clip's exact frame
|
|
459
|
-
* count. The output carries `shots` (1 when off).
|
|
462
|
+
* count. The output carries `shots` (1 when off). `redetectEverySec` (0 =
|
|
463
|
+
* off, the default, or 1–10) also detects the subject again every that
|
|
464
|
+
* many seconds — the clip (each shot, with `perShot`) is sent to the model
|
|
465
|
+
* in pieces of at most that length, a last piece under 8 frames joining the
|
|
466
|
+
* one before — so someone who walks in or turns to the camera mid-shot is
|
|
467
|
+
* masked from the next boundary on. These boundaries are not cuts:
|
|
468
|
+
* `holdLastMask` holds across them. Each piece is one more model request
|
|
469
|
+
* (three run at a time), so it is slower; the price does not change. The
|
|
470
|
+
* output's `chunks` counts the requests.
|
|
460
471
|
*/
|
|
461
472
|
videoMask(input: VideoMaskRequest): Promise<{
|
|
462
473
|
jobId: string;
|
package/dist/entries/media.d.ts
CHANGED
|
@@ -434,13 +434,16 @@ declare class MediaResource {
|
|
|
434
434
|
* `height`, `frames`, `coverage` (the fraction of pixels selected, rounded
|
|
435
435
|
* to 4 decimals) and `kept` (any region left on any frame: false only when
|
|
436
436
|
* the size / zone filters left an empty mask — read it rather than
|
|
437
|
-
* `coverage`, which a few pixels round to 0)
|
|
437
|
+
* `coverage`, which a few pixels round to 0), and `recipe` (the version of
|
|
438
|
+
* the masking algorithm that made it, `VIDEO_MASK_RECIPE`: it changes
|
|
439
|
+
* whenever the same clip and settings would give a different mask). Feed the mask to
|
|
438
440
|
* {@link MediaResource.maskComposite}.
|
|
439
441
|
*
|
|
440
442
|
* `holdLastMask: true` keeps the last mask on frames where the subject is
|
|
441
443
|
* lost (a mask covering under 0.002 % of the frame, e.g. a face behind a
|
|
442
444
|
* hand): each such frame after the first detection repeats the most recent
|
|
443
|
-
* non-empty one
|
|
445
|
+
* non-empty one, for at most 1 s of frames (`VIDEO_MASK_LIMITS.HOLD_MAX_SEC`;
|
|
446
|
+
* longer gaps stay empty after that); the output then also carries `heldFrames`.
|
|
444
447
|
* `minSubjectHeightPct` (0–100, default 0 = off) drops every connected
|
|
445
448
|
* region whose bounding box is shorter than that % of the frame height
|
|
446
449
|
* (extras' small faces behind the main subject); it runs before
|
|
@@ -456,7 +459,15 @@ declare class MediaResource {
|
|
|
456
459
|
* detected again after every cut, `holdLastMask` never crosses a cut, and
|
|
457
460
|
* each shot's mask is fitted to that shot's exact frame count; on a clip
|
|
458
461
|
* with no cut it gives the same mask, fitted to the clip's exact frame
|
|
459
|
-
* count. The output carries `shots` (1 when off).
|
|
462
|
+
* count. The output carries `shots` (1 when off). `redetectEverySec` (0 =
|
|
463
|
+
* off, the default, or 1–10) also detects the subject again every that
|
|
464
|
+
* many seconds — the clip (each shot, with `perShot`) is sent to the model
|
|
465
|
+
* in pieces of at most that length, a last piece under 8 frames joining the
|
|
466
|
+
* one before — so someone who walks in or turns to the camera mid-shot is
|
|
467
|
+
* masked from the next boundary on. These boundaries are not cuts:
|
|
468
|
+
* `holdLastMask` holds across them. Each piece is one more model request
|
|
469
|
+
* (three run at a time), so it is slower; the price does not change. The
|
|
470
|
+
* output's `chunks` counts the requests.
|
|
460
471
|
*/
|
|
461
472
|
videoMask(input: VideoMaskRequest): Promise<{
|
|
462
473
|
jobId: string;
|
package/dist/entries/media.js
CHANGED
package/dist/entries/nodes.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk7CK6I4CT_cjs = require('../chunk-7CK6I4CT.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkTK2CEVSK_cjs = require('../chunk-TK2CEVSK.cjs');
|
|
5
5
|
require('../chunk-FM2KM5TY.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ Object.defineProperty(exports, "PROMPT_SUFFIX_KEY", {
|
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "NodesResource", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkTK2CEVSK_cjs.NodesResource; }
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=nodes.cjs.map
|
|
22
22
|
//# sourceMappingURL=nodes.cjs.map
|