@nodaro/sdk 2.31.0 → 2.32.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-XQAIEPAZ.js → chunk-4CXB7RA6.js} +2 -2
- package/dist/chunk-4CXB7RA6.js.map +1 -0
- package/dist/{chunk-QITJGSFA.js → chunk-6ECW23GA.js} +6 -2
- package/dist/chunk-6ECW23GA.js.map +1 -0
- package/dist/{chunk-PHKYIWE4.cjs → chunk-7CK6I4CT.cjs} +2 -2
- package/dist/{chunk-PHKYIWE4.cjs.map → chunk-7CK6I4CT.cjs.map} +1 -1
- package/dist/{chunk-BFMKPELU.cjs → chunk-B7RG6AUQ.cjs} +6 -2
- package/dist/chunk-B7RG6AUQ.cjs.map +1 -0
- package/dist/{chunk-REUFPWM7.cjs → chunk-FB3S2FON.cjs} +3 -3
- package/dist/{chunk-REUFPWM7.cjs.map → chunk-FB3S2FON.cjs.map} +1 -1
- package/dist/{chunk-7ISSKQ6S.cjs → chunk-GB724HW2.cjs} +2 -2
- package/dist/chunk-GB724HW2.cjs.map +1 -0
- package/dist/{chunk-LHP2CWHD.js → chunk-GWCOKNST.js} +3 -3
- package/dist/{chunk-LHP2CWHD.js.map → chunk-GWCOKNST.js.map} +1 -1
- package/dist/{chunk-5WAI7VGO.js → chunk-PHEA6FVQ.js} +5 -5
- package/dist/{chunk-5WAI7VGO.js.map → chunk-PHEA6FVQ.js.map} +1 -1
- package/dist/{chunk-UI2NXUML.cjs → chunk-S7JQKNVT.cjs} +8 -8
- package/dist/{chunk-UI2NXUML.cjs.map → chunk-S7JQKNVT.cjs.map} +1 -1
- package/dist/chunk-ZYPH2FPT.js +3 -0
- package/dist/{chunk-W7YI5UT3.js.map → chunk-ZYPH2FPT.js.map} +1 -1
- package/dist/entries/characters.d.cts +1 -1
- package/dist/entries/characters.d.ts +1 -1
- package/dist/entries/client.cjs +9 -9
- package/dist/entries/client.d.cts +1 -1
- package/dist/entries/client.d.ts +1 -1
- package/dist/entries/client.js +4 -4
- 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 +8 -0
- package/dist/entries/credits.d.ts +8 -0
- package/dist/entries/credits.js +1 -1
- package/dist/entries/locations.d.cts +1 -1
- package/dist/entries/locations.d.ts +1 -1
- package/dist/entries/nodes.cjs +5 -5
- package/dist/entries/nodes.d.cts +2 -2
- package/dist/entries/nodes.d.ts +2 -2
- package/dist/entries/nodes.js +2 -2
- 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/index.cjs +15 -15
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/{nodes-C2zu3uqn.d.ts → nodes-C-wrO6Sg.d.ts} +106 -6
- package/dist/{nodes-BPvrAoUs.d.cts → nodes-J8ByUN8z.d.cts} +106 -6
- package/package.json +2 -2
- package/dist/chunk-7ISSKQ6S.cjs.map +0 -1
- package/dist/chunk-BFMKPELU.cjs.map +0 -1
- package/dist/chunk-QITJGSFA.js.map +0 -1
- package/dist/chunk-W7YI5UT3.js +0 -3
- package/dist/chunk-XQAIEPAZ.js.map +0 -1
|
@@ -69,6 +69,14 @@ interface WelcomeOfferClaimInput extends SignupKeys {
|
|
|
69
69
|
* stored as absent, never refused.
|
|
70
70
|
*/
|
|
71
71
|
sourceApp?: string;
|
|
72
|
+
/**
|
|
73
|
+
* The interface language the user answered in — the id of a language Nodaro
|
|
74
|
+
* ships, such as `"en"`, `"ja"` or `"pt-BR"`. Matched exactly and
|
|
75
|
+
* case-sensitively: `"en-US"` or `"pt-br"` is stored as absent, never refused.
|
|
76
|
+
* Recorded with the consent as the language of the LATEST consent: a later
|
|
77
|
+
* "yes" in another language replaces it.
|
|
78
|
+
*/
|
|
79
|
+
locale?: string;
|
|
72
80
|
}
|
|
73
81
|
/** The answer of `POST /v1/credits/welcome-offer/claim`. */
|
|
74
82
|
interface WelcomeOfferClaimResult {
|
package/dist/entries/credits.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-J8ByUN8z.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-C-wrO6Sg.js';
|
|
5
5
|
import '@nodaro/shared/apps';
|
|
6
6
|
import '@nodaro/shared/organizations';
|
|
7
7
|
import '@nodaro/shared/types';
|
package/dist/entries/nodes.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk7CK6I4CT_cjs = require('../chunk-7CK6I4CT.cjs');
|
|
4
|
+
var chunkB7RG6AUQ_cjs = require('../chunk-B7RG6AUQ.cjs');
|
|
5
5
|
require('../chunk-N6GLZOE4.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "PROMPT_PREFIX_KEY", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk7CK6I4CT_cjs.PROMPT_PREFIX_KEY; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "PROMPT_SUFFIX_KEY", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk7CK6I4CT_cjs.PROMPT_SUFFIX_KEY; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "NodesResource", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkB7RG6AUQ_cjs.NodesResource; }
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=nodes.cjs.map
|
|
22
22
|
//# sourceMappingURL=nodes.cjs.map
|
package/dist/entries/nodes.d.cts
CHANGED
|
@@ -3,8 +3,8 @@ export { VideoCharacterReference, VideoCharacterVoice } from '@nodaro/shared/vid
|
|
|
3
3
|
export { GeminiOmniVoicePresetId, ImageAspectRatio, ImageEditProvider, ImageEditTargetResolution, ImageQuality, ImageRenderingSpeed, ImageResolution, ModifyImageProvider, TaskChainedEditProvider } from '@nodaro/shared/models';
|
|
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
|
-
export { 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 NodesResource, O as OutputType, R as ReferenceCaptionParams,
|
|
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-J8ByUN8z.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
|
@@ -3,8 +3,8 @@ export { VideoCharacterReference, VideoCharacterVoice } from '@nodaro/shared/vid
|
|
|
3
3
|
export { GeminiOmniVoicePresetId, ImageAspectRatio, ImageEditProvider, ImageEditTargetResolution, ImageQuality, ImageRenderingSpeed, ImageResolution, ModifyImageProvider, TaskChainedEditProvider } from '@nodaro/shared/models';
|
|
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
|
-
export { 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 NodesResource, O as OutputType, R as ReferenceCaptionParams,
|
|
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-C-wrO6Sg.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
|
-
export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from '../chunk-
|
|
2
|
-
export { NodesResource } from '../chunk-
|
|
1
|
+
export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from '../chunk-ZYPH2FPT.js';
|
|
2
|
+
export { NodesResource } from '../chunk-6ECW23GA.js';
|
|
3
3
|
import '../chunk-JGS6YBDW.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-J8ByUN8z.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-C-wrO6Sg.js';
|
|
5
5
|
import '@nodaro/shared/apps';
|
|
6
6
|
import '@nodaro/shared/organizations';
|
|
7
7
|
import '@nodaro/shared/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
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-J8ByUN8z.cjs';
|
|
2
|
+
export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-J8ByUN8z.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 {
|
|
2
|
-
export {
|
|
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-C-wrO6Sg.js';
|
|
2
|
+
export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-C-wrO6Sg.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';
|
package/dist/index.cjs
CHANGED
|
@@ -22,7 +22,7 @@ require('./chunk-KEDPGWIK.cjs');
|
|
|
22
22
|
require('./chunk-QUFU5RJ7.cjs');
|
|
23
23
|
require('./chunk-ZKBHD27K.cjs');
|
|
24
24
|
require('./chunk-RA42NMWV.cjs');
|
|
25
|
-
var
|
|
25
|
+
var chunk7CK6I4CT_cjs = require('./chunk-7CK6I4CT.cjs');
|
|
26
26
|
require('./chunk-6OC6OKLY.cjs');
|
|
27
27
|
require('./chunk-XWKNE6DH.cjs');
|
|
28
28
|
var chunkGRFLPEM2_cjs = require('./chunk-GRFLPEM2.cjs');
|
|
@@ -48,7 +48,7 @@ require('./chunk-CJLLIVSB.cjs');
|
|
|
48
48
|
require('./chunk-IS26FJO7.cjs');
|
|
49
49
|
require('./chunk-43NO4SGC.cjs');
|
|
50
50
|
require('./chunk-JOX5BJ6K.cjs');
|
|
51
|
-
var
|
|
51
|
+
var chunkS7JQKNVT_cjs = require('./chunk-S7JQKNVT.cjs');
|
|
52
52
|
var chunk3B47IHB3_cjs = require('./chunk-3B47IHB3.cjs');
|
|
53
53
|
var chunkVGWOIWRQ_cjs = require('./chunk-VGWOIWRQ.cjs');
|
|
54
54
|
var chunkLKH5M44B_cjs = require('./chunk-LKH5M44B.cjs');
|
|
@@ -71,7 +71,7 @@ var chunkYDRXBRW2_cjs = require('./chunk-YDRXBRW2.cjs');
|
|
|
71
71
|
var chunk7QOCWJKD_cjs = require('./chunk-7QOCWJKD.cjs');
|
|
72
72
|
var chunkZCWKX4V6_cjs = require('./chunk-ZCWKX4V6.cjs');
|
|
73
73
|
var chunk34PU2DAT_cjs = require('./chunk-34PU2DAT.cjs');
|
|
74
|
-
var
|
|
74
|
+
var chunkB7RG6AUQ_cjs = require('./chunk-B7RG6AUQ.cjs');
|
|
75
75
|
var chunkGVIFLUYZ_cjs = require('./chunk-GVIFLUYZ.cjs');
|
|
76
76
|
var chunkCR5E2SF3_cjs = require('./chunk-CR5E2SF3.cjs');
|
|
77
77
|
var chunkJ5LGGCAS_cjs = require('./chunk-J5LGGCAS.cjs');
|
|
@@ -87,9 +87,9 @@ var chunk43FVH6LJ_cjs = require('./chunk-43FVH6LJ.cjs');
|
|
|
87
87
|
var chunkYFS2LMG4_cjs = require('./chunk-YFS2LMG4.cjs');
|
|
88
88
|
var chunkNLQQHJ25_cjs = require('./chunk-NLQQHJ25.cjs');
|
|
89
89
|
require('./chunk-KNMW722T.cjs');
|
|
90
|
-
var
|
|
90
|
+
var chunkFB3S2FON_cjs = require('./chunk-FB3S2FON.cjs');
|
|
91
91
|
var chunkHGCVWOGK_cjs = require('./chunk-HGCVWOGK.cjs');
|
|
92
|
-
var
|
|
92
|
+
var chunkGB724HW2_cjs = require('./chunk-GB724HW2.cjs');
|
|
93
93
|
var chunkA3S55XGF_cjs = require('./chunk-A3S55XGF.cjs');
|
|
94
94
|
var chunkWUIEZ6Z4_cjs = require('./chunk-WUIEZ6Z4.cjs');
|
|
95
95
|
var chunkN6GLZOE4_cjs = require('./chunk-N6GLZOE4.cjs');
|
|
@@ -117,11 +117,11 @@ Object.defineProperty(exports, "RECAST_SEGMENT_PACKS", {
|
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "PROMPT_PREFIX_KEY", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunk7CK6I4CT_cjs.PROMPT_PREFIX_KEY; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "PROMPT_SUFFIX_KEY", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunk7CK6I4CT_cjs.PROMPT_SUFFIX_KEY; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "USAGE_GROUP_BYS", {
|
|
127
127
|
enumerable: true,
|
|
@@ -137,11 +137,11 @@ Object.defineProperty(exports, "unwrapEditPlanOutput", {
|
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "NodaroClient", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkS7JQKNVT_cjs.NodaroClient; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "createClient", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkS7JQKNVT_cjs.createClient; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "WebhooksResource", {
|
|
147
147
|
enumerable: true,
|
|
@@ -253,7 +253,7 @@ Object.defineProperty(exports, "PresetsResource", {
|
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "NodesResource", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkB7RG6AUQ_cjs.NodesResource; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "OAuthResource", {
|
|
259
259
|
enumerable: true,
|
|
@@ -357,19 +357,19 @@ Object.defineProperty(exports, "CopilotResource", {
|
|
|
357
357
|
});
|
|
358
358
|
Object.defineProperty(exports, "CallbackAuth", {
|
|
359
359
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
360
|
+
get: function () { return chunkFB3S2FON_cjs.CallbackAuth; }
|
|
361
361
|
});
|
|
362
362
|
Object.defineProperty(exports, "NodaroClientCore", {
|
|
363
363
|
enumerable: true,
|
|
364
|
-
get: function () { return
|
|
364
|
+
get: function () { return chunkFB3S2FON_cjs.NodaroClientCore; }
|
|
365
365
|
});
|
|
366
366
|
Object.defineProperty(exports, "StaticTokenAuth", {
|
|
367
367
|
enumerable: true,
|
|
368
|
-
get: function () { return
|
|
368
|
+
get: function () { return chunkFB3S2FON_cjs.StaticTokenAuth; }
|
|
369
369
|
});
|
|
370
370
|
Object.defineProperty(exports, "supabaseAuth", {
|
|
371
371
|
enumerable: true,
|
|
372
|
-
get: function () { return
|
|
372
|
+
get: function () { return chunkFB3S2FON_cjs.supabaseAuth; }
|
|
373
373
|
});
|
|
374
374
|
Object.defineProperty(exports, "CREATURE_ASPECT_DEFAULTS", {
|
|
375
375
|
enumerable: true,
|
|
@@ -393,7 +393,7 @@ Object.defineProperty(exports, "CreaturesResource", {
|
|
|
393
393
|
});
|
|
394
394
|
Object.defineProperty(exports, "CreditsResource", {
|
|
395
395
|
enumerable: true,
|
|
396
|
-
get: function () { return
|
|
396
|
+
get: function () { return chunkGB724HW2_cjs.CreditsResource; }
|
|
397
397
|
});
|
|
398
398
|
Object.defineProperty(exports, "DeveloperAppsResource", {
|
|
399
399
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -29,8 +29,8 @@ export { CreateMoodboardInput, ListMoodboardsParams, MOODBOARD_DIRECTION_PREFIX,
|
|
|
29
29
|
export { CreateNodePresetGroupInput, CreateNodePresetInput, FactoryPresetEntry, FactoryPresetsResult, ImportNodePresetInput, NodePreset, NodePresetFavoriteInput, NodePresetGroup, PresetsResource, ReorderNodePresetsInput, UpdateNodePresetGroupInput, UpdateNodePresetInput } from './entries/node-presets.cjs';
|
|
30
30
|
export { ConnectedReference, DescribedReference, GenericEdge, GenericNode } from '@nodaro/shared/types';
|
|
31
31
|
export { VideoCharacterReference, VideoCharacterVoice } from '@nodaro/shared/video';
|
|
32
|
-
export { AudioFxPreset, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
|
|
33
|
-
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, d as EditScene3DParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, j as GenerateScene3DParams, 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 NodesResource, O as OutputType, P as Pro3DRenderJobOutput,
|
|
32
|
+
export { AudioFxPreset, GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
|
|
33
|
+
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, d as EditScene3DParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, j as GenerateScene3DParams, 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, P as Pro3DRenderJobOutput, u as Pro3DRenderParams, v as Pro3DRenderQuote, w as Pro3DRenderRunOptions, x as Pro3DRenderRunParams, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, z as RenderScene3DParams, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, Y as Scene3DDeliveryAssetKind, Z as Scene3DJobOutput, _ 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-J8ByUN8z.cjs';
|
|
34
34
|
export { TopazUpscaleFactor } from '@nodaro/shared/credits';
|
|
35
35
|
export { CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, CharacterAspectRatio, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn, EntityStyle, ImageToImageAttachColumn, LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
|
|
36
36
|
export { AccessTokenResponse, ExchangeCodeInput, OAuthAppInfo, OAuthResource } from './entries/oauth.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -29,8 +29,8 @@ export { CreateMoodboardInput, ListMoodboardsParams, MOODBOARD_DIRECTION_PREFIX,
|
|
|
29
29
|
export { CreateNodePresetGroupInput, CreateNodePresetInput, FactoryPresetEntry, FactoryPresetsResult, ImportNodePresetInput, NodePreset, NodePresetFavoriteInput, NodePresetGroup, PresetsResource, ReorderNodePresetsInput, UpdateNodePresetGroupInput, UpdateNodePresetInput } from './entries/node-presets.js';
|
|
30
30
|
export { ConnectedReference, DescribedReference, GenericEdge, GenericNode } from '@nodaro/shared/types';
|
|
31
31
|
export { VideoCharacterReference, VideoCharacterVoice } from '@nodaro/shared/video';
|
|
32
|
-
export { AudioFxPreset, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
|
|
33
|
-
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, d as EditScene3DParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, j as GenerateScene3DParams, 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 NodesResource, O as OutputType, P as Pro3DRenderJobOutput,
|
|
32
|
+
export { AudioFxPreset, GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
|
|
33
|
+
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, d as EditScene3DParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, j as GenerateScene3DParams, 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, P as Pro3DRenderJobOutput, u as Pro3DRenderParams, v as Pro3DRenderQuote, w as Pro3DRenderRunOptions, x as Pro3DRenderRunParams, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, z as RenderScene3DParams, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, Y as Scene3DDeliveryAssetKind, Z as Scene3DJobOutput, _ 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-C-wrO6Sg.js';
|
|
34
34
|
export { TopazUpscaleFactor } from '@nodaro/shared/credits';
|
|
35
35
|
export { CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, CharacterAspectRatio, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn, EntityStyle, ImageToImageAttachColumn, LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
|
|
36
36
|
export { AccessTokenResponse, ExchangeCodeInput, OAuthAppInfo, OAuthResource } from './entries/oauth.js';
|
package/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ import './chunk-CRCPRZFN.js';
|
|
|
20
20
|
import './chunk-OMH7ATOQ.js';
|
|
21
21
|
import './chunk-37Y5QAVA.js';
|
|
22
22
|
import './chunk-NX67YIF3.js';
|
|
23
|
-
export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from './chunk-
|
|
23
|
+
export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from './chunk-ZYPH2FPT.js';
|
|
24
24
|
import './chunk-X7RDNMN7.js';
|
|
25
25
|
import './chunk-OLPA44QJ.js';
|
|
26
26
|
export { USAGE_GROUP_BYS, WORKSPACE_HEADER } from './chunk-RKVRCNMB.js';
|
|
@@ -46,7 +46,7 @@ import './chunk-HRXXGGSJ.js';
|
|
|
46
46
|
import './chunk-M6Y5TOYE.js';
|
|
47
47
|
import './chunk-SUCHGNYT.js';
|
|
48
48
|
import './chunk-SLPD47SR.js';
|
|
49
|
-
export { NodaroClient, createClient } from './chunk-
|
|
49
|
+
export { NodaroClient, createClient } from './chunk-PHEA6FVQ.js';
|
|
50
50
|
export { WebhooksResource } from './chunk-YN6CBIIB.js';
|
|
51
51
|
export { WorkflowsResource } from './chunk-ZXJQSFIA.js';
|
|
52
52
|
export { WorkspacesResource } from './chunk-Z5GLY4R3.js';
|
|
@@ -69,7 +69,7 @@ export { SCENE3D_DELIVERY_ASSET_USAGE, Scene3DResource } from './chunk-NNHWH7ER.
|
|
|
69
69
|
export { ModelsResource } from './chunk-Y6V6CBY5.js';
|
|
70
70
|
export { MOODBOARD_DIRECTION_PREFIX, MoodboardsResource, moodboardDirectionId } from './chunk-YVU2M7MI.js';
|
|
71
71
|
export { PresetsResource } from './chunk-JTAW54UM.js';
|
|
72
|
-
export { NodesResource } from './chunk-
|
|
72
|
+
export { NodesResource } from './chunk-6ECW23GA.js';
|
|
73
73
|
export { OAuthResource } from './chunk-Z7LGWNI7.js';
|
|
74
74
|
export { OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectsResource } from './chunk-7LSFG2AF.js';
|
|
75
75
|
export { OrganizationsResource } from './chunk-ALSLZG3U.js';
|
|
@@ -85,9 +85,9 @@ export { CommunityResource } from './chunk-SFB4YLCS.js';
|
|
|
85
85
|
export { CompetitorsResource } from './chunk-BU5A6K4C.js';
|
|
86
86
|
export { CopilotResource } from './chunk-I6CXC345.js';
|
|
87
87
|
import './chunk-JMOKD6ZP.js';
|
|
88
|
-
export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from './chunk-
|
|
88
|
+
export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from './chunk-GWCOKNST.js';
|
|
89
89
|
export { OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ASSET_TYPES, CREATURE_ATTACH_COLUMNS, CreaturesResource } from './chunk-CK3AMMSC.js';
|
|
90
|
-
export { CreditsResource } from './chunk-
|
|
90
|
+
export { CreditsResource } from './chunk-4CXB7RA6.js';
|
|
91
91
|
export { DeveloperAppsResource } from './chunk-65E3JBFZ.js';
|
|
92
92
|
export { CLIP_PACK_MAX_TARGET_SEC, CLIP_PACK_MIN_TARGET_SEC, EditResource, TRAILER_FORMATS, USE_CASE_NODE_TYPES } from './chunk-I4A5VJRL.js';
|
|
93
93
|
export { AlreadyRunningError, AppRunVersionChangedError, ContinuationPreviewPendingError, ContinuationRefusedError, ForbiddenError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictError, throwFromResponse } from './chunk-JGS6YBDW.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConnectedReference, DescribedReference } from '@nodaro/shared/types';
|
|
2
2
|
import { VideoCharacterReference } from '@nodaro/shared/video';
|
|
3
|
-
import { ImageEditTargetResolution, ImageAspectRatio, TaskChainedEditProvider, ImageEditProvider, ModifyImageProvider, ImageResolution, ImageQuality, ImageRenderingSpeed } from '@nodaro/shared/models';
|
|
3
|
+
import { ImageEditTargetResolution, ImageAspectRatio, TaskChainedEditProvider, ImageEditProvider, ModifyImageProvider, ImageResolution, ImageQuality, ImageRenderingSpeed, VideoToVideoNodeProvider } from '@nodaro/shared/models';
|
|
4
4
|
import '@nodaro/shared/nodes';
|
|
5
5
|
import { SocialSearchParams, SocialPost, SocialPlatform, SocialSearchMode } from '@nodaro/shared/social';
|
|
6
6
|
import { GenerateMaskOutput, GenerateMaskRequest, VideoDepthProvider, VideoDepthModelSize, VideoDepthColormap, VideoDepthResolution } from '@nodaro/shared/media';
|
|
@@ -482,6 +482,83 @@ interface GenerateMaskParams extends GenerateMaskRequest, GenerationSessionParam
|
|
|
482
482
|
*/
|
|
483
483
|
type GenerateMaskJobOutput = NodeJobOutput & GenerateMaskOutput;
|
|
484
484
|
|
|
485
|
+
/**
|
|
486
|
+
* Typed request body for `nodes.run("video-to-video", …)` / `runAndWait` /
|
|
487
|
+
* `quote` — `POST /v1/video-to-video`: change or restyle an existing clip from
|
|
488
|
+
* a prompt. Mirrors the route's body; fields a model does not use are ignored
|
|
489
|
+
* by that model.
|
|
490
|
+
*/
|
|
491
|
+
interface VideoToVideoParams extends GenerationSessionParams {
|
|
492
|
+
/** The clip to change. */
|
|
493
|
+
videoUrl: string;
|
|
494
|
+
/** What to change. On `seedance-2-5` it is an edit instruction ("make it
|
|
495
|
+
* black and white"); the platform frames it as an edit of the clip. */
|
|
496
|
+
prompt?: string;
|
|
497
|
+
/** The person's own words, kept for the record when `prompt` was rewritten. */
|
|
498
|
+
userPrompt?: string;
|
|
499
|
+
/** Default `"wan"`. `seedance-2-5` edits the whole clip and is priced by the
|
|
500
|
+
* clip's length (see `nodes.quote`). */
|
|
501
|
+
provider?: VideoToVideoNodeProvider;
|
|
502
|
+
/** Wan / Wan Flash. A Seedance edit ignores it: the result keeps the source
|
|
503
|
+
* clip's own length. */
|
|
504
|
+
duration?: "5" | "10";
|
|
505
|
+
/** `480p` is Seedance only. */
|
|
506
|
+
resolution?: "480p" | "720p" | "1080p";
|
|
507
|
+
/** Native audio: Wan Flash's audio track, Seedance's generated sound. */
|
|
508
|
+
audio?: boolean;
|
|
509
|
+
/** Wan Flash multi-shot. */
|
|
510
|
+
multiShots?: boolean;
|
|
511
|
+
/** Runway Aleph output ratio. */
|
|
512
|
+
aspectRatio?: "16:9" | "9:16" | "4:3" | "3:4" | "1:1" | "21:9";
|
|
513
|
+
seed?: number;
|
|
514
|
+
/** One image the edit can refer to (Seedance: `@image_1`). */
|
|
515
|
+
referenceImageUrl?: string;
|
|
516
|
+
negativePrompt?: string;
|
|
517
|
+
/** Wan Video Edit: seconds of the source to edit (`"0"` = the whole clip). */
|
|
518
|
+
videoEditDuration?: "0" | "5" | "10";
|
|
519
|
+
/** Wan Video Edit: keep the source audio (`"origin"`) or let the model decide. */
|
|
520
|
+
audioSetting?: "auto" | "origin";
|
|
521
|
+
promptExtend?: boolean;
|
|
522
|
+
/** Seedance 2.5 only: a 480p draft, finalized later with `video-upscale`. */
|
|
523
|
+
draft?: boolean;
|
|
524
|
+
[k: string]: unknown;
|
|
525
|
+
}
|
|
526
|
+
/** One way the platform shaped the price — shown so a client can explain it. */
|
|
527
|
+
interface QuoteAdjustment {
|
|
528
|
+
/** Stable code, e.g. `ref_video_length`, `extra_reference_images`,
|
|
529
|
+
* `loop_trim_addon`, `voiced_audio_addon`, `params_adjusted`. */
|
|
530
|
+
readonly code: string;
|
|
531
|
+
readonly message: string;
|
|
532
|
+
/** Credits this adjustment adds to `reserve`, when it is a separate amount. */
|
|
533
|
+
readonly credits?: number;
|
|
534
|
+
}
|
|
535
|
+
/** Something the caller should know before running. */
|
|
536
|
+
interface QuoteWarning {
|
|
537
|
+
/** Stable code, e.g. `ref_video_unmeasured`, `settles_to_actual`. */
|
|
538
|
+
readonly code: string;
|
|
539
|
+
readonly message: string;
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* The price of a run before it starts — `POST /v1/quote`. Computed by the same
|
|
543
|
+
* code the run route reserves with, on the same body: nothing is started and
|
|
544
|
+
* nothing is charged.
|
|
545
|
+
*/
|
|
546
|
+
interface NodeQuote {
|
|
547
|
+
/** The price id the run is charged under. */
|
|
548
|
+
readonly identifier: string;
|
|
549
|
+
/** Credits the run reserves when it starts. */
|
|
550
|
+
readonly reserve: number;
|
|
551
|
+
/**
|
|
552
|
+
* Credits the run is expected to cost, when that differs from `reserve` and
|
|
553
|
+
* can be worked out from the measured inputs (a Seedance edit renders the
|
|
554
|
+
* source clip's length, not the longest tier). The run settles to what was
|
|
555
|
+
* actually generated and never above `reserve`.
|
|
556
|
+
*/
|
|
557
|
+
readonly expected?: number;
|
|
558
|
+
readonly adjustments: readonly QuoteAdjustment[];
|
|
559
|
+
readonly warnings: readonly QuoteWarning[];
|
|
560
|
+
}
|
|
561
|
+
|
|
485
562
|
type NodeCategory = "input" | "parameter" | "ai-image" | "ai-video" | "ai-audio" | "ai-text" | "processing" | "composition" | "trigger" | "output" | "control" | "entity" | "utility";
|
|
486
563
|
type OutputType = "text" | "image" | "video" | "audio" | "data" | "none";
|
|
487
564
|
/**
|
|
@@ -1164,10 +1241,11 @@ declare class NodesResource {
|
|
|
1164
1241
|
}), options?: RunNodeOptions): Promise<GenerateImageBatchResult>;
|
|
1165
1242
|
run(type: "generate-image", params?: GenerateImageParams, options?: RunNodeOptions): Promise<RunNodeResult>;
|
|
1166
1243
|
run(type: "text-to-speech", params: TextToSpeechParams): Promise<RunNodeResult>;
|
|
1167
|
-
run(type: "generate-video", params?: GenerateVideoParams): Promise<RunNodeResult>;
|
|
1168
|
-
run(type: "text-to-video", params: TextToVideoParams): Promise<RunNodeResult>;
|
|
1169
|
-
run(type: "video-
|
|
1170
|
-
run(type: "
|
|
1244
|
+
run(type: "generate-video", params?: GenerateVideoParams, options?: RunNodeOptions): Promise<RunNodeResult>;
|
|
1245
|
+
run(type: "text-to-video", params: TextToVideoParams, options?: RunNodeOptions): Promise<RunNodeResult>;
|
|
1246
|
+
run(type: "video-to-video", params: VideoToVideoParams, options?: RunNodeOptions): Promise<RunNodeResult>;
|
|
1247
|
+
run(type: "video-upscale", params: VideoUpscaleParams, options?: RunNodeOptions): Promise<RunNodeResult>;
|
|
1248
|
+
run(type: "assemble-narrated-video", params?: AssembleNarratedVideoParams, options?: RunNodeOptions): Promise<RunNodeResult>;
|
|
1171
1249
|
run(type: "social-search", params: SocialSearchParams, options?: RunNodeOptions): Promise<RunNodeResult>;
|
|
1172
1250
|
run(type: "video-depth", params: VideoDepthParams, options?: RunNodeOptions): Promise<RunNodeResult>;
|
|
1173
1251
|
run(type: "image-to-image", params: ImageToImageParams, options?: RunNodeOptions): Promise<ImageJobStarted>;
|
|
@@ -1176,6 +1254,27 @@ declare class NodesResource {
|
|
|
1176
1254
|
/** Synchronous and free: answers the tiles, no job. */
|
|
1177
1255
|
run(type: "split-image", params: SplitImageParams, options?: RunNodeOptions): Promise<SplitImageResult>;
|
|
1178
1256
|
run(type: string, params?: Record<string, unknown>, options?: RunNodeOptions): Promise<RunNodeResult>;
|
|
1257
|
+
/**
|
|
1258
|
+
* The price of a run before it starts (`POST /v1/quote`). Send exactly the
|
|
1259
|
+
* body you would send to {@link run}: the platform prices it with the same
|
|
1260
|
+
* code the run route reserves with — validation, measuring reference clips,
|
|
1261
|
+
* the price id and the credit amount — but starts nothing and charges
|
|
1262
|
+
* nothing.
|
|
1263
|
+
*
|
|
1264
|
+
* `reserve` is what the run will hold when it starts; `expected`, when
|
|
1265
|
+
* present, is what it should actually cost (a Seedance edit renders the
|
|
1266
|
+
* source clip's length). A run settles to what was generated, never above
|
|
1267
|
+
* `reserve`. Rejects with the same `400` the run would answer for an
|
|
1268
|
+
* invalid body. Typed for the video lanes; any other node type takes its
|
|
1269
|
+
* run body as-is.
|
|
1270
|
+
*
|
|
1271
|
+
* @param type Node type slug, as for {@link run}.
|
|
1272
|
+
* @param params The run body.
|
|
1273
|
+
*/
|
|
1274
|
+
quote(type: "text-to-video", params: TextToVideoParams): Promise<NodeQuote>;
|
|
1275
|
+
quote(type: "generate-video", params: GenerateVideoParams): Promise<NodeQuote>;
|
|
1276
|
+
quote(type: "video-to-video", params: VideoToVideoParams): Promise<NodeQuote>;
|
|
1277
|
+
quote(type: string, params?: Record<string, unknown>): Promise<NodeQuote>;
|
|
1179
1278
|
/**
|
|
1180
1279
|
* Run a single async node to completion: {@link run} it, extract the
|
|
1181
1280
|
* `{ jobId }`, then client-poll `jobs.getStatus(jobId)` every `pollMs`
|
|
@@ -1211,6 +1310,7 @@ declare class NodesResource {
|
|
|
1211
1310
|
runAndWait(type: "text-to-speech", params: TextToSpeechParams, opts?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
1212
1311
|
runAndWait(type: "generate-video", params?: GenerateVideoParams, opts?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
1213
1312
|
runAndWait(type: "text-to-video", params: TextToVideoParams, opts?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
1313
|
+
runAndWait(type: "video-to-video", params: VideoToVideoParams, opts?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
1214
1314
|
runAndWait(type: "video-upscale", params: VideoUpscaleParams, opts?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
1215
1315
|
runAndWait(type: "assemble-narrated-video", params?: AssembleNarratedVideoParams, opts?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
1216
1316
|
runAndWait(type: "social-search", params: SocialSearchParams, opts?: RunAndWaitOptions): Promise<SocialSearchJobOutput>;
|
|
@@ -1261,4 +1361,4 @@ declare class NodesResource {
|
|
|
1261
1361
|
private pollUntilSettled;
|
|
1262
1362
|
}
|
|
1263
1363
|
|
|
1264
|
-
export { type
|
|
1364
|
+
export { type SplitImageParams as $, type AssembleNarratedVideoParams as A, type BatchJobOutcome as B, type RetainedScene3DEditParams as C, type RetainedScene3DEditResult as D, type EditImageCommonParams as E, type RunAndWaitOptions as F, type GenerateImageBatchGroup as G, type RunManyResult as H, type ImageJobStarted as I, type JobOutputImage as J, type RunNodeAdjustment as K, type RunNodeOptions as L, type RunNodeResult as M, type NodeCategory as N, type OutputType as O, type Pro3DRenderJobOutput as P, type QuoteAdjustment as Q, type ReferenceCaptionParams as R, type RunNodeWarning as S, SCENE3D_DELIVERY_ASSET_USAGE as T, type Scene3DAuthoringEngine as U, type Scene3DCapabilities as V, type Scene3DDelivery as W, type Scene3DDeliveryAsset as X, type Scene3DDeliveryAssetKind as Y, type Scene3DJobOutput as Z, type SocialSearchJobOutput as _, type EditImageFromTaskParams as a, type SplitImageResult as a0, type SplitImageTile as a1, type StructuredReferenceParams as a2, type Subject as a3, type TextToSpeechParams as a4, type TextToVideoParams as a5, type VideoDepthParams as a6, type VideoToVideoParams as a7, type VideoUpscaleParams as a8, type EditImageFromUrlParams as b, type EditImageParams as c, type EditScene3DParams as d, type GenerateImageBatchOutput as e, type GenerateImageBatchResult as f, type GenerateImageParams as g, type GenerateMaskJobOutput as h, type GenerateMaskParams as i, type GenerateScene3DParams as j, type GenerateVideoParams as k, type GenerationSessionParams as l, type ImageToImageParams as m, type NodeCreditRate as n, type NodeDescriptor as o, type NodeInputField as p, type NodeInputSchema as q, type NodeJobOutput as r, type NodeQuote as s, NodesResource as t, type Pro3DRenderParams as u, type Pro3DRenderQuote as v, type Pro3DRenderRunOptions as w, type Pro3DRenderRunParams as x, type QuoteWarning as y, type RenderScene3DParams as z };
|