@koda-sl/baker-cli 0.246.1 → 0.247.0-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/README.md +31 -11
- package/dist/{chunk-EKLAHWSF.js → chunk-77OP3PDC.js} +111 -31
- package/dist/chunk-77OP3PDC.js.map +1 -0
- package/dist/cli.js +8 -7
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-EKLAHWSF.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
ulid,
|
|
59
59
|
validateCanvasDeep,
|
|
60
60
|
ytDlpBlockSignal
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-77OP3PDC.js";
|
|
62
62
|
import {
|
|
63
63
|
csvOrJson,
|
|
64
64
|
daysAgoIso,
|
|
@@ -4292,7 +4292,7 @@ var FLOW_NODE_CATALOG = [
|
|
|
4292
4292
|
}
|
|
4293
4293
|
}
|
|
4294
4294
|
},
|
|
4295
|
-
gotcha: "`fieldtype` is one of: checkbox, date_picker, date_time_range, email, hidden, input, multi_select, number, phone, select, textarea. `select`/`multi_select` need non-empty `options`; `phone` needs `defaultCountry`; a field rendered by your own code is declared `hidden`.",
|
|
4295
|
+
gotcha: "`fieldtype` is one of: checkbox, date_picker, date_time_range, email, hidden, input, multi_select, number, phone, select, textarea. `select`/`multi_select` need non-empty `options`; `phone` needs `defaultCountry`; a field rendered by your own code is declared `hidden`. A field your page validates itself (postal code against a service area, VAT number, order reference) also needs `testValue` \u2014 the Form's own checks invent `TestValue` otherwise and never get past that step.",
|
|
4296
4296
|
reference: NODE_REF("customForm")
|
|
4297
4297
|
},
|
|
4298
4298
|
{
|
|
@@ -5687,6 +5687,7 @@ var studioClipModeSchema = z18.enum(["first_frame", "references", "text"]);
|
|
|
5687
5687
|
var videoGenerateModelSchema = z18.enum([
|
|
5688
5688
|
"bytedance/seedance-2.0",
|
|
5689
5689
|
"bytedance/seedance-2.5",
|
|
5690
|
+
"google/gemini-omni-1.1-flash",
|
|
5690
5691
|
"google/gemini-omni-flash",
|
|
5691
5692
|
"google/veo-3.1",
|
|
5692
5693
|
"google/veo-3.1-fast",
|
|
@@ -5831,8 +5832,8 @@ var studioImageSettingsSchema = z18.object({
|
|
|
5831
5832
|
var studioClipSettingsSchema = z18.object({
|
|
5832
5833
|
clipMode: studioClipModeSchema,
|
|
5833
5834
|
// Optional because a model that FIXES one of these has none to report: Gemini
|
|
5834
|
-
// Omni always renders
|
|
5835
|
-
//
|
|
5835
|
+
// Omni always renders native audio and rejects the toggle, so the batch records
|
|
5836
|
+
// nothing rather than a value it never asked for.
|
|
5836
5837
|
duration: z18.number().optional(),
|
|
5837
5838
|
resolution: z18.string().optional(),
|
|
5838
5839
|
generateAudio: z18.boolean().optional(),
|
|
@@ -27986,7 +27987,7 @@ function emitSceneClip(i, scene, present2, mode, nativeTurn, ambientBroll, frame
|
|
|
27986
27987
|
...videoAudioParam(opts.videoModel, Boolean(nativeTurn) || ambientBroll),
|
|
27987
27988
|
// Intent-keyed "astonishing default" overrides — merged LAST so a hero/reveal
|
|
27988
27989
|
// beat can claim the 1080p ceiling over the aspect-derived resolution.
|
|
27989
|
-
...clipParamRecipe(profile, clipIntentOf(scene, i))
|
|
27990
|
+
...clipParamRecipe(opts.videoModel, profile, clipIntentOf(scene, i))
|
|
27990
27991
|
};
|
|
27991
27992
|
if (opts.genAr) clipParams.aspect_ratio = opts.genAr;
|
|
27992
27993
|
nodes.push({
|
|
@@ -28744,7 +28745,7 @@ function emitPhraseClip(phrase, voiceNode, env, nodes, out) {
|
|
|
28744
28745
|
...videoDurationParam(env.opts.videoModel, genDur),
|
|
28745
28746
|
...videoResolutionParam(env.opts.videoModel, env.opts.resolution),
|
|
28746
28747
|
...videoAudioParam(env.opts.videoModel, true),
|
|
28747
|
-
...clipParamRecipe(clipProfile, clipIntentOf(anchorScene, anchor))
|
|
28748
|
+
...clipParamRecipe(env.opts.videoModel, clipProfile, clipIntentOf(anchorScene, anchor))
|
|
28748
28749
|
};
|
|
28749
28750
|
clipParams.aspect_ratio = env.genAr;
|
|
28750
28751
|
nodes.push({
|
|
@@ -32128,7 +32129,7 @@ var SEEDANCE = "bytedance/seedance-2.0";
|
|
|
32128
32129
|
var VEO = "google/veo-3.1";
|
|
32129
32130
|
var VEO_FAST = "google/veo-3.1-fast";
|
|
32130
32131
|
var KLING = "kwaivgi/kling-v3.0-pro";
|
|
32131
|
-
var GEMINI_OMNI = "google/gemini-omni-flash";
|
|
32132
|
+
var GEMINI_OMNI = "google/gemini-omni-1.1-flash";
|
|
32132
32133
|
function routeVideoModel(input) {
|
|
32133
32134
|
const budget = input.budget ?? "standard";
|
|
32134
32135
|
const signals = [];
|