@sogni-ai/sogni-creative-agent-skill 3.23.0 → 3.25.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sogni-creative-agent",
3
- "version": "3.23.0",
3
+ "version": "3.25.0",
4
4
  "description": "Sogni Creative Agent: image, video, and music generation via Sogni AI's decentralized GPU network. Supports personas, persistent memories, style transfer, and multi-step creative workflows.",
5
5
  "author": {
6
6
  "name": "Sogni AI",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sogni-creative-agent",
3
- "version": "3.23.0",
3
+ "version": "3.25.0",
4
4
  "description": "Create images, generative video, music, and polished image-folder loops with Sogni AI.",
5
5
  "author": {
6
6
  "name": "Sogni AI",
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [3.25.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.24.0...v3.25.0) (2026-08-04)
2
+
3
+
4
+ ### Features
5
+
6
+ * **video:** document MiniMax H3 reference workflows ([22bece3](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/22bece3815ca9fb684e416a7ad2958ddc815f045))
7
+
8
+ # [3.24.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.23.0...v3.24.0) (2026-08-04)
9
+
10
+
11
+ ### Features
12
+
13
+ * **video:** document MiniMax H3 generation ([67b0c5a](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/67b0c5ae94c7ee784a260d0174008f42d2283038))
14
+
1
15
  # [3.23.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.22.0...v3.23.0) (2026-08-03)
2
16
 
3
17
 
package/README.md CHANGED
@@ -595,7 +595,7 @@ Music generation uses `--music` and outputs `mp3` by default. `--audio` remains
595
595
  ## Video Sizing & Aspect Ratios
596
596
 
597
597
  - **WAN models** use dimensions divisible by 16, min 480 px, max 1536 px.
598
- - **MiniMax H3 FL2VA** uses a 32 px grid, fixed 24 fps, native stereo audio, 124–362 frames (`124 + n×17`), and a 1,032,192-pixel render cap (normally 1344×768 or 768×1344). The initial Sogni release requires a 32 GB-class worker.
598
+ - **MiniMax H3** uses a 32 px grid, fixed 24 fps, native 32 kHz stereo audio, 124–362 frames (`124 + n×17`, i.e. 5.17–15.08 s), and a 1,032,192-pixel render cap (normally 1344×768 or 768×1344). Steps 20 and guidance 1 are fixed and it takes no negative prompt (state negatives in the prompt text instead). Its prompt is natural cinematic prose — a timed shot list with bracketed timecodes plus explicit audio direction works best; see `references/video-prompting.md` § MiniMax H3 Prompting. This is the 768p-class open-weights release, not MiniMax's hosted 2K stage. The initial Sogni release requires a 32 GB-class worker.
599
599
  - **LTX family** (`ltx2-*`, `ltx23-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
600
600
  - **Seedance** runs at fixed 24 fps and supports 4–15 s durations. Full `seedance2` supports native 4K via `--target-resolution 2160`; `seedance2-mini` and `seedance2-fast` remain capped to the 720p lower-resolution path. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
601
601
  - For spoken dialogue, budget roughly 3 words per second plus about 1 second for each meaningful acting beat or pause. Keep quoted speech under the model's hard per-clip word budget.
package/SKILL.md CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sogni-creative-agent-skill
3
3
  description: "Sogni Creative Agent Skill: agent skill and CLI for image, video, and music generation using Sogni AI's decentralized GPU network. Supports one-click image-folder loop reels, personas (named people with saved reference photos and voice clips), persistent memories, custom personality, style transfer, angle synthesis, Seedance/HappyHorse/LTX/WAN video, music/lyrics, hosted chat, durable workflows, replay records, and multi-step creative workflows. Ask the agent to \"draw\", \"generate\", \"create an image\", \"make a video/animate\", \"turn this image folder into a loop\", \"make music\", \"apply a style\", or \"generate me as a superhero\"."
4
4
  metadata:
5
- version: "3.23.0"
5
+ version: "3.25.0"
6
6
  homepage: https://sogni.ai
7
7
  openclaw:
8
8
  emoji: "🎨"
@@ -166,6 +166,13 @@ sogni-agent --music --lyrics "Rise with the morning light" --bpm 128 --keyscale
166
166
  # Seedance 2.0 4K (4-15s vendor video with native audio)
167
167
  sogni-agent --video -m seedance2 --target-resolution 2160 --duration 8 "A polished product reveal with native ambient sound"
168
168
 
169
+ # MiniMax H3 (fixed 24fps, native stereo audio + dialogue; natural prose prompt
170
+ # with a timed shot list and audio direction — see references/video-prompting.md).
171
+ # t2v default; --ref = i2v; --ref + --ref-end = flf2v.
172
+ sogni-agent --video -m minimax-h3 --duration 10 -w 1344 -h 768 "<H3 prose prompt>"
173
+ sogni-agent --video -m minimax-h3-i2v --ref first.png --duration 8 "<H3 prose prompt>"
174
+ sogni-agent --video -m minimax-h3-flf2v --ref first.png --ref-end last.png --duration 8 "<H3 prose prompt>"
175
+
169
176
  # HappyHorse 1.1 (3-15s vendor video, fixed 24fps, native audio). t2v default;
170
177
  # i2v from one first-frame image (--ref); r2v from 1-9 reference images (-c).
171
178
  sogni-agent --video -m happyhorse --duration 8 "A glowing jellyfish drifts through a neon city"
@@ -244,7 +251,9 @@ tokens in that scoped reference rather than ordinary model recommendations.
244
251
 
245
252
  ### High-res video
246
253
 
247
- MiniMax H3 is an explicit model choice, not a universal default. Use `-m minimax-h3` for text-to-video, `-m minimax-h3-i2v --ref A` for first-frame animation, or `-m minimax-h3-flf2v --ref A --ref-end B` for a first/last-frame transition. H3 generates native stereo audio at fixed 24 fps. The initial Sogni release is routed to 32 GB-class workers.
254
+ MiniMax H3 is an explicit model choice, not a universal default. Use `-m minimax-h3` for text-to-video, `-m minimax-h3-i2v --ref A` for first-frame animation, or `-m minimax-h3-flf2v --ref A --ref-end B` for a first/last-frame transition. H3 generates picture and **native 32 kHz stereo audio jointly** at fixed 24 fps, so dialogue, foley, and score must be described in the prompt. `generateAudio=false` can strip that generated track from the delivered file; it does not skip audio generation. Frames snap to the `124 + n×17` grid (5.17-15.08 s); use `-w 1344 -h 768` or `-w 768 -h 1344`; send no steps, guidance, sampler, scheduler, or negative prompt. It is the 768p-class open-weights release — do not claim 2K. The initial Sogni release is routed to 32 GB-class workers.
255
+
256
+ **H3 takes natural cinematic prose**, not a required structured document. Expand the user's one-liner into a directed scene: a **timed shot list** with bracketed timecodes (`[0-2 seconds] …`) for anything longer than one beat, deliberate **audio direction** (ambience, specific SFX, music by instrumentation and timing; say so when you want no music), dialogue as ordinary quoted prose, and negative direction stated in the prompt text since there is no negative-prompt field. MiniMax's `<d>[Language] …</d>` + `(S1)` markup and three-field IR document are optional input forms; never invent or strip that markup when a user supplied it. Read [`references/video-prompting.md`](./references/video-prompting.md) § MiniMax H3 Prompting before writing an H3 prompt.
248
257
 
249
258
  For "4k" / "uhd" requests where the user accepts the Premium Spark vendor path or asks for Seedance/native audio/multimodal references, use full Seedance: `-m seedance2 --target-resolution 2160`. Do not use `seedance2-mini` or `seedance2-fast` for 4K; both remain capped to the 720p lower-resolution path. For "hd" / "1080p" requests, or when avoiding vendor models, use `-m ltx23-22b-fp8_t2v_distilled` (text) or `-m ltx23-22b-fp8_i2v_distilled` (image), prefer `-w 1920 -h 1088` (or the orientation mapping in the reference), and rewrite the prompt per the LTX rule. For bare "720p" without orientation, prefer `--target-resolution 768`.
250
259
 
@@ -272,7 +281,7 @@ When the requested image is meant to **repeat edge to edge without visible joins
272
281
 
273
282
  ### Model selection
274
283
 
275
- Prefer `-Q` presets and automatic workflow routing. When a specific model is needed (GPT Image 2 text rendering, Seedance or HappyHorse native audio, WAN lip-sync, LTX dialogue), **read [`references/models.md`](./references/models.md)** for the catalog, recommended selectors, and sizing/divisibility rules.
284
+ Prefer `-Q` presets and automatic workflow routing. When a specific model is needed (GPT Image 2 text rendering, Seedance / HappyHorse / MiniMax H3 native audio and dialogue, WAN lip-sync, LTX dialogue), **read [`references/models.md`](./references/models.md)** for the catalog, recommended selectors, and sizing/divisibility rules.
276
285
 
277
286
  `ltx23-eros` is an explicit-only uncensored LTX-2.3 image-to-video selector. Never choose it merely because a prompt appears sexual or another model rejects a request. Use it only when the user explicitly asks for 10Eros/the uncensored model and explicitly permits disabling the content filter. It requires an input image, `--no-filter`, and a 30GB+ worker; the CLI pins its required 9 steps, guidance 1, `euler_ancestral` sampler, and `manual_sigmas` scheduler.
278
287
 
@@ -355,7 +364,7 @@ Eligible Sogni-hosted renders use Unlimited coverage when active; otherwise rend
355
364
 
356
365
  | Read this | When the task involves |
357
366
  |-----------|------------------------|
358
- | [`references/video-prompting.md`](./references/video-prompting.md) | Writing LTX video prompts; high-res/4K routing; orientation/aspect mapping; camera language |
367
+ | [`references/video-prompting.md`](./references/video-prompting.md) | Writing LTX video prompts; writing MiniMax H3 prose prompts (timed shot lists, audio direction, quoted dialogue, optional IR markup); high-res/4K routing; orientation/aspect mapping; camera language |
359
368
  | [`references/private-mature-video.md`](./references/private-mature-video.md) | Mature-theme video model, LoRA, frame modes, and prompt tokens |
360
369
  | [`references/video-editing.md`](./references/video-editing.md) | Animate between images, continue/bridge videos, 360 turnarounds, concat, audio remix/layering, v2v ControlNet |
361
370
  | [`references/loop-maker.md`](./references/loop-maker.md) | One-click image-folder loops with visual deduplication, direct LTX first/last-frame clips, music, and verification |
@@ -2,7 +2,7 @@
2
2
  "manifest_version": "0.3",
3
3
  "name": "sogni-creative-agent",
4
4
  "display_name": "Sogni Creative Agent",
5
- "version": "3.23.0",
5
+ "version": "3.25.0",
6
6
  "description": "Generate images, video, and music on Sogni AI's decentralized GPU network — with personas, memories, and safe video editing tools.",
7
7
  "author": { "name": "Sogni AI", "url": "https://sogni.ai" },
8
8
  "homepage": "https://sogni.ai",
@@ -2,7 +2,7 @@
2
2
  "id": "sogni-creative-agent-skill",
3
3
  "name": "Sogni Creative Agent Skill — Image, Video & Music Generation",
4
4
  "description": "Agent skill and CLI for Sogni AI image, video, and music generation.",
5
- "version": "3.23.0",
5
+ "version": "3.25.0",
6
6
  "skills": [
7
7
  "."
8
8
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sogni-ai/sogni-creative-agent-skill",
3
- "version": "3.23.0",
3
+ "version": "3.25.0",
4
4
  "description": "Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image, video, and music generation.",
5
5
  "type": "module",
6
6
  "main": "sogni-agent.mjs",
@@ -92,13 +92,13 @@
92
92
  "sogni-agent.mjs"
93
93
  ],
94
94
  "dependencies": {
95
- "@sogni-ai/sogni-intelligence-client": "3.11.0",
95
+ "@sogni-ai/sogni-intelligence-client": "3.12.4",
96
96
  "execa": "^9.6.1",
97
97
  "json5": "^2.2.3",
98
98
  "sharp": "^0.34.5"
99
99
  },
100
100
  "overrides": {
101
- "@sogni-ai/sogni-client": "5.3.1"
101
+ "@sogni-ai/sogni-client": "5.4.0-alpha.2"
102
102
  },
103
103
  "openclaw": {
104
104
  "extensions": [
@@ -50,9 +50,6 @@ dimensions. "high quality" / "best quality" / "pro" → `-Q pro`; quick drafts
50
50
 
51
51
  | Model | Speed | Use Case |
52
52
  |-------|-------|----------|
53
- | `minimax-h3` / `minimax-h3-t2v` | Standard | MiniMax H3 FL2VA text-to-video at 24 fps with native stereo audio |
54
- | `minimax-h3-i2v` | Standard | MiniMax H3 first-frame image-to-video with native stereo audio |
55
- | `minimax-h3-flf2v` | Standard | MiniMax H3 first-frame → last-frame video; pass both `--ref` and `--ref-end` |
56
53
  | `z_image_turbo_bf16` | Fast (~5-10s) | General purpose, default |
57
54
  | `gpt-image-2` | Variable | OpenAI GPT Image 2 text-to-image and edit, strong prompt and text rendering |
58
55
  | `flux1-schnell-fp8` | Very fast | Quick iterations |
@@ -147,6 +144,10 @@ direct music generation. Music controls: `--lyrics`, `--language`, `--bpm`
147
144
  | `happyhorse-1.1-t2v` | Variable | HappyHorse 1.1 text-to-video, 3-15s, native audio, 720P/1080P |
148
145
  | `happyhorse-1.1-i2v` | Variable | HappyHorse 1.1 image-to-video from one first-frame image (`--ref`) |
149
146
  | `happyhorse-1.1-r2v` | Variable | HappyHorse 1.1 reference-to-video from 1-9 reference images (`-c`/`--context`) |
147
+ | `minimax-h3` / `minimax-h3-t2v` | Standard | MiniMax H3 text-to-video at 24 fps with native stereo audio |
148
+ | `minimax-h3-i2v` | Standard | MiniMax H3 first-frame image-to-video with native stereo audio |
149
+ | `minimax-h3-flf2v` | Standard | MiniMax H3 first-frame → last-frame video; pass both `--ref` and `--ref-end` |
150
+ | `minimax-h3-r2v` | Standard | MiniMax H3 reference-to-video from a whole reference SET (up to 9 images / 3 videos / 3 audio); available through the SDK and creative-agent tool, with no CLI selector yet |
150
151
  | `wan_v2.2-14b-fp8_i2v_lightx2v` | Fast | **Default single-image image-to-video** (one `--ref`, no end frame) |
151
152
  | `wan_v2.2-14b-fp8_i2v` | Slow | Higher quality video |
152
153
  | `wan_v2.2-14b-fp8_t2v_lightx2v` | Fast | Text-to-video |
@@ -230,6 +231,191 @@ and short in-scene text.
230
231
 
231
232
  *Source: fal "Happy Horse Prompting Guide" — <https://fal.ai/learn/tools/prompting-happy-horse>*
232
233
 
234
+ ## MiniMax H3 models
235
+
236
+ MiniMax H3 is a Sogni-hosted video family (four discrete modes, no mini/fast
237
+ variants) that generates picture and **native 32 kHz stereo audio jointly**.
238
+ `generateAudio=false` strips the generated track from the delivered file rather
239
+ than skipping audio generation. It is an explicit model choice, never a
240
+ universal default. The bare `minimax-h3` selector resolves to the mode inferred
241
+ from your references; **`minimax-h3-r2v` is never inferred** — it runs a
242
+ different checkpoint and must be asked for by name.
243
+
244
+ | Model | Mode | Use Case |
245
+ |-------|------|----------|
246
+ | `minimax-h3` / `minimax-h3-t2v` | Text-to-video | Prompt-only clip with native audio (default for `-m minimax-h3` with no refs) |
247
+ | `minimax-h3-i2v` | Image-to-video | Animate a single first-frame image passed with `--ref` |
248
+ | `minimax-h3-flf2v` | First → last frame | Interpolate between `--ref` and `--ref-end` |
249
+ | `minimax-h3-r2v` | Reference-to-video | Compose from a labelled reference SET: up to 9 images, 3 videos, 3 audio clips, 12 files total |
250
+
251
+ The first three modes share the FL2VA checkpoint: worker ids
252
+ `minimax-h3-fl2va-fp8_t2v`, `minimax-h3-fl2va-fp8_i2v`, and
253
+ `minimax-h3-fl2va-fp8_flf2v`. The CLI resolves those three short selectors,
254
+ picking i2v vs flf2v from whether `--ref-end` is present. Reference-to-video is a
255
+ SEPARATE checkpoint — worker id `minimax-h3-ref2va-fp8_r2v` — and is not one of
256
+ the CLI's `-m` selectors today; reach it through the SDK's native upload fields
257
+ or the creative-agent `generate_video` tool with
258
+ `videoModel="minimax-h3-r2v"` (including callers such as Sogni Chat).
259
+
260
+ The **fl2va** modes (t2v / i2v / flf2v) take image references only — they do not
261
+ accept reference video or reference audio, because audio is generated natively.
262
+ **r2v is the one H3 mode that does**: see
263
+ [MiniMax H3 reference-to-video (r2v)](#minimax-h3-reference-to-video-r2v). The
264
+ initial Sogni release is routed to 32 GB-class workers.
265
+
266
+ **Fixed parameters (do not override):**
267
+
268
+ - **24 fps**, always.
269
+ - **Frames on the `124 + n×17` grid**, `124` through `362` — **5.17 s to
270
+ 15.08 s**. `--duration` snaps onto that grid; an off-grid explicit `--frames`
271
+ is a hard error.
272
+ - **Dimensions divisible by 32**, total pixels ≤ **1,032,192**. `1344×768`
273
+ (landscape) and `768×1344` (portrait) are the primary sizes.
274
+ - **20 steps, guidance/CFG 1, distilled** — send no steps, guidance, sampler,
275
+ scheduler, or **negative prompt**. The checkpoint is CFG-distilled with
276
+ guidance locked at 1, so there is no negative branch and a `negativePrompt`
277
+ parameter is ignored wherever it is accepted. Put negative direction in the
278
+ prompt text instead.
279
+ - **768p-class open-weights release.** Do not offer or claim 2K; MiniMax's 2K
280
+ stage is hosted-only and not part of the open release.
281
+
282
+ ```bash
283
+ sogni-agent -q --video -m minimax-h3 --duration 10 -w 1344 -h 768 -o ./video.mp4 "<H3 prose prompt>"
284
+ sogni-agent -q --video -m minimax-h3-i2v --ref first.png --duration 8 -o ./video.mp4 "<H3 prose prompt>"
285
+ sogni-agent -q --video -m minimax-h3-flf2v --ref first.png --ref-end last.png --duration 8 -o ./video.mp4 "<H3 prose prompt>"
286
+ ```
287
+
288
+ ### MiniMax H3 prompting
289
+
290
+ H3 takes **natural cinematic prose** — no required structure, no field names, no
291
+ mandatory tags. Still expand a one-line request into a fully directed scene, and
292
+ in priority order:
293
+
294
+ 1. Write plain cinematic prose.
295
+ 2. For anything longer than a single beat, lay it out as a **timed shot list**
296
+ with bracketed timecodes (`[0-2 seconds] …`, `[2-5 seconds] …`). This is the
297
+ highest-leverage technique for H3 pacing and prevents slideshow drift.
298
+ 3. **Direct the audio** as deliberately as the picture — ambience, specific
299
+ spot effects, and music by instrumentation and timing. Plain `Audio:` /
300
+ `Sound design:` / `BGM:` labels inside the prose work well. Say explicitly
301
+ when you want no music.
302
+ 4. Write dialogue as ordinary quoted prose with the speaker and delivery named.
303
+ 5. State what you do **not** want in the prompt text; there is no
304
+ negative-prompt field.
305
+ 6. Give every reference image an explicit job and name the features to preserve.
306
+
307
+ MiniMax's `<d>[Language] …</d>` + `(S1)` markup and the three-field IR document
308
+ are optional input forms, not required wrappers around every prompt. Default to
309
+ natural prose, and preserve markup a user supplied. **Read
310
+ [`video-prompting.md`](video-prompting.md) § MiniMax H3 Prompting** for the full
311
+ technique, worked natural-prose examples, the duration→frame snapping table, and
312
+ the optional/advanced markup reference before writing an H3 prompt.
313
+
314
+ ### MiniMax H3 reference-to-video (r2v)
315
+
316
+ `minimax-h3-r2v` (worker id `minimax-h3-ref2va-fp8_r2v`) is the one H3 mode that
317
+ conditions on a whole **reference set** instead of one or two locked frames. It
318
+ runs its own ref2va checkpoint, so it is **never inferred** from stray uploads
319
+ the way HappyHorse r2v is — the user or the plan must name it. It is reached
320
+ through the SDK's native upload fields or the creative-agent `generate_video`
321
+ tool (`videoModel="minimax-h3-r2v"`, including callers such as Sogni Chat);
322
+ `sogni-agent` has no `-m minimax-h3-r2v` selector yet.
323
+
324
+ Everything in [MiniMax H3 models](#minimax-h3-models) above still applies: 24 fps,
325
+ the `124 + n×17` frame grid (5.17–15.08 s), dimensions divisible by 32 inside the
326
+ 1,032,192-pixel budget, 20 steps, guidance 1, no negative prompt, jointly
327
+ generated stereo audio.
328
+
329
+ **Reference ceilings** (from the `MiniMaxH3ReferenceToVideo` node, enforced by
330
+ Sogni Socket before the job is priced):
331
+
332
+ | Kind | Max | Notes |
333
+ |------|-----|-------|
334
+ | Reference images | 9 | **At least one is required** — r2v with no image is rejected |
335
+ | Reference videos | 3 | Read as 24 fps, 2–15 s each; a clip's own soundtrack is presented too |
336
+ | Reference audio | 3 | Standalone clips, separate from any video soundtrack |
337
+ | Total files | 12 | 9 + 3 + 3 = 15 does **not** fit; trade slots (e.g. 6 + 3 + 3) |
338
+
339
+ Reference videos and reference audio are **additions to** the image set, never
340
+ replacements for it. For a prompt-only render use `minimax-h3-t2v`; for a locked
341
+ opening frame use `minimax-h3-i2v`; to interpolate between two anchors use
342
+ `minimax-h3-flf2v`. r2v has no frame anchors at all, so an end-frame parameter is
343
+ rejected rather than ignored.
344
+
345
+ #### Ordinals and the prompt tag form
346
+
347
+ References are presented to the model grouped by type and numbered **from 1 per
348
+ type**: images first, then each reference video (its own soundtrack numbered
349
+ immediately **before** it), then standalone audio. H3's text encoder splices a
350
+ literal label in front of each one before your prompt text — it emits
351
+ `"<Picture i>: "`, `"<Video k>: "` and `"<Audio j>: "` — so write the prompt with
352
+ **those same tags, angle brackets included**. A sentence written that way shares
353
+ a token sequence with the label of the reference it is about; prose aliases
354
+ ("Image 1", "the second photo", `@Image1`, `[Image 1]`) do not.
355
+
356
+ This mirrors Seedance's loose-reference grammar — same 9 / 3 / 12 shape, same
357
+ "give every reference one explicit job" rule — but the tag form differs: Seedance
358
+ uses `@Image1` / `@Video1` / `@Audio1`, H3 uses `<Picture 1>` / `<Video 1>` /
359
+ `<Audio 1>`. Never carry one model's tags into the other's prompt.
360
+
361
+ Ordinal traps worth stating explicitly:
362
+
363
+ - Numbering restarts per type, so the first image is `<Picture 1>` even when a
364
+ video was attached before it.
365
+ - A reference video **with sound** contributes an `<Audio j>` of its own,
366
+ counted immediately before its `<Video k>`. With one soundtracked video plus
367
+ one standalone track, the soundtrack is `<Audio 1>` and the standalone clip is
368
+ `<Audio 2>`.
369
+ - Submission order is ordinal order. Never reorder or drop a reference after the
370
+ prompt has been written — every later ordinal shifts and "use `<Picture 3>`
371
+ for the jacket" lands on the wrong file.
372
+
373
+ #### One explicit job per reference
374
+
375
+ H3 blends everything it is shown unless told what to take from where. Give every
376
+ attached reference a single, non-overlapping job — identity, wardrobe, location,
377
+ camera movement, voice character — and state who wins when two disagree. An
378
+ unassigned reference is the most common cause of identity drift and washed-out
379
+ style on this model.
380
+
381
+ Worked example — 3 images, 1 soundtracked video, 1 standalone audio clip
382
+ (6 files, within the 12-file cap):
383
+
384
+ ```text
385
+ <Picture 1> is the identity reference for the woman: her face, her bone
386
+ structure, and her hairstyle carry over exactly, and nothing else from that
387
+ frame does. <Picture 2> is the wardrobe reference: the dark red jacket, its
388
+ collar, and the way it hangs — take the garment, not the person wearing it.
389
+ <Picture 3> is the location, lighting palette, and film texture: the wet street,
390
+ the sodium and neon colour, the grain. Do not copy any person, vehicle, or
391
+ signage from <Picture 3>. Use <Video 1> only for the camera movement — the slow
392
+ handheld push-in and its timing — and take nothing else from it; <Audio 1> is
393
+ that clip's own soundtrack and is reference only, do not reproduce it.
394
+ <Audio 2> is the voice character for her single line: dry, low, close-miked.
395
+ Where <Picture 1> and <Picture 3> disagree on colour or exposure, <Picture 1>
396
+ wins on her face and <Picture 3> wins on everything behind her.
397
+
398
+ [0-3 seconds] She walks toward camera along the rain-slicked street, hands in
399
+ the jacket pockets. Handheld medium shot, shallow focus, neon reflections
400
+ sliding across the wet asphalt.
401
+
402
+ [3-6 seconds] She stops and glances back over her shoulder as a bus passes
403
+ behind her, its headlights sweeping across her face.
404
+
405
+ [6-8 seconds] Medium close-up, street lights blooming behind her. She says,
406
+ quietly: "It was never going to be the last train."
407
+
408
+ Audio: steady rain on asphalt, tyres hissing through standing water, a bus
409
+ engine passing left to right at 4 seconds. No music.
410
+ ```
411
+
412
+ Note what that example does: every one of the six references is named exactly
413
+ once with a bounded job, the video is explicitly fenced to camera movement, the
414
+ video's own soundtrack is explicitly marked as reference-only so it is not
415
+ reproduced, the conflict rule is stated, and the shot list still carries the
416
+ pacing. Trim assignments for references you did not actually attach — a tag with
417
+ nothing behind it just adds noise.
418
+
233
419
  ## LTX-2 / LTX-2.3 models
234
420
 
235
421
  ### LTX-2.3 10Eros
@@ -296,12 +482,16 @@ model recommendations.
296
482
  | HappyHorse text-to-video with native audio | `happyhorse-1.1-t2v` (or `happyhorse`) |
297
483
  | HappyHorse image-to-video from one first frame | `happyhorse-1.1-i2v` |
298
484
  | HappyHorse reference-to-video from up to 9 images | `happyhorse-1.1-r2v` |
485
+ | MiniMax H3 text-to-video with native stereo audio | `minimax-h3` (or `minimax-h3-t2v`) |
486
+ | MiniMax H3 image-to-video from one first frame | `minimax-h3-i2v` with `--ref` |
487
+ | MiniMax H3 first frame → last frame transition | `minimax-h3-flf2v` with `--ref A --ref-end B` |
488
+ | MiniMax H3 from a set of loose references (identity + wardrobe + location, a motion clip, a voice clip) | `minimax-h3-r2v` — SDK / `generate_video`; no CLI selector yet |
299
489
  | Face lip-sync with uploaded audio | `wan_v2.2-14b-fp8_s2v_lightx2v` |
300
490
 
301
491
  ## Video sizing & aspect ratios
302
492
 
303
493
  - **WAN models** use dimensions divisible by 16, min 480 px, max 1536 px.
304
- - **MiniMax H3 FL2VA** uses dimensions divisible by 32, fixed 24 fps, 124–362 frames on the `124 + n×17` grid, and no more than 1,032,192 pixels (1344×768 and 768×1344 are the primary landscape/portrait sizes). The initial Sogni release requires a 32 GB-class worker.
494
+ - **MiniMax H3** uses dimensions divisible by 32, fixed 24 fps, 124–362 frames on the `124 + n×17` grid (5.17–15.08 s), and no more than 1,032,192 pixels (1344×768 and 768×1344 are the primary landscape/portrait sizes). Steps 20, guidance 1, no negative prompt, native stereo audio, 32 GB-class workers. See [MiniMax H3 models](#minimax-h3-models).
305
495
  - **LTX family** (`ltx2-*`, `ltx23-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
306
496
  - **Seedance** runs at fixed 24 fps and supports 4–15 s durations. Full `seedance2` supports native 4K via `--target-resolution 2160`; `seedance2-mini` and `seedance2-fast` remain capped to the 720p lower-resolution path. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
307
497
  - **HappyHorse 1.1** runs at fixed 24 fps and supports 3–15 s durations at 720P or 1080P, with always-on native audio (no negative prompt, no ControlNet). Accepted aspect ratios are `16:9`, `9:16`, `1:1`, `4:3`, `3:4`, `4:5`, `5:4`, `9:21`, and `21:9`. i2v takes one first-frame image (`--ref`); r2v takes 1–9 reference images (`-c`/`--context`); it accepts no reference video or audio.
@@ -1,8 +1,16 @@
1
- # Video Prompting Guide (LTX-2.3, pacing, orientation, camera language)
1
+ # Video Prompting Guide (LTX-2.3, MiniMax H3, pacing, orientation, camera language)
2
2
 
3
3
  Read this before writing any text-to-video or image-to-video prompt for LTX
4
- models, and whenever the user asks for "hd", "1080p", "4k", "uhd", or
5
- "high-res" video so you can choose between the LTX and Seedance paths.
4
+ models, before writing any MiniMax H3 prompt, and whenever the user asks for
5
+ "hd", "1080p", "4k", "uhd", or "high-res" video so you can choose between the
6
+ LTX and Seedance paths.
7
+
8
+ Both families take natural cinematic language, but they want different
9
+ **shapes**. LTX wants one unbroken prose paragraph with no line breaks and no
10
+ negative phrasing. MiniMax H3 wants free-form prose laid out as a timed shot
11
+ list, with explicit audio direction and in-prompt negative direction. Do not
12
+ carry LTX's single-paragraph, positive-only, no-markup rule into an H3 prompt.
13
+ Pick the section that matches the model you are about to invoke.
6
14
 
7
15
  ## LTX-2.3 Prompt Rule
8
16
 
@@ -30,7 +38,7 @@ it into an LTX-2.3-safe prompt before calling `sogni-agent`.
30
38
  "she says something," or "the couple discusses the scene."
31
39
  - Budget spoken dialogue at about 3 words per second, plus about 1 second for each meaningful acting beat or pause.
32
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.
33
- - 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]`.
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 is the opposite on both counts: it responds unusually well to in-prompt negative direction ("no music, no slow motion") and to plain bracketed timecodes such as `[0-3 seconds]`, and any markup the user wrote themselves must be preserved rather than stripped — see [MiniMax H3 Prompting](#minimax-h3-prompting).
34
42
  - Keep action density proportional to duration. For short clips, describe one main beat rather than several separate events.
35
43
  - Preserve the user's request, but expand it into cinematic prose. Do not invent a different story just to make the prompt longer.
36
44
 
@@ -71,6 +79,384 @@ User ask: "4k video of a woman in a neon alley"
71
79
  Use this shape instead: "A medium cinematic shot frames a woman in her 30s standing in a rain-soaked neon alley at night, violet and amber signs reflecting across the wet pavement while warm steam drifts from street vents. She wears a dark trench coat with damp strands of black hair clinging near her cheek as light glances across the fabric texture and the brick walls behind her. She turns toward the camera and steps forward with measured focus, one hand tightening around the strap of her bag while rain taps softly on the metal fire escape and a distant train hum rolls through the block. The camera performs a slow push-in as her jaw sets and her breathing steadies, maintaining smooth stabilized motion and a tense urban-thriller mood."
72
80
  ```
73
81
 
82
+ ## MiniMax H3 Prompting
83
+
84
+ Write H3 prompts as **natural cinematic prose**. There is no required structure,
85
+ no field names, and no mandatory tags. Still expand a one-line user request into
86
+ a fully directed scene — H3 rewards detail and punishes slogans — but expand it
87
+ in plain English, the way you would brief a DP and a sound designer.
88
+
89
+ Applies to `minimax-h3` / `minimax-h3-t2v`, `minimax-h3-i2v`, and
90
+ `minimax-h3-flf2v` (worker ids `minimax-h3-fl2va-fp8_t2v`,
91
+ `minimax-h3-fl2va-fp8_i2v`, `minimax-h3-fl2va-fp8_flf2v`), and — with one extra
92
+ rule about reference tags — to `minimax-h3-r2v` (worker id
93
+ `minimax-h3-ref2va-fp8_r2v`). See
94
+ [MiniMax H3 reference-to-video (r2v)](#minimax-h3-reference-to-video-r2v) below
95
+ before writing an r2v prompt.
96
+
97
+ ### Why this guidance is natural-language-first
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).
104
+
105
+ ### Fixed model facts
106
+
107
+ - **24 fps, always.** Do not pass an fps override.
108
+ - **Frame counts sit on the `124 + n×17` grid**, from `124` through `362` —
109
+ i.e. **5.17 s to 15.08 s**. The CLI snaps `--duration` onto that grid; an
110
+ off-grid explicit `--frames` is a hard error.
111
+ - **Dimensions divisible by 32**, total pixels ≤ **1,032,192**. Use
112
+ `-w 1344 -h 768` (landscape) or `-w 768 -h 1344` (portrait).
113
+ - **20 steps, guidance/CFG 1, distilled.** Do not send steps, guidance, sampler,
114
+ scheduler, or a **negative prompt**. The checkpoint is CFG-distilled with
115
+ guidance locked at 1, so there is no negative branch at all: a
116
+ `negativePrompt` parameter is ignored wherever it is accepted. Negative
117
+ direction goes in the prompt text instead.
118
+ - **Native 32 kHz stereo audio is generated jointly with the picture.** Every
119
+ sound — dialogue, foley, ambience, score — exists only because the prompt
120
+ asked for it. `generateAudio=false` strips that generated track from the
121
+ delivered file; it does not skip audio generation.
122
+ - **Sogni's H3 is the 768p-class open-weights release.** Do not offer or claim
123
+ 2K; MiniMax's 2K stage is hosted-only and is not part of the open release.
124
+ - **Prompt length:** fal documents up to **7,000 characters** for H3, and timed
125
+ shot lists get long. The Sogni CLI does not truncate. If the surface you are
126
+ writing for caps prompts shorter than that, flag the cap explicitly rather
127
+ than silently trimming a shot list.
128
+ - The initial Sogni release is routed to 32 GB-class workers.
129
+
130
+ Because `--duration` snaps to the frame grid, the delivered length is rarely the
131
+ integer the user asked for:
132
+
133
+ | `--duration` | Frames | Actual length |
134
+ |---|---|---|
135
+ | 5 | 124 | 5.17 s |
136
+ | 6 | 141 | 5.88 s |
137
+ | 8 | 192 | 8.00 s |
138
+ | 10 | 243 | 10.13 s |
139
+ | 12 | 294 | 12.25 s |
140
+ | 15 | 362 | 15.08 s |
141
+
142
+ ### How to write an H3 prompt
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".
191
+
192
+ ### Worked example — text-to-video
193
+
194
+ ```text
195
+ User ask: "10 second video of a barista and a customer arguing about oat milk"
196
+
197
+ sogni-agent -q --video -m minimax-h3 --duration 10 -w 1344 -h 768 -o ./cafe.mp4 "<prompt below>"
198
+ ```
199
+
200
+ ```text
201
+ A narrow espresso bar on a weekday morning, shot on a 35mm lens. Soft window
202
+ light from the left rakes across a brushed-steel machine and a glass pastry
203
+ case. Live-action, unstylized, slightly desaturated.
204
+
205
+ [0-3 seconds] Medium two-shot. A barista in her late twenties slides a small
206
+ white cup across the counter. A customer in a grey overcoat, mid-forties, stops
207
+ the saucer with two fingers. The camera pushes in slowly. He says, quiet and
208
+ clipped: "I asked for oat milk."
209
+
210
+ [3-7 seconds] Close-up over his shoulder, static. She lifts the oat carton,
211
+ turns it upside down to show it is empty, and sets it back on the wood. Flat,
212
+ even delivery: "We ran out at six this morning."
213
+
214
+ [7-10 seconds] Back to the two-shot. His jaw tightens, he pulls the cup toward
215
+ himself, and steam curls past his face while she turns to the next ticket.
216
+
217
+ Audio: low cafe room tone under everything, a steam wand hissing at 1 second,
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.
221
+
222
+ No slow motion, no lens flare, no on-screen text.
223
+ ```
224
+
225
+ ### Worked example — image-to-video
226
+
227
+ ```text
228
+ User ask (with an uploaded portrait): "have her look up and say she's not going back"
229
+
230
+ sogni-agent -q --video -m minimax-h3-i2v --ref ./portrait.png --duration 6 -w 768 -h 1344 -o ./reply.mp4 "<prompt below>"
231
+ ```
232
+
233
+ ```text
234
+ Use the reference image as the first frame and keep the woman exactly as she is:
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."
244
+
245
+ [4-6 seconds] She turns her head a few degrees toward the aisle, sets her jaw,
246
+ and closes one hand around the strap of the bag in her lap. The camera holds.
247
+
248
+ Sound design: steady diesel drone and the rattle of the bus frame throughout,
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.
252
+
253
+ One continuous shot, no cuts. Do not change her hairstyle, jacket, or the seat
254
+ colour.
255
+ ```
256
+
257
+ Round the brackets to whole seconds even though the grid rarely delivers one:
258
+ `--duration 6` renders 141 frames (5.88 s) and `--duration 10` renders 243
259
+ frames (10.13 s). H3 reads the shot list as pacing, not as a frame-accurate
260
+ edit decision list, so the last bracket does not need to match the delivered
261
+ length exactly.
262
+
263
+ ### Optional / advanced: MiniMax's IR markup
264
+
265
+ MiniMax also defines a tagged intermediate format. Treat it as optional: useful
266
+ occasionally, never required, and **never strip a user's own markup if they
267
+ wrote it** — pass it through verbatim.
268
+
269
+ Where it can still earn its place: many speakers who need to stay distinct
270
+ across cuts, non-English dialogue where an explicit language tag removes
271
+ ambiguity, and speech that must survive a cut or run past the end of the clip.
272
+
273
+ **Dialogue tags.** Only the language tag and the spoken words go inside
274
+ `<d>…</d>`. The speaker's identifying phrase, ID, action, and delivery all stay
275
+ outside it:
276
+
277
+ ```text
278
+ The young woman with a quiet, breathy voice (S1) says: <d>[English] I get off at the next station.</d>
279
+ The two children (S1,S2) shout together, <d>[English] Wait for us!</d>
280
+ ```
281
+
282
+ - Speaker IDs are `(S1)`, `(S2)`, … assigned in order of first vocal event and
283
+ kept stable across every shot. A character who never vocalizes gets no ID. Two
284
+ or more already-numbered speakers vocalizing together use a compound ID such
285
+ as `(S1,S2)`.
286
+ - Supported dialogue languages: Arabic, Chinese, English, French, German,
287
+ Italian, Japanese, Korean, Portuguese, Russian, Spanish. The tag is the
288
+ English language name in square brackets, e.g. `<d>[Japanese] …</d>`.
289
+ - **Voiceover** uses the exact phrase `says in an off-screen voiceover`, and the
290
+ `<d>` block is followed by a statement that the on-screen character's lips
291
+ stay closed:
292
+
293
+ ```text
294
+ The man (S1) says in an off-screen voiceover: <d>[English] I still remember that road.</d> while his lips remain completely closed.
295
+ ```
296
+
297
+ - `<scenetrans>` marks one line of dialogue or lyrics that crosses a cut: place
298
+ it at the connecting point in **both** parts, and state explicitly that the
299
+ audio continues across the cut (`continues seamlessly across the cut`,
300
+ `continues uninterrupted into the next shot`, `carries over from the previous
301
+ shot`, `remains audible across the transition`).
302
+ - `<cutoff>` marks speech that is truncated by the end of the video.
303
+
304
+ **Shot markers and the camera vocabulary.** In the IR format, `[Shot 1]` opens
305
+ with the overall style and initial composition and takes no timestamp; every
306
+ later shot opens with a strictly increasing cut time — `[Shot 2] At 00:03.500,
307
+ the camera cuts to …` (also `the shot cuts to` / `transitions to` / `changes
308
+ to` / `switches to`). The IR's camera motion types are `Zoom In/Out`, `Push
309
+ In/Pull Out`, `Pan Left/Right`, `Truck Left/Right`, `Tilt Up/Down`, `Pedestal
310
+ Up/Down`, `Arc Shot`, `Tracking Shot`, `Static Shot`, `Shake
311
+ Slightly/Strongly`, `POV`, and `Roll Clockwise/Counterclockwise`, optionally
312
+ qualified `with small amplitude` / `with large amplitude` and `at slow speed` /
313
+ `at fast speed`. These are good words to use in plain prose too — a timed shot
314
+ list with `[0-3 seconds]` timecodes carries the same information without the
315
+ markers.
316
+
317
+ **The three-field IR document.** MiniMax's rewriter emits an optional alignment
318
+ line, a blank line, then exactly three labelled fields in this order:
319
+
320
+ ```text
321
+ integrated_multimodal_description: [Shot 1] ...
322
+
323
+ overall_soundscape: ...
324
+
325
+ non_diegetic_music: ...
326
+ ```
327
+
328
+ `integrated_multimodal_description` is the whole audiovisual timeline;
329
+ `overall_soundscape` is 1-4 sentences of ambience, physical action sound, and
330
+ non-verbal human sound (no dialogue, singing, or diegetic music);
331
+ `non_diegetic_music` is 1-3 sentences of score-only instrumentation, tempo, and
332
+ dynamics. `N/A` is the schema's token for "nothing here" — used in
333
+ `non_diegetic_music` for no score, and in `overall_soundscape` only for a
334
+ deliberately silent video. Writing this document by hand is supported but buys
335
+ nothing over the prose examples above.
336
+
337
+ **Alignment instruction lines (i2v / flf2v only).** These pin a reference image
338
+ to a timestamp. Plain-English reference jobs ("use the reference image as the
339
+ first frame") work as well in Sogni's testing, but the verbatim lines are
340
+ available when a precise timestamp matters. Text-to-video has no alignment line.
341
+
342
+ Image-to-video (`minimax-h3-i2v`, one `--ref`):
343
+
344
+ ```text
345
+ For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced.
346
+ ```
347
+
348
+ First frame → last frame (`minimax-h3-flf2v`, `--ref` plus `--ref-end`). Note
349
+ the bare `Picture 1` / `Shot 1` with **no** angle or square brackets, and the em
350
+ dash (`—`) with a space on each side:
351
+
352
+ ```text
353
+ 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.
354
+ ```
355
+
356
+ `N` is the index of the actual final shot (`Shot 1` for the usual single-shot
357
+ transition), and `S.SS` is the effective duration to exactly two decimal places
358
+ — `10.13` for 243 frames at 24 fps (243 ÷ 24 = 10.125, rounded up).
359
+
360
+ ### MiniMax H3 reference-to-video (r2v)
361
+
362
+ `minimax-h3-r2v` conditions on a whole **reference set** rather than one or two
363
+ locked frames: up to **9 reference images** (at least one is required),
364
+ **3 reference videos** (24 fps, 2–15 s, each with an optional soundtrack) and
365
+ **3 standalone audio clips**, **12 files maximum in total**. It runs a separate
366
+ ref2va checkpoint, so it is never inferred — it must be chosen by name through
367
+ the SDK's native upload fields or the `generate_video` tool with
368
+ `videoModel="minimax-h3-r2v"` (including callers such as Sogni Chat;
369
+ `sogni-agent` has no `-m minimax-h3-r2v` selector yet). Reference videos and
370
+ audio are additions to the image set, never replacements for it, and r2v has no
371
+ frame anchors at all — for a locked opening frame use `minimax-h3-i2v`, and for a
372
+ first-to-last-frame transition use `minimax-h3-flf2v`.
373
+
374
+ Everything else on this page still applies — natural cinematic prose, the timed
375
+ shot list, deliberate audio direction, in-prompt negative direction, and no
376
+ negative-prompt field. r2v adds exactly one rule on top.
377
+
378
+ **Reference grammar.** References are numbered **from 1 per type**, in the order
379
+ images → videos → standalone audio, and H3's text encoder splices a literal label
380
+ in front of each one before your prompt text (`"<Picture i>: "`, `"<Video k>: "`,
381
+ `"<Audio j>: "`). Write the prompt with the same tags, **angle brackets
382
+ included**, so the sentence about a reference shares a token sequence with that
383
+ reference's own label:
384
+
385
+ - `<Picture 1>` … `<Picture 9>` for images
386
+ - `<Video 1>` … `<Video 3>` for videos
387
+ - `<Audio 1>` … for audio
388
+
389
+ Rewrite any alias the user typed — "image 2", "the second photo", `@Image2`,
390
+ `[Image 2]` — into `<Picture 2>`. This is deliberately **not** the Seedance
391
+ grammar: Seedance uses `@Image1` / `@Video1` / `@Audio1` (see the Seedance
392
+ reference modes in `models.md`), and the two must never be mixed. Never invent a
393
+ reference that was not attached, never mention file names, URLs or asset indices,
394
+ and never renumber the ones you were given.
395
+
396
+ Two ordinal traps:
397
+
398
+ - Numbering restarts per type, so the first image is `<Picture 1>` even when a
399
+ video was attached before it.
400
+ - A reference video with sound contributes an `<Audio j>` of its own, counted
401
+ immediately **before** its `<Video k>`. One soundtracked video plus one
402
+ standalone clip means the soundtrack is `<Audio 1>` and the standalone clip is
403
+ `<Audio 2>`.
404
+
405
+ **One explicit job per reference.** H3 blends everything it is shown unless told
406
+ what to take from where, so give every attached reference a single,
407
+ non-overlapping job in a plain sentence, and say who wins when two disagree. An
408
+ unassigned reference is the most common cause of identity drift and washed-out
409
+ style on this model.
410
+
411
+ Worked example — 3 images, 1 soundtracked video, 1 standalone audio clip (6
412
+ files):
413
+
414
+ ```text
415
+ <Picture 1> is the identity reference for the woman: her face, her bone
416
+ structure, and her hairstyle carry over exactly, and nothing else from that
417
+ frame does. <Picture 2> is the wardrobe reference: the dark red jacket, its
418
+ collar, and the way it hangs — take the garment, not the person wearing it.
419
+ <Picture 3> is the location, lighting palette, and film texture: the wet street,
420
+ the sodium and neon colour, the grain. Do not copy any person, vehicle, or
421
+ signage from <Picture 3>. Use <Video 1> only for the camera movement — the slow
422
+ handheld push-in and its timing — and take nothing else from it; <Audio 1> is
423
+ that clip's own soundtrack and is reference only, do not reproduce it.
424
+ <Audio 2> is the voice character for her single line: dry, low, close-miked.
425
+ Where <Picture 1> and <Picture 3> disagree on colour or exposure, <Picture 1>
426
+ wins on her face and <Picture 3> wins on everything behind her.
427
+
428
+ [0-3 seconds] She walks toward camera along the rain-slicked street, hands in
429
+ the jacket pockets. Handheld medium shot, shallow focus, neon reflections
430
+ sliding across the wet asphalt.
431
+
432
+ [3-6 seconds] She stops and glances back over her shoulder as a bus passes
433
+ behind her, its headlights sweeping across her face.
434
+
435
+ [6-8 seconds] Medium close-up, street lights blooming behind her. She says,
436
+ quietly: "It was never going to be the last train."
437
+
438
+ Audio: steady rain on asphalt, tyres hissing through standing water, a bus
439
+ engine passing left to right at 4 seconds. No music.
440
+ ```
441
+
442
+ Trim assignments for references that were not actually attached — a tag with
443
+ nothing behind it is noise. And do not reorder or drop a reference after the
444
+ prompt is written: submission order is ordinal order, so every later tag would
445
+ then point at the wrong file.
446
+
447
+ ### Agent-ready H3 command shapes
448
+
449
+ ```bash
450
+ # Text-to-video (landscape)
451
+ sogni-agent -q --video -m minimax-h3 --duration 10 -w 1344 -h 768 -o ./video.mp4 "<H3 prose prompt>"
452
+
453
+ # Image-to-video from one first frame (portrait)
454
+ sogni-agent -q --video -m minimax-h3-i2v --ref ./first.png --duration 8 -w 768 -h 1344 -o ./video.mp4 "<H3 prose prompt naming the reference image's job>"
455
+
456
+ # First frame -> last frame transition
457
+ sogni-agent -q --video -m minimax-h3-flf2v --ref ./first.png --ref-end ./last.png --duration 8 -w 1344 -h 768 -o ./video.mp4 "<H3 prose prompt describing the motion path between the two frames>"
458
+ ```
459
+
74
460
  ## High-Res Video Routing
75
461
 
76
462
  When the user asks for video in **"hd"**, **"1080p"**, **"4k"**, **"uhd"**, or **"high-res"**, do not use the default WAN video models.
@@ -3,7 +3,7 @@
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@sogni-ai/sogni-intelligence-client": "3.11.0",
6
+ "@sogni-ai/sogni-intelligence-client": "3.12.4",
7
7
  "execa": "^9.6.1",
8
8
  "json5": "^2.2.3",
9
9
  "sharp": "^0.34.5"
package/sogni-agent.mjs CHANGED
@@ -3508,6 +3508,15 @@ HappyHorse 1.1 Video Model Selectors (3-15s, fixed 24fps, native audio, 720P/108
3508
3508
  happyhorse-1.1-i2v Image-to-video from a single first-frame image (--ref)
3509
3509
  happyhorse-1.1-r2v Reference-to-video from 1-9 reference images (-c/--context)
3510
3510
 
3511
+ MiniMax H3 Video Model Selectors (fixed 24fps, native 32kHz stereo audio + dialogue,
3512
+ frames 124+n*17 = 5.17-15.08s, sizes /32 up to 1,032,192px, 32GB-class workers.
3513
+ Prompt is natural cinematic prose — a timed shot list ("[0-2 seconds] ...") plus
3514
+ explicit audio direction; see references/video-prompting.md "MiniMax H3
3515
+ Prompting". No negative prompt field: state negatives in the prompt text.):
3516
+ minimax-h3 Text-to-video (also accepts minimax-h3-t2v); --ref/--ref-end pick i2v/flf2v
3517
+ minimax-h3-i2v Image-to-video from a single first-frame image (--ref)
3518
+ minimax-h3-flf2v First-frame -> last-frame transition (--ref plus --ref-end)
3519
+
3511
3520
  WAN 2.2 Video Models:
3512
3521
  wan_v2.2-14b-fp8_t2v_lightx2v Text-to-video (fast)
3513
3522
  wan_v2.2-14b-fp8_i2v_lightx2v Default single-image image-to-video (fast)
package/version.mjs CHANGED
@@ -1 +1 @@
1
- export const PACKAGE_VERSION = '3.23.0';
1
+ export const PACKAGE_VERSION = '3.25.0';