@acedatacloud/sdk 2026.811.0 → 2026.814.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/index.mjs CHANGED
@@ -1980,23 +1980,26 @@ var Seedance = class {
1980
1980
  this.transport = transport;
1981
1981
  }
1982
1982
  transport;
1983
- /** ByteDance Seedance video generation API. Supports doubao-seedance-1-0-pro-250528, doubao-seedance-1-0-pro-fast-251015, doubao-seedance-1-5-pro-251215, doubao-seedance-1-0-lite-t2v-250428, and doubao-s */
1983
+ /** Call /seedance/videos. */
1984
1984
  async generate(options) {
1985
1985
  const body = {};
1986
1986
  body["model"] = options.model;
1987
1987
  body["content"] = options.content;
1988
- if (options.seed !== void 0) body["seed"] = options.seed;
1988
+ if (options.resolution !== void 0) body["resolution"] = options.resolution;
1989
1989
  body["ratio"] = options.ratio ?? "16:9";
1990
- if (options.frames !== void 0) body["frames"] = options.frames;
1991
1990
  if (options.duration !== void 0) body["duration"] = options.duration;
1992
- if (options.watermark !== void 0) body["watermark"] = options.watermark;
1993
- if (options.resolution !== void 0) body["resolution"] = options.resolution;
1991
+ if (options.frames !== void 0) body["frames"] = options.frames;
1992
+ if (options.seed !== void 0) body["seed"] = options.seed;
1994
1993
  if (options.camerafixed !== void 0) body["camerafixed"] = options.camerafixed;
1994
+ if (options.watermark !== void 0) body["watermark"] = options.watermark;
1995
1995
  body["generate_audio"] = options.generateAudio ?? false;
1996
1996
  body["return_last_frame"] = options.returnLastFrame ?? false;
1997
1997
  body["execution_expires_after"] = options.executionExpiresAfter ?? 172800;
1998
+ if (options.omniReferenceTaskType !== void 0) body["omni_reference_task_type"] = options.omniReferenceTaskType;
1999
+ if (options.outputFormat !== void 0) body["output_format"] = options.outputFormat;
2000
+ if (options.tools !== void 0) body["tools"] = options.tools;
1998
2001
  for (const [key, value] of Object.entries(options)) {
1999
- if (!["async", "callbackUrl", "camerafixed", "content", "duration", "executionExpiresAfter", "frames", "generateAudio", "maxWait", "model", "pollInterval", "ratio", "resolution", "returnLastFrame", "seed", "wait", "watermark"].includes(key) && value !== void 0) {
2002
+ if (!["async", "callbackUrl", "camerafixed", "content", "duration", "executionExpiresAfter", "frames", "generateAudio", "maxWait", "model", "omniReferenceTaskType", "outputFormat", "pollInterval", "ratio", "resolution", "returnLastFrame", "seed", "tools", "wait", "watermark"].includes(key) && value !== void 0) {
2000
2003
  body[key] = value;
2001
2004
  }
2002
2005
  }