@koda-sl/baker-cli 0.298.0-dev.52a1f12f8 → 0.300.0-dev.e0610b71d
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
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
ulid,
|
|
64
64
|
validateCanvasDeep,
|
|
65
65
|
ytDlpBlockSignal
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-FENRH7OF.js";
|
|
67
67
|
import {
|
|
68
68
|
csvOrJson,
|
|
69
69
|
daysAgoIso,
|
|
@@ -6544,7 +6544,10 @@ var videoGenerateModelSchema = z21.enum([
|
|
|
6544
6544
|
"google/veo-3.1-lite",
|
|
6545
6545
|
"kwaivgi/kling-v3.0-pro",
|
|
6546
6546
|
"x-ai/grok-imagine-video",
|
|
6547
|
+
"x-ai/grok-imagine-video-1.5",
|
|
6547
6548
|
"alibaba/wan-2.7",
|
|
6549
|
+
"alibaba/wan-3.0",
|
|
6550
|
+
"runway/gen-4.5",
|
|
6548
6551
|
"alibaba/happyhorse-1.1"
|
|
6549
6552
|
]);
|
|
6550
6553
|
var rgbTriple = z21.tuple([
|
|
@@ -30131,6 +30134,12 @@ registerSchema({
|
|
|
30131
30134
|
type: "string",
|
|
30132
30135
|
description: "Who picks the face, for an invented avatar: 'ask' (default) blocks on the user through `request_avatar_casting`, 'auto' keeps the one this build casts and asks nobody. Use 'auto' only when there is no one to answer \u2014 a Schedule, a batch, an explicit \"do it yourself\" \u2014 because a person who is there almost always wants this choice.",
|
|
30133
30136
|
required: false
|
|
30137
|
+
},
|
|
30138
|
+
output: {
|
|
30139
|
+
type: "string",
|
|
30140
|
+
description: "Output format. Only `json`, which is what this returns anyway \u2014 accepted because `avatars list` and `avatars get` take it, so reaching for it here is the obvious guess.",
|
|
30141
|
+
required: false,
|
|
30142
|
+
default: "json"
|
|
30134
30143
|
}
|
|
30135
30144
|
}
|
|
30136
30145
|
});
|
|
@@ -30171,6 +30180,12 @@ var createCommand2 = defineCommand96({
|
|
|
30171
30180
|
type: "string",
|
|
30172
30181
|
description: "Who picks the face of an invented avatar: 'ask' (default, blocks on the user) or 'auto' (asks nobody)",
|
|
30173
30182
|
required: false
|
|
30183
|
+
},
|
|
30184
|
+
output: {
|
|
30185
|
+
type: "string",
|
|
30186
|
+
description: "Output format \u2014 `json` only, which is what this returns anyway",
|
|
30187
|
+
required: false,
|
|
30188
|
+
default: "json"
|
|
30174
30189
|
}
|
|
30175
30190
|
},
|
|
30176
30191
|
run: async ({ args }) => {
|
|
@@ -30195,6 +30210,12 @@ var createCommand2 = defineCommand96({
|
|
|
30195
30210
|
`--handle "${handle}" is not usable. Use lowercase letters, numbers and dashes, starting with a letter \u2014 "maria-founder", not "Maria Founder". Leave it off to have one derived from the name.`
|
|
30196
30211
|
);
|
|
30197
30212
|
}
|
|
30213
|
+
const output = args.output?.trim().toLowerCase();
|
|
30214
|
+
if (output && output !== "json") {
|
|
30215
|
+
failValidation2(
|
|
30216
|
+
`\`--output ${output}\` is not a format \`baker avatars create\` produces \u2014 it returns JSON and nothing else. Drop the flag, or pass \`--output json\`. \`baker avatars list\` and \`baker avatars get\` are the ones that also render \`files\` and \`md\`.`
|
|
30217
|
+
);
|
|
30218
|
+
}
|
|
30198
30219
|
const faceChoice = parseFaceChoice(args.face);
|
|
30199
30220
|
if (faceChoice === null) {
|
|
30200
30221
|
failValidation2(
|