@automovie/template 0.2.0 → 0.3.1
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 +2 -2
- package/generated/pnpm-workspace.json +3 -3
- package/generated/skills/3d-modeling/conditioning.md +42 -34
- package/generated/skills/3d-modeling/crafting/SKILL.md +6 -6
- package/generated/skills/3d-modeling/crafting/construction.md +22 -29
- package/generated/skills/3d-modeling/crafting/lofting.md +26 -24
- package/generated/skills/3d-modeling/crafting/recovery.md +8 -8
- package/generated/skills/3d-modeling/diffusion/image-hints.md +5 -5
- package/generated/skills/3d-modeling/diffusion/models.md +32 -16
- package/generated/skills/3d-modeling/diffusion/prompts.md +3 -3
- package/generated/skills/3d-modeling/diffusion/request.md +7 -5
- package/generated/skills/3d-modeling/diffusion/shape-hints.md +19 -17
- package/generated/skills/3d-modeling/inspection.md +11 -9
- package/generated/skills/3d-modeling/modularization.md +9 -9
- package/generated/skills/3d-modeling/rigging.md +44 -35
- package/generated/skills/3d-modeling/sources.md +10 -10
- package/generated/skills/contracts/development/common.md +4 -4
- package/generated/skills/contracts/development/design.md +4 -4
- package/generated/skills/contracts/development/implementation.md +7 -7
- package/generated/skills/contracts/development/testing.md +4 -4
- package/generated/skills/development/repair.md +2 -4
- package/generated/skills/documentation/SKILL.md +4 -4
- package/generated/skills/documentation/writing.md +56 -34
- package/generated/skills/motion/laws/authoring.md +20 -30
- package/generated/skills/motion/laws/contacts.md +13 -13
- package/generated/skills/motion/laws/declaration.md +8 -6
- package/generated/skills/motion/laws/transitions.md +20 -18
- package/generated/skills/motion/laws/variation.md +6 -6
- package/generated/skills/motion/laws/verification.md +8 -6
- package/generated/skills/prompting/SKILL.md +52 -34
- package/generated/skills/visual-debugging/capture.md +24 -22
- package/generated/skills/visual-debugging/comparison.md +4 -4
- package/generated/skills/visual-debugging/correction-rounds.md +6 -15
- package/generated/skills/visual-debugging/passes.md +11 -11
- package/generated/skills/visual-debugging/rendering-cost.md +2 -2
- package/lib/createAutoMovieScaffold.js +2 -20
- package/lib/createAutoMovieScaffold.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/renderAutoMovieWorkspace.d.ts +22 -0
- package/lib/renderAutoMovieWorkspace.js +141 -0
- package/lib/renderAutoMovieWorkspace.js.map +1 -0
- package/package.json +5 -5
- package/scaffold/instructions/.agents/skills/3d-modeling/SKILL.md +22 -21
- package/scaffold/instructions/.agents/skills/3d-modeling/coarse-forms.md +7 -7
- package/scaffold/instructions/.agents/skills/3d-modeling/diffusion/SKILL.md +14 -10
- package/scaffold/instructions/.agents/skills/audio/SKILL.md +10 -10
- package/scaffold/instructions/.agents/skills/audio/acquisition.md +16 -18
- package/scaffold/instructions/.agents/skills/audio/diffusion/SKILL.md +18 -0
- package/scaffold/instructions/.agents/skills/audio/diffusion/cloning.md +25 -0
- package/scaffold/instructions/.agents/skills/audio/diffusion/models.md +59 -0
- package/scaffold/instructions/.agents/skills/audio/diffusion/prompts.md +45 -0
- package/scaffold/instructions/.agents/skills/audio/film-sound.md +7 -5
- package/scaffold/instructions/.agents/skills/audio/generated-sound.md +5 -3
- package/scaffold/instructions/.agents/skills/audio/listening.md +13 -0
- package/scaffold/instructions/.agents/skills/audio/sound-effects.md +6 -6
- package/scaffold/instructions/.agents/skills/audio/soundtrack.md +4 -2
- package/scaffold/instructions/.agents/skills/automovie/SKILL.md +32 -0
- package/scaffold/instructions/.agents/skills/contracts/SKILL.md +6 -29
- package/scaffold/instructions/.agents/skills/contracts/development/SKILL.md +13 -13
- package/scaffold/instructions/.agents/skills/contracts/development/behaviors.md +18 -7
- package/scaffold/instructions/.agents/skills/contracts/development/composition.md +9 -6
- package/scaffold/instructions/.agents/skills/contracts/development/entities.md +6 -7
- package/scaffold/instructions/.agents/skills/contracts/development/statements/behaviors.md +18 -20
- package/scaffold/instructions/.agents/skills/contracts/development/statements/composition.md +4 -6
- package/scaffold/instructions/.agents/skills/contracts/development/statements/entities.md +12 -13
- package/scaffold/instructions/.agents/skills/contracts/items.md +26 -0
- package/scaffold/instructions/.agents/skills/contracts/story/SKILL.md +37 -25
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/brief.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/common.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/narratives.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/screenplay.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/scripts.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/discovery/treatments.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/common.md +4 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/common.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/realized.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/obligations/scripts.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/realized.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/naturalness/scripts.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/brief.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/common.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/index.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/narratives.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/review.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/screenplay.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/scripts.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/settings.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/obligations/treatments.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/brief.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/common.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/index.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/narratives.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/realized.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/research.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/screenplay.md +3 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/scripts.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/settings.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/principles/treatments.md +2 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/brief.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/common.md +3 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/narratives.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/screenplay.md +0 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/scripts.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/settings.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/discovery/treatments.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/common.md +11 -14
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/common.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/realized.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/obligations/scripts.md +3 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/realized.md +2 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/naturalness/scripts.md +1 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/brief.md +6 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/common.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/index.md +2 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/narratives.md +3 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/review.md +5 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/screenplay.md +5 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/scripts.md +2 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/settings.md +6 -8
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/obligations/treatments.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/brief.md +4 -6
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/common.md +2 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/index.md +2 -4
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/narratives.md +3 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/realized.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/research.md +6 -8
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/review.md +5 -7
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/screenplay.md +19 -22
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/scripts.md +9 -11
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/settings.md +3 -5
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/principles/treatments.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/screenplay.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/scripts.md +1 -3
- package/scaffold/instructions/.agents/skills/contracts/story/shared/statements/upstream/treatments.md +0 -2
- package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/screenplay.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/scripts.md +1 -1
- package/scaffold/instructions/.agents/skills/contracts/story/shared/upstream/treatments.md +1 -1
- package/scaffold/instructions/.agents/skills/development/SKILL.md +14 -24
- package/scaffold/instructions/.agents/skills/development/entities.md +19 -15
- package/scaffold/instructions/.agents/skills/development/modules.md +31 -0
- package/scaffold/instructions/.agents/skills/development/source-layout.md +66 -50
- package/scaffold/instructions/.agents/skills/development/testing.md +10 -11
- package/scaffold/instructions/.agents/skills/evidence/SKILL.md +7 -7
- package/scaffold/instructions/.agents/skills/evidence/adoption.md +4 -4
- package/scaffold/instructions/.agents/skills/evidence/answering.md +3 -3
- package/scaffold/instructions/.agents/skills/evidence/configuration.md +4 -4
- package/scaffold/instructions/.agents/skills/image/SKILL.md +8 -19
- package/scaffold/instructions/.agents/skills/image/canon-references.md +16 -6
- package/scaffold/instructions/.agents/skills/image/diffusion/SKILL.md +23 -0
- package/scaffold/instructions/.agents/skills/image/diffusion/conditioning.md +29 -0
- package/scaffold/instructions/.agents/skills/image/diffusion/consistency.md +25 -0
- package/scaffold/instructions/.agents/skills/image/diffusion/editing.md +15 -0
- package/scaffold/instructions/.agents/skills/image/diffusion/finishing.md +11 -0
- package/scaffold/instructions/.agents/skills/image/diffusion/models.md +35 -0
- package/scaffold/instructions/.agents/skills/image/diffusion/prompting.md +27 -0
- package/scaffold/instructions/.agents/skills/image/turnaround-views.md +6 -2
- package/scaffold/instructions/.agents/skills/motion/SKILL.md +15 -32
- package/scaffold/instructions/.agents/skills/motion/catalog-cases.md +15 -15
- package/scaffold/instructions/.agents/skills/motion/compose/composition.md +34 -26
- package/scaffold/instructions/.agents/skills/motion/compose/refusals.md +5 -5
- package/scaffold/instructions/.agents/skills/motion/control-channels.md +14 -10
- package/scaffold/instructions/.agents/skills/motion/diffusion/SKILL.md +12 -8
- package/scaffold/instructions/.agents/skills/motion/diffusion/clips.md +23 -9
- package/scaffold/instructions/.agents/skills/motion/diffusion/hints.md +20 -8
- package/scaffold/instructions/.agents/skills/motion/diffusion/models.md +24 -16
- package/scaffold/instructions/.agents/skills/motion/diffusion/tracing.md +18 -12
- package/scaffold/instructions/.agents/skills/motion/frame-evaluation.md +6 -6
- package/scaffold/instructions/.agents/skills/motion/judgment.md +37 -0
- package/scaffold/instructions/.agents/skills/motion/laws/SKILL.md +11 -11
- package/scaffold/instructions/.agents/skills/motion/laws/extension.md +15 -11
- package/scaffold/instructions/.agents/skills/motion/laws/method-references.md +47 -17
- package/scaffold/instructions/.agents/skills/motion/performance.md +11 -0
- package/scaffold/instructions/.agents/skills/motion/physical-feedback.md +15 -15
- package/scaffold/instructions/.agents/skills/motion/retargeting.md +5 -5
- package/scaffold/instructions/.agents/skills/motion/segment-review.md +7 -5
- package/scaffold/instructions/.agents/skills/motion/staging.md +10 -8
- package/scaffold/instructions/.agents/skills/production/SKILL.md +11 -38
- package/scaffold/instructions/.agents/skills/production/assembly.md +11 -5
- package/scaffold/instructions/.agents/skills/production/captions.md +4 -4
- package/scaffold/instructions/.agents/skills/production/director.md +17 -0
- package/scaffold/instructions/.agents/skills/production/media-records.md +33 -11
- package/scaffold/instructions/.agents/skills/production/project-context.md +64 -22
- package/scaffold/instructions/.agents/skills/production/reorganization.md +3 -3
- package/scaffold/instructions/.agents/skills/production/stage-caches.md +7 -11
- package/scaffold/instructions/.agents/skills/production/sustained-runs.md +7 -7
- package/scaffold/instructions/.agents/skills/production/workflow.md +45 -0
- package/scaffold/instructions/.agents/skills/review/SKILL.md +10 -15
- package/scaffold/instructions/.agents/skills/review/delivery-review.md +51 -30
- package/scaffold/instructions/.agents/skills/review/estimation.md +32 -13
- package/scaffold/instructions/.agents/skills/review/independent-reading.md +6 -4
- package/scaffold/instructions/.agents/skills/review/narrative-rounds.md +7 -7
- package/scaffold/instructions/.agents/skills/review/source-review.md +5 -9
- package/scaffold/instructions/.agents/skills/story/SKILL.md +10 -13
- package/scaffold/instructions/.agents/skills/story/answers.md +10 -10
- package/scaffold/instructions/.agents/skills/story/correction/inspection.md +10 -12
- package/scaffold/instructions/.agents/skills/story/correction/repair.md +20 -14
- package/scaffold/instructions/.agents/skills/story/document-layout.md +32 -17
- package/scaffold/instructions/.agents/skills/story/layers/SKILL.md +11 -9
- package/scaffold/instructions/.agents/skills/story/layers/brief.md +4 -8
- package/scaffold/instructions/.agents/skills/story/layers/notation.md +8 -6
- package/scaffold/instructions/.agents/skills/story/layers/screenplay.md +20 -12
- package/scaffold/instructions/.agents/skills/story/layers/scripts.md +3 -3
- package/scaffold/instructions/.agents/skills/story/layers/settings.md +28 -11
- package/scaffold/instructions/.agents/skills/story/layers/shots.md +8 -8
- package/scaffold/instructions/.agents/skills/story/layers/treatments.md +3 -3
- package/scaffold/instructions/.agents/skills/story/planning/SKILL.md +7 -7
- package/scaffold/instructions/.agents/skills/story/planning/direction.md +2 -2
- package/scaffold/instructions/.agents/skills/story/planning/discovery.md +9 -7
- package/scaffold/instructions/.agents/skills/story/planning/requirements.md +10 -8
- package/scaffold/instructions/.agents/skills/story/planning/research.md +15 -18
- package/scaffold/instructions/.agents/skills/story/workflow/SKILL.md +8 -7
- package/scaffold/instructions/.agents/skills/story/workflow/long.md +18 -14
- package/scaffold/instructions/.agents/skills/story/workflow/routes.md +23 -17
- package/scaffold/instructions/.agents/skills/story/workflow/short.md +22 -14
- package/scaffold/instructions/.agents/skills/video/SKILL.md +9 -14
- package/scaffold/instructions/.agents/skills/video/diffusion/SKILL.md +7 -7
- package/scaffold/instructions/.agents/skills/video/diffusion/continuity.md +6 -6
- package/scaffold/instructions/.agents/skills/video/diffusion/hints.md +29 -12
- package/scaffold/instructions/.agents/skills/video/diffusion/models.md +40 -19
- package/scaffold/instructions/.agents/skills/video/diffusion/prompts.md +23 -15
- package/scaffold/instructions/.agents/skills/video/direct-film.md +53 -0
- package/scaffold/instructions/.agents/skills/video/finishing.md +14 -12
- package/scaffold/instructions/.agents/skills/video/generated-film.md +24 -0
- package/scaffold/instructions/.agents/skills/video/generation.md +25 -17
- package/scaffold/instructions/.agents/skills/video/requests.md +8 -8
- package/scaffold/instructions/.agents/skills/visual-debugging/SKILL.md +20 -18
- package/scaffold/instructions/AGENTS.md +46 -46
- package/scaffold/production/README.md +10 -19
- package/scaffold/production/package.json +1 -1
- package/scaffold/production/src/IFilmProduction.ts +22 -3
- package/scaffold/production/src/executable/physics.ts +8 -4
- package/scaffold/production/src/executable/recovery/node/artifact/archiveAutoMovieRecoveryModel.ts +4 -4
- package/scaffold/production/src/executable/recovery/node/artifact/createAutoMovieRecoveryArtifact.ts +5 -3
- package/scaffold/production/src/executable/recovery/node/artifact/writeAutoMovieRecoveryArtifact.ts +7 -7
- package/scaffold/production/src/executable/recovery/node/internal/readRecoveryCameraImages.ts +4 -2
- package/scaffold/production/src/executable/recovery/node/internal/recovery.ts +3 -3
- package/scaffold/production/src/executable/recovery/node/internal/recoveryImages.ts +3 -3
- package/scaffold/production/src/executable/recovery/node/internal/recoveryLocal.ts +4 -2
- package/scaffold/production/src/executable/recovery/node/internal/recoveryOpen.ts +2 -2
- package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryContourFileMesh.ts +17 -18
- package/scaffold/production/src/executable/recovery/node/mesh/createAutoMovieRecoveryMeshSpool.ts +17 -18
- package/scaffold/production/src/executable/recovery/node/mesh/readAutoMovieRecoveryMeshFrontier.ts +4 -4
- package/scaffold/production/src/executable/recovery/node/publishAutoMovieRecoveryArtifact.ts +37 -21
- package/scaffold/production/src/executable/recovery/node/reconstruction/reconstructAutoMovieRecoveryLocal.ts +25 -15
- package/scaffold/production/src/executable/recovery/node/runAutoMovieRecoveryCommand.ts +1 -1
- package/scaffold/production/src/markFilmProduction.ts +1 -1
- package/scaffold/production/src/subjects.ts +28 -7
- package/scaffold/production/test/features/test_recovery_publication_cancellation.ts +129 -0
- package/scaffold/production/tsconfig.json +1 -2
- package/scaffold/production/vite.config.ts +12 -0
- package/scaffold/workspace/README.md +2 -2
- package/scaffold/workspace/package.json +1 -1
- package/src/createAutoMovieScaffold.ts +2 -39
- package/src/index.ts +1 -0
- package/src/renderAutoMovieWorkspace.ts +157 -0
- package/scaffold/instructions/.agents/skills/development/reuse.md +0 -48
- package/scaffold/instructions/.agents/skills/direct-film/SKILL.md +0 -51
- package/scaffold/instructions/.agents/skills/image/conditioning.md +0 -27
- package/scaffold/instructions/.agents/skills/image/consistency.md +0 -23
- package/scaffold/instructions/.agents/skills/image/editing.md +0 -15
- package/scaffold/instructions/.agents/skills/image/finishing.md +0 -11
- package/scaffold/instructions/.agents/skills/image/models.md +0 -18
- package/scaffold/instructions/.agents/skills/image/prompting.md +0 -25
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.renderAutoMovieWorkspace = renderAutoMovieWorkspace;
|
|
37
|
+
const fs = __importStar(require("node:fs"));
|
|
38
|
+
const path = __importStar(require("node:path"));
|
|
39
|
+
const yaml_1 = require("yaml");
|
|
40
|
+
/**
|
|
41
|
+
* Render pnpm settings for a new production or workspace. Given an existing
|
|
42
|
+
* workspace's directory and YAML, fill missing scaffold catalog entries.
|
|
43
|
+
* Existing pins, overrides, workspace members and build policy keep their values.
|
|
44
|
+
* A linked SDK supplies missing scoped packages when their sibling manifests
|
|
45
|
+
* identify them. Other new entries use the installed scaffold's ranges.
|
|
46
|
+
*
|
|
47
|
+
* @param workspace The new layout or the existing workspace whose catalogs the CLI needs.
|
|
48
|
+
* @returns Workspace YAML, byte-for-byte unchanged when every required entry exists.
|
|
49
|
+
* @throws If the shipped settings or workspace YAML cannot be read as required.
|
|
50
|
+
* @evidence contracts/development/implementation.md#principled-implementation Both paths resolve the shipped manifests' catalog references from the same build settings and template version. Local SDK lookup requires an existing link and the requested package identity.
|
|
51
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure The layout selects creation or completion. The YAML document owns edits and the caller owns the write.
|
|
52
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The build discovers the dependencies. Package names and workspace layouts follow their published conventions.
|
|
53
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms The existing document is parsed once and each required entry is visited once. Only missing SDK entries probe sibling manifests in distinct linked directories.
|
|
54
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Both layouts share the resolved defaults. SDK directories are deduplicated per document.
|
|
55
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources File reads close synchronously. Parsed settings, document and link directories live for one call.
|
|
56
|
+
* @evidence contracts/development/common.md#meaningful-documentation The comment describes each mode, precedence, return value and failure.
|
|
57
|
+
*/
|
|
58
|
+
function renderAutoMovieWorkspace(workspace) {
|
|
59
|
+
const settings = JSON.parse(fs.readFileSync(path.join(__dirname, "../generated/pnpm-workspace.json"), "utf8"));
|
|
60
|
+
const manifest = JSON.parse(fs.readFileSync(path.join(__dirname, "../package.json"), "utf8"));
|
|
61
|
+
const catalogs = {
|
|
62
|
+
automovie: Object.fromEntries(settings.automovie.map((name) => [name, `^${manifest.version}`])),
|
|
63
|
+
...settings.catalogs,
|
|
64
|
+
};
|
|
65
|
+
if (typeof workspace === "string")
|
|
66
|
+
return (0, yaml_1.stringify)({
|
|
67
|
+
...(workspace === "workspace"
|
|
68
|
+
? { packages: ["movies/shorts/*", "movies/series/*", "packages/*"] }
|
|
69
|
+
: {}),
|
|
70
|
+
catalogs,
|
|
71
|
+
allowBuilds: settings.allowBuilds,
|
|
72
|
+
});
|
|
73
|
+
const document = (0, yaml_1.parseDocument)(workspace.source, { merge: true });
|
|
74
|
+
if (document.errors.length)
|
|
75
|
+
throw document.errors[0];
|
|
76
|
+
const root = mapping(document.toJS({ mapAsMap: true }), "pnpm-workspace.yaml");
|
|
77
|
+
const current = mapping(root.get("catalogs"), "catalogs");
|
|
78
|
+
const sdk = mapping(current.get("automovie"), "catalogs.automovie");
|
|
79
|
+
const overrides = mapping(root.get("overrides"), "overrides");
|
|
80
|
+
const directories = new Set();
|
|
81
|
+
for (const [name, spec] of new Map([...sdk, ...overrides]))
|
|
82
|
+
if (name.startsWith("@automovie/") &&
|
|
83
|
+
typeof spec === "string" &&
|
|
84
|
+
spec.startsWith("link:"))
|
|
85
|
+
directories.add(path.dirname(path.resolve(workspace.directory, spec.slice(5))));
|
|
86
|
+
let changed = false;
|
|
87
|
+
for (const [catalog, dependencies] of Object.entries(catalogs)) {
|
|
88
|
+
const entries = mapping(current.get(catalog), `catalogs.${catalog}`);
|
|
89
|
+
const missing = Object.entries(dependencies).filter(([name]) => !entries.has(name));
|
|
90
|
+
if (missing.length === 0)
|
|
91
|
+
continue;
|
|
92
|
+
if (!changed)
|
|
93
|
+
isolateMapping(document, ["catalogs"], current);
|
|
94
|
+
isolateMapping(document, ["catalogs", catalog], entries);
|
|
95
|
+
for (const [name, range] of missing) {
|
|
96
|
+
const link = catalog === "automovie" && !overrides.has(name)
|
|
97
|
+
? linkedSibling(workspace.directory, directories, name)
|
|
98
|
+
: undefined;
|
|
99
|
+
document.setIn(["catalogs", catalog, name], link ?? range);
|
|
100
|
+
}
|
|
101
|
+
changed = true;
|
|
102
|
+
}
|
|
103
|
+
return changed ? document.toString() : workspace.source;
|
|
104
|
+
}
|
|
105
|
+
/** Give this path its own entries, preserving the old values at other uses of its anchor. */
|
|
106
|
+
function isolateMapping(document, keys, values) {
|
|
107
|
+
const node = document.getIn(keys, true);
|
|
108
|
+
if (!(0, yaml_1.isMap)(node)) {
|
|
109
|
+
document.setIn(keys, document.createNode(values));
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
if (node.anchor)
|
|
113
|
+
(0, yaml_1.visit)(document, {
|
|
114
|
+
Alias: (_key, alias) => {
|
|
115
|
+
if (alias.resolve(document) === node)
|
|
116
|
+
return document.createNode(values, { aliasDuplicateObjects: false });
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
/** Read an optional YAML mapping, refusing malformed pnpm settings before edits. */
|
|
121
|
+
function mapping(value, key) {
|
|
122
|
+
if (value === undefined || value === null)
|
|
123
|
+
return new Map();
|
|
124
|
+
if (value instanceof Map)
|
|
125
|
+
return value;
|
|
126
|
+
throw new Error(`${key} must be a mapping in pnpm-workspace.yaml`);
|
|
127
|
+
}
|
|
128
|
+
/** Resolve a missing scoped SDK package beside the workspace's linked SDK packages. */
|
|
129
|
+
function linkedSibling(root, directories, name) {
|
|
130
|
+
if (!name.startsWith("@automovie/"))
|
|
131
|
+
return undefined;
|
|
132
|
+
for (const directory of directories) {
|
|
133
|
+
const candidate = path.join(directory, name.slice("@automovie/".length));
|
|
134
|
+
const file = path.join(candidate, "package.json");
|
|
135
|
+
if (fs.existsSync(file) &&
|
|
136
|
+
JSON.parse(fs.readFileSync(file, "utf8")).name === name)
|
|
137
|
+
return `link:${path.relative(root, candidate).split(path.sep).join("/")}`;
|
|
138
|
+
}
|
|
139
|
+
return undefined;
|
|
140
|
+
}
|
|
141
|
+
//# sourceMappingURL=renderAutoMovieWorkspace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderAutoMovieWorkspace.js","sourceRoot":"","sources":["../src/renderAutoMovieWorkspace.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,EAAE,oCAAgB;AAC9B,MAAY,IAAI,sCAAkB;AAClC,+BAA6E;AAS7E;;;;;;;;;;;;;;;;;GAiBG;AACH,kCACE,SAA6E;IAE7E,MAAM,QAAQ,GAAsB,IAAI,CAAC,KAAK,CAC5C,EAAE,CAAC,YAAY,CACb,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,kCAAkC,CAAC,EACxD,MAAM,CACP,CACF,CAAC;IACF,MAAM,QAAQ,GAAwB,IAAI,CAAC,KAAK,CAC9C,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,iBAAiB,CAAC,EAAE,MAAM,CAAC,CACjE,CAAC;IACF,MAAM,QAAQ,GAA2C;QACvD,SAAS,EAAE,MAAM,CAAC,WAAW,CAC3B,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC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AE,OAAO,SAAS,CAAC;IACtD,KAAK,MAAM,SAAS,IAAI,WAAW,EAAE,CAAC;QACpC,MAAM,SAAS,GAAW,IAAI,CAAC,IAAI,CACjC,SAAS,EACT,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CACjC,CAAC;QACF,MAAM,IAAI,GAAW,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC;QAC1D,IACE,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI;YAEvD,OAAO,QAAQ,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IAC9E,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automovie/template",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "The scaffold every AutoMovie production is created from and the function that creates its files.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"yaml": "^2.9.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@automovie/evidence": "^0.
|
|
46
|
-
"@ttsc/evidence": "^0.37.
|
|
47
|
-
"@ttsc/lint": "^0.37.
|
|
45
|
+
"@automovie/evidence": "^0.3.1",
|
|
46
|
+
"@ttsc/evidence": "^0.37.1",
|
|
47
|
+
"@ttsc/lint": "^0.37.1",
|
|
48
48
|
"@types/node": "^22.19.17",
|
|
49
49
|
"rimraf": "^6.0.1",
|
|
50
|
-
"ttsc": "^0.37.
|
|
50
|
+
"ttsc": "^0.37.1",
|
|
51
51
|
"typescript": "^7.0.2",
|
|
52
52
|
"@wrtnlabs/evidence": "^0.8.2"
|
|
53
53
|
},
|
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 3d-modeling
|
|
3
|
-
description:
|
|
3
|
+
description: Prepares a subject's form and attachments.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# 3D modeling
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Prepare each subject's form and attachments from its production record.
|
|
9
9
|
|
|
10
10
|
## Default form
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Use [entity work](../development/entities.md#coarse-first) for people and provided objects. A needed subject without a provided model takes a coarse form, and a subject the hint does not need stays a description in the generation prompt.
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
| Read | To |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| [Coarse forms](coarse-forms.md) | Build a subject no package provides from a few primitives |
|
|
17
|
+
| [Modularization](modularization.md) | Define parts, groups, placements or shared boundaries |
|
|
18
|
+
| [Inspecting a form](inspection.md) | Inspect a form's measures, coverage or light |
|
|
19
|
+
|
|
20
|
+
Commissioned detail uses modularization and form inspection too.
|
|
21
|
+
|
|
22
|
+
A coarse form that reads poorly gets a better choice of primitives, never finer geometry.
|
|
18
23
|
|
|
19
|
-
##
|
|
24
|
+
## Commissioned detail
|
|
20
25
|
|
|
21
|
-
|
|
26
|
+
For a commissioned [detail option](../development/entities.md#detail), use the source the user chooses and cover the required views and controls.
|
|
22
27
|
|
|
23
|
-
|
|
|
28
|
+
| Read | To |
|
|
24
29
|
| --- | --- |
|
|
25
|
-
| Generate the form with a diffusion model |
|
|
26
|
-
| Shape it in code from dimensions and formulas |
|
|
27
|
-
| Build or fit it from sections and guides |
|
|
28
|
-
| Find an existing mesh, material, environment map or motion clip |
|
|
29
|
-
| Take a found or generated mesh into the production, or vary it by a parameter |
|
|
30
|
-
| Rebuild a fixed mesh as curves or surfaces |
|
|
31
|
-
|
|
|
32
|
-
| Add or change a skeleton, skin, attachment or deformation control | [Rigging](rigging.md) |
|
|
33
|
-
| Inspect a form's measures, coverage, construction or light | [Inspecting a form](inspection.md) |
|
|
34
|
-
|
|
35
|
-
Whatever its source, a form is reproducible, rigged when it moves, and judged on screen under [visual debugging](../visual-debugging/SKILL.md), because a completed generation, fit, compilation or test establishes no visual result. The installed packages' documentation owns data formats and callable behavior.
|
|
30
|
+
| [Diffusion](diffusion/SKILL.md) | Generate the form with a diffusion model |
|
|
31
|
+
| [Crafting](crafting/SKILL.md) | Shape it in code from dimensions and formulas |
|
|
32
|
+
| [Lofting](crafting/lofting.md) | Build or fit it from sections and guides |
|
|
33
|
+
| [Sources](sources.md) | Find an existing mesh, material, environment map or motion clip |
|
|
34
|
+
| [Conditioning](conditioning.md) | Take a found or generated mesh into the production, or vary it by a parameter |
|
|
35
|
+
| [Mesh recovery](crafting/recovery.md) | Rebuild a fixed mesh as curves or surfaces |
|
|
36
|
+
| [Rigging](rigging.md) | Add or change a skeleton, skin, attachment or deformation control |
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
# Coarse forms
|
|
2
2
|
|
|
3
|
-
A coarse form is the few primitives that tell a reader of the hint what a subject is, how big it is and where its parts are. It serves every subject that is neither a person nor an object an
|
|
3
|
+
A coarse form is the few primitives that tell a reader of the hint what a subject is, how big it is and where its parts are. It serves every subject that is neither a person nor an object an installed archetype offers.
|
|
4
4
|
|
|
5
5
|
## Parts
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Use two to four simple volumes in their real arrangement to distinguish the subject ([Biederman 1987](https://doi.org/10.1037/0033-295X.94.2.115)). Name it in the generation prompt.
|
|
8
8
|
|
|
9
|
-
Add
|
|
9
|
+
Add only parts a scene interacts with or moves separately. Define their affordances under entity work.
|
|
10
10
|
|
|
11
11
|
## Size
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Size the form from the subject's record.
|
|
14
14
|
|
|
15
15
|
## Primitives
|
|
16
16
|
|
|
17
|
-
Use
|
|
17
|
+
Use primitives or straight extrusions with only the sides needed at the scene's camera distance. A correctly sized low-poly piece from [Sources](sources.md) also works.
|
|
18
18
|
|
|
19
|
-
Leave out bevels, surface relief, ornament, texture and any interior no camera sees
|
|
19
|
+
Leave out bevels, surface relief, ornament, texture and any interior no camera sees. Entity work says how the facts a coarse form cannot show reach the film.
|
|
20
20
|
|
|
21
21
|
## Outline check
|
|
22
22
|
|
|
23
|
-
Render
|
|
23
|
+
Render its outline from the actual scene cameras beside the polygon man. Confirm the silhouette identifies it without the screenplay and the scale is correct. Follow entity inspection and handoff.
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 3d-modeling-diffusion
|
|
3
|
-
description: Generates
|
|
3
|
+
description: Generates a commissioned detail option's form with a text- or image-to-3D model.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Diffusion
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Generate only a commissioned [detail option](../../development/entities.md#detail). Use the coarse form for dimensions and parts and canon references for appearance:
|
|
9
9
|
|
|
10
|
-
|
|
|
11
|
-
| --- | --- |
|
|
12
|
-
|
|
|
13
|
-
|
|
|
14
|
-
| A polygon man, for a detailed person |
|
|
15
|
-
|
|
|
16
|
-
|
|
|
10
|
+
| Read | When the subject has |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| [Geometry condition](shape-hints.md#geometry-condition) | A coarse form whose layout the detail must keep |
|
|
13
|
+
| [Texture on the given mesh](shape-hints.md#texture-on-the-given-mesh) | A crafted form that is already final |
|
|
14
|
+
| [Bodies](shape-hints.md#bodies) | A polygon man, for a detailed person |
|
|
15
|
+
| [Rendered views](shape-hints.md#views-rendered-from-the-shape) | Canon references, and no model that takes a shape |
|
|
16
|
+
| [Text prompts](prompts.md) | Only its record |
|
|
17
|
+
|
|
18
|
+
Condition geometry on the [coarse form](../coarse-forms.md) and appearance on canon references. Texture a final crafted form from those references. For bodies, condition on the polygon man's joints and bind to the same skeleton.
|
|
19
|
+
|
|
20
|
+
The views are rendered from the coarse form and restyled under [turnaround views](../../image/turnaround-views.md), and [image hints](image-hints.md) covers those images. A text prompt keeps the record's wording.
|
|
17
21
|
|
|
18
22
|
Choose the model with the user, from [3D models](models.md) or beyond, and record it in [project context](../../production/project-context.md); [request](request.md) sets what to ask for, whatever steers it.
|
|
19
23
|
|
|
20
|
-
Freeze each accepted result and take it into the entity's detail option under [Conditioning](../conditioning.md), keep it where [media records](../../production/media-records.md#files) sets, and
|
|
24
|
+
Freeze each accepted result and take it into the entity's detail option under [Conditioning](../conditioning.md), keep it where [media records](../../production/media-records.md#files) sets, and compare it with the coarse form as [detail](../../development/entities.md#detail) sets.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: audio
|
|
3
|
-
description:
|
|
3
|
+
description: Plans, generates and finishes a film's sound.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Audio
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
| Task | Read |
|
|
8
|
+
| Read | To |
|
|
11
9
|
| --- | --- |
|
|
12
|
-
| Decide a shot's sound for its video request |
|
|
13
|
-
| Finish a generated film's sound across its takes |
|
|
14
|
-
|
|
|
15
|
-
|
|
|
16
|
-
|
|
|
17
|
-
|
|
|
10
|
+
| [Generated sound](generated-sound.md) | Decide a shot's sound for its video request |
|
|
11
|
+
| [Film sound](film-sound.md) | Finish a generated film's sound across its takes |
|
|
12
|
+
| [Audio generation](diffusion/SKILL.md) | Choose a generator, write audio prompts or clone a voice |
|
|
13
|
+
| [Voice preview](acquisition.md#voice-preview) | Make a voice preview |
|
|
14
|
+
| [Commissioned soundtrack](soundtrack.md) | Build a commissioned soundtrack |
|
|
15
|
+
| [Listening](listening.md) | Verify an adopted take, mix or audio delivery |
|
|
16
|
+
| [Acquisition](acquisition.md) | Find, license and adopt speech, music or recordings |
|
|
17
|
+
| [Sound effects](sound-effects.md) | Build and place effects and beds |
|
|
@@ -1,37 +1,35 @@
|
|
|
1
1
|
# Audio acquisition
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Adopt and clear audio sourced apart from the video model, including voice previews, dialogue, beds, scores and commissioned soundtracks.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Before wiring audio, check the installed format and mixing contracts and the delivery host's supported path. Follow [source layout](../development/source-layout.md) for setup and secrets.
|
|
6
6
|
|
|
7
7
|
## Source choice
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Start with the user's recordings or provider. [Research](../story/planning/research.md) reference sounds as needed. Compare libraries, hosted and local generation by language, performance, privacy, cost and time. Reuse connectors and CLI tools.
|
|
10
10
|
|
|
11
|
-
Check
|
|
11
|
+
Check [all rights layers](../production/media-records.md#records) for commercial use, adaptation, attribution and release. Check synchronization and raw-file distribution separately. For recorded music, clear composition synchronization and recording master use.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Clone or design a voice after a real person only with that person's recorded consent, and through the provider's own voice verification where it has one.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
## Speech
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
### Generating speech
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Write speech and voice descriptions as audio prompts, or clone a reference voice or convert an existing performance, under this skill's audio generation pages.
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
For a commissioned soundtrack, keep an accepted music take's tempo map beside it, because the screenplay's music events and the scenes' timing cite it. A cue sheet is made later, from the locked cut, under [assembly](../production/assembly.md#repair-and-delivery).
|
|
21
|
+
### Voice preview
|
|
24
22
|
|
|
25
|
-
|
|
23
|
+
Make a preview, generated as above, only when the user wants to hear voices before video generation, with effects only when requested too.
|
|
26
24
|
|
|
27
|
-
|
|
25
|
+
Ask the user to play it alongside the motion hint and listen. A preview is never delivered or required, and the [video prompt](../video/diffusion/prompts.md#sound) still carries the film's sound.
|
|
28
26
|
|
|
29
|
-
##
|
|
27
|
+
## Takes
|
|
30
28
|
|
|
31
|
-
|
|
29
|
+
### Take adoption
|
|
32
30
|
|
|
33
|
-
|
|
31
|
+
Keep accepted bytes and their record under [media records](../production/media-records.md#records); a regeneration is a new take until the user has heard it. Convert the take to a format the installed packages admit, at the sample rate the output requires, keeping the original.
|
|
34
32
|
|
|
35
|
-
|
|
33
|
+
Measure durations and trims from the accepted bytes, and place dialogue, captions, cuts and cues against them. When a line does not fit, edit the take, script or shot deliberately and have the user listen to the result.
|
|
36
34
|
|
|
37
|
-
|
|
35
|
+
Keep each accepted music take's tempo map with it for screenplay events and scene timing. Make the cue sheet from the locked cut under [assembly](../production/assembly.md#repair-and-delivery).
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: audio-diffusion
|
|
3
|
+
description: Chooses audio models, writes sound prompts and clones voices.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Audio generation
|
|
7
|
+
|
|
8
|
+
Generate audio for the sound work the audio skill admits. This route includes diffusion, flow and autoregressive models; choose by the conditioning the task needs. Rights and accepted takes belong to [acquisition](../acquisition.md).
|
|
9
|
+
|
|
10
|
+
| Read | To |
|
|
11
|
+
| --- | --- |
|
|
12
|
+
| [Models](models.md) | Choose a speech, conversion or sound model |
|
|
13
|
+
| [Prompts](prompts.md) | Write speech, effects or music prompts |
|
|
14
|
+
| [Cloning](cloning.md) | Clone a voice or convert an existing performance |
|
|
15
|
+
|
|
16
|
+
## Model documentation
|
|
17
|
+
|
|
18
|
+
Read the exact checkpoint and endpoint guide for languages, inputs, controls, normalization, pronunciation, speaker binding, limits, formats, duration and seeds.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Voice cloning
|
|
2
|
+
|
|
3
|
+
Voice cloning uses reference audio to condition a speaker's identity. For new words, use reference-conditioned text-to-speech; for an existing delivery, use performance conversion. Voice design from description belongs to [prompts](prompts.md#voice-design).
|
|
4
|
+
|
|
5
|
+
## Reference and transcript
|
|
6
|
+
|
|
7
|
+
Choose a checkpoint whose documentation supports cloning in the required language, and check reference permission under [source choice](../acquisition.md#source-choice).
|
|
8
|
+
|
|
9
|
+
Use a clean single-speaker reference whose delivery fits the task; continuation can carry its emotion, pace and recording character. Trim at complete phrase boundaries and retain the padding the model requires.
|
|
10
|
+
|
|
11
|
+
Match reference length and format to the model. Verify any reference transcript against the reference audio. Keep it separate from the new words.
|
|
12
|
+
|
|
13
|
+
## New speech
|
|
14
|
+
|
|
15
|
+
Bind each character to its accepted reference bytes. Use the checkpoint's recommended reference-only or transcript-conditioned input for the task.
|
|
16
|
+
|
|
17
|
+
Write new lines and delivery controls under [prompts](prompts.md), and verify a [first take](prompts.md#first-take) before a batch. Reuse the accepted reference for later lines; even a fixed reference can vary between requests.
|
|
18
|
+
|
|
19
|
+
Record reference digest, conditioning mode and transcript when used under [media records](../../production/media-records.md#records). Fine-tuning also needs training recordings and separate verification.
|
|
20
|
+
|
|
21
|
+
## Performance conversion
|
|
22
|
+
|
|
23
|
+
When the words and delivery already work but the voice drifts, convert the existing speech to the accepted voice. [Separate](../film-sound.md#separation) dialogue from the mix first so music and effects are not converted with it.
|
|
24
|
+
|
|
25
|
+
Compare duration and word boundaries with the source, and have the user [listen](../listening.md#user-listening) for retained expression, voice identity and artifacts. Replace the dialogue stem, recheck synchronization under [partial repair](../../video/finishing.md#partial-repair), and finish the affected [mix](../film-sound.md).
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Audio models
|
|
2
|
+
|
|
3
|
+
These models differ in how they create a voice, take a reference and preserve a performance; the user may choose another. Verify the chosen checkpoint in its own documentation.
|
|
4
|
+
|
|
5
|
+
Choose against the requested language, reference material, performance and rights. Check the exact checkpoint's terms under [source choice](../acquisition.md#source-choice); code and weights can have different licenses.
|
|
6
|
+
|
|
7
|
+
## Speech
|
|
8
|
+
|
|
9
|
+
### Voice cloning
|
|
10
|
+
|
|
11
|
+
[VoxCPM2](https://github.com/OpenBMB/VoxCPM) designs voices from text, clones from reference audio, or continues a reference with its transcript. It supports Korean among 30 languages, with Apache-2.0 code and weights. Earlier VoxCPM releases have different language coverage.
|
|
12
|
+
|
|
13
|
+
[Qwen3-TTS](https://github.com/QwenLM/Qwen3-TTS) separates Base checkpoints for reference cloning, VoiceDesign for descriptions, and CustomVoice for provided speakers. Its ten languages include Korean; the releases use Apache-2.0. Choose Base when cloning an arbitrary reference.
|
|
14
|
+
|
|
15
|
+
[CosyVoice3](https://github.com/QwenAudio/CosyVoice) offers cross-language reference cloning and performance instructions. The [Fun-CosyVoice3-0.5B-2512 checkpoint](https://huggingface.co/FunAudioLLM/Fun-CosyVoice3-0.5B-2512) supports Korean among nine languages under Apache-2.0. Its [examples](https://github.com/QwenAudio/CosyVoice/blob/main/example.py) distinguish instruction and reference modes.
|
|
16
|
+
|
|
17
|
+
[GPT-SoVITS](https://github.com/RVC-Boss/GPT-SoVITS) offers reference synthesis and few-shot voice adaptation, including Korean. Adaptation adds preparation of training recordings. The repository is MIT; check pretrained components and recordings separately.
|
|
18
|
+
|
|
19
|
+
[Chatterbox](https://github.com/resemble-ai/chatterbox) provides multilingual reference cloning including Korean; Turbo and Nano target English with smaller models. Its repository declares the research retired and unmaintained since August 2026, retaining MIT code, so weigh maintenance before adopting it.
|
|
20
|
+
|
|
21
|
+
[XTTS-v2](https://huggingface.co/coqui/XTTS-v2) clones from one or several references across 17 languages including Korean. Its weights use the Coqui Public Model License, which the maintained [TTS code fork](https://github.com/idiap/coqui-ai-TTS) does not relicense.
|
|
22
|
+
|
|
23
|
+
### Voice design and dialogue
|
|
24
|
+
|
|
25
|
+
[MOSS-TTS](https://github.com/OpenMOSS/MOSS-TTS) has separate long-speech, dialogue, voice-design, realtime and effects models; choose the one for the task. Its [v1.5 speech checkpoint](https://huggingface.co/OpenMOSS-Team/MOSS-TTS-v1.5) supports reference cloning and duration control across 31 languages including Korean under Apache-2.0.
|
|
26
|
+
|
|
27
|
+
[MOSS-TTSD](https://github.com/OpenMOSS/MOSS-TTSD) uses speaker-bound references and transcript prefixes for continued dialogue. Its speaker and language support belong to that release, separately from the single-speaker model.
|
|
28
|
+
|
|
29
|
+
[Fish Drama 3](https://huggingface.co/fishaudio/drama-3) generates multiple characters and long content with reference voices and local revisions. Its [direction guide](https://docs.fish.audio/features/text-to-speech/drama-3) distinguishes line delivery, momentary sounds and word-scoped changes. [S2-Pro](https://github.com/fishaudio/fish-speech) is a smaller previous generation.
|
|
30
|
+
|
|
31
|
+
Drama 3's license file uses Fish Audio Community terms while model metadata still labels research terms; inspect the downloaded revision. S2-Pro retains research terms.
|
|
32
|
+
|
|
33
|
+
[Higgs TTS 3](https://huggingface.co/bosonai/higgs-tts-3-4b) offers conversational reference cloning and inline performance controls, including Korean. Its custom license has a creator-use grant with attribution conditions, separate from hosted or product use. The older Higgs repository is not its runtime.
|
|
34
|
+
|
|
35
|
+
### Emotion and continuation
|
|
36
|
+
|
|
37
|
+
[IndexTTS-2.5](https://github.com/index-tts/index-tts) separates speaker and emotion references, with speed and pronunciation controls. It lists Chinese, English, Japanese, Spanish and Arabic, not Korean. Read its Bilibili Model Use License and check which duration controls the chosen release implements.
|
|
38
|
+
|
|
39
|
+
[F5-TTS](https://github.com/SWivid/F5-TTS) uses flow matching for reference-and-transcript continuation. Its [inference guide](https://github.com/SWivid/F5-TTS/blob/main/src/f5_tts/infer/README.md) covers reference trimming, punctuation and number readings. Code is MIT, but official [weights](https://huggingface.co/SWivid/F5-TTS) are CC-BY-NC-4.0; community checkpoints need separate evidence.
|
|
40
|
+
|
|
41
|
+
### Converting a performance
|
|
42
|
+
|
|
43
|
+
[OpenVoice V2](https://github.com/myshell-ai/OpenVoice) separates base speech synthesis from tone-color conversion, supporting six languages including Korean under MIT. It serves [performance conversion](cloning.md#performance-conversion); reference-conditioned TTS can choose new timing.
|
|
44
|
+
|
|
45
|
+
### Other roles
|
|
46
|
+
|
|
47
|
+
[VibeVoice](https://github.com/microsoft/VibeVoice) separates ASR and realtime synthesis from its original TTS release, whose code Microsoft removed. An available recognizer or experimental speaker does not establish arbitrary-reference cloning.
|
|
48
|
+
|
|
49
|
+
[ElevenLabs](https://elevenlabs.io/docs/overview/capabilities/text-to-speech/best-practices) offers hosted speech with model-specific pronunciation and delivery controls. Its [voice-design guide](https://elevenlabs.io/docs/eleven-creative/voices/voice-design) separates voice traits from preview text, while [voice changer](https://elevenlabs.io/docs/overview/capabilities/voice-changer) converts an existing performance.
|
|
50
|
+
|
|
51
|
+
[Gemini TTS](https://aistudio.google.com/docs/speech-generation#prompting-guide) separates the spoken transcript, turn-level delivery and momentary vocal events. Its current endpoint's structured input differs from earlier prompt-only examples; verify the endpoint before reusing a recipe.
|
|
52
|
+
|
|
53
|
+
## Effects and ambience
|
|
54
|
+
|
|
55
|
+
[Stable Audio 3](https://github.com/Stability-AI/stable-audio-3) generates instrumental music and effects under Stability's Community License. Its [prompt guide](https://stability.ai/guides/stable-audio-3-prompt-guide) covers sources, acoustic character, stems, audio variations and continuation; it is not intended for intelligible vocals.
|
|
56
|
+
|
|
57
|
+
[MOSS-SoundEffect](https://github.com/OpenMOSS/MOSS-TTS) is another purpose-built effects model.
|
|
58
|
+
|
|
59
|
+
[MMAudio](https://github.com/hkchengrex/MMAudio) takes picture and text for short effects and ambience, not dialogue or a continuous scene bed. Code is MIT and checkpoints CC-BY-NC-4.0.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Audio prompts
|
|
2
|
+
|
|
3
|
+
Keep requested speech, reference transcript and performance instructions distinct. Follow the chosen [model's](models.md) syntax.
|
|
4
|
+
|
|
5
|
+
## Speech
|
|
6
|
+
|
|
7
|
+
### Spoken text
|
|
8
|
+
|
|
9
|
+
Give the exact lines in the requested language. Resolve ambiguous numbers, dates and abbreviations into their intended spoken reading, keeping captions tied to the screenplay's wording.
|
|
10
|
+
|
|
11
|
+
Use pronunciation dictionaries, aliases or phonemes only in the languages and forms the endpoint supports. A language setting can control normalization without changing a voice's accent, so verify its role in the model's documentation.
|
|
12
|
+
|
|
13
|
+
### Voice design
|
|
14
|
+
|
|
15
|
+
Specify the lasting language, regional pronunciation, pitch, resonance, texture and age cues that distinguish the voice. Specify intonation and emphasis separately.
|
|
16
|
+
|
|
17
|
+
Keep each accepted voice description with its request. Use a reference when preserving an existing voice.
|
|
18
|
+
|
|
19
|
+
### Performance and dialogue
|
|
20
|
+
|
|
21
|
+
Direct the line's intent, emotion, pace and emphasis from the screenplay. Keep sustained delivery separate from momentary breaths, laughter and pauses, and scope a change to the turn or words it affects.
|
|
22
|
+
|
|
23
|
+
Use the documented instruction input or inline notation. A stage direction or speaker name pasted into ordinary spoken text may be read aloud, and pause tags or phoneme syntax from another model or version may not be supported.
|
|
24
|
+
|
|
25
|
+
Bind each speaker to its voice or reference and preserve turn order through the endpoint's speaker roles. Generate an exchange together where supported; use overlaps only where the model supports them.
|
|
26
|
+
|
|
27
|
+
Set duration through documented controls, then measure the bytes. Prompted pace and punctuation guide delivery but do not lock picture timing; fit accepted speech under [take adoption](../acquisition.md#take-adoption).
|
|
28
|
+
|
|
29
|
+
### First take
|
|
30
|
+
|
|
31
|
+
Compare voices on identical complete lines with difficult names and required emotions. Decode the results and have the user [listen](../listening.md#user-listening) before batching.
|
|
32
|
+
|
|
33
|
+
Adopt the accepted take under [take adoption](../acquisition.md#take-adoption), with the request's text, controls and inputs in its record. An accepted designed voice can become the cloning reference for later lines; a seed alone does not preserve identity.
|
|
34
|
+
|
|
35
|
+
## Effects and ambience
|
|
36
|
+
|
|
37
|
+
Describe source, action, attack, decay, texture, distance and room. State whether the cue is isolated, recurring or continuous.
|
|
38
|
+
|
|
39
|
+
Keep effects separate from dialogue unless the model supports a combined request, and bind picture references in their documented role.
|
|
40
|
+
|
|
41
|
+
## Music
|
|
42
|
+
|
|
43
|
+
For commissioned music, name its role, genre, leading instruments, mood, energy and arrangement. Specify a full mix or an isolated part where supported, and whether it is instrumental; a music model need not generate intelligible lyrics.
|
|
44
|
+
|
|
45
|
+
Use a tempo target as direction, then keep the accepted take's tempo map under [take adoption](../acquisition.md#take-adoption). Continue or repair from surrounding accepted audio where supported, so the new passage fits its musical context.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Film sound
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Finish generated takes' sound together and verify it with the user. Follow the loudness target for any film with sound. Source beds, effects and score through [acquisition](acquisition.md) and sound effects.
|
|
4
4
|
|
|
5
5
|
## Separation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Separate speech from the mix before replacing lines or beds. Change the required stem and remix. Choose a separator by these criteria:
|
|
8
8
|
|
|
9
9
|
- separates dialogue, music and effects stems, because a voice-only tool discards the bed;
|
|
10
10
|
- is proven on real film mixes rather than synthetic ones, where effects are the hardest stem;
|
|
@@ -16,10 +16,12 @@ Test it on the production's own takes, shouts and breaths included, and have the
|
|
|
16
16
|
|
|
17
17
|
## One bed and one score per scene
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Keep per-clip generated audio for close effects. Run one ambience bed across scene cuts, ducking or replacing take ambience and filling gaps with room tone. Keep the screenplay's score on a separate track.
|
|
20
20
|
|
|
21
21
|
## Loudness
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Record the release's integrated loudness target and tolerance, measurement scope and true-peak limit in the [delivery profile](../production/project-context.md#the-delivery-profile). Ask the user which release specification applies, such as [EBU R128](https://tech.ebu.ch/publications/r128).
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Measure on the decoded mix, by [ITU-R BS.1770](https://www.itu.int/rec/R-REC-BS.1770) with dialogue gating where the target asks for it, that loudness and true peak meet the target and that every spoken line rises over the bed.
|
|
26
|
+
|
|
27
|
+
Keep dialogue, music and effects on separate tracks through the whole mix, so the stems and any music-and-effects mix the profile asks for can be exported; a generated take's speech reaches its own track only through separation.
|