@hanzo/studio 0.1.8 → 0.1.11
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/lib/app/director.d.ts +137 -0
- package/lib/app/director.js +1263 -0
- package/lib/app/flow.d.ts +58 -0
- package/lib/app/flow.js +948 -0
- package/lib/chat/turn.js +19 -11
- package/lib/home.d.ts +3 -1
- package/lib/home.js +3 -3
- package/lib/index.d.ts +6 -0
- package/lib/index.js +5 -0
- package/lib/kinds/app.d.ts +40 -0
- package/lib/kinds/app.js +907 -0
- package/lib/kinds/document.js +256 -19
- package/lib/kinds/image.d.ts +3 -0
- package/lib/kinds/image.js +82 -10
- package/lib/kinds/index.js +2 -1
- package/lib/kinds/sound.js +109 -10
- package/lib/kinds/video.js +146 -17
- package/lib/live.d.ts +11 -0
- package/lib/live.js +10 -0
- package/lib/made.d.ts +2 -1
- package/lib/made.js +1 -0
- package/lib/pdf.js +1 -1
- package/lib/places.d.ts +0 -3
- package/lib/places.js +1 -11
- package/lib/route.d.ts +12 -0
- package/lib/route.js +17 -0
- package/lib/starters.d.ts +21 -0
- package/lib/starters.js +33 -2
- package/lib/studio.js +1 -1
- package/lib/talk.js +61 -23
- package/lib/wire.d.ts +2 -6
- package/lib/wire.js +16 -3
- package/package.json +1 -1
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Studio — The ComfyUI 2.0 Replacement & Multi-Modal Production Suite
|
|
3
|
+
*
|
|
4
|
+
* Unifies:
|
|
5
|
+
* 1. Video & Cinema Director (Wan 2.2 TI2V-5B / Koma 2.0, 12 Camera Rigs, Anamorphic Lenses, Character Seed Lock, Multi-Shot ConcatVideo NLE Timeline)
|
|
6
|
+
* 2. Node Graph & Pipelines (ComfyUI 2.0 visual graph editor, live node inspector, API JSON export, /prompt & /v1/templates dispatch, /?advanced=1 bridge)
|
|
7
|
+
* 3. Music, Voice & Audio Stem Lab (ACE-Step 3.5B song generator, Koe TTS dialogue synthesis, 4-stem DAW mixer with WebAudio synth & WAV export)
|
|
8
|
+
* 4. 3D Mesh & World Studio (Hunyuan3D-2.1 image-to-.glb mesh pipeline, interactive 60fps 3D orbit/wireframe/PBR/normal viewport, .obj/.glb export)
|
|
9
|
+
* 5. Studio Library, Stacks & Critique Flywheel (/v1/library, Procreate-style Stacks, Mask Inpainting /v1/library/fix, Multi-Ref Compose, 👍/👎 JSONL training flywheel, CMS publish)
|
|
10
|
+
* 6. GPU Fleet & Render Queue (/v1/gpu-status target node selector, /v1/queue/status, /v1/worklog provenance & lineage)
|
|
11
|
+
*/
|
|
12
|
+
import type { Host } from '@hanzo/build';
|
|
13
|
+
import type { RailLink } from '@hanzo/ui/chat';
|
|
14
|
+
export type StudioSection = 'create' | 'library' | 'documents' | 'video' | 'music' | 'model3d' | 'queue';
|
|
15
|
+
export declare function parseStudioSection(path?: string): StudioSection;
|
|
16
|
+
export declare function directorNav(host: Host, go: (path: string) => void): {
|
|
17
|
+
id: 'make';
|
|
18
|
+
label: string;
|
|
19
|
+
links: RailLink[];
|
|
20
|
+
}[];
|
|
21
|
+
export interface TransformationLane {
|
|
22
|
+
id: string;
|
|
23
|
+
label: string;
|
|
24
|
+
badge: string;
|
|
25
|
+
denoise: number;
|
|
26
|
+
model: string;
|
|
27
|
+
description: string;
|
|
28
|
+
promptSuffix: string;
|
|
29
|
+
}
|
|
30
|
+
export declare const TRANSFORMATION_LANES: readonly TransformationLane[];
|
|
31
|
+
export interface BrandDesignSystem {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
tagline: string;
|
|
35
|
+
fonts: string;
|
|
36
|
+
palette: readonly [string, string, string, string];
|
|
37
|
+
directives: string;
|
|
38
|
+
}
|
|
39
|
+
export declare const BRAND_DESIGN_SYSTEMS: readonly BrandDesignSystem[];
|
|
40
|
+
export interface OfficeDocumentTemplate {
|
|
41
|
+
id: string;
|
|
42
|
+
title: string;
|
|
43
|
+
category: 'Documents' | 'Spreadsheets' | 'Presentations' | 'Frames';
|
|
44
|
+
format: 'PDF / DOCX' | 'XLSX / CSV' | 'PPTX / PDF' | 'HTML / MP4';
|
|
45
|
+
endpoint: string;
|
|
46
|
+
description: string;
|
|
47
|
+
defaultBrief: string;
|
|
48
|
+
}
|
|
49
|
+
export declare const OFFICE_DOCUMENT_TEMPLATES: readonly OfficeDocumentTemplate[];
|
|
50
|
+
export interface CameraPreset {
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
category: 'Dolly & Crane' | 'Dynamic & Action' | 'Orbital & Pan' | 'Specialty';
|
|
54
|
+
code: string;
|
|
55
|
+
description: string;
|
|
56
|
+
motionPrompt: string;
|
|
57
|
+
}
|
|
58
|
+
export declare const CAMERA_MOVES: readonly CameraPreset[];
|
|
59
|
+
export declare const LENSES: readonly [{
|
|
60
|
+
readonly id: '14mm-ultra';
|
|
61
|
+
readonly label: '14mm Ultra-Wide Rectilinear';
|
|
62
|
+
readonly fov: 114;
|
|
63
|
+
readonly aspect: '2.39:1';
|
|
64
|
+
}, {
|
|
65
|
+
readonly id: '24mm-anamorphic';
|
|
66
|
+
readonly label: '24mm Hawke Anamorphic';
|
|
67
|
+
readonly fov: 84;
|
|
68
|
+
readonly aspect: '2.39:1';
|
|
69
|
+
}, {
|
|
70
|
+
readonly id: '35mm-cooke';
|
|
71
|
+
readonly label: '35mm Cooke Anamorphic /i';
|
|
72
|
+
readonly fov: 63;
|
|
73
|
+
readonly aspect: '2.39:1';
|
|
74
|
+
}, {
|
|
75
|
+
readonly id: '50mm-master';
|
|
76
|
+
readonly label: '50mm ARRI Master Prime';
|
|
77
|
+
readonly fov: 46;
|
|
78
|
+
readonly aspect: '16:9';
|
|
79
|
+
}, {
|
|
80
|
+
readonly id: '85mm-panavision';
|
|
81
|
+
readonly label: '85mm Panavision Primo Portrait';
|
|
82
|
+
readonly fov: 28;
|
|
83
|
+
readonly aspect: '2.39:1';
|
|
84
|
+
}, {
|
|
85
|
+
readonly id: '135mm-tele';
|
|
86
|
+
readonly label: '135mm Telephoto Compression';
|
|
87
|
+
readonly fov: 18;
|
|
88
|
+
readonly aspect: '2.39:1';
|
|
89
|
+
}];
|
|
90
|
+
export declare const APERTURES: readonly ['f/1.2', 'f/1.8', 'f/2.8', 'f/4.0', 'f/8.0', 'f/16'];
|
|
91
|
+
export declare const LIGHTING_RIGS: readonly [{
|
|
92
|
+
readonly id: 'neon-noir';
|
|
93
|
+
readonly label: 'Anamorphic Neon & Wet Pavement';
|
|
94
|
+
readonly colors: readonly ['#060814', '#00e5ff', '#ff2a85'];
|
|
95
|
+
}, {
|
|
96
|
+
readonly id: 'golden-hour';
|
|
97
|
+
readonly label: 'Golden Hour Volumetric Backlight';
|
|
98
|
+
readonly colors: readonly ['#180d06', '#ff9a3c', '#ffd27d'];
|
|
99
|
+
}, {
|
|
100
|
+
readonly id: 'chiaroscuro';
|
|
101
|
+
readonly label: 'Chiaroscuro Silver Halide Mono';
|
|
102
|
+
readonly colors: readonly ['#08080a', '#94a3b8', '#f8fafc'];
|
|
103
|
+
}, {
|
|
104
|
+
readonly id: 'cyber-stage';
|
|
105
|
+
readonly label: 'LED Volume Virtual Soundstage';
|
|
106
|
+
readonly colors: readonly ['#090614', '#7c3aed', '#38bdf8'];
|
|
107
|
+
}, {
|
|
108
|
+
readonly id: 'daylight-soft';
|
|
109
|
+
readonly label: 'Diffused Overcast 5600K';
|
|
110
|
+
readonly colors: readonly ['#0f172a', '#64748b', '#e2e8f0'];
|
|
111
|
+
}];
|
|
112
|
+
export interface CharacterLock {
|
|
113
|
+
id: string;
|
|
114
|
+
name: string;
|
|
115
|
+
role: string;
|
|
116
|
+
wardrobe: string;
|
|
117
|
+
voice: string;
|
|
118
|
+
seed: number;
|
|
119
|
+
}
|
|
120
|
+
export interface CinemaShot {
|
|
121
|
+
id: string;
|
|
122
|
+
number: number;
|
|
123
|
+
title: string;
|
|
124
|
+
prompt: string;
|
|
125
|
+
dialogue: string;
|
|
126
|
+
cameraId: string;
|
|
127
|
+
lensId: string;
|
|
128
|
+
aperture: string;
|
|
129
|
+
lightingId: string;
|
|
130
|
+
characterId: string;
|
|
131
|
+
durationSec: number;
|
|
132
|
+
status: 'ready' | 'rendering' | 'done';
|
|
133
|
+
videoUrl?: string;
|
|
134
|
+
}
|
|
135
|
+
export declare function DirectorStudio({ host }: {
|
|
136
|
+
host: Host;
|
|
137
|
+
}): import("react").JSX.Element;
|