@contractspec/lib.video-gen 2.7.17 → 2.7.18
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/browser/compositions/api-overview.js +1 -645
- package/dist/browser/compositions/index.js +1 -1133
- package/dist/browser/compositions/primitives/animated-text.js +1 -144
- package/dist/browser/compositions/primitives/brand-frame.js +1 -181
- package/dist/browser/compositions/primitives/code-block.js +1 -226
- package/dist/browser/compositions/primitives/index.js +1 -656
- package/dist/browser/compositions/primitives/progress-bar.js +1 -59
- package/dist/browser/compositions/primitives/terminal.js +1 -265
- package/dist/browser/compositions/primitives/transition.js +1 -98
- package/dist/browser/compositions/social-clip.js +1 -500
- package/dist/browser/compositions/terminal-demo.js +1 -558
- package/dist/browser/design/index.js +1 -155
- package/dist/browser/design/layouts.js +1 -50
- package/dist/browser/design/motion.js +1 -43
- package/dist/browser/design/tokens.js +1 -28
- package/dist/browser/design/typography.js +1 -61
- package/dist/browser/docs/compositions.docblock.js +1 -182
- package/dist/browser/docs/design.docblock.js +2 -17
- package/dist/browser/docs/generators.docblock.js +2 -24
- package/dist/browser/docs/rendering.docblock.js +2 -24
- package/dist/browser/docs/video-gen.docblock.js +2 -17
- package/dist/browser/generators/index.js +7 -769
- package/dist/browser/generators/scene-planner.js +7 -651
- package/dist/browser/generators/script-generator.js +7 -599
- package/dist/browser/generators/video-generator.js +7 -768
- package/dist/browser/i18n/catalogs/en.js +3 -135
- package/dist/browser/i18n/catalogs/es.js +3 -135
- package/dist/browser/i18n/catalogs/fr.js +3 -135
- package/dist/browser/i18n/catalogs/index.js +7 -387
- package/dist/browser/i18n/index.js +7 -459
- package/dist/browser/i18n/keys.js +1 -54
- package/dist/browser/i18n/locale.js +1 -21
- package/dist/browser/i18n/messages.js +7 -399
- package/dist/browser/index.js +7 -1903
- package/dist/browser/player/demo-player.js +1 -1136
- package/dist/browser/player/index.js +1 -1136
- package/dist/browser/remotion/Root.js +2 -1172
- package/dist/browser/remotion/index.js +2 -1173
- package/dist/browser/renderers/config.js +1 -40
- package/dist/browser/renderers/index.js +1 -160
- package/dist/browser/renderers/local.js +1 -156
- package/dist/browser/types.js +1 -13
- package/dist/compositions/api-overview.js +1 -639
- package/dist/compositions/index.js +1 -1127
- package/dist/compositions/primitives/animated-text.js +1 -138
- package/dist/compositions/primitives/brand-frame.js +1 -175
- package/dist/compositions/primitives/code-block.js +1 -220
- package/dist/compositions/primitives/index.js +1 -650
- package/dist/compositions/primitives/progress-bar.js +1 -53
- package/dist/compositions/primitives/terminal.js +1 -259
- package/dist/compositions/primitives/transition.js +1 -92
- package/dist/compositions/social-clip.js +1 -494
- package/dist/compositions/terminal-demo.js +1 -552
- package/dist/design/index.js +1 -149
- package/dist/design/layouts.js +1 -44
- package/dist/design/motion.js +1 -37
- package/dist/design/tokens.js +1 -22
- package/dist/design/typography.js +1 -55
- package/dist/docs/compositions.docblock.js +1 -182
- package/dist/docs/design.docblock.js +2 -17
- package/dist/docs/generators.docblock.js +2 -24
- package/dist/docs/rendering.docblock.js +2 -24
- package/dist/docs/video-gen.docblock.js +2 -17
- package/dist/generators/index.js +7 -763
- package/dist/generators/scene-planner.js +7 -645
- package/dist/generators/script-generator.js +7 -593
- package/dist/generators/video-generator.js +7 -762
- package/dist/i18n/catalogs/en.js +3 -129
- package/dist/i18n/catalogs/es.js +3 -129
- package/dist/i18n/catalogs/fr.js +3 -129
- package/dist/i18n/catalogs/index.js +7 -381
- package/dist/i18n/index.js +7 -453
- package/dist/i18n/keys.js +1 -48
- package/dist/i18n/locale.js +1 -15
- package/dist/i18n/messages.js +7 -393
- package/dist/index.js +7 -1897
- package/dist/node/compositions/api-overview.js +1 -640
- package/dist/node/compositions/index.js +1 -1128
- package/dist/node/compositions/primitives/animated-text.js +1 -139
- package/dist/node/compositions/primitives/brand-frame.js +1 -176
- package/dist/node/compositions/primitives/code-block.js +1 -221
- package/dist/node/compositions/primitives/index.js +1 -651
- package/dist/node/compositions/primitives/progress-bar.js +1 -54
- package/dist/node/compositions/primitives/terminal.js +1 -260
- package/dist/node/compositions/primitives/transition.js +1 -93
- package/dist/node/compositions/social-clip.js +1 -495
- package/dist/node/compositions/terminal-demo.js +1 -553
- package/dist/node/design/index.js +1 -150
- package/dist/node/design/layouts.js +1 -45
- package/dist/node/design/motion.js +1 -38
- package/dist/node/design/tokens.js +1 -23
- package/dist/node/design/typography.js +1 -56
- package/dist/node/docs/compositions.docblock.js +1 -182
- package/dist/node/docs/design.docblock.js +2 -17
- package/dist/node/docs/generators.docblock.js +2 -24
- package/dist/node/docs/rendering.docblock.js +2 -24
- package/dist/node/docs/video-gen.docblock.js +2 -17
- package/dist/node/generators/index.js +7 -764
- package/dist/node/generators/scene-planner.js +7 -646
- package/dist/node/generators/script-generator.js +7 -594
- package/dist/node/generators/video-generator.js +7 -763
- package/dist/node/i18n/catalogs/en.js +3 -130
- package/dist/node/i18n/catalogs/es.js +3 -130
- package/dist/node/i18n/catalogs/fr.js +3 -130
- package/dist/node/i18n/catalogs/index.js +7 -382
- package/dist/node/i18n/index.js +7 -454
- package/dist/node/i18n/keys.js +1 -49
- package/dist/node/i18n/locale.js +1 -16
- package/dist/node/i18n/messages.js +7 -394
- package/dist/node/index.js +7 -1898
- package/dist/node/player/demo-player.js +1 -1131
- package/dist/node/player/index.js +1 -1131
- package/dist/node/remotion/Root.js +2 -1167
- package/dist/node/remotion/index.js +2 -1168
- package/dist/node/renderers/config.js +1 -35
- package/dist/node/renderers/index.js +1 -155
- package/dist/node/renderers/local.js +1 -151
- package/dist/node/types.js +1 -8
- package/dist/player/demo-player.js +1 -1130
- package/dist/player/index.js +1 -1130
- package/dist/remotion/Root.js +2 -1166
- package/dist/remotion/index.js +2 -1167
- package/dist/renderers/config.js +1 -34
- package/dist/renderers/index.js +1 -154
- package/dist/renderers/local.js +1 -150
- package/dist/types.js +1 -7
- package/package.json +16 -16
|
@@ -1,27 +1,4 @@
|
|
|
1
|
-
var
|
|
2
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
3
|
-
}) : x)(function(x) {
|
|
4
|
-
if (typeof require !== "undefined")
|
|
5
|
-
return require.apply(this, arguments);
|
|
6
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
// src/i18n/catalogs/en.ts
|
|
10
|
-
import { defineTranslation } from "@contractspec/lib.contracts-spec/translations";
|
|
11
|
-
var enMessages = defineTranslation({
|
|
12
|
-
meta: {
|
|
13
|
-
key: "video-gen.messages",
|
|
14
|
-
version: "1.0.0",
|
|
15
|
-
domain: "video-gen",
|
|
16
|
-
description: "All user-facing, LLM-facing, and developer-facing strings for the video-gen package",
|
|
17
|
-
owners: ["platform"],
|
|
18
|
-
stability: "experimental"
|
|
19
|
-
},
|
|
20
|
-
locale: "en",
|
|
21
|
-
fallback: "en",
|
|
22
|
-
messages: {
|
|
23
|
-
"prompt.script.system": {
|
|
24
|
-
value: `You are a video narration script writer.
|
|
1
|
+
var B=((h)=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(h,{get:(u,v)=>(typeof require<"u"?require:u)[v]}):h)(function(h){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+h+'" is not supported')});import{defineTranslation as w}from"@contractspec/lib.contracts-spec/translations";var k=w({meta:{key:"video-gen.messages",version:"1.0.0",domain:"video-gen",description:"All user-facing, LLM-facing, and developer-facing strings for the video-gen package",owners:["platform"],stability:"experimental"},locale:"en",fallback:"en",messages:{"prompt.script.system":{value:`You are a video narration script writer.
|
|
25
2
|
Write a narration script for a short video (30-60 seconds).
|
|
26
3
|
{styleGuide}
|
|
27
4
|
|
|
@@ -32,12 +9,7 @@ Return JSON with shape:
|
|
|
32
9
|
}
|
|
33
10
|
|
|
34
11
|
Scene IDs should be: "intro", "problems", "solutions", "metrics", "cta".
|
|
35
|
-
Only include segments that are relevant to the brief content.`,
|
|
36
|
-
description: "Script generator LLM system prompt",
|
|
37
|
-
placeholders: [{ name: "styleGuide", type: "string" }]
|
|
38
|
-
},
|
|
39
|
-
"prompt.scenePlanner.system": {
|
|
40
|
-
value: `You are a video scene planner for ContractSpec marketing/documentation videos.
|
|
12
|
+
Only include segments that are relevant to the brief content.`,description:"Script generator LLM system prompt",placeholders:[{name:"styleGuide",type:"string"}]},"prompt.scenePlanner.system":{value:`You are a video scene planner for ContractSpec marketing/documentation videos.
|
|
41
13
|
Given a content brief, break it into video scenes.
|
|
42
14
|
|
|
43
15
|
Each scene must have:
|
|
@@ -53,125 +25,7 @@ Return a JSON object with shape:
|
|
|
53
25
|
}
|
|
54
26
|
|
|
55
27
|
Keep the total duration around {targetSeconds} seconds.
|
|
56
|
-
Prioritize clarity and pacing. Each scene should communicate one idea.`,
|
|
57
|
-
description: "Scene planner LLM system prompt",
|
|
58
|
-
placeholders: [
|
|
59
|
-
{ name: "fps", type: "number" },
|
|
60
|
-
{ name: "targetSeconds", type: "number" }
|
|
61
|
-
]
|
|
62
|
-
},
|
|
63
|
-
"prompt.style.professional": {
|
|
64
|
-
value: "Use a clear, authoritative, professional tone. Be concise and direct.",
|
|
65
|
-
description: "Style guide for professional narration"
|
|
66
|
-
},
|
|
67
|
-
"prompt.style.casual": {
|
|
68
|
-
value: "Use a friendly, conversational tone. Be approachable and relatable.",
|
|
69
|
-
description: "Style guide for casual narration"
|
|
70
|
-
},
|
|
71
|
-
"prompt.style.technical": {
|
|
72
|
-
value: "Use precise technical language. Be detailed and accurate.",
|
|
73
|
-
description: "Style guide for technical narration"
|
|
74
|
-
},
|
|
75
|
-
"script.segment.challenge": {
|
|
76
|
-
value: "The challenge: {content}",
|
|
77
|
-
description: "Narration segment prefix for problems",
|
|
78
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
79
|
-
},
|
|
80
|
-
"script.segment.solution": {
|
|
81
|
-
value: "The solution: {content}",
|
|
82
|
-
description: "Narration segment prefix for solutions",
|
|
83
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
84
|
-
},
|
|
85
|
-
"script.segment.results": {
|
|
86
|
-
value: "The results: {content}",
|
|
87
|
-
description: "Narration segment prefix for metrics",
|
|
88
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
89
|
-
},
|
|
90
|
-
"scene.cta.default": {
|
|
91
|
-
value: "Learn more",
|
|
92
|
-
description: "Default call-to-action text for scenes"
|
|
93
|
-
},
|
|
94
|
-
"scene.hook.problem": {
|
|
95
|
-
value: "The Problem",
|
|
96
|
-
description: "Scene hook label for problem statement"
|
|
97
|
-
},
|
|
98
|
-
"scene.narration.problem": {
|
|
99
|
-
value: "The problem: {content}",
|
|
100
|
-
description: "Scene narration for problem statement",
|
|
101
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
102
|
-
},
|
|
103
|
-
"scene.hook.solution": {
|
|
104
|
-
value: "The Solution",
|
|
105
|
-
description: "Scene hook label for solution"
|
|
106
|
-
},
|
|
107
|
-
"scene.narration.solution": {
|
|
108
|
-
value: "The solution: {content}",
|
|
109
|
-
description: "Scene narration for solution",
|
|
110
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
111
|
-
},
|
|
112
|
-
"scene.hook.results": {
|
|
113
|
-
value: "Results",
|
|
114
|
-
description: "Scene hook label for results/metrics"
|
|
115
|
-
},
|
|
116
|
-
"composition.apiOverview.generates": {
|
|
117
|
-
value: "Generates:",
|
|
118
|
-
description: "ApiOverview heading for generated outputs"
|
|
119
|
-
},
|
|
120
|
-
"composition.apiOverview.tagline": {
|
|
121
|
-
value: "One spec. Every surface.",
|
|
122
|
-
description: "ApiOverview default tagline"
|
|
123
|
-
},
|
|
124
|
-
"composition.apiOverview.output.rest": {
|
|
125
|
-
value: "REST Endpoint",
|
|
126
|
-
description: "Generated output label: REST"
|
|
127
|
-
},
|
|
128
|
-
"composition.apiOverview.output.graphql": {
|
|
129
|
-
value: "GraphQL Mutation",
|
|
130
|
-
description: "Generated output label: GraphQL"
|
|
131
|
-
},
|
|
132
|
-
"composition.apiOverview.output.prisma": {
|
|
133
|
-
value: "Prisma Model",
|
|
134
|
-
description: "Generated output label: Prisma"
|
|
135
|
-
},
|
|
136
|
-
"composition.apiOverview.output.typescript": {
|
|
137
|
-
value: "TypeScript SDK",
|
|
138
|
-
description: "Generated output label: TypeScript SDK"
|
|
139
|
-
},
|
|
140
|
-
"composition.apiOverview.output.mcp": {
|
|
141
|
-
value: "MCP Tool",
|
|
142
|
-
description: "Generated output label: MCP Tool"
|
|
143
|
-
},
|
|
144
|
-
"composition.apiOverview.output.openapi": {
|
|
145
|
-
value: "OpenAPI Spec",
|
|
146
|
-
description: "Generated output label: OpenAPI"
|
|
147
|
-
},
|
|
148
|
-
"composition.socialClip.cta": {
|
|
149
|
-
value: "Learn more",
|
|
150
|
-
description: "SocialClip default CTA"
|
|
151
|
-
},
|
|
152
|
-
"composition.terminal.title": {
|
|
153
|
-
value: "Terminal",
|
|
154
|
-
description: "TerminalDemo default window title"
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
|
|
159
|
-
// src/i18n/catalogs/es.ts
|
|
160
|
-
import { defineTranslation as defineTranslation2 } from "@contractspec/lib.contracts-spec/translations";
|
|
161
|
-
var esMessages = defineTranslation2({
|
|
162
|
-
meta: {
|
|
163
|
-
key: "video-gen.messages",
|
|
164
|
-
version: "1.0.0",
|
|
165
|
-
domain: "video-gen",
|
|
166
|
-
description: "Spanish translations for the video-gen package",
|
|
167
|
-
owners: ["platform"],
|
|
168
|
-
stability: "experimental"
|
|
169
|
-
},
|
|
170
|
-
locale: "es",
|
|
171
|
-
fallback: "en",
|
|
172
|
-
messages: {
|
|
173
|
-
"prompt.script.system": {
|
|
174
|
-
value: `Eres un redactor de guiones de narración para vídeo.
|
|
28
|
+
Prioritize clarity and pacing. Each scene should communicate one idea.`,description:"Scene planner LLM system prompt",placeholders:[{name:"fps",type:"number"},{name:"targetSeconds",type:"number"}]},"prompt.style.professional":{value:"Use a clear, authoritative, professional tone. Be concise and direct.",description:"Style guide for professional narration"},"prompt.style.casual":{value:"Use a friendly, conversational tone. Be approachable and relatable.",description:"Style guide for casual narration"},"prompt.style.technical":{value:"Use precise technical language. Be detailed and accurate.",description:"Style guide for technical narration"},"script.segment.challenge":{value:"The challenge: {content}",description:"Narration segment prefix for problems",placeholders:[{name:"content",type:"string"}]},"script.segment.solution":{value:"The solution: {content}",description:"Narration segment prefix for solutions",placeholders:[{name:"content",type:"string"}]},"script.segment.results":{value:"The results: {content}",description:"Narration segment prefix for metrics",placeholders:[{name:"content",type:"string"}]},"scene.cta.default":{value:"Learn more",description:"Default call-to-action text for scenes"},"scene.hook.problem":{value:"The Problem",description:"Scene hook label for problem statement"},"scene.narration.problem":{value:"The problem: {content}",description:"Scene narration for problem statement",placeholders:[{name:"content",type:"string"}]},"scene.hook.solution":{value:"The Solution",description:"Scene hook label for solution"},"scene.narration.solution":{value:"The solution: {content}",description:"Scene narration for solution",placeholders:[{name:"content",type:"string"}]},"scene.hook.results":{value:"Results",description:"Scene hook label for results/metrics"},"composition.apiOverview.generates":{value:"Generates:",description:"ApiOverview heading for generated outputs"},"composition.apiOverview.tagline":{value:"One spec. Every surface.",description:"ApiOverview default tagline"},"composition.apiOverview.output.rest":{value:"REST Endpoint",description:"Generated output label: REST"},"composition.apiOverview.output.graphql":{value:"GraphQL Mutation",description:"Generated output label: GraphQL"},"composition.apiOverview.output.prisma":{value:"Prisma Model",description:"Generated output label: Prisma"},"composition.apiOverview.output.typescript":{value:"TypeScript SDK",description:"Generated output label: TypeScript SDK"},"composition.apiOverview.output.mcp":{value:"MCP Tool",description:"Generated output label: MCP Tool"},"composition.apiOverview.output.openapi":{value:"OpenAPI Spec",description:"Generated output label: OpenAPI"},"composition.socialClip.cta":{value:"Learn more",description:"SocialClip default CTA"},"composition.terminal.title":{value:"Terminal",description:"TerminalDemo default window title"}}});import{defineTranslation as x}from"@contractspec/lib.contracts-spec/translations";var m=x({meta:{key:"video-gen.messages",version:"1.0.0",domain:"video-gen",description:"Spanish translations for the video-gen package",owners:["platform"],stability:"experimental"},locale:"es",fallback:"en",messages:{"prompt.script.system":{value:`Eres un redactor de guiones de narración para vídeo.
|
|
175
29
|
Escribe un guión de narración para un vídeo corto (30-60 segundos).
|
|
176
30
|
{styleGuide}
|
|
177
31
|
|
|
@@ -182,12 +36,7 @@ Devuelve JSON con la forma:
|
|
|
182
36
|
}
|
|
183
37
|
|
|
184
38
|
Los identificadores de escena deben ser: "intro", "problems", "solutions", "metrics", "cta".
|
|
185
|
-
Incluye solo los segmentos relevantes para el brief.`,
|
|
186
|
-
description: "Script generator LLM system prompt",
|
|
187
|
-
placeholders: [{ name: "styleGuide", type: "string" }]
|
|
188
|
-
},
|
|
189
|
-
"prompt.scenePlanner.system": {
|
|
190
|
-
value: `Eres un planificador de escenas de vídeo para vídeos de marketing/documentación de ContractSpec.
|
|
39
|
+
Incluye solo los segmentos relevantes para el brief.`,description:"Script generator LLM system prompt",placeholders:[{name:"styleGuide",type:"string"}]},"prompt.scenePlanner.system":{value:`Eres un planificador de escenas de vídeo para vídeos de marketing/documentación de ContractSpec.
|
|
191
40
|
Dado un brief de contenido, divídelo en escenas de vídeo.
|
|
192
41
|
|
|
193
42
|
Cada escena debe tener:
|
|
@@ -203,125 +52,7 @@ Devuelve un objeto JSON con la forma:
|
|
|
203
52
|
}
|
|
204
53
|
|
|
205
54
|
Mantén la duración total alrededor de {targetSeconds} segundos.
|
|
206
|
-
Prioriza la claridad y el ritmo. Cada escena debe comunicar una idea.`,
|
|
207
|
-
description: "Scene planner LLM system prompt",
|
|
208
|
-
placeholders: [
|
|
209
|
-
{ name: "fps", type: "number" },
|
|
210
|
-
{ name: "targetSeconds", type: "number" }
|
|
211
|
-
]
|
|
212
|
-
},
|
|
213
|
-
"prompt.style.professional": {
|
|
214
|
-
value: "Usa un tono claro, autoritario y profesional. Sé conciso y directo.",
|
|
215
|
-
description: "Style guide for professional narration"
|
|
216
|
-
},
|
|
217
|
-
"prompt.style.casual": {
|
|
218
|
-
value: "Usa un tono amigable y conversacional. Sé accesible y cercano.",
|
|
219
|
-
description: "Style guide for casual narration"
|
|
220
|
-
},
|
|
221
|
-
"prompt.style.technical": {
|
|
222
|
-
value: "Usa un lenguaje técnico preciso. Sé detallado y exacto.",
|
|
223
|
-
description: "Style guide for technical narration"
|
|
224
|
-
},
|
|
225
|
-
"script.segment.challenge": {
|
|
226
|
-
value: "El desafío: {content}",
|
|
227
|
-
description: "Narration segment prefix for problems",
|
|
228
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
229
|
-
},
|
|
230
|
-
"script.segment.solution": {
|
|
231
|
-
value: "La solución: {content}",
|
|
232
|
-
description: "Narration segment prefix for solutions",
|
|
233
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
234
|
-
},
|
|
235
|
-
"script.segment.results": {
|
|
236
|
-
value: "Los resultados: {content}",
|
|
237
|
-
description: "Narration segment prefix for metrics",
|
|
238
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
239
|
-
},
|
|
240
|
-
"scene.cta.default": {
|
|
241
|
-
value: "Más información",
|
|
242
|
-
description: "Default call-to-action text for scenes"
|
|
243
|
-
},
|
|
244
|
-
"scene.hook.problem": {
|
|
245
|
-
value: "El problema",
|
|
246
|
-
description: "Scene hook label for problem statement"
|
|
247
|
-
},
|
|
248
|
-
"scene.narration.problem": {
|
|
249
|
-
value: "El problema: {content}",
|
|
250
|
-
description: "Scene narration for problem statement",
|
|
251
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
252
|
-
},
|
|
253
|
-
"scene.hook.solution": {
|
|
254
|
-
value: "La solución",
|
|
255
|
-
description: "Scene hook label for solution"
|
|
256
|
-
},
|
|
257
|
-
"scene.narration.solution": {
|
|
258
|
-
value: "La solución: {content}",
|
|
259
|
-
description: "Scene narration for solution",
|
|
260
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
261
|
-
},
|
|
262
|
-
"scene.hook.results": {
|
|
263
|
-
value: "Resultados",
|
|
264
|
-
description: "Scene hook label for results/metrics"
|
|
265
|
-
},
|
|
266
|
-
"composition.apiOverview.generates": {
|
|
267
|
-
value: "Genera:",
|
|
268
|
-
description: "ApiOverview heading for generated outputs"
|
|
269
|
-
},
|
|
270
|
-
"composition.apiOverview.tagline": {
|
|
271
|
-
value: "Una spec. Todas las superficies.",
|
|
272
|
-
description: "ApiOverview default tagline"
|
|
273
|
-
},
|
|
274
|
-
"composition.apiOverview.output.rest": {
|
|
275
|
-
value: "Endpoint REST",
|
|
276
|
-
description: "Generated output label: REST"
|
|
277
|
-
},
|
|
278
|
-
"composition.apiOverview.output.graphql": {
|
|
279
|
-
value: "Mutación GraphQL",
|
|
280
|
-
description: "Generated output label: GraphQL"
|
|
281
|
-
},
|
|
282
|
-
"composition.apiOverview.output.prisma": {
|
|
283
|
-
value: "Modelo Prisma",
|
|
284
|
-
description: "Generated output label: Prisma"
|
|
285
|
-
},
|
|
286
|
-
"composition.apiOverview.output.typescript": {
|
|
287
|
-
value: "SDK TypeScript",
|
|
288
|
-
description: "Generated output label: TypeScript SDK"
|
|
289
|
-
},
|
|
290
|
-
"composition.apiOverview.output.mcp": {
|
|
291
|
-
value: "Herramienta MCP",
|
|
292
|
-
description: "Generated output label: MCP Tool"
|
|
293
|
-
},
|
|
294
|
-
"composition.apiOverview.output.openapi": {
|
|
295
|
-
value: "Spec OpenAPI",
|
|
296
|
-
description: "Generated output label: OpenAPI"
|
|
297
|
-
},
|
|
298
|
-
"composition.socialClip.cta": {
|
|
299
|
-
value: "Más información",
|
|
300
|
-
description: "SocialClip default CTA"
|
|
301
|
-
},
|
|
302
|
-
"composition.terminal.title": {
|
|
303
|
-
value: "Terminal",
|
|
304
|
-
description: "TerminalDemo default window title"
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
});
|
|
308
|
-
|
|
309
|
-
// src/i18n/catalogs/fr.ts
|
|
310
|
-
import { defineTranslation as defineTranslation3 } from "@contractspec/lib.contracts-spec/translations";
|
|
311
|
-
var frMessages = defineTranslation3({
|
|
312
|
-
meta: {
|
|
313
|
-
key: "video-gen.messages",
|
|
314
|
-
version: "1.0.0",
|
|
315
|
-
domain: "video-gen",
|
|
316
|
-
description: "French translations for the video-gen package",
|
|
317
|
-
owners: ["platform"],
|
|
318
|
-
stability: "experimental"
|
|
319
|
-
},
|
|
320
|
-
locale: "fr",
|
|
321
|
-
fallback: "en",
|
|
322
|
-
messages: {
|
|
323
|
-
"prompt.script.system": {
|
|
324
|
-
value: `Vous êtes un rédacteur de scripts de narration vidéo.
|
|
55
|
+
Prioriza la claridad y el ritmo. Cada escena debe comunicar una idea.`,description:"Scene planner LLM system prompt",placeholders:[{name:"fps",type:"number"},{name:"targetSeconds",type:"number"}]},"prompt.style.professional":{value:"Usa un tono claro, autoritario y profesional. Sé conciso y directo.",description:"Style guide for professional narration"},"prompt.style.casual":{value:"Usa un tono amigable y conversacional. Sé accesible y cercano.",description:"Style guide for casual narration"},"prompt.style.technical":{value:"Usa un lenguaje técnico preciso. Sé detallado y exacto.",description:"Style guide for technical narration"},"script.segment.challenge":{value:"El desafío: {content}",description:"Narration segment prefix for problems",placeholders:[{name:"content",type:"string"}]},"script.segment.solution":{value:"La solución: {content}",description:"Narration segment prefix for solutions",placeholders:[{name:"content",type:"string"}]},"script.segment.results":{value:"Los resultados: {content}",description:"Narration segment prefix for metrics",placeholders:[{name:"content",type:"string"}]},"scene.cta.default":{value:"Más información",description:"Default call-to-action text for scenes"},"scene.hook.problem":{value:"El problema",description:"Scene hook label for problem statement"},"scene.narration.problem":{value:"El problema: {content}",description:"Scene narration for problem statement",placeholders:[{name:"content",type:"string"}]},"scene.hook.solution":{value:"La solución",description:"Scene hook label for solution"},"scene.narration.solution":{value:"La solución: {content}",description:"Scene narration for solution",placeholders:[{name:"content",type:"string"}]},"scene.hook.results":{value:"Resultados",description:"Scene hook label for results/metrics"},"composition.apiOverview.generates":{value:"Genera:",description:"ApiOverview heading for generated outputs"},"composition.apiOverview.tagline":{value:"Una spec. Todas las superficies.",description:"ApiOverview default tagline"},"composition.apiOverview.output.rest":{value:"Endpoint REST",description:"Generated output label: REST"},"composition.apiOverview.output.graphql":{value:"Mutación GraphQL",description:"Generated output label: GraphQL"},"composition.apiOverview.output.prisma":{value:"Modelo Prisma",description:"Generated output label: Prisma"},"composition.apiOverview.output.typescript":{value:"SDK TypeScript",description:"Generated output label: TypeScript SDK"},"composition.apiOverview.output.mcp":{value:"Herramienta MCP",description:"Generated output label: MCP Tool"},"composition.apiOverview.output.openapi":{value:"Spec OpenAPI",description:"Generated output label: OpenAPI"},"composition.socialClip.cta":{value:"Más información",description:"SocialClip default CTA"},"composition.terminal.title":{value:"Terminal",description:"TerminalDemo default window title"}}});import{defineTranslation as z}from"@contractspec/lib.contracts-spec/translations";var q=z({meta:{key:"video-gen.messages",version:"1.0.0",domain:"video-gen",description:"French translations for the video-gen package",owners:["platform"],stability:"experimental"},locale:"fr",fallback:"en",messages:{"prompt.script.system":{value:`Vous êtes un rédacteur de scripts de narration vidéo.
|
|
325
56
|
Écrivez un script de narration pour une courte vidéo (30-60 secondes).
|
|
326
57
|
{styleGuide}
|
|
327
58
|
|
|
@@ -332,12 +63,7 @@ Retournez du JSON avec la forme :
|
|
|
332
63
|
}
|
|
333
64
|
|
|
334
65
|
Les identifiants de scène doivent être : "intro", "problems", "solutions", "metrics", "cta".
|
|
335
|
-
N'incluez que les segments pertinents au brief.`,
|
|
336
|
-
description: "Script generator LLM system prompt",
|
|
337
|
-
placeholders: [{ name: "styleGuide", type: "string" }]
|
|
338
|
-
},
|
|
339
|
-
"prompt.scenePlanner.system": {
|
|
340
|
-
value: `Vous êtes un planificateur de scènes vidéo pour les vidéos marketing/documentation de ContractSpec.
|
|
66
|
+
N'incluez que les segments pertinents au brief.`,description:"Script generator LLM system prompt",placeholders:[{name:"styleGuide",type:"string"}]},"prompt.scenePlanner.system":{value:`Vous êtes un planificateur de scènes vidéo pour les vidéos marketing/documentation de ContractSpec.
|
|
341
67
|
À partir d'un brief, décomposez-le en scènes vidéo.
|
|
342
68
|
|
|
343
69
|
Chaque scène doit avoir :
|
|
@@ -353,122 +79,4 @@ Retournez un objet JSON avec la forme :
|
|
|
353
79
|
}
|
|
354
80
|
|
|
355
81
|
Gardez la durée totale autour de {targetSeconds} secondes.
|
|
356
|
-
Privilégiez la clarté et le rythme. Chaque scène doit communiquer une idée.`,
|
|
357
|
-
description: "Scene planner LLM system prompt",
|
|
358
|
-
placeholders: [
|
|
359
|
-
{ name: "fps", type: "number" },
|
|
360
|
-
{ name: "targetSeconds", type: "number" }
|
|
361
|
-
]
|
|
362
|
-
},
|
|
363
|
-
"prompt.style.professional": {
|
|
364
|
-
value: "Utilisez un ton clair, autoritaire et professionnel. Soyez concis et direct.",
|
|
365
|
-
description: "Style guide for professional narration"
|
|
366
|
-
},
|
|
367
|
-
"prompt.style.casual": {
|
|
368
|
-
value: "Utilisez un ton amical et conversationnel. Soyez accessible et proche.",
|
|
369
|
-
description: "Style guide for casual narration"
|
|
370
|
-
},
|
|
371
|
-
"prompt.style.technical": {
|
|
372
|
-
value: "Utilisez un langage technique précis. Soyez détaillé et exact.",
|
|
373
|
-
description: "Style guide for technical narration"
|
|
374
|
-
},
|
|
375
|
-
"script.segment.challenge": {
|
|
376
|
-
value: "Le défi : {content}",
|
|
377
|
-
description: "Narration segment prefix for problems",
|
|
378
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
379
|
-
},
|
|
380
|
-
"script.segment.solution": {
|
|
381
|
-
value: "La solution : {content}",
|
|
382
|
-
description: "Narration segment prefix for solutions",
|
|
383
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
384
|
-
},
|
|
385
|
-
"script.segment.results": {
|
|
386
|
-
value: "Les résultats : {content}",
|
|
387
|
-
description: "Narration segment prefix for metrics",
|
|
388
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
389
|
-
},
|
|
390
|
-
"scene.cta.default": {
|
|
391
|
-
value: "En savoir plus",
|
|
392
|
-
description: "Default call-to-action text for scenes"
|
|
393
|
-
},
|
|
394
|
-
"scene.hook.problem": {
|
|
395
|
-
value: "Le problème",
|
|
396
|
-
description: "Scene hook label for problem statement"
|
|
397
|
-
},
|
|
398
|
-
"scene.narration.problem": {
|
|
399
|
-
value: "Le problème : {content}",
|
|
400
|
-
description: "Scene narration for problem statement",
|
|
401
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
402
|
-
},
|
|
403
|
-
"scene.hook.solution": {
|
|
404
|
-
value: "La solution",
|
|
405
|
-
description: "Scene hook label for solution"
|
|
406
|
-
},
|
|
407
|
-
"scene.narration.solution": {
|
|
408
|
-
value: "La solution : {content}",
|
|
409
|
-
description: "Scene narration for solution",
|
|
410
|
-
placeholders: [{ name: "content", type: "string" }]
|
|
411
|
-
},
|
|
412
|
-
"scene.hook.results": {
|
|
413
|
-
value: "Résultats",
|
|
414
|
-
description: "Scene hook label for results/metrics"
|
|
415
|
-
},
|
|
416
|
-
"composition.apiOverview.generates": {
|
|
417
|
-
value: "Génère :",
|
|
418
|
-
description: "ApiOverview heading for generated outputs"
|
|
419
|
-
},
|
|
420
|
-
"composition.apiOverview.tagline": {
|
|
421
|
-
value: "Un spec. Toutes les surfaces.",
|
|
422
|
-
description: "ApiOverview default tagline"
|
|
423
|
-
},
|
|
424
|
-
"composition.apiOverview.output.rest": {
|
|
425
|
-
value: "Endpoint REST",
|
|
426
|
-
description: "Generated output label: REST"
|
|
427
|
-
},
|
|
428
|
-
"composition.apiOverview.output.graphql": {
|
|
429
|
-
value: "Mutation GraphQL",
|
|
430
|
-
description: "Generated output label: GraphQL"
|
|
431
|
-
},
|
|
432
|
-
"composition.apiOverview.output.prisma": {
|
|
433
|
-
value: "Modèle Prisma",
|
|
434
|
-
description: "Generated output label: Prisma"
|
|
435
|
-
},
|
|
436
|
-
"composition.apiOverview.output.typescript": {
|
|
437
|
-
value: "SDK TypeScript",
|
|
438
|
-
description: "Generated output label: TypeScript SDK"
|
|
439
|
-
},
|
|
440
|
-
"composition.apiOverview.output.mcp": {
|
|
441
|
-
value: "Outil MCP",
|
|
442
|
-
description: "Generated output label: MCP Tool"
|
|
443
|
-
},
|
|
444
|
-
"composition.apiOverview.output.openapi": {
|
|
445
|
-
value: "Spec OpenAPI",
|
|
446
|
-
description: "Generated output label: OpenAPI"
|
|
447
|
-
},
|
|
448
|
-
"composition.socialClip.cta": {
|
|
449
|
-
value: "En savoir plus",
|
|
450
|
-
description: "SocialClip default CTA"
|
|
451
|
-
},
|
|
452
|
-
"composition.terminal.title": {
|
|
453
|
-
value: "Terminal",
|
|
454
|
-
description: "TerminalDemo default window title"
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
});
|
|
458
|
-
|
|
459
|
-
// src/i18n/messages.ts
|
|
460
|
-
import {
|
|
461
|
-
createI18nFactory
|
|
462
|
-
} from "@contractspec/lib.contracts-spec/translations";
|
|
463
|
-
var factory = createI18nFactory({
|
|
464
|
-
specKey: "video-gen.messages",
|
|
465
|
-
catalogs: [enMessages, frMessages, esMessages]
|
|
466
|
-
});
|
|
467
|
-
var createVideoGenI18n = factory.create;
|
|
468
|
-
var getDefaultI18n = factory.getDefault;
|
|
469
|
-
var resetI18nRegistry = factory.resetRegistry;
|
|
470
|
-
export {
|
|
471
|
-
resetI18nRegistry,
|
|
472
|
-
getDefaultI18n,
|
|
473
|
-
createVideoGenI18n
|
|
474
|
-
};
|
|
82
|
+
Privilégiez la clarté et le rythme. Chaque scène doit communiquer une idée.`,description:"Scene planner LLM system prompt",placeholders:[{name:"fps",type:"number"},{name:"targetSeconds",type:"number"}]},"prompt.style.professional":{value:"Utilisez un ton clair, autoritaire et professionnel. Soyez concis et direct.",description:"Style guide for professional narration"},"prompt.style.casual":{value:"Utilisez un ton amical et conversationnel. Soyez accessible et proche.",description:"Style guide for casual narration"},"prompt.style.technical":{value:"Utilisez un langage technique précis. Soyez détaillé et exact.",description:"Style guide for technical narration"},"script.segment.challenge":{value:"Le défi : {content}",description:"Narration segment prefix for problems",placeholders:[{name:"content",type:"string"}]},"script.segment.solution":{value:"La solution : {content}",description:"Narration segment prefix for solutions",placeholders:[{name:"content",type:"string"}]},"script.segment.results":{value:"Les résultats : {content}",description:"Narration segment prefix for metrics",placeholders:[{name:"content",type:"string"}]},"scene.cta.default":{value:"En savoir plus",description:"Default call-to-action text for scenes"},"scene.hook.problem":{value:"Le problème",description:"Scene hook label for problem statement"},"scene.narration.problem":{value:"Le problème : {content}",description:"Scene narration for problem statement",placeholders:[{name:"content",type:"string"}]},"scene.hook.solution":{value:"La solution",description:"Scene hook label for solution"},"scene.narration.solution":{value:"La solution : {content}",description:"Scene narration for solution",placeholders:[{name:"content",type:"string"}]},"scene.hook.results":{value:"Résultats",description:"Scene hook label for results/metrics"},"composition.apiOverview.generates":{value:"Génère :",description:"ApiOverview heading for generated outputs"},"composition.apiOverview.tagline":{value:"Un spec. Toutes les surfaces.",description:"ApiOverview default tagline"},"composition.apiOverview.output.rest":{value:"Endpoint REST",description:"Generated output label: REST"},"composition.apiOverview.output.graphql":{value:"Mutation GraphQL",description:"Generated output label: GraphQL"},"composition.apiOverview.output.prisma":{value:"Modèle Prisma",description:"Generated output label: Prisma"},"composition.apiOverview.output.typescript":{value:"SDK TypeScript",description:"Generated output label: TypeScript SDK"},"composition.apiOverview.output.mcp":{value:"Outil MCP",description:"Generated output label: MCP Tool"},"composition.apiOverview.output.openapi":{value:"Spec OpenAPI",description:"Generated output label: OpenAPI"},"composition.socialClip.cta":{value:"En savoir plus",description:"SocialClip default CTA"},"composition.terminal.title":{value:"Terminal",description:"TerminalDemo default window title"}}});import{createI18nFactory as A}from"@contractspec/lib.contracts-spec/translations";var j=A({specKey:"video-gen.messages",catalogs:[k,q,m]}),Q=j.create,R=j.getDefault,S=j.resetRegistry;export{S as resetI18nRegistry,R as getDefaultI18n,Q as createVideoGenI18n};
|