@acedatacloud/sdk 2026.1105.0 → 2026.1106.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acedatacloud/sdk",
3
- "version": "2026.1105.0",
3
+ "version": "2026.1106.0",
4
4
  "description": "Ace Data Cloud SDK for Suno, Seedance, HappyHorse, GPT Image and Nano Banana",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -123,6 +123,8 @@ class Images {
123
123
  n?: number;
124
124
  outputCompression?: number;
125
125
  outputFormat?: string;
126
+ frameCount?: number;
127
+ frameDurationMs?: number;
126
128
  partialImages?: number;
127
129
  size?: string;
128
130
  quality?: string;
@@ -132,10 +134,12 @@ class Images {
132
134
  async?: boolean;
133
135
  [key: string]: unknown;
134
136
  }): Promise<Record<string, unknown>> {
135
- const { prompt, model, outputCompression, outputFormat, partialImages, responseFormat, callbackUrl, ...rest } = opts;
137
+ const { prompt, model, outputCompression, outputFormat, frameCount, frameDurationMs, partialImages, responseFormat, callbackUrl, ...rest } = opts;
136
138
  const body: Record<string, unknown> = { prompt, model, ...rest };
137
139
  if (outputCompression !== undefined) body.output_compression = outputCompression;
138
140
  if (outputFormat !== undefined) body.output_format = outputFormat;
141
+ if (frameCount !== undefined) body.frame_count = frameCount;
142
+ if (frameDurationMs !== undefined) body.frame_duration_ms = frameDurationMs;
139
143
  if (partialImages !== undefined) body.partial_images = partialImages;
140
144
  if (responseFormat !== undefined) body.response_format = responseFormat;
141
145
  if (callbackUrl !== undefined) body.callback_url = callbackUrl;
@@ -151,6 +155,8 @@ class Images {
151
155
  inputFidelity?: string;
152
156
  mask?: string;
153
157
  outputFormat?: string;
158
+ frameCount?: number;
159
+ frameDurationMs?: number;
154
160
  outputCompression?: number;
155
161
  partialImages?: number;
156
162
  quality?: string;
@@ -160,11 +166,13 @@ class Images {
160
166
  async?: boolean;
161
167
  [key: string]: unknown;
162
168
  }): Promise<Record<string, unknown>> {
163
- const { image, prompt, inputFidelity, mask, outputFormat, outputCompression, partialImages, responseFormat, callbackUrl, ...rest } = opts;
169
+ const { image, prompt, inputFidelity, mask, outputFormat, frameCount, frameDurationMs, outputCompression, partialImages, responseFormat, callbackUrl, ...rest } = opts;
164
170
  const body: Record<string, unknown> = { image, prompt, ...rest };
165
171
  if (inputFidelity !== undefined) body.input_fidelity = inputFidelity;
166
172
  if (mask !== undefined) body.mask = mask;
167
173
  if (outputFormat !== undefined) body.output_format = outputFormat;
174
+ if (frameCount !== undefined) body.frame_count = frameCount;
175
+ if (frameDurationMs !== undefined) body.frame_duration_ms = frameDurationMs;
168
176
  if (outputCompression !== undefined) body.output_compression = outputCompression;
169
177
  if (partialImages !== undefined) body.partial_images = partialImages;
170
178
  if (responseFormat !== undefined) body.response_format = responseFormat;