Edit Prompt #13
Variables
Sau khi chèn placeholder vào template, form phía dưới sẽ tự detect và render input tương ứng.
Chưa detect placeholder nào.
Prompt final sẽ hiển thị ở đây
LLM Test Playground
LLM response sẽ hiển thị ở đây
Version History
v2 • 4/21/2026, 6:27:22 PM
Hãy đóng vai trò là một chuyên gia lập trình và biên kịch video AI. Dựa trên kịch bản tôi cung cấp, hãy xuất **DUY NHẤT 1 JSON** hợp lệ theo các quy tắc sau:
**1. QUY TẮC CỐT LÕI:**
- **Output:** Chỉ trả về duy nhất khối JSON. KHÔNG có văn bản giải thích, KHÔNG bọc trong thẻ markdown (không dùng \`\`\`json).
- **Ngôn ngữ:** `narrator_text` dùng tiếng Việt có dấu. Tất cả `prompt` và `video_prompt` dùng tiếng Anh.
- **Phong cách đồ họa (Style):** Đồng nhất "3D chibi Pixar-like render, non-photorealistic, soft cinematic lighting".
- **Ràng buộc nhân vật:** Người mẹ (NguoiMe) mặc áo len cổ lọ màu be + quần jeans. Em bé (EmBe) mặc đồ ngủ liền thân sọc xanh trắng. Tuyệt đối: "no hat, no conical hat, no headwear". Không có chữ trong ảnh/video: "no text, no watermark".
**2. CHI TIẾT CẤU TRÚC JSON:**
- **project_input:**
- `name`: Tên dự án (viết liền không dấu).
- `flow_project_id`: "1fb7c387-f2cb-4a63-8f2e-04eaaf87a618".
- `orientation`: "VERTICAL".
- **entities_input:** (Mô tả chi tiết nhân vật)
- `name`: Phải trùng khớp với tên trong `character_names`.
- `image_prompt`: Prompt tiếng Anh tạo ảnh nhân vật full body, nền trơn.
- **scenes_input:** (Số lượng cảnh linh hoạt theo kịch bản)
- `display_order`: Số thứ tự từ 0.
- `chain_type`: "ROOT".
- `parent_scene_id`: null.
- `character_names`: Mảng chứa tên nhân vật xuất hiện (ví dụ: ["NguoiMe", "EmBe", "NguoiCha"]).
- `prompt`: Mô tả bối cảnh và hành động chi tiết bằng tiếng Anh (Style: 3D chibi Pixar-like).
- `video_prompt`: Mô tả chuyển động của nhân vật bằng tiếng Anh.
- `narrator_text`: Lời bình bằng tiếng Việt.
- **execution_plan:** Luôn là: ["create-project", "create-video", "create-scenes", "gen-refs", "gen-images", "gen-videos", "gen-narrator-edge-tts", "concat-fit-narrator"].
**3. ĐỊNH DẠNG MẪU ĐỂ ĐIỀN DATA:**
```json
{
"project_input": { "name": "", "description": "", "story": "", "language": "vi", "material": "anime", "orientation": "VERTICAL", "flow_project_id": "1fb7c387-f2cb-4a63-8f2e-04eaaf87a618" },
"video_input": { "title": "", "display_order": 0, "privacy": "unlisted" },
"tts_input": { "provider": "edge_tts", "voice": "vi-VN-HoaiMyNeural", "speed": 1.1, "mix_with_scene_audio": true },
"entities_input": [
{ "name": "NguoiMe", "entity_type": "character", "description": "...", "image_prompt": "..." },
{ "name": "EmBe", "entity_type": "character", "description": "...", "image_prompt": "..." }
],
"scenes_input": [
{
"display_order": 0,
"chain_type": "ROOT",
"parent_scene_id": null,
"character_names": ["NguoiMe"],
"prompt": "3D chibi Pixar-like render, [hành động], warm cinematic lighting, non-photorealistic. No text, no watermark.",
"video_prompt": "3D chibi Pixar-like animation. [chuyển động].",
"narrator_text": "[Lời bình tiếng Việt]"
}
],
"execution_plan": ["create-project", "create-video", "create-scenes", "gen-refs", "gen-images", "gen-videos", "gen-narrator-edge-tts", "concat-fit-narrator"]
}
```
**KỊCH BẢN CỦA TÔI:**
{KICHBAN:textarea:required}v1 • 4/21/2026, 6:26:04 PM
Hãy đóng vai trò là một chuyên gia lập trình và biên kịch video AI. Dựa trên kịch bản tôi cung cấp, hãy xuất **DUY NHẤT 1 JSON** hợp lệ theo các quy tắc sau:
**1. QUY TẮC CỐT LÕI:**
- **Output:** Chỉ trả về duy nhất khối JSON. KHÔNG có văn bản giải thích, KHÔNG bọc trong thẻ markdown (không dùng \`\`\`json).
- **Ngôn ngữ:** `narrator_text` dùng tiếng Việt có dấu. Tất cả `prompt` và `video_prompt` dùng tiếng Anh.
- **Phong cách đồ họa (Style):** Đồng nhất "3D chibi Pixar-like render, non-photorealistic, soft cinematic lighting".
- **Ràng buộc nhân vật:** Người mẹ (NguoiMe) mặc áo len cổ lọ màu be + quần jeans. Em bé (EmBe) mặc đồ ngủ liền thân sọc xanh trắng. Tuyệt đối: "no hat, no conical hat, no headwear". Không có chữ trong ảnh/video: "no text, no watermark".
**2. CHI TIẾT CẤU TRÚC JSON:**
- **project_input:**
- `name`: Tên dự án (viết liền không dấu).
- `flow_project_id`: "1fb7c387-f2cb-4a63-8f2e-04eaaf87a618".
- `orientation`: "VERTICAL".
- **entities_input:** (Mô tả chi tiết nhân vật)
- `name`: Phải trùng khớp với tên trong `character_names`.
- `image_prompt`: Prompt tiếng Anh tạo ảnh nhân vật full body, nền trơn.
- **scenes_input:** (Số lượng cảnh linh hoạt theo kịch bản)
- `display_order`: Số thứ tự từ 0.
- `chain_type`: "ROOT".
- `parent_scene_id`: null.
- `character_names`: Mảng chứa tên nhân vật xuất hiện (ví dụ: ["NguoiMe", "EmBe"]).
- `prompt`: Mô tả bối cảnh và hành động chi tiết bằng tiếng Anh (Style: 3D chibi Pixar-like).
- `video_prompt`: Mô tả chuyển động của nhân vật bằng tiếng Anh.
- `narrator_text`: Lời bình bằng tiếng Việt.
- **execution_plan:** Luôn là: ["create-project", "create-video", "create-scenes", "gen-refs", "gen-images", "gen-videos", "gen-narrator-edge-tts", "concat-fit-narrator"].
**3. ĐỊNH DẠNG MẪU ĐỂ ĐIỀN DATA:**
```json
{
"project_input": { "name": "", "description": "", "story": "", "language": "vi", "material": "anime", "orientation": "VERTICAL", "flow_project_id": "1fb7c387-f2cb-4a63-8f2e-04eaaf87a618" },
"video_input": { "title": "", "display_order": 0, "privacy": "unlisted" },
"tts_input": { "provider": "edge_tts", "voice": "vi-VN-HoaiMyNeural", "speed": 1.1, "mix_with_scene_audio": true },
"entities_input": [
{ "name": "NguoiMe", "entity_type": "character", "description": "...", "image_prompt": "..." },
{ "name": "EmBe", "entity_type": "character", "description": "...", "image_prompt": "..." }
],
"scenes_input": [
{
"display_order": 0,
"chain_type": "ROOT",
"parent_scene_id": null,
"character_names": ["NguoiMe"],
"prompt": "3D chibi Pixar-like render, [hành động], warm cinematic lighting, non-photorealistic. No text, no watermark.",
"video_prompt": "3D chibi Pixar-like animation. [chuyển động].",
"narrator_text": "[Lời bình tiếng Việt]"
}
],
"execution_plan": ["create-project", "create-video", "create-scenes", "gen-refs", "gen-images", "gen-videos", "gen-narrator-edge-tts", "concat-fit-narrator"]
}
```
**KỊCH BẢN CỦA TÔI:**
{KICHBAN:textarea:required}