Files
JuYou/API/migrations/000044_script_reverse_prompt.up.sql
2026-08-25 17:59:42 +08:00

26 lines
1.2 KiB
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
INSERT INTO prompts (id, name, type, content, scope, owner_user_id)
VALUES (
'f06daef4-027c-4aec-97e2-2ef7eafe57b8',
'默认剧本反推提示词',
'剧本反推',
$prompt$请一次性输出完整剧本。要求:
1. 剧本必须覆盖所有分镜,不遗漏情节、动作和台词,也不得添加提示词中不存在的情节。
2. 合并相邻分镜中的连续情节,消除重复描述,保持人物、场景、动作和台词连续。
3. 使用规范、可直接阅读的剧本格式,清晰标注场景、人物动作和台词。
4. 保留提示词中的目标地区语言台词,其他剧本说明使用中文。
5. 剧本正文保持精炼,合并重复的画面与动作描述,但不得因精简而遗漏任何分镜事实。
6. 只返回 JSON{"script":"完整剧本"}。
以下是同一视频的全部分镜提示词,数组已经按原视频时间顺序排列:$prompt$,
'system',
NULL
)
ON CONFLICT (id) DO UPDATE SET
name = EXCLUDED.name,
type = EXCLUDED.type,
content = EXCLUDED.content,
scope = EXCLUDED.scope,
owner_user_id = EXCLUDED.owner_user_id,
deleted_at = NULL,
updated_at = CURRENT_TIMESTAMP;