@koda-sl/baker-cli 0.250.1-dev.e7a1a227e → 0.250.2-dev.e7a1a227e

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/cli.js CHANGED
@@ -48034,7 +48034,7 @@ registerSchema({
48034
48034
  },
48035
48035
  image: {
48036
48036
  type: "string",
48037
- description: "Comma-separated source images: library image ids, local file paths, and/or image URLs. Required unless --from text. With the default --from frame this must be exactly ONE image (the opening frame) \u2014 several are refused rather than silently reduced to the first. With --from references, up to 9 on Seedance 2.0 and 30 on Seedance 2.5.",
48037
+ description: "Comma-separated source images: library image ids, local file paths, and/or image URLs. Required unless --from text or --avatar (the avatar is the source). With the default --from frame this must be exactly ONE image (the opening frame) \u2014 several are refused rather than silently reduced to the first. With --from references, up to 9 on Seedance 2.0 and 30 on Seedance 2.5.",
48038
48038
  required: false
48039
48039
  },
48040
48040
  from: {
@@ -48326,13 +48326,13 @@ var animateCommand = defineCommand189({
48326
48326
  writeJson({ ok: false, error: { code: "VALIDATION_ERROR", message: "A prompt is required" } });
48327
48327
  process.exit(1);
48328
48328
  }
48329
- if (!args.image && args.from !== "text") {
48329
+ if (!args.image && !args.avatar && args.from !== "text") {
48330
48330
  writeJson({
48331
48331
  ok: false,
48332
48332
  error: {
48333
48333
  code: "VALIDATION_ERROR",
48334
- message: "--image is required unless you pass --from text: a clip normally animates a still, so it needs the image to start from",
48335
- fix: "Pass --image <id|path|url>, or --from text to render from the prompt alone."
48334
+ message: "--image is required unless you pass --from text or --avatar: a clip normally animates a still, so it needs the image to start from",
48335
+ fix: "Pass --image <id|path|url>, --avatar <handle> to build the shot around one of your avatars, or --from text to render from the prompt alone."
48336
48336
  }
48337
48337
  });
48338
48338
  process.exit(1);