@aswless_854771076/ai_short_studio_cli 0.1.206 → 0.1.208
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/domain/vvicat-api.js +3 -3
- package/package.json +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/references/canvas-media-gates.md +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/generate-character-images.md +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_asset_sheet.en.txt +3 -3
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_asset_sheet.zh.txt +3 -3
|
@@ -395,9 +395,9 @@ export class VvicatApi {
|
|
|
395
395
|
if (node.kind === 'drama-edit-render') {
|
|
396
396
|
const catalog = await this.nodeTypes();
|
|
397
397
|
const renderer = catalog.nodeTypes.find(item => item.kind === node.kind);
|
|
398
|
-
//
|
|
399
|
-
if (renderer?.renderBackend
|
|
400
|
-
throw new Error('AGENT_BROWSER_RENDER_DISABLED
|
|
398
|
+
// 只接受目录明确声明的正式调度入口,CLI 不自行启动外部浏览器工程。
|
|
399
|
+
if (!((renderer?.renderBackend === 'ffmpeg' && renderer.browserRenderingAllowed === false) || (renderer?.renderBackend === 'auto' && renderer.browserRenderingAllowed === true))) {
|
|
400
|
+
throw new Error('AGENT_BROWSER_RENDER_DISABLED:缺少正式渲染调度声明;保留计划,不重复提交');
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
// 服务端阶段门禁会把 missing/invalid 等结构化诊断放进 CliApiError.details;CLI 原样保留,避免吞掉修复依据。
|
package/package.json
CHANGED
|
@@ -89,4 +89,4 @@
|
|
|
89
89
|
|
|
90
90
|
### Agent 成片渲染后端
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
正式初剪使用统一任务调度:实时目录 drama-edit-render 声明 renderBackend=auto、browserRenderingAllowed=true 时,可由打开的画布浏览器执行 Mediabunny/WebCodecs 编码,成片由服务端验收与锁内回写;无可用客户端或客户端执行失败时,auto 在同一 taskId 内回退服务端 FFmpeg。节点配置 renderBackend 支持 auto/browser/ffmpeg:browser 要求用户保持画布打开,断连或超时如实失败;ffmpeg 直接服务端执行。目录明确声明旧式 renderBackend=ffmpeg、browserRenderingAllowed=false 时仍可用。字段缺失或未知后端不提交,不绕到外部浏览器工程、脚本或旧编辑器。Agent 只用正式 canvas_execute / CLI node run 提交一次,已有在途 taskId 只观察,不重发。客户端不授予批准,也不能修复源片口型;PRODUCTION_RENDER_STALLED 表示实际编码无进展,报告真实失败,不自行重渲染或修改计划。
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
主流程使用 `agent_character_visual`:`character_profiles` 只传已确认档案,`candidate_count` 传每个形象的候选数;输出必须是严格 JSON `characters[].appearances[].descriptions[]`。无档案的单人物请求才使用 `character_create`;修改、重生成和参考图反推分别使用 `character_modify`、`character_regenerate`、`character_description_update` 或 `character_image_to_description`。
|
|
4
4
|
|
|
5
|
-
正式出图必须用 `character_asset_sheet`
|
|
5
|
+
正式出图必须用 `character_asset_sheet` 把已确认人物描述与项目完整画风对象编译为完整角色视觉设定板:唯一一张正面脸部特写、从肩线裁切至脚底且不含头部的正/侧/背身体三视图,以及有证据的服装、配饰和鞋履辅助图;所有辅助图不展示头部或脸部,不生成表情图,裁切边缘自然干净,不画断颈或伤口。人物设定板提示词遵循 [通用提示词规范](../prompt/prompt-craft.md),只写资产身份、视图、材质、光线和不可改变项。它不是普通三视图,因此不再路由独立三视图 Skill。设定板只是参考信息布局,不能把媒介默认为概念原画;登记模板会把完整画风对象编译为 renderingContract,出图必须执行其媒介、材质与成像规则。
|
|
6
6
|
|
|
7
7
|
出图前必须对人物档案执行 `assertCharacterReadyForVisuals`:未知年龄不得生成视觉资产;成年人物必须保留已批准的 `adult-charisma`、专属妆发、服装标识和全部记忆锚点;儿童只允许 `child-cuteness`,禁止成人妆容、成人化服装、性感姿态、身体曲线强调和性化镜头语言。魅力设计服从时代、职业、阶层、伤病和剧情状态,不能靠无据裸露或模板化网红脸替代人物设计。
|
|
8
8
|
|
|
@@ -10,12 +10,12 @@ The description must carry validated audience_appeal (adult-charisma or child-cu
|
|
|
10
10
|
|
|
11
11
|
First read the selected style's explicit medium/rendering method, material language, color, lighting, and negative constraints, then render the entire sheet in that medium. Never auto-convert the sheet into concept art and never default it to live-action photography: a live-action/photographic style requires credible photography, skin, hair, fabric, and lens response; a 2D animation/comic style preserves its linework, cel shading, or drawn texture; a 3D animation style preserves its modeling, shader, and material system; any other style follows its own specification exactly. White background, grid, and multiple views control layout only and must not override the selected medium. When an example conflicts with the project style, the project style wins.
|
|
12
12
|
|
|
13
|
-
Use one 16:9 landscape canvas with a clean white background, clear grid columns, and generous spacing. The left third
|
|
13
|
+
Use one 16:9 landscape canvas with a clean white background, clear grid columns, and generous spacing. The left third contains exactly one frontal facial close-up showing hair, facial structure, and signature head accessories. The right two thirds strictly arrange front, exact 90-degree side, and back body views cropped from the shoulder line to the soles, with no head, face, or hair. Use clean natural crop boundaries, never severed necks or wounds. Keep identical body height, proportion, foot baseline, and neutral stance.
|
|
14
14
|
|
|
15
|
-
Use small supporting studies for
|
|
15
|
+
Use small supporting studies for front/back garment construction already supported by input, signature accessories and footwear. All supporting studies must exclude heads and faces; do not add expression panels, extra portraits, or facial side views. Omit missing categories instead of inventing clothing, accessories, brands, skin tone, tattoos, or props. Define face, hair, and head accessories only in the single facial close-up. Keep body proportions, garment structure, main colors, and permanent traits identical across body views, preserving memory_anchors in their corresponding visible regions.
|
|
16
16
|
|
|
17
17
|
For adult-charisma, screen appeal comes from story- and period-appropriate posture, grooming, wardrobe silhouette, material, and memorable anchors—not nudity, exaggerated body parts, or a generic influencer face. child-cuteness shows only healthy, lively, innocent, age-appropriate charm; never use adult makeup, adultified clothing, sexualized poses, emphasized body curves, or sexualized camera language.
|
|
18
18
|
|
|
19
|
-
The left facial close-up is the face-identity source of truth; the right
|
|
19
|
+
The left facial close-up is the face-identity source of truth; the right headless body views are the silhouette and proportion source of truth. Only this one face may appear anywhere on the sheet. At thumbnail size the same person remains recognizable through body proportion, large wardrobe shapes, and signature marker rather than color alone.
|
|
20
20
|
|
|
21
21
|
Short labels in the project language are allowed; no paragraphs or garbled text. Exclude random wardrobe changes, duplicate angles, action poses, scene backgrounds, prop staging, comic panels, and poster composition. Never substitute a different medium—for example, turning photography into game concept art, 2D animation into a realistic photo, or 3D animation into painted 2D art. The project style controls medium, linework/shaders, material, color treatment, lighting, and image response, never identity.
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
先从项目画风中读取其明确指定的媒介/渲染方式、材质语言、色彩、光线和负面约束,再用该媒介完成整张设定板。不得把设定板自动画成概念原画,也不得默认转换成真人摄影:真人/实拍画风使用可信的摄影、皮肤、毛发、布料与镜头质感;二维动画/漫画画风保持其线条、平涂或绘制纹理;三维动画画风保持其建模、着色器与材质体系;其他画风严格遵循项目说明。白底、网格和多视图只控制排版,不得覆盖项目媒介。项目画风与模板示例冲突时,以项目画风为准。
|
|
12
12
|
|
|
13
|
-
使用一整张 16:9
|
|
13
|
+
使用一整张 16:9 横向画布、纯白背景、清晰网格分栏和充足留白。左侧约三分之一仅保留一张正面脸部特写,完整展示发型、五官和标志性头部配饰;右侧约三分之二严格排列正面、90 度侧面、背面的肩部以下身体三视图,全部从肩线裁切至脚底,不展示头部、脸部或头发;裁切边缘自然干净,不画断颈或伤口,身体等高、同比例、双脚同一基线、中性站姿。
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
以小型辅助图补充:输入已明确服装的正背面结构、标志性配饰与鞋履细节。所有辅助图均不展示头部或脸部,不生成表情图、额外头像或带脸侧视图。缺失项目直接省略,不虚构服装、配饰、品牌、肤色、纹身或道具。面部、发型与头部配饰只在唯一脸部特写中定义;其余视图必须严格统一身材比例、服装结构、主色和永久特征,并在对应可见区域保留 memory_anchors。
|
|
16
16
|
|
|
17
17
|
adult-charisma 的魅力必须来自符合人物、时代与剧情的姿态、妆发、服装轮廓、材质和记忆锚点,不得以裸露、身体部位夸张或模板化网红脸代替。child-cuteness 只表现健康、灵动、童真和年龄匹配的可爱;儿童禁止成人妆容、成人化服装、性感姿态、身体曲线强调和性化镜头语言。
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
左侧脸部特写是面部身份基准,右侧去头身体三视图是轮廓与比例基准;整张设定板只出现这一张脸。缩小查看时仍能凭体态比例、服装大形和标志物识别同一角色,不只依赖颜色。
|
|
20
20
|
|
|
21
21
|
允许使用与项目语言一致的简短标题和标签,不写段落或乱码。禁止随机换装、重复视角、动作姿势、场景背景、道具摆拍、漫画分镜或海报构图。不得出现与项目画风不一致的媒介替换,例如把真人摄影变成游戏概念图、把二维动画变成写实照片、把三维动画变成二维厚涂。项目画风控制媒介、线条/着色器、材质、上色、光线和成像质感,但不改变人物身份。
|