seacloud-sdk 0.11.3 → 0.11.4

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.js CHANGED
@@ -4166,7 +4166,8 @@ async function viduQ2I2vReference(params) {
4166
4166
  }
4167
4167
  const pollingOptions = {
4168
4168
  intervalMs: 3e3,
4169
- maxAttempts: 60
4169
+ maxAttempts: 120
4170
+ // 增加到 120 次 (360秒) 以支持多图参考
4170
4171
  };
4171
4172
  const result = await createAndWaitTask(
4172
4173
  client,
@@ -4182,6 +4183,7 @@ async function viduQ2I2vReference(params) {
4182
4183
  for (const item of result.output) {
4183
4184
  if (item.content) {
4184
4185
  for (const resource of item.content) {
4186
+ validateResourceUrl(resource, "video");
4185
4187
  resources.push({
4186
4188
  type: resource.type || "unknown",
4187
4189
  url: resource.url || "",