@acedatacloud/n8n-nodes-seedance 0.1.4 → 0.1.5
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/README.md +2 -2
- package/dist/nodes/Seedance/Seedance.node.js +15 -5
- package/dist/nodes/Seedance/Seedance.node.js.map +1 -1
- package/dist/nodes/Seedance/properties.d.ts +7 -0
- package/dist/nodes/Seedance/properties.js +137 -139
- package/dist/nodes/Seedance/properties.js.map +1 -1
- package/examples/generate-and-wait.json +10 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ Official n8n tutorial image, referenced on 2026-10-18; its original capture date
|
|
|
30
30
|
2. Paste an existing task ID returned by this same service. The **Task ID** field is not a prompt or a video/image URL. Leave creation and n8n retry-on-fail off.
|
|
31
31
|
3. Execute that query node once. Continue only when `finished` and `successful` are true; inspect `data` for the final media URL. A pending response or task ID is not the final output. Record 401/403 and check access rather than creating a replacement task.
|
|
32
32
|
|
|
33
|
-
For new creation, choose **Resource → Video**, **Operation → Create**, then
|
|
33
|
+
For new creation, choose **Resource → Video**, **Operation → Create**, then choose an input mode and fill in the prompt. Set a model, duration, resolution, or aspect ratio in **Options** when you need to override the defaults. Check [current pricing](https://platform.acedata.cloud/models?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen) and balance before executing once. Keep the returned ID and query it after a timeout; restarting creation can incur another charge. Each incoming item can create a separate task. No model fallback is added by this integration.
|
|
34
34
|
|
|
35
35
|
The API-key screenshots below are real platform references; this README does not claim that they show an n8n installation or output. Native n8n installation/configuration screenshots must identify the actual package/version and contain no secret. All customer-facing node text and documentation remain English to match [n8n verification requirements](https://docs.n8n.io/connect/create-nodes/build-your-node/reference/verification-guidelines/).
|
|
36
36
|
|
|
@@ -65,7 +65,7 @@ Video creation supports text-to-video and image-to-video with a first frame and
|
|
|
65
65
|
|
|
66
66
|
## Generate and wait for a result
|
|
67
67
|
|
|
68
|
-
Import [`examples/generate-and-wait.json`](examples/generate-and-wait.json), assign your credential to both Seedance nodes, and edit the prompt and model
|
|
68
|
+
Import [`examples/generate-and-wait.json`](examples/generate-and-wait.json), assign your credential to both Seedance nodes, and edit the prompt and use **Create → Options → Model** if you need a specific model. Existing workflows using node version 1 retain their saved top-level settings.
|
|
69
69
|
|
|
70
70
|
The template submits once, then queries the returned task every 15 seconds. A separate 30-minute deadline bounds the loop. A failed task or deadline ends with an explicit failure; a completed task exposes the final media in `data`. The deadline does not cancel an already submitted service task; its ID remains available in the execution history.
|
|
71
71
|
|
|
@@ -11,7 +11,7 @@ class Seedance {
|
|
|
11
11
|
name: 'seedance',
|
|
12
12
|
icon: { light: 'file:icon.png', dark: 'file:icon.dark.png' },
|
|
13
13
|
group: ['transform'],
|
|
14
|
-
version: 1,
|
|
14
|
+
version: [1, properties_1.SEEDANCE_OPTIONS_VERSION],
|
|
15
15
|
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
16
16
|
description: 'Create Seedance videos from text or frames and retrieve the same task through Ace Data Cloud',
|
|
17
17
|
defaults: { name: 'Seedance' },
|
|
@@ -39,6 +39,7 @@ class Seedance {
|
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
async execute() {
|
|
42
|
+
var _a, _b, _c, _d;
|
|
42
43
|
const items = this.getInputData();
|
|
43
44
|
const result = [];
|
|
44
45
|
for (let index = 0; index < items.length; index++) {
|
|
@@ -97,13 +98,22 @@ class Seedance {
|
|
|
97
98
|
else if (mode !== 'text') {
|
|
98
99
|
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Select a supported input mode');
|
|
99
100
|
}
|
|
101
|
+
const usesOptions = this.getNode().typeVersion >= properties_1.SEEDANCE_OPTIONS_VERSION;
|
|
100
102
|
const body = {
|
|
101
|
-
model:
|
|
103
|
+
model: usesOptions
|
|
104
|
+
? ((_a = options.model) !== null && _a !== void 0 ? _a : properties_1.videoDefaults.model)
|
|
105
|
+
: this.getNodeParameter('model', index),
|
|
102
106
|
content,
|
|
103
107
|
async: true,
|
|
104
|
-
duration:
|
|
105
|
-
|
|
106
|
-
|
|
108
|
+
duration: usesOptions
|
|
109
|
+
? ((_b = options.duration) !== null && _b !== void 0 ? _b : properties_1.videoDefaults.duration)
|
|
110
|
+
: this.getNodeParameter('duration', index, properties_1.videoDefaults.duration),
|
|
111
|
+
resolution: usesOptions
|
|
112
|
+
? ((_c = options.resolution) !== null && _c !== void 0 ? _c : properties_1.videoDefaults.resolution)
|
|
113
|
+
: this.getNodeParameter('resolution', index, properties_1.videoDefaults.resolution),
|
|
114
|
+
ratio: usesOptions
|
|
115
|
+
? ((_d = options.ratio) !== null && _d !== void 0 ? _d : properties_1.videoDefaults.ratio)
|
|
116
|
+
: this.getNodeParameter('ratio', index, properties_1.videoDefaults.ratio),
|
|
107
117
|
};
|
|
108
118
|
if (typeof body.duration !== 'number' ||
|
|
109
119
|
!Number.isInteger(body.duration) ||
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Seedance.node.js","sourceRoot":"","sources":["../../../nodes/Seedance/Seedance.node.ts"],"names":[],"mappings":";;;AAAA,+CAAuE;AAQvE,uCAQmB;AACnB,
|
|
1
|
+
{"version":3,"file":"Seedance.node.js","sourceRoot":"","sources":["../../../nodes/Seedance/Seedance.node.ts"],"names":[],"mappings":";;;AAAA,+CAAuE;AAQvE,uCAQmB;AACnB,6CAAmF;AAEnF,MAAa,QAAQ;IAArB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,oBAAoB,EAAE;YAC5D,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC,CAAC,EAAE,qCAAwB,CAAC;YACtC,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EACV,8FAA8F;YAC/F,QAAQ,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;YAC9B,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AC;oBACrF,MAAM,UAAU,GAAG,IAAA,0BAAgB,EAAC,QAAQ,CAAC,CAAC;oBAC9C,MAAM,CAAC,IAAI,CAAC,GAAG,IAAA,gBAAM,EAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;gBACzE,CAAC;YACF,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAChB,MAAM,CAAC,IAAI,CAAC,IAAA,iBAAO,EAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;YAC1C,CAAC;QACF,CAAC;QACD,OAAO,CAAC,MAAM,CAAC,CAAC;IACjB,CAAC;CACD;AAvJD,4BAuJC"}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import type { INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare const SEEDANCE_OPTIONS_VERSION = 1.1;
|
|
3
|
+
export declare const videoDefaults: {
|
|
4
|
+
readonly model: "doubao-seedance-2-0-260128";
|
|
5
|
+
readonly duration: 5;
|
|
6
|
+
readonly resolution: "720p";
|
|
7
|
+
readonly ratio: "16:9";
|
|
8
|
+
};
|
|
2
9
|
export declare const properties: INodeProperties[];
|
|
@@ -1,6 +1,131 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = void 0;
|
|
3
|
+
exports.properties = exports.videoDefaults = exports.SEEDANCE_OPTIONS_VERSION = void 0;
|
|
4
|
+
exports.SEEDANCE_OPTIONS_VERSION = 1.1;
|
|
5
|
+
exports.videoDefaults = {
|
|
6
|
+
model: 'doubao-seedance-2-0-260128',
|
|
7
|
+
duration: 5,
|
|
8
|
+
resolution: '720p',
|
|
9
|
+
ratio: '16:9',
|
|
10
|
+
};
|
|
11
|
+
const legacyVideoSettings = { show: { resource: ['video'], '@version': [1] } };
|
|
12
|
+
const modelControl = {
|
|
13
|
+
displayName: 'Model',
|
|
14
|
+
name: 'model',
|
|
15
|
+
type: 'options',
|
|
16
|
+
default: 'doubao-seedance-2-0-260128',
|
|
17
|
+
options: [
|
|
18
|
+
{
|
|
19
|
+
name: 'doubao-seedance-1-0-lite-i2v-250428',
|
|
20
|
+
value: 'doubao-seedance-1-0-lite-i2v-250428',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'doubao-seedance-1-0-lite-t2v-250428',
|
|
24
|
+
value: 'doubao-seedance-1-0-lite-t2v-250428',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'doubao-seedance-1-0-pro-250528',
|
|
28
|
+
value: 'doubao-seedance-1-0-pro-250528',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: 'doubao-seedance-1-0-pro-fast-251015',
|
|
32
|
+
value: 'doubao-seedance-1-0-pro-fast-251015',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'doubao-seedance-1-5-pro-251215',
|
|
36
|
+
value: 'doubao-seedance-1-5-pro-251215',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'doubao-seedance-2-0-260128',
|
|
40
|
+
value: 'doubao-seedance-2-0-260128',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'doubao-seedance-2-0-fast-260128',
|
|
44
|
+
value: 'doubao-seedance-2-0-fast-260128',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'doubao-seedance-2-0-mini-260615',
|
|
48
|
+
value: 'doubao-seedance-2-0-mini-260615',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'doubao-seedance-2-5-260628',
|
|
52
|
+
value: 'doubao-seedance-2-5-260628',
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
description: 'The model to use. Availability and pricing depend on the selected model.',
|
|
56
|
+
};
|
|
57
|
+
const videoSettings = [
|
|
58
|
+
{
|
|
59
|
+
displayName: 'Duration',
|
|
60
|
+
name: 'duration',
|
|
61
|
+
type: 'number',
|
|
62
|
+
default: 5,
|
|
63
|
+
typeOptions: {
|
|
64
|
+
minValue: 4,
|
|
65
|
+
maxValue: 15,
|
|
66
|
+
numberPrecision: 0,
|
|
67
|
+
},
|
|
68
|
+
description: 'Video length in seconds. Supported lengths depend on the model.',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
displayName: 'Resolution',
|
|
72
|
+
name: 'resolution',
|
|
73
|
+
type: 'options',
|
|
74
|
+
default: '720p',
|
|
75
|
+
options: [
|
|
76
|
+
{
|
|
77
|
+
name: '480p',
|
|
78
|
+
value: '480p',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: '720p',
|
|
82
|
+
value: '720p',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: '1080p',
|
|
86
|
+
value: '1080p',
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
displayName: 'Aspect Ratio',
|
|
92
|
+
name: 'ratio',
|
|
93
|
+
type: 'options',
|
|
94
|
+
default: '16:9',
|
|
95
|
+
options: [
|
|
96
|
+
{ name: '1:1', value: '1:1' },
|
|
97
|
+
{ name: '16:9', value: '16:9' },
|
|
98
|
+
{ name: '21:9', value: '21:9' },
|
|
99
|
+
{ name: '3:4', value: '3:4' },
|
|
100
|
+
{ name: '4:3', value: '4:3' },
|
|
101
|
+
{ name: '9:16', value: '9:16' },
|
|
102
|
+
{ name: 'Adaptive', value: 'adaptive' },
|
|
103
|
+
],
|
|
104
|
+
},
|
|
105
|
+
];
|
|
106
|
+
const originalOptions = [
|
|
107
|
+
{
|
|
108
|
+
displayName: 'Generate Audio',
|
|
109
|
+
name: 'generateAudio',
|
|
110
|
+
type: 'boolean',
|
|
111
|
+
default: false,
|
|
112
|
+
description: 'Whether to generate audio when supported by the selected model',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
displayName: 'Last Frame URL',
|
|
116
|
+
name: 'lastFrameUrl',
|
|
117
|
+
type: 'string',
|
|
118
|
+
default: '',
|
|
119
|
+
description: 'Optional public HTTP or HTTPS last frame for image-to-video mode',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
displayName: 'Return Last Frame',
|
|
123
|
+
name: 'returnLastFrame',
|
|
124
|
+
type: 'boolean',
|
|
125
|
+
default: false,
|
|
126
|
+
description: 'Whether to return the generated last frame',
|
|
127
|
+
},
|
|
128
|
+
];
|
|
4
129
|
exports.properties = [
|
|
5
130
|
{
|
|
6
131
|
displayName: 'Resource',
|
|
@@ -109,56 +234,7 @@ exports.properties = [
|
|
|
109
234
|
},
|
|
110
235
|
description: 'Describe the video to generate',
|
|
111
236
|
},
|
|
112
|
-
{
|
|
113
|
-
displayName: 'Model',
|
|
114
|
-
name: 'model',
|
|
115
|
-
type: 'options',
|
|
116
|
-
default: 'doubao-seedance-2-0-260128',
|
|
117
|
-
options: [
|
|
118
|
-
{
|
|
119
|
-
name: 'doubao-seedance-1-0-lite-i2v-250428',
|
|
120
|
-
value: 'doubao-seedance-1-0-lite-i2v-250428',
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
name: 'doubao-seedance-1-0-lite-t2v-250428',
|
|
124
|
-
value: 'doubao-seedance-1-0-lite-t2v-250428',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
name: 'doubao-seedance-1-0-pro-250528',
|
|
128
|
-
value: 'doubao-seedance-1-0-pro-250528',
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
name: 'doubao-seedance-1-0-pro-fast-251015',
|
|
132
|
-
value: 'doubao-seedance-1-0-pro-fast-251015',
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
name: 'doubao-seedance-1-5-pro-251215',
|
|
136
|
-
value: 'doubao-seedance-1-5-pro-251215',
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
name: 'doubao-seedance-2-0-260128',
|
|
140
|
-
value: 'doubao-seedance-2-0-260128',
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
name: 'doubao-seedance-2-0-fast-260128',
|
|
144
|
-
value: 'doubao-seedance-2-0-fast-260128',
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
name: 'doubao-seedance-2-0-mini-260615',
|
|
148
|
-
value: 'doubao-seedance-2-0-mini-260615',
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
name: 'doubao-seedance-2-5-260628',
|
|
152
|
-
value: 'doubao-seedance-2-5-260628',
|
|
153
|
-
},
|
|
154
|
-
],
|
|
155
|
-
displayOptions: {
|
|
156
|
-
show: {
|
|
157
|
-
resource: ['video'],
|
|
158
|
-
},
|
|
159
|
-
},
|
|
160
|
-
description: 'The model to use. Availability and pricing depend on the selected model.',
|
|
161
|
-
},
|
|
237
|
+
{ ...modelControl, displayOptions: legacyVideoSettings },
|
|
162
238
|
{
|
|
163
239
|
displayName: 'Input Mode',
|
|
164
240
|
name: 'inputMode',
|
|
@@ -194,67 +270,15 @@ exports.properties = [
|
|
|
194
270
|
},
|
|
195
271
|
description: 'Public HTTP or HTTPS URL of the first frame',
|
|
196
272
|
},
|
|
273
|
+
...videoSettings.map((field) => ({ ...field, displayOptions: legacyVideoSettings })),
|
|
197
274
|
{
|
|
198
|
-
displayName: '
|
|
199
|
-
name: '
|
|
200
|
-
type: '
|
|
201
|
-
default:
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
numberPrecision: 0,
|
|
206
|
-
},
|
|
207
|
-
displayOptions: {
|
|
208
|
-
show: {
|
|
209
|
-
resource: ['video'],
|
|
210
|
-
},
|
|
211
|
-
},
|
|
212
|
-
description: 'Video length in seconds. Supported lengths depend on the model.',
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
displayName: 'Resolution',
|
|
216
|
-
name: 'resolution',
|
|
217
|
-
type: 'options',
|
|
218
|
-
default: '720p',
|
|
219
|
-
options: [
|
|
220
|
-
{
|
|
221
|
-
name: '480p',
|
|
222
|
-
value: '480p',
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
name: '720p',
|
|
226
|
-
value: '720p',
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
name: '1080p',
|
|
230
|
-
value: '1080p',
|
|
231
|
-
},
|
|
232
|
-
],
|
|
233
|
-
displayOptions: {
|
|
234
|
-
show: {
|
|
235
|
-
resource: ['video'],
|
|
236
|
-
},
|
|
237
|
-
},
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
displayName: 'Aspect Ratio',
|
|
241
|
-
name: 'ratio',
|
|
242
|
-
type: 'options',
|
|
243
|
-
default: '16:9',
|
|
244
|
-
options: [
|
|
245
|
-
{ name: '1:1', value: '1:1' },
|
|
246
|
-
{ name: '16:9', value: '16:9' },
|
|
247
|
-
{ name: '21:9', value: '21:9' },
|
|
248
|
-
{ name: '3:4', value: '3:4' },
|
|
249
|
-
{ name: '4:3', value: '4:3' },
|
|
250
|
-
{ name: '9:16', value: '9:16' },
|
|
251
|
-
{ name: 'Adaptive', value: 'adaptive' },
|
|
252
|
-
],
|
|
253
|
-
displayOptions: {
|
|
254
|
-
show: {
|
|
255
|
-
resource: ['video'],
|
|
256
|
-
},
|
|
257
|
-
},
|
|
275
|
+
displayName: 'Options',
|
|
276
|
+
name: 'options',
|
|
277
|
+
type: 'collection',
|
|
278
|
+
default: {},
|
|
279
|
+
placeholder: 'Add Option',
|
|
280
|
+
displayOptions: legacyVideoSettings,
|
|
281
|
+
options: originalOptions,
|
|
258
282
|
},
|
|
259
283
|
{
|
|
260
284
|
displayName: 'Options',
|
|
@@ -262,34 +286,8 @@ exports.properties = [
|
|
|
262
286
|
type: 'collection',
|
|
263
287
|
default: {},
|
|
264
288
|
placeholder: 'Add Option',
|
|
265
|
-
displayOptions: {
|
|
266
|
-
|
|
267
|
-
resource: ['video'],
|
|
268
|
-
},
|
|
269
|
-
},
|
|
270
|
-
options: [
|
|
271
|
-
{
|
|
272
|
-
displayName: 'Generate Audio',
|
|
273
|
-
name: 'generateAudio',
|
|
274
|
-
type: 'boolean',
|
|
275
|
-
default: false,
|
|
276
|
-
description: 'Whether to generate audio when supported by the selected model',
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
displayName: 'Last Frame URL',
|
|
280
|
-
name: 'lastFrameUrl',
|
|
281
|
-
type: 'string',
|
|
282
|
-
default: '',
|
|
283
|
-
description: 'Optional public HTTP or HTTPS last frame for image-to-video mode',
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
displayName: 'Return Last Frame',
|
|
287
|
-
name: 'returnLastFrame',
|
|
288
|
-
type: 'boolean',
|
|
289
|
-
default: false,
|
|
290
|
-
description: 'Whether to return the generated last frame',
|
|
291
|
-
},
|
|
292
|
-
],
|
|
289
|
+
displayOptions: { show: { resource: ['video'], '@version': [exports.SEEDANCE_OPTIONS_VERSION] } },
|
|
290
|
+
options: [modelControl, ...videoSettings, ...originalOptions],
|
|
293
291
|
},
|
|
294
292
|
{
|
|
295
293
|
displayName: 'Simplify',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties.js","sourceRoot":"","sources":["../../../nodes/Seedance/properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,
|
|
1
|
+
{"version":3,"file":"properties.js","sourceRoot":"","sources":["../../../nodes/Seedance/properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,wBAAwB,GAAG,GAAG,CAAC;AAC/B,QAAA,aAAa,GAAG;IAC5B,KAAK,EAAE,4BAA4B;IACnC,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,MAAM;IAClB,KAAK,EAAE,MAAM;CACJ,CAAC;AAEX,MAAM,mBAAmB,GAAG,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;AAC/E,MAAM,YAAY,GAAoB;IACrC,WAAW,EAAE,OAAO;IACpB,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CAAC,EAAE,GAAG,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC,CAAC;IACpF;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,YAAY;QACzB,cAAc,EAAE,mBAAmB;QACnC,OAAO,EAAE,eAAe;KACxB;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,YAAY;QACzB,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC,gCAAwB,CAAC,EAAE,EAAE;QACzF,OAAO,EAAE,CAAC,YAAY,EAAE,GAAG,aAAa,EAAE,GAAG,eAAe,CAAC;KAC7D;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,gFAAgF;KAC7F;CACD,CAAC"}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"typeVersion": 1,
|
|
17
17
|
"position": [0, -300],
|
|
18
18
|
"parameters": {
|
|
19
|
-
"content": "## Seedance through AceDataCloud\nInstall @acedatacloud/n8n-nodes-seedance, then select your service credential on Create and Get Task. Edit the prompt and model before running. One execution creates one paid generation task. Querying does not resubmit it. The 30-minute deadline stops waiting; it does not cancel a service task.",
|
|
19
|
+
"content": "## Seedance through AceDataCloud\nInstall @acedatacloud/n8n-nodes-seedance, then select your service credential on Create and Get Task. Edit the prompt and review the model under Create → Options before running. One execution creates one paid generation task. Querying does not resubmit it. The 30-minute deadline stops waiting; it does not cancel a service task.",
|
|
20
20
|
"height": 230,
|
|
21
21
|
"width": 540
|
|
22
22
|
}
|
|
@@ -25,18 +25,20 @@
|
|
|
25
25
|
"id": "create",
|
|
26
26
|
"name": "Create",
|
|
27
27
|
"type": "@acedatacloud/n8n-nodes-seedance.seedance",
|
|
28
|
-
"typeVersion": 1,
|
|
28
|
+
"typeVersion": 1.1,
|
|
29
29
|
"position": [220, 0],
|
|
30
30
|
"parameters": {
|
|
31
31
|
"resource": "video",
|
|
32
32
|
"operation": "create",
|
|
33
33
|
"prompt": "A peaceful ocean at sunrise, slow cinematic camera movement",
|
|
34
|
-
"model": "doubao-seedance-2-0-260128",
|
|
35
34
|
"simplify": true,
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
"inputMode": "text",
|
|
36
|
+
"options": {
|
|
37
|
+
"model": "doubao-seedance-2-0-260128",
|
|
38
|
+
"duration": 5,
|
|
39
|
+
"resolution": "720p",
|
|
40
|
+
"ratio": "16:9"
|
|
41
|
+
}
|
|
40
42
|
},
|
|
41
43
|
"retryOnFail": false
|
|
42
44
|
},
|
|
@@ -83,7 +85,7 @@
|
|
|
83
85
|
"id": "get-task",
|
|
84
86
|
"name": "Get Task",
|
|
85
87
|
"type": "@acedatacloud/n8n-nodes-seedance.seedance",
|
|
86
|
-
"typeVersion": 1,
|
|
88
|
+
"typeVersion": 1.1,
|
|
87
89
|
"position": [880, 0],
|
|
88
90
|
"parameters": {
|
|
89
91
|
"resource": "task",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acedatacloud/n8n-nodes-seedance",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Create Seedance videos from text or frames and retrieve the same task through Ace Data Cloud.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/AceDataCloud/SeedanceN8N",
|