@seecoolai/cli 0.0.0-stage → 0.1.0-canary.4.8b5e956d

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.
@@ -0,0 +1,84 @@
1
+ ---
2
+ name: seecool-drama-subject
3
+ description: Use for Seecool /drama Stage 30 (Subject Management: characters, scenes, items) via seecool-cli: inspecting and saving subject prompts before image generation, generating and selecting subject images, binding character voices, and handing off to storyboard split for stage 40.
4
+ ---
5
+
6
+ # Seecool Drama — Stage 30: Subject Management
7
+
8
+ Handles **Stage `30` (Characters, Scenes & Items)** operations.
9
+
10
+ ## Stage Entry & Mandatory Prompt-First Rules
11
+
12
+ 1. **Entry Gate**: Run `seecool-cli drama inspect <projectId> --json` and confirm `project.stage >= 30` and `subjects.batch_settled === true`. If `project.stage < 30`, stop and complete `seecool-drama-chapter` first.
13
+ 2. **MANDATORY Prompt-First Gate (Characters, Scenes & Items)**:
14
+ - Never call `drama subject generate-images` or `drama subject generate-one` when a subject's persisted prompt (`description` / `gc_image_description`) is empty.
15
+ - Always inspect `drama subject list --project-id <id> --type <character|scene|item> --json` first.
16
+ - If prompts are missing:
17
+ - Write and confirm each prompt via `drama subject save --project-id <id> --id <settingId> --description "<prompt>" --json` (`ok: true`), **OR**
18
+ - Pass `--prepare-prompts` to `drama subject generate-images` (for `character` / `scene`) so CLI generates and waits for persisted prompts before submitting image generation, **OR**
19
+ - Pass `--prompt "<prompt>"` to `drama subject generate-one` (CLI writes & persists the prompt first, verifies it, then submits generation).
20
+ - CLI rejects missing prompts with `MISSING_SUBJECT_PROMPT` and lists `details.missing_ids`.
21
+ 3. **Preview & Select**: Always query `seecool-cli model list --type image --json`, preview with `--dry-run`, and select winning images via `drama subject select-image`.
22
+
23
+ ## Step 1: Inspect & Save Subject Prompts
24
+
25
+ ```bash
26
+ seecool-cli drama subject list --project-id 101 --type character --json
27
+ seecool-cli drama subject list --project-id 101 --type scene --json
28
+ seecool-cli drama subject list --project-id 101 --type item --json
29
+ seecool-cli drama subject get 301 --project-id 101 --json
30
+
31
+ # Create a new subject (omit --id) or save/update persisted prompt (pass --id)
32
+ seecool-cli drama subject save --project-id 101 --type character --name "Detective Lin" --description "Middle-aged detective in dark trench coat, three-view sheet" --json
33
+ seecool-cli drama subject save --project-id 101 --id 301 --description "Middle-aged detective in dark trench coat, three-view sheet" --json
34
+ seecool-cli drama subject delete 301 --yes --json
35
+ ```
36
+
37
+ ## Step 2: Generate Subject Images (With Persisted Prompts)
38
+
39
+ ```bash
40
+ seecool-cli model list --type image --json
41
+
42
+ # Batch subject images (character | scene | item); add --prepare-prompts if 3view/scene prompts are missing
43
+ seecool-cli drama subject generate-images \
44
+ --project-id 101 \
45
+ --kind character \
46
+ --model-id 12 \
47
+ --ratio 16:9 \
48
+ --pixel 2K \
49
+ --prepare-prompts \
50
+ --wait \
51
+ --dry-run --json
52
+
53
+ seecool-cli drama subject generate-images \
54
+ --project-id 101 \
55
+ --kind character \
56
+ --model-id 12 \
57
+ --ratio 16:9 \
58
+ --pixel 2K \
59
+ --wait --json
60
+
61
+ # Single-subject redraw (passing --prompt persists description first, then generates)
62
+ seecool-cli drama subject generate-one 301 \
63
+ --project-id 101 \
64
+ --model-id 12 \
65
+ --prompt "Detective Lin three-view character sheet" \
66
+ --ratio 16:9 \
67
+ --dry-run --json
68
+ ```
69
+
70
+ ## Step 3: Select `final_image` & Bind Character Voices
71
+
72
+ ```bash
73
+ seecool-cli drama subject select-image 301 --project-id 101 --url "https://..." --pool-id 9001 --json
74
+
75
+ # Discover TTS providers & voices, then bind to character
76
+ seecool-cli drama voice list --json
77
+ seecool-cli drama voice list --provider seedaudio --page 1 --limit 50 --json
78
+ seecool-cli drama subject bind-voice 301 --voice-id 55 --speed 1.0 --json
79
+ seecool-cli drama subject bind-voice 301 --voice-desc "Deep calm narrator" --voice-url "https://..." --json
80
+ ```
81
+
82
+ ## Exit Gate (`30 → 40`)
83
+
84
+ Once subjects have `final_image` selected, switch to `seecool-drama-storyboard` to run `drama storyboard split --scope first --wait --next-stage` (transitions `project_stage` to `40`).