@sogni-ai/sogni-creative-agent-skill 3.26.0 → 3.27.0
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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +37 -0
- package/README.md +36 -17
- package/SKILL.md +34 -16
- package/desktop-extension/manifest.json +1 -1
- package/llm.txt +21 -4
- package/openclaw.plugin.json +1 -1
- package/package.json +3 -3
- package/references/models.md +121 -99
- package/references/video-prompting.md +166 -215
- package/skill-package.json +1 -1
- package/sogni-agent.mjs +160 -32
- package/sogni-app-id.mjs +4 -4
- package/update-check.mjs +4 -2
- package/version.mjs +1 -1
|
@@ -5,12 +5,12 @@ models, before writing any MiniMax H3 prompt, and whenever the user asks for
|
|
|
5
5
|
"hd", "1080p", "4k", "uhd", or "high-res" video so you can choose between the
|
|
6
6
|
LTX and Seedance paths.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
The families require different prompt **shapes**. LTX wants one unbroken prose
|
|
9
|
+
paragraph with no line breaks and no negative phrasing. MiniMax H3 requires the
|
|
10
|
+
official ordered-field rewrite contract, shot notation, speaker IDs, dialogue
|
|
11
|
+
tags, and mode-specific alignment preamble. Do not carry LTX's
|
|
12
|
+
single-paragraph, positive-only, no-markup rule into an H3 prompt. Pick the
|
|
13
|
+
section that matches the model you are about to invoke.
|
|
14
14
|
|
|
15
15
|
## LTX-2.3 Prompt Rule
|
|
16
16
|
|
|
@@ -38,7 +38,7 @@ it into an LTX-2.3-safe prompt before calling `sogni-agent`.
|
|
|
38
38
|
"she says something," or "the couple discusses the scene."
|
|
39
39
|
- Budget spoken dialogue at about 3 words per second, plus about 1 second for each meaningful acting beat or pause.
|
|
40
40
|
- Express emotion through visible physical cues such as posture, grip, jaw tension, breathing, or pacing. Ambient sound can be woven into the prose naturally.
|
|
41
|
-
- Use positive phrasing only. Do not add negative prompts, "no ..." clauses, on-screen text/logo requests, vague filler words like `beautiful` or `nice`, or structural markup such as `[DIALOGUE]`. **This positive-only, no-markup rule is scoped to the LTX family only.** MiniMax H3
|
|
41
|
+
- Use positive phrasing only. Do not add negative prompts, "no ..." clauses, on-screen text/logo requests, vague filler words like `beautiful` or `nice`, or structural markup such as `[DIALOGUE]`. **This positive-only, no-markup rule is scoped to the LTX family only.** MiniMax H3 has no separate negative-prompt input and instead requires its ordered fields, `[Shot N]` notation, `(Sx)` speaker IDs, and `<d>` dialogue tags; see [MiniMax H3 Prompting](#minimax-h3-prompting).
|
|
42
42
|
- Keep action density proportional to duration. For short clips, describe one main beat rather than several separate events.
|
|
43
43
|
- Preserve the user's request, but expand it into cinematic prose. Do not invent a different story just to make the prompt longer.
|
|
44
44
|
|
|
@@ -81,26 +81,22 @@ Use this shape instead: "A medium cinematic shot frames a woman in her 30s stand
|
|
|
81
81
|
|
|
82
82
|
## MiniMax H3 Prompting
|
|
83
83
|
|
|
84
|
-
Write H3
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
Applies to `minimax-h3` / `minimax-h3-t2v`, `minimax-h3-i2v`, and
|
|
90
|
-
`minimax-h3-flf2v
|
|
91
|
-
`minimax-h3-
|
|
92
|
-
|
|
93
|
-
`minimax-h3-
|
|
84
|
+
Write every H3 prompt using MiniMax's official structured rewrite contract. Do
|
|
85
|
+
not substitute an unstructured prompt for the required fields. The field names,
|
|
86
|
+
order, shot notation, alignment preamble, reference labels, and dialogue markup
|
|
87
|
+
are part of the model contract.
|
|
88
|
+
|
|
89
|
+
Applies to standard `minimax-h3` / `minimax-h3-t2v`, `minimax-h3-i2v`, and
|
|
90
|
+
`minimax-h3-flf2v`; their 4-step `minimax-h3-turbo`,
|
|
91
|
+
`minimax-h3-i2v-turbo`, and `minimax-h3-flf2v-turbo` variants; and—with its own
|
|
92
|
+
six-field contract—to standard `minimax-h3-r2v`. The exact worker
|
|
93
|
+
ids are `minimax-h3-fl2va-fp8_{t2v,i2v,flf2v}` with an optional `_turbo`
|
|
94
|
+
suffix, plus `minimax-h3-ref2va-fp8_r2v`. There is no Turbo Ref2VA. See
|
|
94
95
|
[MiniMax H3 reference-to-video (r2v)](#minimax-h3-reference-to-video-r2v) below
|
|
95
96
|
before writing an r2v prompt.
|
|
96
97
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
The H3 tool contract accepts ordinary prompt text and does not require a tagged
|
|
100
|
-
IR wrapper. Use natural cinematic prose by default. MiniMax's tagged dialogue
|
|
101
|
-
and three-field IR forms remain valid optional inputs, so preserve them when a
|
|
102
|
-
user supplies them; see
|
|
103
|
-
[Optional / advanced: MiniMax's IR markup](#optional--advanced-minimaxs-ir-markup).
|
|
98
|
+
This guidance follows MiniMax's official H3 prompt-writing skill from
|
|
99
|
+
[MiniMax-H3 commit 35491cd](https://github.com/MiniMax-AI/MiniMax-H3/tree/35491cdba2adfe62a510f725e8619f8e58783ea2/skills/h3-prompt-writing).
|
|
104
100
|
|
|
105
101
|
### Fixed model facts
|
|
106
102
|
|
|
@@ -110,22 +106,23 @@ user supplies them; see
|
|
|
110
106
|
off-grid explicit `--frames` is a hard error.
|
|
111
107
|
- **Dimensions divisible by 32**, total pixels ≤ **1,032,192**. Use
|
|
112
108
|
`-w 1344 -h 768` (landscape) or `-w 768 -h 1344` (portrait).
|
|
113
|
-
- **20 steps
|
|
114
|
-
scheduler, or a **negative prompt**. The checkpoint is CFG-distilled with
|
|
109
|
+
- **20 steps for standard H3; 4 steps for H3 Turbo; guidance/CFG 1.** Do not
|
|
110
|
+
send steps, guidance, sampler, scheduler, or a **negative prompt**. The checkpoint is CFG-distilled with
|
|
115
111
|
guidance locked at 1, so there is no negative branch at all: a
|
|
116
112
|
`negativePrompt` parameter is ignored wherever it is accepted. Negative
|
|
117
113
|
direction goes in the prompt text instead.
|
|
114
|
+
- **Turbo uses the same prompt contract as standard H3.** Its documented
|
|
115
|
+
execution difference here is the fixed 4-step workflow.
|
|
118
116
|
- **Native 32 kHz stereo audio is generated jointly with the picture.** Every
|
|
119
117
|
sound — dialogue, foley, ambience, score — exists only because the prompt
|
|
120
118
|
asked for it. `generateAudio=false` strips that generated track from the
|
|
121
119
|
delivered file; it does not skip audio generation.
|
|
122
120
|
- **Sogni's H3 is the 768p-class open-weights release.** Do not offer or claim
|
|
123
121
|
2K; MiniMax's 2K stage is hosted-only and is not part of the open release.
|
|
124
|
-
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
- The initial Sogni release is routed to 32 GB-class workers.
|
|
122
|
+
- The Sogni CLI does not truncate H3 prompts. If another surface has a shorter
|
|
123
|
+
cap, flag it explicitly instead of silently removing required fields.
|
|
124
|
+
- FL2VA/Turbo and image-only R2V are routed to 32 GB-class workers;
|
|
125
|
+
video-conditioned R2V requires a worker above 40 GB.
|
|
129
126
|
|
|
130
127
|
Because `--duration` snaps to the frame grid, the delivered length is rarely the
|
|
131
128
|
integer the user asked for:
|
|
@@ -139,87 +136,53 @@ integer the user asked for:
|
|
|
139
136
|
| 12 | 294 | 12.25 s |
|
|
140
137
|
| 15 | 362 | 15.08 s |
|
|
141
138
|
|
|
142
|
-
###
|
|
143
|
-
|
|
144
|
-
In priority order.
|
|
145
|
-
|
|
146
|
-
**1. Write natural cinematic prose.** No required structure, no field names, no
|
|
147
|
-
tags. Open with the setting, the look, and who is in frame, then direct what
|
|
148
|
-
happens. Every detail should be something visible or audible.
|
|
149
|
-
|
|
150
|
-
**2. Use a timed shot list for anything longer than a single beat.** Plain
|
|
151
|
-
bracketed timecodes — `[0-2 seconds] …`, `[2-5 seconds] …` — one beat per
|
|
152
|
-
bracket, in order, covering the whole duration. **This is the single
|
|
153
|
-
highest-leverage technique for H3.** It fixes pacing and prevents slideshow
|
|
154
|
-
drift, where a long clip decays into a sequence of near-still poses. Keep the
|
|
155
|
-
beat count proportional to length: roughly one beat per 2-4 seconds, not a
|
|
156
|
-
montage.
|
|
157
|
-
|
|
158
|
-
**3. Direct the audio as deliberately as the picture.** Name the ambience, the
|
|
159
|
-
specific spot effects, and the music by instrumentation and timing ("bring in
|
|
160
|
-
the low beat at 3 seconds", "sparse upright bass, no drums"). Plain labels
|
|
161
|
-
inside the prose work well and read naturally — `Audio:`, `Sound design:`, or
|
|
162
|
-
`BGM:` on their own line. Say explicitly when you want **no music**; left
|
|
163
|
-
unsaid, H3 will invent some.
|
|
164
|
-
|
|
165
|
-
**4. Write dialogue as ordinary quoted prose.** Name the speaker, then the line
|
|
166
|
-
in double quotes, plus the delivery:
|
|
167
|
-
`The pilot says, flat and tired: "AI needs a lot more datacenters."` Preserve
|
|
168
|
-
the user's exact words and punctuation — never translate, paraphrase, or clean
|
|
169
|
-
them up. Budget roughly 3 words per second plus about 1 second for each
|
|
170
|
-
meaningful acting beat or pause; at 10 seconds, two short lines with reactions
|
|
171
|
-
is a full clip.
|
|
172
|
-
|
|
173
|
-
**5. State what you do not want, directly in the prompt text.** Negative
|
|
174
|
-
direction is unusually effective on H3 — "no music", "no slow motion", "no lens
|
|
175
|
-
flare", "no on-screen text", "do not change her jacket". There is no
|
|
176
|
-
negative-prompt field to put it in, so it belongs in the prose, usually as a
|
|
177
|
-
short closing line.
|
|
178
|
-
|
|
179
|
-
**6. Lock identity by naming concrete features, and give every reference image
|
|
180
|
-
an explicit job.** "Use the first frame for the character; keep her olive
|
|
181
|
-
jacket, chin-length dark hair, and the red vinyl seat." For `flf2v`, describe
|
|
182
|
-
the *motion path* between the two images rather than describing two static
|
|
183
|
-
frames. Reference images are the identity anchor — restate the features you
|
|
184
|
-
need preserved instead of assuming the model will hold them.
|
|
185
|
-
|
|
186
|
-
**7. Use real camera and film vocabulary.** Lens ("35mm", "long lens"), movement
|
|
187
|
-
("slow push-in", "handheld tracking follow", "static"), exposure and stock
|
|
188
|
-
("blown-out window highlights", "16mm grain"). Describe transitions as physical
|
|
189
|
-
events rather than named editing effects: "a passing truck fills the frame and
|
|
190
|
-
the next scene is already on the other side of it" beats "wipe transition".
|
|
139
|
+
### Base and Turbo contract: T2V, I2V, and FLF2V
|
|
191
140
|
|
|
192
|
-
|
|
141
|
+
After the mode-specific preamble described below, write exactly these three
|
|
142
|
+
fields in this order:
|
|
193
143
|
|
|
194
144
|
```text
|
|
195
|
-
|
|
145
|
+
integrated_multimodal_description: [Shot 1] ...
|
|
196
146
|
|
|
197
|
-
|
|
147
|
+
overall_soundscape: ...
|
|
148
|
+
|
|
149
|
+
non_diegetic_music: ...
|
|
198
150
|
```
|
|
199
151
|
|
|
152
|
+
`integrated_multimodal_description` carries the complete visual and diegetic
|
|
153
|
+
audio timeline. `[Shot 1]` has no timestamp; each later cut begins with a
|
|
154
|
+
strictly increasing marker such as `[Shot 2] At 00:03.500, the camera cuts
|
|
155
|
+
to...`. Describe camera movement as part of the shot. Use
|
|
156
|
+
`overall_soundscape` for ambience, physical action sounds, and non-verbal human
|
|
157
|
+
sound, without repeating dialogue, singing, or diegetic music. Use
|
|
158
|
+
`non_diegetic_music` only for audience-only score, or `N/A` when there is none.
|
|
159
|
+
|
|
160
|
+
Assign speaking or singing subjects stable `(S1)`, `(S2)`, ... IDs in order of
|
|
161
|
+
their first vocal event and reuse each ID across all shots. Keep the speaker,
|
|
162
|
+
action, and delivery outside the dialogue tag. Inside the tag, preserve only
|
|
163
|
+
the language and exact words:
|
|
164
|
+
|
|
200
165
|
```text
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
166
|
+
The record-store owner with a warm, gravelly voice (S1) says: <d>[English] I kept this one behind the counter for you.</d>
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Do not translate, paraphrase, or clean up the user's dialogue. Use a compound
|
|
170
|
+
ID such as `(S1,S2)` only when already-numbered speakers vocalize together.
|
|
204
171
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
172
|
+
### Worked example — text-to-video
|
|
173
|
+
|
|
174
|
+
```text
|
|
175
|
+
User ask: "10 second video of a barista and a customer arguing about oat milk"
|
|
209
176
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
even delivery: "We ran out at six this morning."
|
|
177
|
+
sogni-agent -q --video -m minimax-h3 --duration 10 -w 1344 -h 768 -o ./cafe.mp4 "<prompt below>"
|
|
178
|
+
```
|
|
213
179
|
|
|
214
|
-
|
|
215
|
-
|
|
180
|
+
```text
|
|
181
|
+
integrated_multimodal_description: [Shot 1] Live-action, cinematic, slightly desaturated, a medium two-shot frames a narrow espresso bar on a weekday morning. Soft window light rakes across the brushed-steel machine and pastry case. A barista in her late twenties slides a white cup across the counter. A customer in a grey overcoat with a quiet, clipped voice (S1) stops the saucer with two fingers and says: <d>[English] I asked for oat milk.</d> [Shot 2] At 00:03.000, the camera cuts to a static close-up over the customer's shoulder. The barista with a flat, even voice (S2) lifts the oat carton, turns it upside down, sets it on the wood, and says: <d>[English] We ran out at six this morning.</d> [Shot 3] At 00:07.000, the camera cuts back to the two-shot. The customer tightens his jaw and pulls the cup toward himself while steam curls past his face and the barista turns to the next ticket.
|
|
216
182
|
|
|
217
|
-
|
|
218
|
-
ceramic clinking on the saucer, the hollow knock of the empty carton on wood at
|
|
219
|
-
5 seconds, a chair leg dragging behind them. Dialogue is close and dry, no
|
|
220
|
-
reverb. No music.
|
|
183
|
+
overall_soundscape: Low cafe room tone continues under the scene. A steam wand hisses, ceramic clinks against the saucer, the empty carton knocks against wood, and a chair leg scrapes in the background.
|
|
221
184
|
|
|
222
|
-
|
|
185
|
+
non_diegetic_music: N/A
|
|
223
186
|
```
|
|
224
187
|
|
|
225
188
|
### Worked example — image-to-video
|
|
@@ -231,44 +194,24 @@ sogni-agent -q --video -m minimax-h3-i2v --ref ./portrait.png --duration 6 -w 76
|
|
|
231
194
|
```
|
|
232
195
|
|
|
233
196
|
```text
|
|
234
|
-
|
|
235
|
-
dark chin-length hair, olive canvas jacket, the red vinyl seatback behind her,
|
|
236
|
-
and the rain-streaked window to her right on a night bus.
|
|
237
|
-
|
|
238
|
-
[0-2 seconds] Static medium close-up. She lowers her phone into her lap and
|
|
239
|
-
lifts her gaze from her hands to the window. Passing sodium streetlights slide
|
|
240
|
-
across her cheek and wash out her reflection in the glass.
|
|
241
|
-
|
|
242
|
-
[2-4 seconds] She says, low and unhurried, barely above the engine: "I'm not
|
|
243
|
-
going back."
|
|
197
|
+
For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced.
|
|
244
198
|
|
|
245
|
-
[
|
|
246
|
-
and closes one hand around the strap of the bag in her lap. The camera holds.
|
|
199
|
+
integrated_multimodal_description: [Shot 1] Live-action, cinematic, a static medium close-up begins exactly from <Picture 1>, preserving the woman's dark chin-length hair, olive canvas jacket, red vinyl seatback, and the rain-streaked night-bus window. She lowers her phone into her lap and lifts her gaze toward the window as sodium streetlights slide across her cheek. The woman with a low, unhurried voice (S1) says: <d>[English] I'm not going back.</d> She turns slightly toward the aisle, sets her jaw, and closes one hand around her bag strap while the camera remains static.
|
|
247
200
|
|
|
248
|
-
|
|
249
|
-
rain ticking on the glass, canvas shifting as she moves, one air-brake hiss near
|
|
250
|
-
the end. BGM: two widely spaced piano notes over sustained low strings, fading
|
|
251
|
-
out before the last second.
|
|
201
|
+
overall_soundscape: A steady diesel drone and the bus-frame rattle continue throughout. Rain ticks against the glass, canvas shifts as she moves, and an air brake hisses near the end.
|
|
252
202
|
|
|
253
|
-
|
|
254
|
-
colour.
|
|
203
|
+
non_diegetic_music: Two widely spaced piano notes over sustained low strings, fading before the final second.
|
|
255
204
|
```
|
|
256
205
|
|
|
257
|
-
Round the brackets to whole seconds even though the grid rarely delivers one:
|
|
258
206
|
`--duration 6` renders 141 frames (5.88 s) and `--duration 10` renders 243
|
|
259
|
-
frames (10.13 s).
|
|
260
|
-
|
|
261
|
-
length exactly.
|
|
262
|
-
|
|
263
|
-
### Optional / advanced: MiniMax's IR markup
|
|
207
|
+
frames (10.13 s). Keep every `[Shot N] At MM:SS.mmm` cut time within the actual
|
|
208
|
+
snapped duration.
|
|
264
209
|
|
|
265
|
-
|
|
266
|
-
occasionally, never required, and **never strip a user's own markup if they
|
|
267
|
-
wrote it** — pass it through verbatim.
|
|
210
|
+
### Required dialogue and shot markup
|
|
268
211
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
212
|
+
The structured field document and its dialogue, speaker, and shot notation are
|
|
213
|
+
the default H3 rewrite format. Preserve valid markup a user supplied, and repair
|
|
214
|
+
free-form input into this contract before submission.
|
|
272
215
|
|
|
273
216
|
**Dialogue tags.** Only the language tag and the spoken words go inside
|
|
274
217
|
`<d>…</d>`. The speaker's identifying phrase, ID, action, and delivery all stay
|
|
@@ -310,12 +253,11 @@ In/Pull Out`, `Pan Left/Right`, `Truck Left/Right`, `Tilt Up/Down`, `Pedestal
|
|
|
310
253
|
Up/Down`, `Arc Shot`, `Tracking Shot`, `Static Shot`, `Shake
|
|
311
254
|
Slightly/Strongly`, `POV`, and `Roll Clockwise/Counterclockwise`, optionally
|
|
312
255
|
qualified `with small amplitude` / `with large amplitude` and `at slow speed` /
|
|
313
|
-
`at fast speed`.
|
|
314
|
-
list with `[0-3 seconds]` timecodes carries the same information without the
|
|
315
|
-
markers.
|
|
256
|
+
`at fast speed`.
|
|
316
257
|
|
|
317
|
-
**The three-field
|
|
318
|
-
line, a blank line, then exactly three labelled fields in this
|
|
258
|
+
**The three-field document.** MiniMax's rewriter emits the required alignment
|
|
259
|
+
line when applicable, a blank line, then exactly three labelled fields in this
|
|
260
|
+
order:
|
|
319
261
|
|
|
320
262
|
```text
|
|
321
263
|
integrated_multimodal_description: [Shot 1] ...
|
|
@@ -331,23 +273,22 @@ non-verbal human sound (no dialogue, singing, or diegetic music);
|
|
|
331
273
|
`non_diegetic_music` is 1-3 sentences of score-only instrumentation, tempo, and
|
|
332
274
|
dynamics. `N/A` is the schema's token for "nothing here" — used in
|
|
333
275
|
`non_diegetic_music` for no score, and in `overall_soundscape` only for a
|
|
334
|
-
deliberately silent video.
|
|
335
|
-
nothing over the prose examples above.
|
|
276
|
+
deliberately silent video.
|
|
336
277
|
|
|
337
|
-
**Alignment instruction lines (i2v / flf2v only).** These
|
|
338
|
-
to
|
|
339
|
-
|
|
340
|
-
available when a precise timestamp matters. Text-to-video has no alignment line.
|
|
278
|
+
**Alignment instruction lines (i2v / flf2v only).** These exact preambles pin
|
|
279
|
+
reference images to the target timeline. They are mandatory for those modes and
|
|
280
|
+
must be the first line, followed by one blank line. T2V has no preamble.
|
|
341
281
|
|
|
342
|
-
Image-to-video (`minimax-h3-i2v`, one `--ref`):
|
|
282
|
+
Image-to-video (`minimax-h3-i2v` or `minimax-h3-i2v-turbo`, one `--ref`):
|
|
343
283
|
|
|
344
284
|
```text
|
|
345
285
|
For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced.
|
|
346
286
|
```
|
|
347
287
|
|
|
348
|
-
First frame → last frame (`minimax-h3-flf2v
|
|
349
|
-
|
|
350
|
-
dash (`—`) with a
|
|
288
|
+
First frame → last frame (`minimax-h3-flf2v` or
|
|
289
|
+
`minimax-h3-flf2v-turbo`, `--ref` plus `--ref-end`). Note the bare `Picture 1`
|
|
290
|
+
and `Shot 1` with **no** angle or square brackets, and the em dash (`—`) with a
|
|
291
|
+
space on each side:
|
|
351
292
|
|
|
352
293
|
```text
|
|
353
294
|
How the reference pictures align with the target video — Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot N) aligns with the S.SS-second mark of the target video.
|
|
@@ -360,105 +301,115 @@ transition), and `S.SS` is the effective duration to exactly two decimal places
|
|
|
360
301
|
### MiniMax H3 reference-to-video (r2v)
|
|
361
302
|
|
|
362
303
|
`minimax-h3-r2v` conditions on a whole **reference set** rather than one or two
|
|
363
|
-
locked frames: up to **9 reference images
|
|
304
|
+
locked frames: up to **9 reference images**,
|
|
364
305
|
**3 reference videos** (24 fps, 2–15 s, each with an optional soundtrack) and
|
|
365
306
|
**3 standalone audio clips**, **12 files maximum in total**. It runs a separate
|
|
366
307
|
ref2va checkpoint, so it is never inferred — it must be chosen by name with
|
|
367
308
|
direct CLI `-m minimax-h3-r2v` or the `generate_video` tool's
|
|
368
309
|
`videoModel="minimax-h3-r2v"` (including callers such as Sogni Chat). Direct CLI
|
|
369
310
|
uses `--ref` then repeatable `-c` for images, plus repeatable `--ref-video` and
|
|
370
|
-
`--ref-audio` for those modalities.
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
311
|
+
`--ref-audio` for those modalities. At least one visual reference (image or
|
|
312
|
+
video) is required. A reference video can be the only visual input; audio alone
|
|
313
|
+
is invalid. r2v
|
|
314
|
+
has no frame anchors at all—for
|
|
315
|
+
a locked opening frame use `minimax-h3-i2v`, and for a first-to-last-frame
|
|
316
|
+
transition use `minimax-h3-flf2v`.
|
|
317
|
+
|
|
318
|
+
Ref2VA does not use the three-field Base contract. Write exactly these six
|
|
319
|
+
fields, in this order:
|
|
320
|
+
|
|
321
|
+
```text
|
|
322
|
+
subject_definitions:
|
|
323
|
+
|
|
324
|
+
summary:
|
|
325
|
+
|
|
326
|
+
retention_analysis:
|
|
327
|
+
|
|
328
|
+
detailed_description:
|
|
329
|
+
|
|
330
|
+
overall_soundscape:
|
|
331
|
+
|
|
332
|
+
non_diegetic_music:
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
`subject_definitions` assigns stable labels and roles to every reused subject or
|
|
336
|
+
asset. `summary` begins with the applicable bracketed task type, such as
|
|
337
|
+
`[reference generation + audio reference]`. `retention_analysis` gives one line
|
|
338
|
+
per label using the official relationship values, such as `fully_preserved`,
|
|
339
|
+
`partially_preserved`, `attribute_transfer`, or `weak_reference` for visual
|
|
340
|
+
content and `fully_copy`, `partially_copy`, `reference`, or `weak_reference` for
|
|
341
|
+
audio. `detailed_description` is the shot-by-shot target-video timeline and
|
|
342
|
+
uses the same `[Shot N]`, `(Sx)`, and `<d>[Language] ...</d>` rules as Base H3.
|
|
343
|
+
|
|
344
|
+
**Reference grammar.** Reference assets are numbered from 1 independently per
|
|
345
|
+
type. Use the exact angle-bracket labels:
|
|
385
346
|
|
|
386
347
|
- `<Picture 1>` … `<Picture 9>` for images
|
|
387
348
|
- `<Video 1>` … `<Video 3>` for videos
|
|
388
349
|
- `<Audio 1>` … for audio
|
|
389
350
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
351
|
+
Visible people, objects, scenes, or effects reused from an image or video become
|
|
352
|
+
`<Subject N>` entries whose definitions cite their source asset. Reserve
|
|
353
|
+
`<Picture N>` for a concrete frame or storyboard relationship, `<Video N>` for
|
|
354
|
+
a whole-video edit, continuation, camera, cut, rhythm, or temporal relationship,
|
|
355
|
+
and `<Audio N>` for a standalone audio asset or an explicitly enabled audio
|
|
356
|
+
track. A video file does not automatically create an `<Audio N>` label merely
|
|
357
|
+
because it contains sound.
|
|
358
|
+
|
|
359
|
+
Rewrite aliases such as "image 2", `@Image2`, or `[Image 2]` to the correct H3
|
|
360
|
+
label. Seedance's `@Image1` / `@Video1` / `@Audio1` grammar must not leak into an
|
|
361
|
+
H3 prompt. Never invent, drop, or renumber references after the prompt is
|
|
362
|
+
written. Give every asset one explicit role and state the winner when sources
|
|
363
|
+
conflict.
|
|
396
364
|
|
|
397
|
-
|
|
365
|
+
Compact format example:
|
|
398
366
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
`<Audio 2>`.
|
|
367
|
+
```text
|
|
368
|
+
subject_definitions:
|
|
369
|
+
<Subject 1> is the woman in <Picture 1>; preserve her face, hairstyle, and dark-red jacket.
|
|
370
|
+
<Video 1> is the camera-motion reference for the target video's slow handheld push-in.
|
|
371
|
+
<Audio 1> is the voice-timbre reference for <Subject 1> (S1).
|
|
405
372
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
non-overlapping job in a plain sentence, and say who wins when two disagree. An
|
|
409
|
-
unassigned reference is the most common cause of identity drift and washed-out
|
|
410
|
-
style on this model.
|
|
373
|
+
summary:
|
|
374
|
+
[reference generation + audio reference] The target video shows <Subject 1> walking through a rain-slicked street while following <Video 1>'s camera movement and <Audio 1>'s voice timbre.
|
|
411
375
|
|
|
412
|
-
|
|
413
|
-
|
|
376
|
+
retention_analysis:
|
|
377
|
+
<Subject 1> (appears in [Shot 1]): fully_preserved - her identity, hairstyle, and jacket are retained.
|
|
378
|
+
<Video 1> (camera movement): weak_reference - its slow handheld push-in guides the new shot.
|
|
379
|
+
<Audio 1>: reference - its vocal timbre guides <Subject 1>'s dialogue without copying the source signal.
|
|
414
380
|
|
|
415
|
-
|
|
416
|
-
<
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
handheld push-in and its timing — and take nothing else from it; <Audio 1> is
|
|
424
|
-
that clip's own soundtrack and is reference only, do not reproduce it.
|
|
425
|
-
<Audio 2> is the voice character for her single line: dry, low, close-miked.
|
|
426
|
-
Where <Picture 1> and <Picture 3> disagree on colour or exposure, <Picture 1>
|
|
427
|
-
wins on her face and <Picture 3> wins on everything behind her.
|
|
428
|
-
|
|
429
|
-
[0-3 seconds] She walks toward camera along the rain-slicked street, hands in
|
|
430
|
-
the jacket pockets. Handheld medium shot, shallow focus, neon reflections
|
|
431
|
-
sliding across the wet asphalt.
|
|
432
|
-
|
|
433
|
-
[3-6 seconds] She stops and glances back over her shoulder as a bus passes
|
|
434
|
-
behind her, its headlights sweeping across her face.
|
|
435
|
-
|
|
436
|
-
[6-8 seconds] Medium close-up, street lights blooming behind her. She says,
|
|
437
|
-
quietly: "It was never going to be the last train."
|
|
438
|
-
|
|
439
|
-
Audio: steady rain on asphalt, tyres hissing through standing water, a bus
|
|
440
|
-
engine passing left to right at 4 seconds. No music.
|
|
381
|
+
detailed_description:
|
|
382
|
+
The target video uses a live-action cinematic style with wet neon street lighting. [Shot 1] <Subject 1> (S1) walks toward the camera while the camera performs the slow handheld push-in referenced from <Video 1>. She stops beneath a streetlight, looks over her shoulder, and says with the dry, low timbre referenced from <Audio 1>: <d>[English] It was never going to be the last train.</d>
|
|
383
|
+
|
|
384
|
+
overall_soundscape:
|
|
385
|
+
Steady rain falls on asphalt while tyres hiss through standing water and a bus engine passes from left to right.
|
|
386
|
+
|
|
387
|
+
non_diegetic_music:
|
|
388
|
+
N/A
|
|
441
389
|
```
|
|
442
390
|
|
|
443
|
-
Trim
|
|
444
|
-
|
|
445
|
-
prompt is written: submission order is ordinal order, so every later tag would
|
|
446
|
-
then point at the wrong file.
|
|
391
|
+
Trim definitions for references that were not attached; unresolved labels are
|
|
392
|
+
invalid.
|
|
447
393
|
|
|
448
394
|
### Agent-ready H3 command shapes
|
|
449
395
|
|
|
450
396
|
```bash
|
|
451
397
|
# Text-to-video (landscape)
|
|
452
|
-
sogni-agent -q --video -m minimax-h3 --duration 10 -w 1344 -h 768 -o ./video.mp4 "<H3
|
|
398
|
+
sogni-agent -q --video -m minimax-h3 --duration 10 -w 1344 -h 768 -o ./video.mp4 "<three-field H3 prompt>"
|
|
453
399
|
|
|
454
400
|
# Image-to-video from one first frame (portrait)
|
|
455
|
-
sogni-agent -q --video -m minimax-h3-i2v --ref ./first.png --duration 8 -w 768 -h 1344 -o ./video.mp4 "<
|
|
401
|
+
sogni-agent -q --video -m minimax-h3-i2v --ref ./first.png --duration 8 -w 768 -h 1344 -o ./video.mp4 "<I2V preamble plus three-field H3 prompt>"
|
|
456
402
|
|
|
457
403
|
# First frame -> last frame transition
|
|
458
|
-
sogni-agent -q --video -m minimax-h3-flf2v --ref ./first.png --ref-end ./last.png --duration 8 -w 1344 -h 768 -o ./video.mp4 "<
|
|
404
|
+
sogni-agent -q --video -m minimax-h3-flf2v --ref ./first.png --ref-end ./last.png --duration 8 -w 1344 -h 768 -o ./video.mp4 "<FLF2V preamble plus three-field H3 prompt>"
|
|
405
|
+
|
|
406
|
+
# Turbo uses the same T2V/I2V/FLF2V prompt contracts
|
|
407
|
+
sogni-agent -q --video -m minimax-h3-turbo --duration 8 -w 1344 -h 768 -o ./video.mp4 "<three-field H3 prompt>"
|
|
408
|
+
sogni-agent -q --video -m minimax-h3-i2v-turbo --ref ./first.png --duration 8 -w 768 -h 1344 -o ./video.mp4 "<I2V preamble plus three-field H3 prompt>"
|
|
409
|
+
sogni-agent -q --video -m minimax-h3-flf2v-turbo --ref ./first.png --ref-end ./last.png --duration 8 -w 1344 -h 768 -o ./video.mp4 "<FLF2V preamble plus three-field H3 prompt>"
|
|
459
410
|
|
|
460
411
|
# Reference-to-video (reference order defines the prompt ordinals)
|
|
461
|
-
sogni-agent -q --video -m minimax-h3-r2v --ref ./identity.png -c ./wardrobe.png --ref-video ./motion.mp4 --ref-audio ./voice.m4a --duration 8 -w 1344 -h 768 -o ./video.mp4 "<
|
|
412
|
+
sogni-agent -q --video -m minimax-h3-r2v --ref ./identity.png -c ./wardrobe.png --ref-video ./motion.mp4 --ref-audio ./voice.m4a --duration 8 -w 1344 -h 768 -o ./video.mp4 "<six-field Ref2VA prompt>"
|
|
462
413
|
```
|
|
463
414
|
|
|
464
415
|
## High-Res Video Routing
|