@nodaro/sdk 2.43.0 → 2.45.1
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-JUON5NXA.js → chunk-33HT46A3.js} +13 -2
- package/dist/chunk-33HT46A3.js.map +1 -0
- package/dist/{chunk-V3KMBQMK.js → chunk-3Y5TV37H.js} +3 -3
- package/dist/{chunk-V3KMBQMK.js.map → chunk-3Y5TV37H.js.map} +1 -1
- package/dist/{chunk-F6GENF6R.cjs → chunk-55ZX6TE3.cjs} +12 -9
- package/dist/chunk-55ZX6TE3.cjs.map +1 -0
- package/dist/{chunk-2VJOHJUZ.cjs → chunk-5IXZLQNT.cjs} +2 -2
- package/dist/chunk-5IXZLQNT.cjs.map +1 -0
- package/dist/{chunk-IGMWFEFB.js → chunk-5MOJSYHI.js} +2 -2
- package/dist/chunk-5MOJSYHI.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-OSX2GVZ2.cjs → chunk-7YHIFCJ4.cjs} +2 -2
- package/dist/chunk-7YHIFCJ4.cjs.map +1 -0
- package/dist/{chunk-6QFTWAQQ.cjs → chunk-A7HOOWKS.cjs} +26 -26
- package/dist/{chunk-6QFTWAQQ.cjs.map → chunk-A7HOOWKS.cjs.map} +1 -1
- package/dist/{chunk-DQAYIVVS.js → chunk-BQAW4RX2.js} +16 -5
- package/dist/chunk-BQAW4RX2.js.map +1 -0
- package/dist/{chunk-WK7C7TP6.js → chunk-CKHCSZCV.js} +2 -2
- package/dist/chunk-CKHCSZCV.js.map +1 -0
- package/dist/{chunk-PQ7OKM3E.cjs → chunk-FIMBPKIH.cjs} +2 -2
- package/dist/chunk-FIMBPKIH.cjs.map +1 -0
- package/dist/{chunk-RQH6IKDC.js → chunk-HKDIIFG2.js} +12 -9
- package/dist/chunk-HKDIIFG2.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-VADPSFLS.cjs → chunk-J6FHBQ4Z.cjs} +2 -2
- package/dist/chunk-J6FHBQ4Z.cjs.map +1 -0
- package/dist/{chunk-ZWPDWFN2.js → chunk-JB4GVP4Q.js} +2 -2
- package/dist/chunk-JB4GVP4Q.js.map +1 -0
- package/dist/{chunk-OIYMTGYN.cjs → chunk-JOXZ4ZIF.cjs} +2 -2
- package/dist/chunk-JOXZ4ZIF.cjs.map +1 -0
- package/dist/{chunk-BLA44UCM.js → chunk-KFZOJBI5.js} +2 -2
- package/dist/chunk-KFZOJBI5.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-Z7UZ3FD3.js → chunk-RBX3QTKB.js} +2 -2
- package/dist/{chunk-Z7UZ3FD3.js.map → chunk-RBX3QTKB.js.map} +1 -1
- package/dist/{chunk-VACAWIZT.js → chunk-RQY2WJD3.js} +14 -14
- package/dist/{chunk-VACAWIZT.js.map → chunk-RQY2WJD3.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-EK672FFM.cjs → chunk-UIBYZNDR.cjs} +2 -2
- package/dist/chunk-UIBYZNDR.cjs.map +1 -0
- package/dist/{chunk-TMRRXQQL.cjs → chunk-WFWZBYBS.cjs} +3 -3
- package/dist/{chunk-TMRRXQQL.cjs.map → chunk-WFWZBYBS.cjs.map} +1 -1
- package/dist/{chunk-VHSMOBU7.cjs → chunk-WUM6CWTE.cjs} +13 -2
- package/dist/chunk-WUM6CWTE.cjs.map +1 -0
- 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 +104 -30
- package/dist/entries/cast-swap.d.ts +104 -30
- 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 +18 -18
- package/dist/entries/client.d.cts +1 -1
- package/dist/entries/client.d.ts +1 -1
- package/dist/entries/client.js +13 -13
- 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/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/picker-catalogs.cjs +2 -2
- package/dist/entries/picker-catalogs.d.cts +8 -0
- package/dist/entries/picker-catalogs.d.ts +8 -0
- package/dist/entries/picker-catalogs.js +1 -1
- package/dist/entries/scene3d.d.cts +2 -2
- package/dist/entries/scene3d.d.ts +2 -2
- 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/trends.cjs +2 -2
- package/dist/entries/trends.d.cts +87 -12
- package/dist/entries/trends.d.ts +87 -12
- 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 +76 -5
- package/dist/entries/workflows.d.ts +76 -5
- package/dist/entries/workflows.js +1 -1
- package/dist/index.cjs +34 -34
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +13 -13
- package/dist/{nodes-B4ZEqx2V.d.ts → nodes-MThDit8l.d.ts} +1 -1
- package/dist/{nodes-DzBGNOUV.d.cts → nodes-Szl6HrZ_.d.cts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-2VJOHJUZ.cjs.map +0 -1
- package/dist/chunk-BLA44UCM.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-F6GENF6R.cjs.map +0 -1
- package/dist/chunk-FQNCIP6K.js.map +0 -1
- package/dist/chunk-IGMWFEFB.js.map +0 -1
- package/dist/chunk-ILG5DHQQ.js.map +0 -1
- package/dist/chunk-JUON5NXA.js.map +0 -1
- package/dist/chunk-OIYMTGYN.cjs.map +0 -1
- package/dist/chunk-OSX2GVZ2.cjs.map +0 -1
- package/dist/chunk-PQ7OKM3E.cjs.map +0 -1
- package/dist/chunk-RQH6IKDC.js.map +0 -1
- package/dist/chunk-VADPSFLS.cjs.map +0 -1
- package/dist/chunk-VHSMOBU7.cjs.map +0 -1
- package/dist/chunk-WK7C7TP6.js.map +0 -1
- package/dist/chunk-ZWPDWFN2.js.map +0 -1
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
|
|
@@ -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-Szl6HrZ_.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-MThDit8l.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 chunk5IXZLQNT_cjs = require('../chunk-5IXZLQNT.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 chunk5IXZLQNT_cjs.NodesResource; }
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=nodes.cjs.map
|
|
22
22
|
//# sourceMappingURL=nodes.cjs.map
|
package/dist/entries/nodes.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ export { GeminiOmniVoicePresetId, ImageAspectRatio, ImageEditProvider, ImageEdit
|
|
|
4
4
|
export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PromptAffixFields } from '@nodaro/shared/nodes';
|
|
5
5
|
export { SocialPlatform, SocialPost, SocialPostAuthor, SocialPostMedia, SocialPostMetrics, SocialSearchCount, SocialSearchMode, SocialSearchParams, SocialSearchPeriod, SocialSearchSort, SocialSearchVideoKind } from '@nodaro/shared/social';
|
|
6
6
|
export { GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
|
|
7
|
-
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-
|
|
7
|
+
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-Szl6HrZ_.cjs';
|
|
8
8
|
export { TopazUpscaleFactor } from '@nodaro/shared/credits';
|
|
9
9
|
export { ImageToImageAttachColumn } from '@nodaro/shared/entities';
|
|
10
10
|
import '@nodaro/shared/scene3d';
|
package/dist/entries/nodes.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { GeminiOmniVoicePresetId, ImageAspectRatio, ImageEditProvider, ImageEdit
|
|
|
4
4
|
export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PromptAffixFields } from '@nodaro/shared/nodes';
|
|
5
5
|
export { SocialPlatform, SocialPost, SocialPostAuthor, SocialPostMedia, SocialPostMetrics, SocialSearchCount, SocialSearchMode, SocialSearchParams, SocialSearchPeriod, SocialSearchSort, SocialSearchVideoKind } from '@nodaro/shared/social';
|
|
6
6
|
export { GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
|
|
7
|
-
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-
|
|
7
|
+
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-MThDit8l.js';
|
|
8
8
|
export { TopazUpscaleFactor } from '@nodaro/shared/credits';
|
|
9
9
|
export { ImageToImageAttachColumn } from '@nodaro/shared/entities';
|
|
10
10
|
import '@nodaro/shared/scene3d';
|
package/dist/entries/nodes.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from '../chunk-ZYPH2FPT.js';
|
|
2
|
-
export { NodesResource } from '../chunk-
|
|
2
|
+
export { NodesResource } from '../chunk-JB4GVP4Q.js';
|
|
3
3
|
import '../chunk-L6T44A3G.js';
|
|
4
4
|
//# sourceMappingURL=nodes.js.map
|
|
5
5
|
//# sourceMappingURL=nodes.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio } from '@nodaro/shared/entities';
|
|
2
2
|
export { OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn } 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-Szl6HrZ_.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 { ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio } from '@nodaro/shared/entities';
|
|
2
2
|
export { OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn } 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-MThDit8l.js';
|
|
5
5
|
import '@nodaro/shared/apps';
|
|
6
6
|
import '@nodaro/shared/organizations';
|
|
7
7
|
import '@nodaro/shared/types';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-7MYKT2L4.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk7YHIFCJ4_cjs = require('../chunk-7YHIFCJ4.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "PickerCatalogsResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk7YHIFCJ4_cjs.PickerCatalogsResource; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=picker-catalogs.cjs.map
|
|
13
13
|
//# sourceMappingURL=picker-catalogs.cjs.map
|
|
@@ -39,6 +39,14 @@ interface PickerOption {
|
|
|
39
39
|
* as given: file names carry a content hash, so it can be cached for good.
|
|
40
40
|
*/
|
|
41
41
|
imageUrl?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The same picture at several widths, as an HTML `srcset` value
|
|
44
|
+
* (`<url> 240w, <url> 480w, <url> 960w, <url> 1920w`) — present only for a
|
|
45
|
+
* render the Nodaro CDN resizes (Nodaro Cloud: the look previews and the
|
|
46
|
+
* music pickers' pictures). Pass it to `<img srcset>` with a `sizes` so a
|
|
47
|
+
* large tile stays sharp; `imageUrl` is its 480px member.
|
|
48
|
+
*/
|
|
49
|
+
imageSrcSet?: string;
|
|
42
50
|
}
|
|
43
51
|
interface PickerDimension {
|
|
44
52
|
field: string;
|
|
@@ -39,6 +39,14 @@ interface PickerOption {
|
|
|
39
39
|
* as given: file names carry a content hash, so it can be cached for good.
|
|
40
40
|
*/
|
|
41
41
|
imageUrl?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The same picture at several widths, as an HTML `srcset` value
|
|
44
|
+
* (`<url> 240w, <url> 480w, <url> 960w, <url> 1920w`) — present only for a
|
|
45
|
+
* render the Nodaro CDN resizes (Nodaro Cloud: the look previews and the
|
|
46
|
+
* music pickers' pictures). Pass it to `<img srcset>` with a `sizes` so a
|
|
47
|
+
* large tile stays sharp; `imageUrl` is its 480px member.
|
|
48
|
+
*/
|
|
49
|
+
imageSrcSet?: string;
|
|
42
50
|
}
|
|
43
51
|
interface PickerDimension {
|
|
44
52
|
field: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-
|
|
2
|
-
export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-
|
|
1
|
+
import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-Szl6HrZ_.cjs';
|
|
2
|
+
export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-Szl6HrZ_.cjs';
|
|
3
3
|
import { Scene3DAssetRef } from '@nodaro/shared/scene3d';
|
|
4
4
|
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.cjs';
|
|
5
5
|
import '@nodaro/shared/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-
|
|
2
|
-
export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-
|
|
1
|
+
import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-MThDit8l.js';
|
|
2
|
+
export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-MThDit8l.js';
|
|
3
3
|
import { Scene3DAssetRef } from '@nodaro/shared/scene3d';
|
|
4
4
|
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.js';
|
|
5
5
|
import '@nodaro/shared/types';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-37YCKZX4.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkUIBYZNDR_cjs = require('../chunk-UIBYZNDR.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "TemplatesResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkUIBYZNDR_cjs.TemplatesResource; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=templates.cjs.map
|
|
13
13
|
//# sourceMappingURL=templates.cjs.map
|
|
@@ -19,7 +19,7 @@ interface TemplateBrowseCard {
|
|
|
19
19
|
/** The listed price; when `estimatedPerMinuteCredits` is above 0, its fixed part. */
|
|
20
20
|
estimatedCredits: number;
|
|
21
21
|
/** The listed price holds a metered LLM call's ESTIMATE (its model's typical
|
|
22
|
-
* call, charged its actual usage per token): show it
|
|
22
|
+
* call, charged its actual usage per token): show it `≈N`. Absent for a
|
|
23
23
|
* fixed price, and on a deployment running the tier-pricing rollback. */
|
|
24
24
|
estimatedCreditsIsEstimate?: true;
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ interface TemplateBrowseCard {
|
|
|
19
19
|
/** The listed price; when `estimatedPerMinuteCredits` is above 0, its fixed part. */
|
|
20
20
|
estimatedCredits: number;
|
|
21
21
|
/** The listed price holds a metered LLM call's ESTIMATE (its model's typical
|
|
22
|
-
* call, charged its actual usage per token): show it
|
|
22
|
+
* call, charged its actual usage per token): show it `≈N`. Absent for a
|
|
23
23
|
* fixed price, and on a deployment running the tier-pricing rollback. */
|
|
24
24
|
estimatedCreditsIsEstimate?: true;
|
|
25
25
|
/**
|
package/dist/entries/trends.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-PG2GBS3K.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkJ6FHBQ4Z_cjs = require('../chunk-J6FHBQ4Z.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "TrendsResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkJ6FHBQ4Z_cjs.TrendsResource; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=trends.cjs.map
|
|
13
13
|
//# sourceMappingURL=trends.cjs.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { N as NodaroClientCore } from '../developer-apps-zSQXWmEG.cjs';
|
|
2
|
+
import { CastSwapEngine } from './cast-swap.cjs';
|
|
2
3
|
import '@nodaro/shared/apps';
|
|
3
4
|
import '@nodaro/shared/organizations';
|
|
4
5
|
|
|
@@ -21,6 +22,11 @@ interface TrendChips {
|
|
|
21
22
|
/** A chip's name: `body`, `outfit`, `hair`, `coat`, `shape` or `finish`. */
|
|
22
23
|
type TrendChipKey = keyof TrendChips;
|
|
23
24
|
type TrendResolution = "480p" | "720p" | "1080p";
|
|
25
|
+
/**
|
|
26
|
+
* The video engine a trend runs on ({@link CastSwapEngine}): the trend
|
|
27
|
+
* chooses it, never the person running it.
|
|
28
|
+
*/
|
|
29
|
+
type TrendEngine = CastSwapEngine;
|
|
24
30
|
/** A trend in the catalog (`list()`). Text is in the resolved locale. */
|
|
25
31
|
interface TrendCard {
|
|
26
32
|
id: string;
|
|
@@ -30,7 +36,10 @@ interface TrendCard {
|
|
|
30
36
|
tags: string[];
|
|
31
37
|
/** e.g. `"trending"`, `"new"`. */
|
|
32
38
|
badges: string[];
|
|
33
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* The trend's first example, else (a trend with no example) its original's
|
|
41
|
+
* display copy, as {@link TrendDetail.original}.
|
|
42
|
+
*/
|
|
34
43
|
cover: {
|
|
35
44
|
videoUrl: string;
|
|
36
45
|
posterUrl?: string;
|
|
@@ -49,9 +58,18 @@ interface TrendDetailSlot {
|
|
|
49
58
|
key: string;
|
|
50
59
|
label: string;
|
|
51
60
|
kind: TrendSlotKind;
|
|
52
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* A required slot needs pictures; an optional one left empty takes the
|
|
63
|
+
* chosen example's, or, on a trend with no example, stays as in the original.
|
|
64
|
+
*/
|
|
53
65
|
required: boolean;
|
|
54
66
|
hint?: string;
|
|
67
|
+
/**
|
|
68
|
+
* A picture showing who or what this slot is in the original (e.g. a frame
|
|
69
|
+
* of that actor), when the trend has one. Show it on an empty slot; a run
|
|
70
|
+
* never sends it.
|
|
71
|
+
*/
|
|
72
|
+
hintImageUrl?: string;
|
|
55
73
|
/**
|
|
56
74
|
* The chips you may set on this slot, in its kind's order; `[]` = none (show
|
|
57
75
|
* no chips row). A chip of the kind that is not listed is fixed by the
|
|
@@ -70,14 +88,46 @@ interface TrendExample {
|
|
|
70
88
|
/** Slot key → the pictures this example used for it. */
|
|
71
89
|
slots: Record<string, string[]>;
|
|
72
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* The clip a trend recasts, as you may show it: a browser-safe copy (H.264
|
|
93
|
+
* MP4) of the clip every run starts from. Its fields parallel
|
|
94
|
+
* {@link TrendExample}'s.
|
|
95
|
+
*/
|
|
96
|
+
interface TrendOriginal {
|
|
97
|
+
videoUrl: string;
|
|
98
|
+
posterUrl?: string;
|
|
99
|
+
width: number;
|
|
100
|
+
height: number;
|
|
101
|
+
/** The copy's length, in seconds. */
|
|
102
|
+
durationSec: number;
|
|
103
|
+
/**
|
|
104
|
+
* Where the 4-second preview starts in the clip, in seconds (`0` included),
|
|
105
|
+
* when the trend offers one ({@link TrendDetail.previewSec} is `4`); absent
|
|
106
|
+
* otherwise.
|
|
107
|
+
*/
|
|
108
|
+
previewStartSec?: number;
|
|
109
|
+
}
|
|
73
110
|
/** A trend's page (`get()`). */
|
|
74
111
|
interface TrendDetail extends TrendCard {
|
|
75
112
|
/** The published version this page shows. */
|
|
76
113
|
version: number;
|
|
77
114
|
/** `4` when the trend offers a 4-second preview run, else `null`. */
|
|
78
115
|
previewSec: 4 | null;
|
|
116
|
+
/**
|
|
117
|
+
* The original clip every run starts from, to show beside the examples.
|
|
118
|
+
* Absent only on a version without a display copy (and from an older server).
|
|
119
|
+
*/
|
|
120
|
+
original?: TrendOriginal;
|
|
121
|
+
/** The video engine every run of this trend uses. Absent (an older server) = `"seedance-2-5"`. */
|
|
122
|
+
engine?: TrendEngine;
|
|
123
|
+
/**
|
|
124
|
+
* The resolutions a run may ask for, the default first. Seedance 2.5:
|
|
125
|
+
* `["480p", "720p", "1080p"]`, where 480p is a draft (show it as one);
|
|
126
|
+
* Kling 4: `["720p", "1080p"]`, no draft. Offer exactly these.
|
|
127
|
+
*/
|
|
79
128
|
resolutions: TrendResolution[];
|
|
80
129
|
slots: TrendDetailSlot[];
|
|
130
|
+
/** Finished runs to show beside the original; may be empty (a trend with only its original). */
|
|
81
131
|
examples: TrendExample[];
|
|
82
132
|
}
|
|
83
133
|
/** What you put in one slot of a run: 1–3 pictures, and the chips the slot offers ({@link TrendDetailSlot.chips}). */
|
|
@@ -88,18 +138,30 @@ interface TrendRunSlot extends TrendChips {
|
|
|
88
138
|
interface TrendRunRequest {
|
|
89
139
|
/**
|
|
90
140
|
* Slot key → what you put in it. Every required slot needs pictures; an
|
|
91
|
-
* optional slot left out takes the chosen example's
|
|
141
|
+
* optional slot left out takes the chosen example's, or, on a trend with no
|
|
142
|
+
* example, stays as in the original. 1–3 pictures per slot.
|
|
92
143
|
*/
|
|
93
144
|
slots: Record<string, TrendRunSlot>;
|
|
94
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* 1-based example whose pictures fill the optional slots you leave empty.
|
|
147
|
+
* Default 1. Leave it out on a trend with no examples: sending one there
|
|
148
|
+
* answers 400 `example_out_of_range` (and `0` is a `validation_error`).
|
|
149
|
+
*/
|
|
95
150
|
example?: number;
|
|
96
151
|
/** Your own words, at most 1,000 characters. Mention a slot as `{slot:<key>}`. */
|
|
97
152
|
details?: string;
|
|
98
153
|
/** `true` runs a 4-second preview (only when the trend's `previewSec` is `4`). */
|
|
99
154
|
preview?: boolean;
|
|
100
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* One of the trend's {@link TrendDetail.resolutions}; default its first
|
|
157
|
+
* (`"480p"` on Seedance 2.5, `"720p"` on Kling 4). Another answers 400
|
|
158
|
+
* `resolution_unsupported`.
|
|
159
|
+
*/
|
|
101
160
|
resolution?: TrendResolution;
|
|
102
|
-
/**
|
|
161
|
+
/**
|
|
162
|
+
* A draft run, only at 480p on a Seedance 2.5 trend. Default `true` at
|
|
163
|
+
* 480p. `true` on a Kling 4 trend answers 400 `draft_unsupported`.
|
|
164
|
+
*/
|
|
103
165
|
draft?: boolean;
|
|
104
166
|
/**
|
|
105
167
|
* A generation session of yours. Accepted (and checked: one you may not use
|
|
@@ -159,7 +221,11 @@ interface TrendRunDisplaySlot extends TrendChips {
|
|
|
159
221
|
label: string;
|
|
160
222
|
kind: TrendSlotKind;
|
|
161
223
|
images: string[];
|
|
162
|
-
/**
|
|
224
|
+
/**
|
|
225
|
+
* `true` when the slot was left empty and the example's pictures filled it.
|
|
226
|
+
* `false` with no `images`: left empty on a trend with no example, so it
|
|
227
|
+
* stayed as in the original.
|
|
228
|
+
*/
|
|
163
229
|
fromExample: boolean;
|
|
164
230
|
}
|
|
165
231
|
/**
|
|
@@ -194,21 +260,26 @@ interface TrendRun {
|
|
|
194
260
|
version: number;
|
|
195
261
|
name: string;
|
|
196
262
|
};
|
|
197
|
-
/**
|
|
263
|
+
/**
|
|
264
|
+
* The 1-based example used for empty optional slots; `0` = the trend had no
|
|
265
|
+
* example (none was used: never show it as "Example 0").
|
|
266
|
+
*/
|
|
198
267
|
example: number;
|
|
199
268
|
slots: TrendRunDisplaySlot[];
|
|
200
269
|
details?: string;
|
|
201
270
|
preview: boolean;
|
|
202
271
|
resolution: string;
|
|
203
272
|
draft: boolean;
|
|
273
|
+
/** The video engine the run was made on. Absent (an older server) = `"seedance-2-5"`. */
|
|
274
|
+
engine?: TrendEngine;
|
|
204
275
|
/** The result, once completed. */
|
|
205
276
|
videoUrl: string | null;
|
|
206
277
|
posterUrl: string | null;
|
|
207
278
|
creditsCharged: number | null;
|
|
208
|
-
/** A Full Quality version: the job id of the draft run it was made from. `null` for any other run. */
|
|
279
|
+
/** A Full Quality version: the job id of the run (a draft, or a Kling 4 720p run) it was made from. `null` for any other run. */
|
|
209
280
|
fullQualityOf: string | null;
|
|
210
281
|
/**
|
|
211
|
-
* A draft's newest Full Quality try, if one was started: a pointer only,
|
|
282
|
+
* A draft's (or Kling 4 720p run's) newest Full Quality try, if one was started: a pointer only,
|
|
212
283
|
* to know an upgrade exists and how it is going. Its video and charge are on
|
|
213
284
|
* that run, listed on its own (its `fullQualityOf` is this run's `jobId`) —
|
|
214
285
|
* read it there (`getRun(fullQuality.jobId)`). Older tries of the draft (a
|
|
@@ -219,7 +290,11 @@ interface TrendRun {
|
|
|
219
290
|
jobId: string;
|
|
220
291
|
status: string;
|
|
221
292
|
} | null;
|
|
222
|
-
/**
|
|
293
|
+
/**
|
|
294
|
+
* Until when a completed run can be redone in Full Quality — a Seedance 2.5
|
|
295
|
+
* draft (the same take at 1080p) or a Kling 4 run at 720p (a new take at
|
|
296
|
+
* 1080p); `null` otherwise.
|
|
297
|
+
*/
|
|
223
298
|
fullQualityUntil: string | null;
|
|
224
299
|
}
|
|
225
300
|
interface ListTrendsParams {
|
|
@@ -300,4 +375,4 @@ declare class TrendsResource {
|
|
|
300
375
|
unfavorite(slug: string): Promise<void>;
|
|
301
376
|
}
|
|
302
377
|
|
|
303
|
-
export { type ListTrendRunsParams, type ListTrendsParams, type TrendCard, type TrendChipKey, type TrendChips, type TrendChoice, type TrendDetail, type TrendDetailSlot, type TrendEstimate, type TrendExample, type TrendPage, type TrendResolution, type TrendRun, type TrendRunDisplaySlot, type TrendRunOptions, type TrendRunRequest, type TrendRunSlot, type TrendSlotKind, type TrendTag, TrendsResource };
|
|
378
|
+
export { type ListTrendRunsParams, type ListTrendsParams, type TrendCard, type TrendChipKey, type TrendChips, type TrendChoice, type TrendDetail, type TrendDetailSlot, type TrendEngine, type TrendEstimate, type TrendExample, type TrendOriginal, type TrendPage, type TrendResolution, type TrendRun, type TrendRunDisplaySlot, type TrendRunOptions, type TrendRunRequest, type TrendRunSlot, type TrendSlotKind, type TrendTag, TrendsResource };
|