cascade-ai 0.63.0 → 0.64.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.js CHANGED
@@ -1624,7 +1624,7 @@ var pricing_data_default = {
1624
1624
  ]
1625
1625
  },
1626
1626
  {
1627
- model: "veo-3.1-generate-001",
1627
+ model: "veo-3.1-generate-preview",
1628
1628
  provider: "gemini",
1629
1629
  modality: "video",
1630
1630
  currency: "USD",
@@ -1862,7 +1862,7 @@ function reconcilePrice(model, live) {
1862
1862
  }
1863
1863
 
1864
1864
  // src/constants.ts
1865
- var CASCADE_VERSION = "0.63.0";
1865
+ var CASCADE_VERSION = "0.64.0";
1866
1866
  var CASCADE_CONFIG_DIR = ".cascade";
1867
1867
  var CASCADE_MD_FILE = "CASCADE.md";
1868
1868
  var CASCADE_IGNORE_FILE = ".cascadeignore";
@@ -9272,9 +9272,17 @@ var CAPABILITIES = [
9272
9272
  // Long-running: submit returns an operation name, the video lands minutes
9273
9273
  // later, and the bytes come from a short-lived signed URL. generate.ts owns
9274
9274
  // that polling loop; the registry only records the shape via `api`.
9275
+ //
9276
+ // `veo-3.1-generate-001` (no "-preview") is VERTEX AI's id for this model,
9277
+ // not the Gemini Developer API's — this file calls
9278
+ // generativelanguage.googleapis.com (see generate.ts), which 404s on it:
9279
+ // "models/veo-3.1-generate-001 is not found for API version v1beta". On the
9280
+ // Gemini API specifically, Veo 3.1 is still preview-only, so the correct id
9281
+ // there is `veo-3.1-generate-preview`.
9282
+ // https://ai.google.dev/gemini-api/docs/veo
9275
9283
  modality: "video",
9276
9284
  provider: "gemini",
9277
- modelId: "veo-3.1-generate-001",
9285
+ modelId: "veo-3.1-generate-preview",
9278
9286
  api: "gemini-predict-lro"
9279
9287
  }
9280
9288
  ];