@koda-sl/baker-cli 0.293.0-dev.cf9d5462d → 0.294.0-dev.97421c92b
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 +11 -0
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -57379,6 +57379,15 @@ import { defineCommand as defineCommand208 } from "citty";
|
|
|
57379
57379
|
// src/commands/studio/animate.ts
|
|
57380
57380
|
import { defineCommand as defineCommand200 } from "citty";
|
|
57381
57381
|
|
|
57382
|
+
// src/commands/studio/avatarModel.ts
|
|
57383
|
+
function pinnedModelHint(input) {
|
|
57384
|
+
if (!input.avatar || !input.model) return null;
|
|
57385
|
+
if (input.model === DEFAULT_VIDEO_GENERATE_MODEL) return null;
|
|
57386
|
+
const speaks = input.generateAudio ?? true;
|
|
57387
|
+
if (!speaks) return null;
|
|
57388
|
+
return `You pinned --model ${input.model} on a speaking avatar. Without it this clip routes to ${DEFAULT_VIDEO_GENERATE_MODEL}, which was chosen for exactly this case: the better picture, both orientations, and audio always on. Drop --model unless the user asked for a specific one \u2014 and note ${input.model} may not take the length or the reference you are counting on.`;
|
|
57389
|
+
}
|
|
57390
|
+
|
|
57382
57391
|
// src/commands/studio/batch.ts
|
|
57383
57392
|
function projectBatch(generation, full) {
|
|
57384
57393
|
const compact3 = {
|
|
@@ -57821,6 +57830,8 @@ function costHintsFor(body) {
|
|
|
57821
57830
|
const hints2 = [
|
|
57822
57831
|
count === 1 ? `This clip costs about ${total} credits \u2014 roughly 45x an image.` : `${count} takes at about ${perTake} credits each \u2014 about ${total} credits.`
|
|
57823
57832
|
];
|
|
57833
|
+
const pinned = pinnedModelHint({ avatar: body.avatar, model: body.model, generateAudio: body.generateAudio });
|
|
57834
|
+
if (pinned) hints2.push(pinned);
|
|
57824
57835
|
if (count > 1) {
|
|
57825
57836
|
hints2.push(
|
|
57826
57837
|
"Ask for more than one take only when the MOTION is the risk \u2014 for a look you are unsure about, iterate on the still first."
|