mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-12 15:20:13 +00:00
fix(product-launch): consolidate media brand and audio contracts (#2408)
* fix(product-launch): preserve hoisted media offsets * fix(product-launch): preserve brand font and accent roles * fix(product-launch): honor TTS provider selection * fix(product-launch): preserve approved video geometry * fix(skills): enforce media geometry and font classification * fix(skills): align secondary brand accents
This commit is contained in:
@@ -124,6 +124,7 @@ function runGenerate(argv) {
|
||||
const scriptPath = resolve(flag(argv, "script", join(hyperframesDir, "SCRIPT.md")));
|
||||
const outPath = resolve(flag(argv, "out", join(hyperframesDir, "audio_meta.json")));
|
||||
const userVoice = flag(argv, "voice", null);
|
||||
const provider = flag(argv, "provider", process.env.HF_TTS_PROVIDER || "auto");
|
||||
const speed = Number(flag(argv, "speed", "1.0")) || 1.0;
|
||||
|
||||
if (!existsSync(storyboardPath)) die(`STORYBOARD.md not found at ${storyboardPath}`);
|
||||
@@ -142,7 +143,7 @@ function runGenerate(argv) {
|
||||
// strict here (no wait-bgm step downstream).
|
||||
const query = (g.extra && g.extra.music) || g.message || g.arc || "calm cinematic underscore";
|
||||
const request = {
|
||||
provider: "auto",
|
||||
provider,
|
||||
speed,
|
||||
lines,
|
||||
bgm: { mode: "retrieve", query, blob: g.message || "", arc: g.arc || "" },
|
||||
|
||||
Reference in New Issue
Block a user