@sogni-ai/sogni-creative-agent-skill 3.51.1 → 3.52.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.
@@ -3,7 +3,7 @@ name: sogni-creative-agent-skill
3
3
  description: "Generate and edit images, create Pixal3D 3D models, remove backgrounds with BiRefNet, synthesize Qwen3-TTS speech, upscale images, create video and music, animate image folders into seamless reels, and manage reusable personas with Sogni AI. Use when a Hermes user asks to draw, render, upscale, edit or restyle an image, animate an image, make a video, create music or lyrics, build a media workflow, apply a saved identity, or refine an earlier Sogni result."
4
4
  license: MIT
5
5
  metadata:
6
- version: "3.51.1"
6
+ version: "3.52.0"
7
7
  author: Sogni AI
8
8
  hermes:
9
9
  category: creative
@@ -336,4 +336,4 @@ Submit these media tools as durable workflow steps (`toolName` and `arguments`)
336
336
 
337
337
  Negative indices address uploads (-1 first); non-negative indices address generated results. 3D views are from the subject's perspective: left means the subject's own left side faces camera (subject faces screen-left), right means screen-right. Supply original images of the same subject at consistent height and framing; any subset of the three orbit views enables multi-view reconstruction. Keep the GLB in the model artifact lane, never feed it into an image tool.
338
338
 
339
- For two-stage Turbo H3, use explicit `minimax-h3-fasth3-*-turbo-2stage` selectors on the relevant video tool with `targetResolution`. Audio-guided IA2V/FLFA2V/A2V selectors belong on `sound_to_video` and require the uploaded audio plus their named endpoint images. They preserve the supplied audio and reject LoRAs. Other H3 modes discover personal LoRAs through the [authenticated catalog](personal-loras.md).
339
+ For two-stage Turbo H3, use explicit `minimax-h3-fasth3-*-turbo-2stage` selectors on the relevant video tool with `targetResolution`. For 1080p or 2K reference-to-video, use `minimax-h3-r2v-2stage` (Standard) or `minimax-h3-r2v-balanced-2stage` (Balanced) on `generate_video` with the same references as `minimax-h3-r2v` and `targetResolution` naming the delivered size. Audio-guided IA2V/FLFA2V/A2V selectors belong on `sound_to_video` and require the uploaded audio plus their named endpoint images. They preserve the supplied audio and reject LoRAs. Other H3 modes discover personal LoRAs through the [authenticated catalog](personal-loras.md).
@@ -737,10 +737,11 @@ output. Supported ratios are `adaptive`, `16:9`, `9:16`, `1:1`, `4:3`, and
737
737
 
738
738
  ## MiniMax H3 models
739
739
 
740
- MiniMax H3 is a Sogni-hosted video family with **eighteen current selectors**:
740
+ MiniMax H3 is a Sogni-hosted video family with **twenty current selectors**:
741
741
  four Standard workflows, four 8-step Balanced workflows, four 4-step
742
- LightX2V Turbo workflows, three FastVideo VSA FastH3 Turbo workflows, and
743
- three FastH3 Two-Stage (720p/1080p/2K) workflows. Every one of those modes
742
+ LightX2V Turbo workflows, three FastVideo VSA FastH3 Turbo workflows,
743
+ three FastH3 Two-Stage (720p/1080p/2K) workflows, and two Ref2VA Two-Stage
744
+ (Standard and Balanced) workflows. Every one of those modes
744
745
  generates picture and **native 32 kHz stereo audio jointly**. FastH3 also has
745
746
  three audio-to-video modes, each with a Two-Stage form, that take the user's
746
747
  own audio instead; see [FastH3 audio-to-video](#fasth3-audio-to-video).
@@ -752,7 +753,10 @@ from your references. The Standard, Balanced, and LightX2V Turbo families accept
752
753
  an explicit `--workflow r2v`; FastH3 and FastH3 Two-Stage reject it.
753
754
  **`minimax-h3-r2v` is never inferred** — it runs a different checkpoint and must
754
755
  be asked for by name. Its Balanced and Turbo counterparts are
755
- `minimax-h3-r2v-balanced` and `minimax-h3-r2v-turbo`.
756
+ `minimax-h3-r2v-balanced` and `minimax-h3-r2v-turbo`, and Standard and Balanced
757
+ each have a two-stage form, `minimax-h3-r2v-2stage` and
758
+ `minimax-h3-r2v-balanced-2stage` (see "Ref2VA Two-Stage" below); those are
759
+ never inferred either.
756
760
  FastH3 has no R2V mode, so `--workflow r2v` is rejected with its generic selector.
757
761
 
758
762
  | Model | Mode | Use Case |
@@ -765,6 +769,8 @@ FastH3 has no R2V mode, so `--workflow r2v` is rejected with its generic selecto
765
769
  | `minimax-h3-i2v-balanced` | Balanced image-to-video | Fixed 8-step animation from one first frame |
766
770
  | `minimax-h3-flf2v-balanced` | Balanced first → last frame | Fixed 8-step interpolation between `--ref` and `--ref-end` |
767
771
  | `minimax-h3-r2v-balanced` | Balanced reference-to-video | Fixed 8-step Euler/simple Ref2VA from a labelled reference set |
772
+ | `minimax-h3-r2v-2stage` | Ref2VA Two-Stage | The `minimax-h3-r2v` request (20 steps) on a half-size canvas, delivered at twice it (2K default, 1080p or 720p) |
773
+ | `minimax-h3-r2v-balanced-2stage` | Balanced Ref2VA Two-Stage | The `minimax-h3-r2v-balanced` request (8 steps), delivered at twice the canvas |
768
774
  | `minimax-h3-turbo` / `minimax-h3-t2v-turbo` | Turbo text-to-video | 4-step prompt-only path; generic `minimax-h3-turbo` infers the frame workflow |
769
775
  | `minimax-h3-i2v-turbo` | Turbo image-to-video | 4-step animation from one first frame |
770
776
  | `minimax-h3-flf2v-turbo` | Turbo first → last frame | 4-step interpolation between `--ref` and `--ref-end` |
@@ -805,7 +811,9 @@ FastH3 Two-Stage has its own worker ids, `minimax-h3-fastvideo-int8_t2v_turbo_2s
805
811
  `minimax-h3-fastvideo-int8_i2v_turbo_2stage`, and `minimax-h3-fastvideo-int8_flf2v_turbo_2stage`,
806
812
  with the FastH3 request shape on a half-size canvas. Every output class (720p,
807
813
  1080p and 2K) uses the same `_2stage` id; `--target-resolution 720` sends it
808
- with the 384 px canvas.
814
+ with the 384 px canvas. Ref2VA Two-Stage likewise has one id per tier,
815
+ `minimax-h3-ref2va-fp8_r2v_2stage` (Standard) and
816
+ `minimax-h3-ref2va-fp8_r2v_balanced_2stage` (Balanced).
809
817
 
810
818
  The **fl2va** modes (t2v / i2v / flf2v) take image references only — they do not
811
819
  accept reference video or reference audio, because audio is generated natively.
@@ -858,17 +866,33 @@ video-conditioned R2V requires a worker above 40 GB.
858
866
  still delivered at twice. Any other value, 768 included, is refused. Other
859
867
  canvases up to a 544 px short edge add 6 Spark/s, and larger ones 12. Prices
860
868
  follow measured GPU time. Ordinary 768p output stays on the regular
861
- FastH3 selectors, and the other H3 tiers have no two-stage path. The summary
869
+ FastH3 selectors; of the other H3 tiers only Standard and Balanced Ref2VA have
870
+ a two-stage path (next item). The summary
862
871
  line and `--json` (`deliveredWidth`, `deliveredHeight`) report the delivered
863
872
  size. If the server is not serving two-stage, it refuses before charging and
864
873
  the CLI prints its message unchanged. This is Sogni's own path; MiniMax's
865
874
  hosted 2K stage is still not part of the open release. The retired
866
875
  `outputScale` request option is refused.
876
+ - **1080p and 2K reference-to-video is Ref2VA Two-Stage.** `-m minimax-h3-r2v-2stage` (Standard, 20 steps, worker id
877
+ `minimax-h3-ref2va-fp8_r2v_2stage`) and `-m minimax-h3-r2v-balanced-2stage`
878
+ (Balanced, 8 steps, `minimax-h3-ref2va-fp8_r2v_balanced_2stage`) send exactly
879
+ the request of `minimax-h3-r2v` / `minimax-h3-r2v-balanced` — the same loose
880
+ `--ref`/`-c` images, repeatable `--ref-video`/`--ref-audio`, reference limits,
881
+ durations, LoRAs and six-field prompt contract — on the half-size canvas, and
882
+ the platform delivers exactly twice it. They are never Turbo (no `--sampler`)
883
+ and never inferred. `--target-resolution` reads exactly as in the table above
884
+ (2K default renders 1344×768 → 2688×1536, `1080` renders 960×544 →
885
+ 1920×1088, `720` renders 672×384 → 1344×768); a reference image never sets the
886
+ canvas aspect, and explicit `-w`/`-h` are used as given. Each bills its
887
+ tier's reference rate plus the two-stage surcharge of the delivered class;
888
+ `--estimate-video-cost` quotes the `_2stage` id on the canvas it renders, and
889
+ the summary line and `--json` report the delivered size.
867
890
 
868
891
  ```bash
869
892
  sogni-agent -q --video -m minimax-h3 --duration 10 -w 1344 -h 768 -o ./video.mp4 "<three-field H3 prompt>"
870
893
  sogni-agent -q --video -m minimax-h3-fasth3-turbo-2stage --duration 8 -o ./video-2k.mp4 "<three-field H3 prompt>"
871
894
  sogni-agent -q --video -m minimax-h3-fasth3-turbo-2stage --target-resolution 1080 --duration 8 -o ./video-1080p.mp4 "<three-field H3 prompt>"
895
+ sogni-agent -q --video -m minimax-h3-r2v-2stage --ref identity.png -c wardrobe.png --ref-video motion.mp4 -o ./ref-2k.mp4 "<six-field Ref2VA prompt>"
872
896
  sogni-agent -q --video -m minimax-h3-i2v --ref first.png --duration 8 -o ./video.mp4 "<I2V preamble plus three-field H3 prompt>"
873
897
  sogni-agent -q --video -m minimax-h3-flf2v --ref first.png --ref-end last.png --duration 8 -o ./video.mp4 "<FLF2V preamble plus three-field H3 prompt>"
874
898
  sogni-agent -q --video -m minimax-h3-r2v --ref identity.png -c wardrobe.png --ref-video motion.mp4 --ref-audio voice.m4a -o ./video.mp4 "<six-field Ref2VA prompt>"
@@ -1160,6 +1184,7 @@ model recommendations.
1160
1184
  | MiniMax H3 FastH3 Turbo image-to-video | `minimax-h3-fasth3-i2v-turbo` with `--ref` |
1161
1185
  | MiniMax H3 FastH3 Turbo first frame → last frame | `minimax-h3-fasth3-flf2v-turbo` with `--ref A --ref-end B`; no R2V |
1162
1186
  | MiniMax H3 1080p or 2K (FastH3 Two-Stage, delivered at twice the canvas) | `minimax-h3-fasth3-turbo-2stage` (2K default; `--target-resolution 1080` or `720`), or `minimax-h3-fasth3-t2v-turbo-2stage` / `-i2v-turbo-2stage` / `-flf2v-turbo-2stage`; no R2V |
1187
+ | MiniMax H3 1080p or 2K reference-to-video (Ref2VA Two-Stage, delivered at twice the canvas) | `minimax-h3-r2v-2stage` (Standard) or `minimax-h3-r2v-balanced-2stage` (Balanced) with the same references as `minimax-h3-r2v`; 2K default, `--target-resolution 1080` or `720` |
1163
1188
  | MiniMax H3 video driven by the user's own voice or song | `minimax-h3-fasth3-ia2v-turbo` (`--ref` + `--ref-audio`), `minimax-h3-fasth3-flfa2v-turbo` (`--ref` + `--ref-end` + `--ref-audio`), or `minimax-h3-fasth3-a2v-turbo` (`--ref-audio`); add `-2stage` for Two-Stage |
1164
1189
  | Face lip-sync with uploaded audio | `wan_v2.2-14b-fp8_s2v_lightx2v` |
1165
1190
 
@@ -1174,7 +1199,7 @@ model recommendations.
1174
1199
  - **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.
1175
1200
  - For spoken dialogue, budget roughly 3 words per second plus about 1 second per meaningful acting beat or pause.
1176
1201
  - The CLI auto-normalizes video sizes to satisfy these constraints.
1177
- - Use `--target-resolution <px>` for bare resolution requests like "720p" — it targets the short side and preserves the inherited aspect ratio. On FastH3 Two-Stage it names the delivered size instead: `720`, `1080`, or `2K`/`1440` (the default).
1202
+ - Use `--target-resolution <px>` for bare resolution requests like "720p" — it targets the short side and preserves the inherited aspect ratio. On FastH3 and Ref2VA Two-Stage it names the delivered size instead: `720`, `1080`, or `2K`/`1440` (the default).
1178
1203
  - Natural-language aspect requests like "portrait", "square", "16:9", or "9:16" are inferred when width/height aren't explicitly set. Combined requests like "720p 9:16" keep the requested short side while applying the requested shape.
1179
1204
  - For i2v (and any workflow using `--ref` / `--ref-end`), the client wrapper resizes the reference image with strict aspect-fit (`fit: inside`) and uses the *resized* dimensions as the final video size. Because that resize uses rounding, a "valid" requested size can still produce an invalid final size (example: `1024×1536` requested, but the ref becomes `1024×1535`). The CLI detects this for local refs and auto-adjusts to a nearby safe size.
1180
1205
  - Pass `--strict-size` to fail instead — the CLI prints a suggested size.
@@ -127,7 +127,8 @@ This guidance follows MiniMax's official H3 prompt-writing skill from
127
127
  `-m minimax-h3-fasth3-turbo-2stage` (or `minimax-h3-fasth3-t2v-turbo-2stage`,
128
128
  `minimax-h3-fasth3-i2v-turbo-2stage`, `minimax-h3-fasth3-flf2v-turbo-2stage`)
129
129
  renders FastH3 on a half-size canvas and delivers the clip at exactly twice
130
- it with the same length and audio; no other H3 tier delivers above 768p.
130
+ it with the same length and audio; apart from Ref2VA Two-Stage (below), no
131
+ other H3 tier delivers above 768p.
131
132
  `--target-resolution` names the delivered size: `2K` (or `1440`, the default)
132
133
  renders 1344×768 → 2688×1536, `1080` renders 960×544 → 1920×1088, and `720`
133
134
  renders 672×384 → 1344×768, in the prompt's or reference's aspect; any other
@@ -137,6 +138,16 @@ This guidance follows MiniMax's official H3 prompt-writing skill from
137
138
  when the user asks for 1080p, 1440p or 2K H3 output, two-stage, or the
138
139
  sharpest H3 output; ordinary 768p stays on the regular FastH3 selectors. The
139
140
  prompt contract is FastH3's.
141
+ - **1080p and 2K reference-to-video is Ref2VA Two-Stage.**
142
+ `-m minimax-h3-r2v-2stage` (Standard, 20 steps) and
143
+ `-m minimax-h3-r2v-balanced-2stage` (Balanced, 8 steps) take exactly the
144
+ references, limits, durations, LoRAs and six-field Ref2VA prompt contract of
145
+ `minimax-h3-r2v` / `minimax-h3-r2v-balanced`, render the half-size canvas and
146
+ deliver twice it. `--target-resolution` reads as above (2K default, `1080`,
147
+ `720`); a reference image never sets the canvas aspect. Each bills its
148
+ tier's reference rate plus the two-stage surcharge of the delivered class;
149
+ quote it with `--estimate-video-cost`. Keep ordinary 768p reference video on
150
+ the one-stage R2V selectors.
140
151
  - **20 steps for Standard; 8 for Balanced; 4 for both Turbo engines; guidance/CFG 1.** Do not
141
152
  send steps, guidance, scheduler, or a **negative prompt**. Standard and
142
153
  Balanced accept no sampler override; Balanced is fixed to Euler/simple.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sogni-creative-agent",
3
- "version": "3.51.1",
3
+ "version": "3.52.0",
4
4
  "description": "Sogni Creative Agent: image, 3D, speech, 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.51.1",
3
+ "version": "3.52.0",
4
4
  "description": "Create images, 3D models, speech, generative video, music, and image-folder loops with Sogni AI.",
5
5
  "author": {
6
6
  "name": "Sogni AI",
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## [3.52.0] - 2026-09-19
2
+
3
+ ### Features
4
+
5
+ * Add MiniMax H3 Two-Stage Reference to Video: `-m minimax-h3-r2v-2stage` (Standard, 20 steps) and `-m minimax-h3-r2v-balanced-2stage` (Balanced, 8 steps) take the same loose `--ref`/`-c` images and repeatable `--ref-video`/`--ref-audio` references as `minimax-h3-r2v` and `minimax-h3-r2v-balanced`, and deliver twice the canvas with the same length and audio. `--target-resolution` picks the delivered size like the FastH3 Two-Stage selectors: 720 (672x384 canvas), 1080 (960x544) or 2K (1344x768 canvas delivering 2688x1536, the default). 1080p and 2K render at the 768p canvas and FastH3 refines the enlargement. `--estimate-video-cost` quotes the `_2stage` id on that canvas, and `--json` reports the delivered size.
6
+
7
+ ### Bug Fixes
8
+
9
+ * Update the bundled runtime and exact dependencies to SDK 5.53.1, intelligence client 4.3.2 and creative agent 2.4.11. Generations whose request was sent on a connection that dropped before Sogni received it are now resent once after the reconnect instead of failing with "The server has no record of this generation", and hosted agents are told when to use the Reference Two-Stage selectors.
10
+
1
11
  ## [3.51.1] - 2026-09-16
2
12
 
3
13
  Includes the integration prepared as 3.51.0 (unpublished) and the shared Ref2VA prompt repair.
package/README.md CHANGED
@@ -236,10 +236,10 @@ The same command can be added permanently from `goose configure` as a Command-li
236
236
 
237
237
  ### OpenClaw plugin
238
238
 
239
- The skill is published on ClawHub, so the simplest install is:
239
+ The skill is published on ClawHub under `fishmongr`. Specify the publisher because more than one listing uses this skill name:
240
240
 
241
241
  ```bash
242
- openclaw skills install sogni-creative-agent-skill
242
+ npx -y clawhub@latest install @fishmongr/sogni-creative-agent-skill
243
243
  ```
244
244
 
245
245
  To install as a code plugin instead, use OpenClaw's `npm:` source prefix (the npm package is scoped, so a bare `openclaw plugins install sogni-creative-agent-skill` will not resolve it):
@@ -482,7 +482,7 @@ sogni-agent --video -m wan3-enhanced --target-resolution 1080 --duration 8 \
482
482
  sogni-agent --video -m wan3-enhanced --workflow i2v --ref first.png --ref-end last.png \
483
483
  -c wardrobe.png "Keep the endpoint frames and use Image 1 for wardrobe detail"
484
484
 
485
- # MiniMax H3 Standard, 8-step Balanced, 4-step LightX2V Turbo, FastH3 Turbo, and FastH3 Two-Stage (1080p/2K) video
485
+ # MiniMax H3 Standard, 8-step Balanced, 4-step LightX2V Turbo, FastH3 Turbo, and FastH3 and Ref2VA Two-Stage (1080p/2K) video
486
486
  sogni-agent --video -m minimax-h3 --duration 10 "<three-field H3 prompt>"
487
487
  sogni-agent --video -m minimax-h3-i2v --ref first.png --duration 8 "<I2V preamble plus three-field H3 prompt>"
488
488
  sogni-agent --video -m minimax-h3-r2v --ref identity.png -c wardrobe.png \
@@ -498,6 +498,8 @@ sogni-agent --video -m minimax-h3-fasth3-i2v-turbo --ref first.png --duration 8
498
498
  sogni-agent --video -m minimax-h3-fasth3-flf2v-turbo --ref first.png --ref-end last.png --duration 8 "<FLF2V preamble plus three-field H3 prompt>"
499
499
  sogni-agent --video -m minimax-h3-fasth3-turbo-2stage --duration 8 "<three-field H3 prompt>" # 2K: FastH3 Two-Stage, delivered at 2x the canvas
500
500
  sogni-agent --video -m minimax-h3-fasth3-turbo-2stage --target-resolution 1080 --duration 8 "<three-field H3 prompt>" # 1080p: 960x544 delivered at 1920x1088
501
+ sogni-agent --video -m minimax-h3-r2v-2stage --ref identity.png -c wardrobe.png "<six-field Ref2VA prompt>" # 2K Ref2VA Two-Stage (20 steps)
502
+ sogni-agent --video -m minimax-h3-r2v-balanced-2stage --target-resolution 1080 --ref identity.png "<six-field Ref2VA prompt>" # 1080p Balanced Ref2VA Two-Stage (8 steps)
501
503
 
502
504
  # MiniMax H3 FastH3 audio-to-video: your voice or song drives the clip and is its soundtrack
503
505
  sogni-agent --video -m minimax-h3-fasth3-ia2v-turbo --ref portrait.png --ref-audio voice.m4a --duration 8 "<I2V preamble plus three-field H3 prompt>"
@@ -641,7 +643,7 @@ Run `sogni-agent --help` for the full CLI. Below are the options and tables most
641
643
  | `--remove-background <image>`, `--matte` | BiRefNet transparent PNG or soft mask |
642
644
  | `--ref`, `-c`, `--ref-audio`, `--ref-video` | Frame/loose image/audio/video references; audio/video repeat for H3 r2v and Seedance loose refs |
643
645
  | `--audio-start <sec>` | Where the `--ref-audio` window begins; on FastH3 audio-to-video the window is the clip length (no `--audio-duration`) |
644
- | `--target-resolution <px>` | Target the short side, preserving aspect ratio; on MiniMax H3 FastH3 Two-Stage, the delivered size `720`, `1080`, or `2K` (default 2K) |
646
+ | `--target-resolution <px>` | Target the short side, preserving aspect ratio; on MiniMax H3 FastH3 and Ref2VA Two-Stage, the delivered size `720`, `1080`, or `2K` (default 2K) |
645
647
  | `--workflow <type>` | Force `t2v`, `i2v`, `r2v`, `s2v`, `ia2v`, `a2v`, `v2v`, or animate workflows |
646
648
  | `--wan3-ratio`, `--smart-duration`, `--reference-file-url`, `--reference-link-url`, `--watermark` | Wan 3 adaptive/fixed ratio, smart timing, document/web context, and watermark controls |
647
649
  | `--expand-prompt`, `--no-expand-prompt` | Enable provider prompt expansion for direct Wan 3 video, or preserve the exact submitted prompt |
@@ -725,6 +727,7 @@ Prefer `-Q fast|hq|pro` for images and automatic workflow routing for video. Pas
725
727
  | MiniMax H3 FastH3 Turbo image-to-video | `minimax-h3-fasth3-i2v-turbo` with `--ref` |
726
728
  | MiniMax H3 FastH3 Turbo first-frame → last-frame video | `minimax-h3-fasth3-flf2v-turbo` with `--ref A --ref-end B`; FastH3 has no R2V mode |
727
729
  | MiniMax H3 1080p or 2K video (FastH3 Two-Stage, delivered at twice the canvas) | `minimax-h3-fasth3-turbo-2stage` (infers the frame mode; 2K default, `--target-resolution 1080` or `720`), or `minimax-h3-fasth3-t2v-turbo-2stage` / `-i2v-turbo-2stage` / `-flf2v-turbo-2stage`; no R2V |
730
+ | MiniMax H3 1080p or 2K reference-to-video (Ref2VA Two-Stage, delivered at twice the canvas) | `minimax-h3-r2v-2stage` (Standard, 20 steps) or `minimax-h3-r2v-balanced-2stage` (Balanced, 8 steps): the same references, durations and LoRAs as `minimax-h3-r2v` / `minimax-h3-r2v-balanced`; 2K default, `--target-resolution 1080` or `720` |
728
731
  | MiniMax H3 video driven by your own voice or song (FastH3 audio-to-video) | `minimax-h3-fasth3-ia2v-turbo` (`--ref` + `--ref-audio`), `minimax-h3-fasth3-flfa2v-turbo` (`--ref` + `--ref-end` + `--ref-audio`), or `minimax-h3-fasth3-a2v-turbo` (`--ref-audio`); `minimax-h3-fasth3-turbo` with `--ref-audio` picks the mode; add `-2stage` for Two-Stage; no LoRAs |
729
732
  | Text-to-video with native dialogue/audio | `ltx25` (Distilled) or `ltx25-22b-int8_t2v_dev` (Dev/HQ) |
730
733
  | Explicit uncensored image-to-video on 30GB+ GPUs | `ltx23-eros` with `--no-filter` |
package/SKILL.md CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sogni-creative-agent-skill
3
3
  description: "CLI and agent skill for personal LoRAs, image, video, and music generation using Sogni AI's decentralized GPU network. Supports Pixal3D single- and multi-view image-to-GLB, BiRefNet background removal, Qwen3-TTS speech/voice cloning/design, MiniMax Music 3, SAM 3 object selection, promptless RTX VSR image upscaling through 16K, promptless FlashVSR video upscaling to 1080p/1440p, one-click image-folder loop reels, personas (named people with saved reference photos and voice clips), persistent memories, custom personality, style transfer, angle synthesis, MiniMax H3/H3 Balanced/LightX2V Turbo/FastH3 Turbo (including audio-to-video from an uploaded track)/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\", \"upscale an image\", \"upscale a video\", \"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.51.1"
5
+ version: "3.52.0"
6
6
  homepage: https://sogni.ai
7
7
  openclaw:
8
8
  emoji: "🎨"
@@ -234,7 +234,7 @@ sogni-agent --video -m minimax-h3-r2v-turbo -w 960 -h 544 --ref identity.png -c
234
234
  sogni-agent --video -m minimax-h3-fasth3-turbo --duration 8 "<three-field H3 prompt>"
235
235
  sogni-agent --video -m minimax-h3-fasth3-i2v-turbo --ref first.png --duration 8 "<I2V preamble plus three-field H3 prompt>"
236
236
  sogni-agent --video -m minimax-h3-fasth3-flf2v-turbo --ref first.png --ref-end last.png --duration 8 "<FLF2V preamble plus three-field H3 prompt>"
237
- sogni-agent --video -m minimax-h3-fasth3-turbo-2stage --duration 8 "<three-field H3 prompt>" # 2K by default; --target-resolution 1080 or 720 for 1080p or 720p
237
+ sogni-agent --video -m minimax-h3-fasth3-turbo-2stage --duration 8 "<three-field H3 prompt>" # 2K by default; --target-resolution 1080 or 720 for 1080p or 720p; minimax-h3-r2v-2stage for references
238
238
 
239
239
  # HappyHorse 1.1 (3-15s vendor video, fixed 24fps, native audio). t2v default;
240
240
  # i2v from one first-frame image (--ref); r2v from 1-9 reference images (-c).
@@ -298,7 +298,7 @@ sogni-agent doctor --json
298
298
  | `--sampler <name>` | Image/music sampler; LightX2V FL2VA H3 Turbo: `euler\|er_sde\|sa_solver`; Ref2VA Turbo and FastH3 Turbo: `euler` only | LightX2V FL2VA H3 Turbo defaults to `er_sde` on Socket; CLI omits unless set |
299
299
  | `--control-type`, `--outpaint-position`, `--outpaint-aspect-ratio` | LTX v2v control mode and outpaint canvas controls (`ltx25-v2v` default) | - |
300
300
  | `--duration <sec>` | Video or music length | video 5, music 30 |
301
- | `--target-resolution <px>` | Short-side target preserving aspect ratio (use `2160` for Seedance 4K); on FastH3 Two-Stage the delivered size `720`, `1080`, or `2K` | - (Two-Stage: 2K) |
301
+ | `--target-resolution <px>` | Short-side target preserving aspect ratio (use `2160` for Seedance 4K); on FastH3 and Ref2VA Two-Stage the delivered size `720`, `1080`, or `2K` | - (Two-Stage: 2K) |
302
302
  | `--photobooth` | Face transfer mode (with `--ref`) | - |
303
303
  | `--persona <name>` | Use a saved persona (photo + voice auto-attach) | - |
304
304
  | `--token-type spark\|sogni\|auto` | `auto` retries native models with SOGNI when SPARK is low | spark |
@@ -361,9 +361,9 @@ tokens in that scoped reference rather than ordinary model recommendations.
361
361
 
362
362
  ### High-res video
363
363
 
364
- MiniMax H3 is an explicit model choice, not a universal default. Eighteen hosted workflow selectors expose **twenty-three prompt/input shapes**: T2VA, I2VA, L2VA, FL2VA, and Ref2VA in Standard, Balanced, and LightX2V Turbo form, plus T2VA/I2VA/L2VA/FL2VA on the separate FastH3 Turbo engine and again on FastH3 Two-Stage. L2VA deliberately reuses each engine's I2V selector: `-m minimax-h3-i2v --ref-end B`, `minimax-h3-i2v-balanced`, `minimax-h3-i2v-turbo`, or `minimax-h3-fasth3-i2v-turbo` supplies only the closing frame; never invent an `minimax-h3-l2v` model key. Use the matching I2V selector for one endpoint and FLF2V selector for both. Standard, Balanced, and LightX2V Turbo have explicit `minimax-h3-r2v*` selectors for loose references. `minimax-h3-fasth3-turbo`, `minimax-h3-fasth3-t2v-turbo`, `minimax-h3-fasth3-i2v-turbo`, and `minimax-h3-fasth3-flf2v-turbo` are FastVideo VSA routes and FastH3 has no R2V mode. Standard uses 20 steps; Balanced uses fixed 8-step Euler/simple acceleration, with LightX2V for FL2VA and Larry v4 for Ref2VA; both Turbo engines use 4 steps. The qualified FastH3 recipe is Euler/simple only and is about 2x faster than LightX2V Turbo and up to 6x faster than Standard for comparable 768p, 15-second requests; keep the existing `minimax-h3-*-turbo` selectors on LightX2V.
364
+ MiniMax H3 is an explicit model choice, not a universal default. Twenty hosted workflow selectors expose **twenty-five prompt/input shapes**: T2VA, I2VA, L2VA, FL2VA, and Ref2VA in Standard, Balanced, and LightX2V Turbo form, plus T2VA/I2VA/L2VA/FL2VA on the separate FastH3 Turbo engine and again on FastH3 Two-Stage, plus Standard and Balanced Ref2VA Two-Stage. L2VA deliberately reuses each engine's I2V selector: `-m minimax-h3-i2v --ref-end B`, `minimax-h3-i2v-balanced`, `minimax-h3-i2v-turbo`, or `minimax-h3-fasth3-i2v-turbo` supplies only the closing frame; never invent an `minimax-h3-l2v` model key. Use the matching I2V selector for one endpoint and FLF2V selector for both. Standard, Balanced, and LightX2V Turbo have explicit `minimax-h3-r2v*` selectors for loose references. `minimax-h3-fasth3-turbo`, `minimax-h3-fasth3-t2v-turbo`, `minimax-h3-fasth3-i2v-turbo`, and `minimax-h3-fasth3-flf2v-turbo` are FastVideo VSA routes and FastH3 has no R2V mode. Standard uses 20 steps; Balanced uses fixed 8-step Euler/simple acceleration, with LightX2V for FL2VA and Larry v4 for Ref2VA; both Turbo engines use 4 steps. The qualified FastH3 recipe is Euler/simple only and is about 2x faster than LightX2V Turbo and up to 6x faster than Standard for comparable 768p, 15-second requests; keep the existing `minimax-h3-*-turbo` selectors on LightX2V.
365
365
 
366
- H3 r2v accepts up to **9 images** (`--ref` then repeatable `-c`), **3 videos** (repeat `--ref-video`), and **3 audio clips** (repeat `--ref-audio`), with **12 files total** and at least one visual reference (image or video); it is never inferred. A video can be the only visual input, while audio alone is invalid. Address references as `<Picture 1>`, `<Video 1>`, and `<Audio 1>` in per-type submission order, give every reference one job, and never use `--ref-end` for r2v. Reference videos must themselves be exactly 24 fps; normalize other rates without changing duration or audio timing before submission. 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. `--no-generate-audio` strips 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). Standard, Balanced, LightX2V FL2VA Turbo, and FastH3 default to `1344x768`; Ref2VA Turbo defaults to `960x544`. Send no steps, guidance, scheduler, or negative prompt. Standard and Balanced accept no sampler override. LightX2V FL2VA H3 Turbo defaults to `er_sde` on Socket and permits explicit `euler`, `er_sde`, or `sa_solver` A/B variants; the CLI omits the sampler unless `--sampler` is passed. Ref2VA Turbo and FastH3 use Euler/simple only. Every H3 tier delivers the 768p-class canvas it renders — do not claim 2K for them. 1080p and 2K are only FastH3 Two-Stage: `minimax-h3-fasth3-turbo-2stage` (infers the frame mode like `minimax-h3-fasth3-turbo`) or `minimax-h3-fasth3-t2v-turbo-2stage` / `minimax-h3-fasth3-i2v-turbo-2stage` / `minimax-h3-fasth3-flf2v-turbo-2stage` renders FastH3 on a half-size canvas and delivers exactly twice it with the same frames and audio. `--target-resolution` names the delivered size: `2K` (default) renders 1344x768 → 2688x1536, `1080` renders 960x544 → 1920x1088, `720` renders 672x384 → 1344x768, in the prompt's or reference's aspect; any other value is refused. 1080p costs 10 Spark per second (FastH3 plus 6), 2K costs 16 (plus 12), 720p costs the FastH3 rate of 4, and it has no R2V. Use it when the user asks for 1080p, 1440p or 2K, two-stage, or the sharpest H3 output; keep ordinary 768p on the regular FastH3 selectors. If the server is not serving two-stage it refuses before charging, and the CLI prints that message unchanged. FastH3 keeps the FastVideo engine when an H3 LoRA is attached: base jobs require 23 GB and jobs with an H3 LoRA require 32 GB. The other FL2VA/Balanced/Turbo modes and image-only R2V require 32 GB-class workers, while video-conditioned R2V is reserved for workers above 40 GB. **FastH3 audio-to-video drives H3 with the user's own audio.** When the user supplies a voice, song, or soundtrack for an H3 video, use `-m minimax-h3-fasth3-ia2v-turbo --ref first.png --ref-audio track` (first frame + audio), `-m minimax-h3-fasth3-flfa2v-turbo --ref A --ref-end B --ref-audio track` (first and last frame + audio), or `-m minimax-h3-fasth3-a2v-turbo --ref-audio track` (audio only); `-m minimax-h3-fasth3-turbo --ref-audio track` picks the mode from the frames supplied. The upload drives the picture, lips included, from frame 0 and is the delivered soundtrack, trimmed to the clip: `--duration`/`--frames` set the length on the usual grid (up to 15.08 s) and `--audio-start` picks where the window begins. The CLI refuses LoRAs, `--audio-duration`, `--no-generate-audio`, and any upload the mode does not take. Every other H3 mode except r2v refuses `--ref-audio` and names the audio selector to use. Add `-2stage` (`minimax-h3-fasth3-ia2v-turbo-2stage`, …) for Two-Stage delivery with `--target-resolution`; like the other two-stage models, a server refusal is printed unchanged. Write any spoken words exactly as heard inside `<d>[Language] …</d>` so the text matches the audio. Use LTX `ltx25-ia2v`/`ltx25-a2v` when the user did not ask for H3.
366
+ H3 r2v accepts up to **9 images** (`--ref` then repeatable `-c`), **3 videos** (repeat `--ref-video`), and **3 audio clips** (repeat `--ref-audio`), with **12 files total** and at least one visual reference (image or video); it is never inferred. A video can be the only visual input, while audio alone is invalid. Address references as `<Picture 1>`, `<Video 1>`, and `<Audio 1>` in per-type submission order, give every reference one job, and never use `--ref-end` for r2v. Reference videos must themselves be exactly 24 fps; normalize other rates without changing duration or audio timing before submission. 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. `--no-generate-audio` strips 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). Standard, Balanced, LightX2V FL2VA Turbo, and FastH3 default to `1344x768`; Ref2VA Turbo defaults to `960x544`. Send no steps, guidance, scheduler, or negative prompt. Standard and Balanced accept no sampler override. LightX2V FL2VA H3 Turbo defaults to `er_sde` on Socket and permits explicit `euler`, `er_sde`, or `sa_solver` A/B variants; the CLI omits the sampler unless `--sampler` is passed. Ref2VA Turbo and FastH3 use Euler/simple only. Every one-stage H3 tier delivers the 768p-class canvas it renders — do not claim 2K for them. 1080p and 2K frame or text video is only FastH3 Two-Stage: `minimax-h3-fasth3-turbo-2stage` (infers the frame mode like `minimax-h3-fasth3-turbo`) or `minimax-h3-fasth3-t2v-turbo-2stage` / `minimax-h3-fasth3-i2v-turbo-2stage` / `minimax-h3-fasth3-flf2v-turbo-2stage` renders FastH3 on a half-size canvas and delivers exactly twice it with the same frames and audio. `--target-resolution` names the delivered size: `2K` (default) renders 1344x768 → 2688x1536, `1080` renders 960x544 → 1920x1088, `720` renders 672x384 → 1344x768, in the prompt's or reference's aspect; any other value is refused. 1080p costs 10 Spark per second (FastH3 plus 6), 2K costs 16 (plus 12), 720p costs the FastH3 rate of 4, and it has no R2V. **1080p and 2K reference-to-video is Ref2VA Two-Stage:** `minimax-h3-r2v-2stage` (Standard, 20 steps) and `minimax-h3-r2v-balanced-2stage` (Balanced, 8 steps) take exactly the references, limits, durations, LoRAs and prompt contract of `minimax-h3-r2v` / `minimax-h3-r2v-balanced`, are never Turbo, and read `--target-resolution` the same way (2K default, `1080`, `720`; the canvas is sized like FastH3 Two-Stage text-to-video, and a reference image never sets its aspect). Each bills its tier's reference rate plus the two-stage surcharge of the delivered class; quote it with `--estimate-video-cost`, which prices the `_2stage` id on the half canvas. Use Two-Stage when the user asks for 1080p, 1440p or 2K, two-stage, or the sharpest H3 output; keep ordinary 768p on the one-stage FastH3 or R2V selectors. If the server is not serving two-stage it refuses before charging, and the CLI prints that message unchanged. FastH3 keeps the FastVideo engine when an H3 LoRA is attached: base jobs require 23 GB and jobs with an H3 LoRA require 32 GB. The other FL2VA/Balanced/Turbo modes and image-only R2V require 32 GB-class workers, while video-conditioned R2V is reserved for workers above 40 GB. **FastH3 audio-to-video drives H3 with the user's own audio.** When the user supplies a voice, song, or soundtrack for an H3 video, use `-m minimax-h3-fasth3-ia2v-turbo --ref first.png --ref-audio track` (first frame + audio), `-m minimax-h3-fasth3-flfa2v-turbo --ref A --ref-end B --ref-audio track` (first and last frame + audio), or `-m minimax-h3-fasth3-a2v-turbo --ref-audio track` (audio only); `-m minimax-h3-fasth3-turbo --ref-audio track` picks the mode from the frames supplied. The upload drives the picture, lips included, from frame 0 and is the delivered soundtrack, trimmed to the clip: `--duration`/`--frames` set the length on the usual grid (up to 15.08 s) and `--audio-start` picks where the window begins. The CLI refuses LoRAs, `--audio-duration`, `--no-generate-audio`, and any upload the mode does not take. Every other H3 mode except r2v refuses `--ref-audio` and names the audio selector to use. Add `-2stage` (`minimax-h3-fasth3-ia2v-turbo-2stage`, …) for Two-Stage delivery with `--target-resolution`; like the other two-stage models, a server refusal is printed unchanged. Write any spoken words exactly as heard inside `<d>[Language] …</d>` so the text matches the audio. Use LTX `ltx25-ia2v`/`ltx25-a2v` when the user did not ask for H3.
367
367
 
368
368
  **Music-locked video is immutable.** When the user asks for the same/specific/original/trending song or choreography tied to it, never invent, imitate, recompose, remix, replace, or add a copyright-avoidance mutation. For H3 Ref2VA use `audio reuse`, `<Audio N>: fully_copy`, and explicit source action times; then stream-copy/remux the original soundtrack into the final deliverable. `audio reference` means a newly generated signal and is allowed only when explicitly requested. Ref2VA is loose conditioning: if edit-level choreography timing is mandatory, use a pose/edit-controlled workflow or stop before spending compute rather than promise exact sync.
369
369
 
@@ -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.51.1",
5
+ "version": "3.52.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",
@@ -2840,7 +2840,7 @@ const PROMPT_CONTRACTS = [
2840
2840
  "contractId": "generate_video_v1",
2841
2841
  "version": "1.4.0",
2842
2842
  "toolName": "generate_video",
2843
- "baseDescription": "generate_video produces text-to-video clips and multimodal reference videos.\nUse for text-only video generation with no source image input. For Seedance and Wan 3, also\nuse this tool when uploaded/generated images, videos, or audio are loose references. Use\nanimate_photo when a source image must become the first frame of an LTX/WAN animation.\n\nWAN 3: Use videoModel=\"wan3.0-video\" for explicit Wan 3 requests. The same canonical model\nsupports text, up to 10 reference images, 5 reference videos, and 5 reference audios. Refer\nto loose assets in English prompts as Image 1, Video 1, and Audio 1, numbered independently\nby type. Do not bracket or @-prefix these identifiers. Wan 3 renders 2-30 seconds at fixed\n30 fps, offers 480P/720P/1080P and 16:9/4:3/1:1/3:4/9:16, and can toggle native audio.\n\nMINIMAX H3 SOURCE AUDIO: Every H3 R2V call with a reference video or audio must set\nsourceAudioPolicy. A specific/original/trending song is immutable: use reuse_exact, author\nthe official audio reuse task plus fully_copy, keep choreography on explicit source times,\nand stream-copy/remux the original soundtrack after rendering. Never substitute, recompose,\nremix, or add a copyright-avoidance mutation. H3 reference videos must themselves be exactly\n24 fps; normalize other rates without changing duration/audio timing before submission.\nRef2VA cannot guarantee edit-level beat sync.\n\nSEEDANCE UPLOADED STORYBOARD DEFAULT: When the user uploads a storyboard, shot sheet,\nmood board, or trailer concept image and asks to make a movie trailer/video/clip from it,\ndefault to one Seedance generate_video call with referenceImageIndices=[-1]. Do not first\nextract panels with edit_image, do not generate replacement keyframes, and do not make four\nseparate LTX animate_photo clips unless the user explicitly asks for separate clips or LTX.\nUse seedance2 when premium Spark access is available; if premium access is unavailable,\nexplain the limitation or use the best non-Seedance fallback the user accepts.\n\nEXACT / INCLUDED VIDEO PROMPTS: If the user asks for a Seedance video using uploaded or\ngenerated references and says to use a prompt exactly, pass only that literal quoted prompt\nto generate_video and set skipPromptProcessing=true plus expandPrompt=false. Do not treat\nwords inside the literal prompt, such as storyboard, script, thumbnails, or panels, as a\nrequest to create a storyboard image. If the user includes a timecoded script inside a\nvideo request, keep it in the generate_video prompt. Explicit constraints like no storyboard\npanels, no subtitles, or no captions are constraints on the video render, not instructions\nto call edit_image or generate_image.\n\nSTORYTELLING / COMMERCIAL / TRAILER PROMPTS: For creative video requests, turn the brief\ninto timed, causally connected visual beats before writing the final prompt. Default social\nvideo is 15s 9:16 with a strong first 1-2s, visible escalation, payoff, and brand/CTA/final\nimage. Commercials should show audience desire/problem, transformation, proof/benefit, and\nCTA. Trailers should follow hook → world → disruption → escalation → reveal → title/CTA.\nEvery beat must be generatable: subject, setting, action, camera, lighting, audio, and text\nrole where relevant. Avoid vague \"cinematic\" filler, feature dumps, and beautiful images with\nno visible change.\n\nVIDEO PROMPT QUOTING: ONLY use double quotes for spoken dialogue in video prompts. Never\nquote on-screen text, titles, captions, or visual text elements — describe them without\nquotes. Quotes signal speech to the model and confuse audio generation.\n\nSTORYBOARD TEXT: Structural headings, section numbers, slide titles, panel titles, and\ncaptions in storyboard references may become short audio-only narration/VO or\nkey-message beats, but they are not subtitles, title cards, lower thirds, or visible\noverlays unless the user explicitly asks for visible text, on-screen text, a title\ncard, subtitle, lower third, signage, or CTA. Keep narration as separate brief phrases\nwith pauses; do not concatenate storyboard labels into run-on voiceover.\n\nDIALOGUE DURATION: Spoken dialogue must fit the clip. Estimate 3 words per second\nnatural delivery plus ~1s per acting beat. Hard maximum 3.75 words/second.\nCheck: dialogue words ÷ 3 + beats ≤ duration. Do not submit oversized dialogue.\n\nLATEST USER DURATION WINS: In follow-up turns, use the newest duration the user states,\neven if a previous assistant message mentioned a longer script/runtime. For example, if\nhistory says \"the full script is 66 seconds\" but the user now says \"do a 30 second version\",\ngenerate the 30 second version. Do not ask a clarification question just because history\ncontains another duration; treat the latest user request as the override.\n\nSEEDANCE SHORT-DURATION LIMIT: Seedance supports 4-15s clips. If the user explicitly asks\nfor Seedance below 4s, do not silently round up. Ask whether they prefer a 4s Seedance clip\nor an exact-duration LTX clip. If the user did not explicitly ask for Seedance, choose the\nmodel/tool that can satisfy the requested duration exactly.\n\nMINIMAX H3 TWO-STAGE OUTPUT: 1080p and 2K MiniMax H3 delivery is its own selector, not an option.\n\"minimax-h3-fasth3-t2v-turbo-2stage\" is the two-stage FastH3 engine: FastH3 renders the canvas,\nthen the worker enlarges it 2x and refines it, so the clip is delivered at twice the canvas width\nand height with the same length and audio. targetResolution names the delivered class: 1080\nrenders a 544px short-edge canvas (960x544 becomes 1920x1088) for 10 Spark per second, 1440 or\nomitted renders the 768p canvas for 2K (1344x768 becomes 2688x1536) for 16 Spark per second, and\n720 renders a 384px canvas (672x384 becomes 1344x768) for the regular FastH3 price of 4\nSpark per second. The estimate prices every request. It takes the same prompt contract, durations\nand LoRAs as \"minimax-h3-fasth3-t2v-turbo\". Choose it when the user asks for 1080p, 1440p or 2K\nMiniMax H3 output, for two-stage output, or for the sharpest/best H3 quality; for ordinary 768p\nFastH3 output keep the regular FastH3 selector at targetResolution 768. Never set 4K for H3.",
2843
+ "baseDescription": "generate_video produces text-to-video clips and multimodal reference videos.\nUse for text-only video generation with no source image input. For Seedance and Wan 3, also\nuse this tool when uploaded/generated images, videos, or audio are loose references. Use\nanimate_photo when a source image must become the first frame of an LTX/WAN animation.\n\nWAN 3: Use videoModel=\"wan3.0-video\" for explicit Wan 3 requests. The same canonical model\nsupports text, up to 10 reference images, 5 reference videos, and 5 reference audios. Refer\nto loose assets in English prompts as Image 1, Video 1, and Audio 1, numbered independently\nby type. Do not bracket or @-prefix these identifiers. Wan 3 renders 2-30 seconds at fixed\n30 fps, offers 480P/720P/1080P and 16:9/4:3/1:1/3:4/9:16, and can toggle native audio.\n\nMINIMAX H3 SOURCE AUDIO: Every H3 R2V call with a reference video or audio must set\nsourceAudioPolicy. A specific/original/trending song is immutable: use reuse_exact, author\nthe official audio reuse task plus fully_copy, keep choreography on explicit source times,\nand stream-copy/remux the original soundtrack after rendering. Never substitute, recompose,\nremix, or add a copyright-avoidance mutation. H3 reference videos must themselves be exactly\n24 fps; normalize other rates without changing duration/audio timing before submission.\nRef2VA cannot guarantee edit-level beat sync.\n\nSEEDANCE UPLOADED STORYBOARD DEFAULT: When the user uploads a storyboard, shot sheet,\nmood board, or trailer concept image and asks to make a movie trailer/video/clip from it,\ndefault to one Seedance generate_video call with referenceImageIndices=[-1]. Do not first\nextract panels with edit_image, do not generate replacement keyframes, and do not make four\nseparate LTX animate_photo clips unless the user explicitly asks for separate clips or LTX.\nUse seedance2 when premium Spark access is available; if premium access is unavailable,\nexplain the limitation or use the best non-Seedance fallback the user accepts.\n\nEXACT / INCLUDED VIDEO PROMPTS: If the user asks for a Seedance video using uploaded or\ngenerated references and says to use a prompt exactly, pass only that literal quoted prompt\nto generate_video and set skipPromptProcessing=true plus expandPrompt=false. Do not treat\nwords inside the literal prompt, such as storyboard, script, thumbnails, or panels, as a\nrequest to create a storyboard image. If the user includes a timecoded script inside a\nvideo request, keep it in the generate_video prompt. Explicit constraints like no storyboard\npanels, no subtitles, or no captions are constraints on the video render, not instructions\nto call edit_image or generate_image.\n\nSTORYTELLING / COMMERCIAL / TRAILER PROMPTS: For creative video requests, turn the brief\ninto timed, causally connected visual beats before writing the final prompt. Default social\nvideo is 15s 9:16 with a strong first 1-2s, visible escalation, payoff, and brand/CTA/final\nimage. Commercials should show audience desire/problem, transformation, proof/benefit, and\nCTA. Trailers should follow hook → world → disruption → escalation → reveal → title/CTA.\nEvery beat must be generatable: subject, setting, action, camera, lighting, audio, and text\nrole where relevant. Avoid vague \"cinematic\" filler, feature dumps, and beautiful images with\nno visible change.\n\nVIDEO PROMPT QUOTING: ONLY use double quotes for spoken dialogue in video prompts. Never\nquote on-screen text, titles, captions, or visual text elements — describe them without\nquotes. Quotes signal speech to the model and confuse audio generation.\n\nSTORYBOARD TEXT: Structural headings, section numbers, slide titles, panel titles, and\ncaptions in storyboard references may become short audio-only narration/VO or\nkey-message beats, but they are not subtitles, title cards, lower thirds, or visible\noverlays unless the user explicitly asks for visible text, on-screen text, a title\ncard, subtitle, lower third, signage, or CTA. Keep narration as separate brief phrases\nwith pauses; do not concatenate storyboard labels into run-on voiceover.\n\nDIALOGUE DURATION: Spoken dialogue must fit the clip. Estimate 3 words per second\nnatural delivery plus ~1s per acting beat. Hard maximum 3.75 words/second.\nCheck: dialogue words ÷ 3 + beats ≤ duration. Do not submit oversized dialogue.\n\nLATEST USER DURATION WINS: In follow-up turns, use the newest duration the user states,\neven if a previous assistant message mentioned a longer script/runtime. For example, if\nhistory says \"the full script is 66 seconds\" but the user now says \"do a 30 second version\",\ngenerate the 30 second version. Do not ask a clarification question just because history\ncontains another duration; treat the latest user request as the override.\n\nSEEDANCE SHORT-DURATION LIMIT: Seedance supports 4-15s clips. If the user explicitly asks\nfor Seedance below 4s, do not silently round up. Ask whether they prefer a 4s Seedance clip\nor an exact-duration LTX clip. If the user did not explicitly ask for Seedance, choose the\nmodel/tool that can satisfy the requested duration exactly.\n\nMINIMAX H3 TWO-STAGE OUTPUT: 1080p and 2K MiniMax H3 delivery is its own selector, not an option.\n\"minimax-h3-fasth3-t2v-turbo-2stage\" is the two-stage FastH3 engine: FastH3 renders the canvas,\nthen the worker enlarges it 2x and refines it, so the clip is delivered at twice the canvas width\nand height with the same length and audio. targetResolution names the delivered class: 1080\nrenders a 544px short-edge canvas (960x544 becomes 1920x1088) for 10 Spark per second, 1440 or\nomitted renders the 768p canvas for 2K (1344x768 becomes 2688x1536) for 16 Spark per second, and\n720 renders a 384px canvas (672x384 becomes 1344x768) for the regular FastH3 price of 4\nSpark per second. The estimate prices every request. It takes the same prompt contract, durations\nand LoRAs as \"minimax-h3-fasth3-t2v-turbo\". Choose it when the user asks for 1080p, 1440p or 2K\nMiniMax H3 output, for two-stage output, or for the sharpest/best H3 quality; for ordinary 768p\nFastH3 output keep the regular FastH3 selector at targetResolution 768. Never set 4K for H3.\nThe reference-to-video tiers have their own two-stage selectors: \"minimax-h3-r2v-2stage\" (Standard,\n20 steps) and \"minimax-h3-r2v-balanced-2stage\" (Balanced, 8 steps) take exactly the references, prompt\ncontract, durations and LoRAs of \"minimax-h3-r2v\" and \"minimax-h3-r2v-balanced\", deliver twice the\ncanvas, and read targetResolution the same way (1080, 1440 or omitted for 2K, 720); each bills its\ntier's rate plus the two-stage surcharge of the delivered class. Choose one when the user asks for\n1080p, 1440p or 2K MiniMax H3 reference-to-video output; keep the one-stage R2V selectors for 768p.",
2844
2844
  "parameterDocs": {
2845
2845
  "prompt": "Video prompt. Use double quotes ONLY for spoken dialogue. Describe visual text without quotes.",
2846
2846
  "duration": "Clip duration in seconds. Plan dialogue word count against the 3.75 words/second ceiling."
@@ -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.51.1",
5
+ "version": "3.52.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.51.1",
3
+ "version": "3.52.0",
4
4
  "description": "Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image, 3D, speech, video, and music generation.",
5
5
  "type": "module",
6
6
  "main": "sogni-agent.mjs",
@@ -100,13 +100,13 @@
100
100
  "media-utilities.mjs"
101
101
  ],
102
102
  "dependencies": {
103
- "@sogni-ai/sogni-intelligence-client": "4.2.1",
103
+ "@sogni-ai/sogni-intelligence-client": "4.3.2",
104
104
  "execa": "^10.0.1",
105
105
  "json5": "^2.2.3",
106
106
  "sharp": "0.35.4"
107
107
  },
108
108
  "overrides": {
109
- "@sogni-ai/sogni-client": "5.51.0"
109
+ "@sogni-ai/sogni-client": "5.53.1"
110
110
  },
111
111
  "openclaw": {
112
112
  "extensions": [
@@ -336,4 +336,4 @@ Submit these media tools as durable workflow steps (`toolName` and `arguments`)
336
336
 
337
337
  Negative indices address uploads (-1 first); non-negative indices address generated results. 3D views are from the subject's perspective: left means the subject's own left side faces camera (subject faces screen-left), right means screen-right. Supply original images of the same subject at consistent height and framing; any subset of the three orbit views enables multi-view reconstruction. Keep the GLB in the model artifact lane, never feed it into an image tool.
338
338
 
339
- For two-stage Turbo H3, use explicit `minimax-h3-fasth3-*-turbo-2stage` selectors on the relevant video tool with `targetResolution`. Audio-guided IA2V/FLFA2V/A2V selectors belong on `sound_to_video` and require the uploaded audio plus their named endpoint images. They preserve the supplied audio and reject LoRAs. Other H3 modes discover personal LoRAs through the [authenticated catalog](personal-loras.md).
339
+ For two-stage Turbo H3, use explicit `minimax-h3-fasth3-*-turbo-2stage` selectors on the relevant video tool with `targetResolution`. For 1080p or 2K reference-to-video, use `minimax-h3-r2v-2stage` (Standard) or `minimax-h3-r2v-balanced-2stage` (Balanced) on `generate_video` with the same references as `minimax-h3-r2v` and `targetResolution` naming the delivered size. Audio-guided IA2V/FLFA2V/A2V selectors belong on `sound_to_video` and require the uploaded audio plus their named endpoint images. They preserve the supplied audio and reject LoRAs. Other H3 modes discover personal LoRAs through the [authenticated catalog](personal-loras.md).
@@ -737,10 +737,11 @@ output. Supported ratios are `adaptive`, `16:9`, `9:16`, `1:1`, `4:3`, and
737
737
 
738
738
  ## MiniMax H3 models
739
739
 
740
- MiniMax H3 is a Sogni-hosted video family with **eighteen current selectors**:
740
+ MiniMax H3 is a Sogni-hosted video family with **twenty current selectors**:
741
741
  four Standard workflows, four 8-step Balanced workflows, four 4-step
742
- LightX2V Turbo workflows, three FastVideo VSA FastH3 Turbo workflows, and
743
- three FastH3 Two-Stage (720p/1080p/2K) workflows. Every one of those modes
742
+ LightX2V Turbo workflows, three FastVideo VSA FastH3 Turbo workflows,
743
+ three FastH3 Two-Stage (720p/1080p/2K) workflows, and two Ref2VA Two-Stage
744
+ (Standard and Balanced) workflows. Every one of those modes
744
745
  generates picture and **native 32 kHz stereo audio jointly**. FastH3 also has
745
746
  three audio-to-video modes, each with a Two-Stage form, that take the user's
746
747
  own audio instead; see [FastH3 audio-to-video](#fasth3-audio-to-video).
@@ -752,7 +753,10 @@ from your references. The Standard, Balanced, and LightX2V Turbo families accept
752
753
  an explicit `--workflow r2v`; FastH3 and FastH3 Two-Stage reject it.
753
754
  **`minimax-h3-r2v` is never inferred** — it runs a different checkpoint and must
754
755
  be asked for by name. Its Balanced and Turbo counterparts are
755
- `minimax-h3-r2v-balanced` and `minimax-h3-r2v-turbo`.
756
+ `minimax-h3-r2v-balanced` and `minimax-h3-r2v-turbo`, and Standard and Balanced
757
+ each have a two-stage form, `minimax-h3-r2v-2stage` and
758
+ `minimax-h3-r2v-balanced-2stage` (see "Ref2VA Two-Stage" below); those are
759
+ never inferred either.
756
760
  FastH3 has no R2V mode, so `--workflow r2v` is rejected with its generic selector.
757
761
 
758
762
  | Model | Mode | Use Case |
@@ -765,6 +769,8 @@ FastH3 has no R2V mode, so `--workflow r2v` is rejected with its generic selecto
765
769
  | `minimax-h3-i2v-balanced` | Balanced image-to-video | Fixed 8-step animation from one first frame |
766
770
  | `minimax-h3-flf2v-balanced` | Balanced first → last frame | Fixed 8-step interpolation between `--ref` and `--ref-end` |
767
771
  | `minimax-h3-r2v-balanced` | Balanced reference-to-video | Fixed 8-step Euler/simple Ref2VA from a labelled reference set |
772
+ | `minimax-h3-r2v-2stage` | Ref2VA Two-Stage | The `minimax-h3-r2v` request (20 steps) on a half-size canvas, delivered at twice it (2K default, 1080p or 720p) |
773
+ | `minimax-h3-r2v-balanced-2stage` | Balanced Ref2VA Two-Stage | The `minimax-h3-r2v-balanced` request (8 steps), delivered at twice the canvas |
768
774
  | `minimax-h3-turbo` / `minimax-h3-t2v-turbo` | Turbo text-to-video | 4-step prompt-only path; generic `minimax-h3-turbo` infers the frame workflow |
769
775
  | `minimax-h3-i2v-turbo` | Turbo image-to-video | 4-step animation from one first frame |
770
776
  | `minimax-h3-flf2v-turbo` | Turbo first → last frame | 4-step interpolation between `--ref` and `--ref-end` |
@@ -805,7 +811,9 @@ FastH3 Two-Stage has its own worker ids, `minimax-h3-fastvideo-int8_t2v_turbo_2s
805
811
  `minimax-h3-fastvideo-int8_i2v_turbo_2stage`, and `minimax-h3-fastvideo-int8_flf2v_turbo_2stage`,
806
812
  with the FastH3 request shape on a half-size canvas. Every output class (720p,
807
813
  1080p and 2K) uses the same `_2stage` id; `--target-resolution 720` sends it
808
- with the 384 px canvas.
814
+ with the 384 px canvas. Ref2VA Two-Stage likewise has one id per tier,
815
+ `minimax-h3-ref2va-fp8_r2v_2stage` (Standard) and
816
+ `minimax-h3-ref2va-fp8_r2v_balanced_2stage` (Balanced).
809
817
 
810
818
  The **fl2va** modes (t2v / i2v / flf2v) take image references only — they do not
811
819
  accept reference video or reference audio, because audio is generated natively.
@@ -858,17 +866,33 @@ video-conditioned R2V requires a worker above 40 GB.
858
866
  still delivered at twice. Any other value, 768 included, is refused. Other
859
867
  canvases up to a 544 px short edge add 6 Spark/s, and larger ones 12. Prices
860
868
  follow measured GPU time. Ordinary 768p output stays on the regular
861
- FastH3 selectors, and the other H3 tiers have no two-stage path. The summary
869
+ FastH3 selectors; of the other H3 tiers only Standard and Balanced Ref2VA have
870
+ a two-stage path (next item). The summary
862
871
  line and `--json` (`deliveredWidth`, `deliveredHeight`) report the delivered
863
872
  size. If the server is not serving two-stage, it refuses before charging and
864
873
  the CLI prints its message unchanged. This is Sogni's own path; MiniMax's
865
874
  hosted 2K stage is still not part of the open release. The retired
866
875
  `outputScale` request option is refused.
876
+ - **1080p and 2K reference-to-video is Ref2VA Two-Stage.** `-m minimax-h3-r2v-2stage` (Standard, 20 steps, worker id
877
+ `minimax-h3-ref2va-fp8_r2v_2stage`) and `-m minimax-h3-r2v-balanced-2stage`
878
+ (Balanced, 8 steps, `minimax-h3-ref2va-fp8_r2v_balanced_2stage`) send exactly
879
+ the request of `minimax-h3-r2v` / `minimax-h3-r2v-balanced` — the same loose
880
+ `--ref`/`-c` images, repeatable `--ref-video`/`--ref-audio`, reference limits,
881
+ durations, LoRAs and six-field prompt contract — on the half-size canvas, and
882
+ the platform delivers exactly twice it. They are never Turbo (no `--sampler`)
883
+ and never inferred. `--target-resolution` reads exactly as in the table above
884
+ (2K default renders 1344×768 → 2688×1536, `1080` renders 960×544 →
885
+ 1920×1088, `720` renders 672×384 → 1344×768); a reference image never sets the
886
+ canvas aspect, and explicit `-w`/`-h` are used as given. Each bills its
887
+ tier's reference rate plus the two-stage surcharge of the delivered class;
888
+ `--estimate-video-cost` quotes the `_2stage` id on the canvas it renders, and
889
+ the summary line and `--json` report the delivered size.
867
890
 
868
891
  ```bash
869
892
  sogni-agent -q --video -m minimax-h3 --duration 10 -w 1344 -h 768 -o ./video.mp4 "<three-field H3 prompt>"
870
893
  sogni-agent -q --video -m minimax-h3-fasth3-turbo-2stage --duration 8 -o ./video-2k.mp4 "<three-field H3 prompt>"
871
894
  sogni-agent -q --video -m minimax-h3-fasth3-turbo-2stage --target-resolution 1080 --duration 8 -o ./video-1080p.mp4 "<three-field H3 prompt>"
895
+ sogni-agent -q --video -m minimax-h3-r2v-2stage --ref identity.png -c wardrobe.png --ref-video motion.mp4 -o ./ref-2k.mp4 "<six-field Ref2VA prompt>"
872
896
  sogni-agent -q --video -m minimax-h3-i2v --ref first.png --duration 8 -o ./video.mp4 "<I2V preamble plus three-field H3 prompt>"
873
897
  sogni-agent -q --video -m minimax-h3-flf2v --ref first.png --ref-end last.png --duration 8 -o ./video.mp4 "<FLF2V preamble plus three-field H3 prompt>"
874
898
  sogni-agent -q --video -m minimax-h3-r2v --ref identity.png -c wardrobe.png --ref-video motion.mp4 --ref-audio voice.m4a -o ./video.mp4 "<six-field Ref2VA prompt>"
@@ -1160,6 +1184,7 @@ model recommendations.
1160
1184
  | MiniMax H3 FastH3 Turbo image-to-video | `minimax-h3-fasth3-i2v-turbo` with `--ref` |
1161
1185
  | MiniMax H3 FastH3 Turbo first frame → last frame | `minimax-h3-fasth3-flf2v-turbo` with `--ref A --ref-end B`; no R2V |
1162
1186
  | MiniMax H3 1080p or 2K (FastH3 Two-Stage, delivered at twice the canvas) | `minimax-h3-fasth3-turbo-2stage` (2K default; `--target-resolution 1080` or `720`), or `minimax-h3-fasth3-t2v-turbo-2stage` / `-i2v-turbo-2stage` / `-flf2v-turbo-2stage`; no R2V |
1187
+ | MiniMax H3 1080p or 2K reference-to-video (Ref2VA Two-Stage, delivered at twice the canvas) | `minimax-h3-r2v-2stage` (Standard) or `minimax-h3-r2v-balanced-2stage` (Balanced) with the same references as `minimax-h3-r2v`; 2K default, `--target-resolution 1080` or `720` |
1163
1188
  | MiniMax H3 video driven by the user's own voice or song | `minimax-h3-fasth3-ia2v-turbo` (`--ref` + `--ref-audio`), `minimax-h3-fasth3-flfa2v-turbo` (`--ref` + `--ref-end` + `--ref-audio`), or `minimax-h3-fasth3-a2v-turbo` (`--ref-audio`); add `-2stage` for Two-Stage |
1164
1189
  | Face lip-sync with uploaded audio | `wan_v2.2-14b-fp8_s2v_lightx2v` |
1165
1190
 
@@ -1174,7 +1199,7 @@ model recommendations.
1174
1199
  - **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.
1175
1200
  - For spoken dialogue, budget roughly 3 words per second plus about 1 second per meaningful acting beat or pause.
1176
1201
  - The CLI auto-normalizes video sizes to satisfy these constraints.
1177
- - Use `--target-resolution <px>` for bare resolution requests like "720p" — it targets the short side and preserves the inherited aspect ratio. On FastH3 Two-Stage it names the delivered size instead: `720`, `1080`, or `2K`/`1440` (the default).
1202
+ - Use `--target-resolution <px>` for bare resolution requests like "720p" — it targets the short side and preserves the inherited aspect ratio. On FastH3 and Ref2VA Two-Stage it names the delivered size instead: `720`, `1080`, or `2K`/`1440` (the default).
1178
1203
  - Natural-language aspect requests like "portrait", "square", "16:9", or "9:16" are inferred when width/height aren't explicitly set. Combined requests like "720p 9:16" keep the requested short side while applying the requested shape.
1179
1204
  - For i2v (and any workflow using `--ref` / `--ref-end`), the client wrapper resizes the reference image with strict aspect-fit (`fit: inside`) and uses the *resized* dimensions as the final video size. Because that resize uses rounding, a "valid" requested size can still produce an invalid final size (example: `1024×1536` requested, but the ref becomes `1024×1535`). The CLI detects this for local refs and auto-adjusts to a nearby safe size.
1180
1205
  - Pass `--strict-size` to fail instead — the CLI prints a suggested size.
@@ -127,7 +127,8 @@ This guidance follows MiniMax's official H3 prompt-writing skill from
127
127
  `-m minimax-h3-fasth3-turbo-2stage` (or `minimax-h3-fasth3-t2v-turbo-2stage`,
128
128
  `minimax-h3-fasth3-i2v-turbo-2stage`, `minimax-h3-fasth3-flf2v-turbo-2stage`)
129
129
  renders FastH3 on a half-size canvas and delivers the clip at exactly twice
130
- it with the same length and audio; no other H3 tier delivers above 768p.
130
+ it with the same length and audio; apart from Ref2VA Two-Stage (below), no
131
+ other H3 tier delivers above 768p.
131
132
  `--target-resolution` names the delivered size: `2K` (or `1440`, the default)
132
133
  renders 1344×768 → 2688×1536, `1080` renders 960×544 → 1920×1088, and `720`
133
134
  renders 672×384 → 1344×768, in the prompt's or reference's aspect; any other
@@ -137,6 +138,16 @@ This guidance follows MiniMax's official H3 prompt-writing skill from
137
138
  when the user asks for 1080p, 1440p or 2K H3 output, two-stage, or the
138
139
  sharpest H3 output; ordinary 768p stays on the regular FastH3 selectors. The
139
140
  prompt contract is FastH3's.
141
+ - **1080p and 2K reference-to-video is Ref2VA Two-Stage.**
142
+ `-m minimax-h3-r2v-2stage` (Standard, 20 steps) and
143
+ `-m minimax-h3-r2v-balanced-2stage` (Balanced, 8 steps) take exactly the
144
+ references, limits, durations, LoRAs and six-field Ref2VA prompt contract of
145
+ `minimax-h3-r2v` / `minimax-h3-r2v-balanced`, render the half-size canvas and
146
+ deliver twice it. `--target-resolution` reads as above (2K default, `1080`,
147
+ `720`); a reference image never sets the canvas aspect. Each bills its
148
+ tier's reference rate plus the two-stage surcharge of the delivered class;
149
+ quote it with `--estimate-video-cost`. Keep ordinary 768p reference video on
150
+ the one-stage R2V selectors.
140
151
  - **20 steps for Standard; 8 for Balanced; 4 for both Turbo engines; guidance/CFG 1.** Do not
141
152
  send steps, guidance, scheduler, or a **negative prompt**. Standard and
142
153
  Balanced accept no sampler override; Balanced is fixed to Euler/simple.
@@ -3,12 +3,12 @@
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@sogni-ai/sogni-intelligence-client": "4.2.1",
6
+ "@sogni-ai/sogni-intelligence-client": "4.3.2",
7
7
  "execa": "^10.0.1",
8
8
  "json5": "^2.2.3",
9
9
  "sharp": "0.35.4"
10
10
  },
11
11
  "overrides": {
12
- "@sogni-ai/sogni-client": "5.51.0"
12
+ "@sogni-ai/sogni-client": "5.53.1"
13
13
  }
14
14
  }
package/sogni-agent.mjs CHANGED
@@ -2372,6 +2372,8 @@ const MINIMAX_H3_MODEL_MODES = new Map([
2372
2372
  ['minimax-h3-fl2va-fp8_i2v_balanced', 'i2v'],
2373
2373
  ['minimax-h3-fl2va-fp8_flf2v_balanced', 'flf2v'],
2374
2374
  ['minimax-h3-ref2va-fp8_r2v_balanced', 'r2v'],
2375
+ ['minimax-h3-ref2va-fp8_r2v_2stage', 'r2v'],
2376
+ ['minimax-h3-ref2va-fp8_r2v_balanced_2stage', 'r2v'],
2375
2377
  ['minimax-h3-fastvideo-int8_t2v_turbo', 't2v'],
2376
2378
  ['minimax-h3-fastvideo-int8_i2v_turbo', 'i2v'],
2377
2379
  ['minimax-h3-fastvideo-int8_flf2v_turbo', 'flf2v'],
@@ -2453,6 +2455,14 @@ const MINIMAX_H3_TURBO_SAMPLER_SET = new Set(MINIMAX_H3_TURBO_SAMPLERS);
2453
2455
  const MINIMAX_H3_R2V_MODEL_ID = 'minimax-h3-ref2va-fp8_r2v';
2454
2456
  const MINIMAX_H3_R2V_TURBO_MODEL_ID = 'minimax-h3-ref2va-fp8_r2v_turbo';
2455
2457
  const MINIMAX_H3_R2V_BALANCED_MODEL_ID = 'minimax-h3-ref2va-fp8_r2v_balanced';
2458
+ // Ref2VA Two-Stage: the Standard (20-step) or Balanced (8-step) R2V request on
2459
+ // its own id, rendered on the FastH3 Two-Stage canvas (384, 544 or 768 px short
2460
+ // edge) and delivered at exactly twice it. Never Turbo; references, durations
2461
+ // and LoRAs are its one-stage tier's.
2462
+ const MINIMAX_H3_R2V_TWO_STAGE_MODEL_ID = 'minimax-h3-ref2va-fp8_r2v_2stage';
2463
+ const MINIMAX_H3_R2V_BALANCED_TWO_STAGE_MODEL_ID = 'minimax-h3-ref2va-fp8_r2v_balanced_2stage';
2464
+ const MINIMAX_H3_R2V_SELECTOR_HINT = 'Reference-to-video is -m minimax-h3-r2v, -r2v-balanced or -r2v-turbo; '
2465
+ + 'for 1080p or 2K use -m minimax-h3-r2v-2stage or minimax-h3-r2v-balanced-2stage.';
2456
2466
  const MINIMAX_H3_REFERENCE_LIMITS = Object.freeze({
2457
2467
  images: 9,
2458
2468
  videos: 3,
@@ -2558,7 +2568,8 @@ function resolveSkillVideoModelAlias(
2558
2568
  if (workflow === 'r2v') {
2559
2569
  fatalCliError('MiniMax H3 FastH3 Turbo has no r2v workflow.', {
2560
2570
  code: 'INVALID_ARGUMENT',
2561
- details: { model: modelId, workflow }
2571
+ details: { model: modelId, workflow },
2572
+ hint: MINIMAX_H3_R2V_SELECTOR_HINT
2562
2573
  });
2563
2574
  }
2564
2575
  if (workflow === 'i2v') {
@@ -2590,7 +2601,8 @@ function resolveSkillVideoModelAlias(
2590
2601
  if (workflow === 'r2v') {
2591
2602
  fatalCliError('MiniMax H3 FastH3 Two-Stage has no r2v workflow.', {
2592
2603
  code: 'INVALID_ARGUMENT',
2593
- details: { model: modelId, workflow }
2604
+ details: { model: modelId, workflow },
2605
+ hint: MINIMAX_H3_R2V_SELECTOR_HINT
2594
2606
  });
2595
2607
  }
2596
2608
  if (workflow === 'i2v') {
@@ -2638,6 +2650,8 @@ function resolveSkillVideoModelAlias(
2638
2650
  if (normalized === 'minimax-h3-r2v-balanced') {
2639
2651
  return MINIMAX_H3_R2V_BALANCED_MODEL_ID;
2640
2652
  }
2653
+ if (normalized === 'minimax-h3-r2v-2stage') return MINIMAX_H3_R2V_TWO_STAGE_MODEL_ID;
2654
+ if (normalized === 'minimax-h3-r2v-balanced-2stage') return MINIMAX_H3_R2V_BALANCED_TWO_STAGE_MODEL_ID;
2641
2655
  return normalized === '10eros' || normalized === 'ltx23-eros'
2642
2656
  ? LTX23_10EROS_MODEL_ID
2643
2657
  : modelId;
@@ -2672,7 +2686,10 @@ const MINIMAX_H3_TWO_STAGE_CANVAS_MODE = Object.freeze({ ia2v: 'i2v', flfa2v: 'f
2672
2686
  */
2673
2687
  function miniMaxH3TwoStageCanvas(modelId, deliveredClass, sourceWidth, sourceHeight, aspectRatio) {
2674
2688
  const mode = miniMaxH3ModeFromModelId(modelId);
2675
- const selector = `minimax-h3-fasth3-${MINIMAX_H3_TWO_STAGE_CANVAS_MODE[mode] || mode}-turbo-2stage`;
2689
+ // Ref2VA Two-Stage has its own size table entries with the same 384/544/768 canvases.
2690
+ const selector = mode === 'r2v'
2691
+ ? miniMaxH3R2vTwoStageSelector(modelId)
2692
+ : `minimax-h3-fasth3-${MINIMAX_H3_TWO_STAGE_CANVAS_MODE[mode] || mode}-turbo-2stage`;
2676
2693
  return calculateSharedVideoDimensions(sourceWidth, sourceHeight, deliveredClass, selector, aspectRatio || undefined);
2677
2694
  }
2678
2695
 
@@ -2692,7 +2709,17 @@ function isMiniMaxH3R2vModel(modelId) {
2692
2709
  const normalized = String(modelId || '').trim().toLowerCase();
2693
2710
  return normalized === MINIMAX_H3_R2V_MODEL_ID
2694
2711
  || normalized === MINIMAX_H3_R2V_TURBO_MODEL_ID
2695
- || normalized === MINIMAX_H3_R2V_BALANCED_MODEL_ID;
2712
+ || normalized === MINIMAX_H3_R2V_BALANCED_MODEL_ID
2713
+ || normalized === MINIMAX_H3_R2V_TWO_STAGE_MODEL_ID
2714
+ || normalized === MINIMAX_H3_R2V_BALANCED_TWO_STAGE_MODEL_ID;
2715
+ }
2716
+
2717
+ // The Intelligence Client selector for a Ref2VA Two-Stage selector or id.
2718
+ function miniMaxH3R2vTwoStageSelector(modelId) {
2719
+ const normalized = String(modelId || '').trim().toLowerCase();
2720
+ return normalized === 'minimax-h3-r2v-balanced-2stage' || normalized === MINIMAX_H3_R2V_BALANCED_TWO_STAGE_MODEL_ID
2721
+ ? 'minimax-h3-r2v-balanced-2stage'
2722
+ : 'minimax-h3-r2v-2stage';
2696
2723
  }
2697
2724
 
2698
2725
  function isMiniMaxH3R2vTurboSelectionLocal(modelId, workflow = null) {
@@ -2754,6 +2781,8 @@ function isMiniMaxH3ModelSelectionLocal(modelId) {
2754
2781
  || normalized === 'minimax-h3-i2v-balanced'
2755
2782
  || normalized === 'minimax-h3-flf2v-balanced'
2756
2783
  || normalized === 'minimax-h3-r2v-balanced'
2784
+ || normalized === 'minimax-h3-r2v-2stage'
2785
+ || normalized === 'minimax-h3-r2v-balanced-2stage'
2757
2786
  || isMiniMaxH3Model(normalized);
2758
2787
  }
2759
2788
 
@@ -2796,6 +2825,8 @@ function miniMaxH3ModeFromModelId(modelId) {
2796
2825
  if (normalized === 'minimax-h3-i2v-balanced') return 'i2v';
2797
2826
  if (normalized === 'minimax-h3-flf2v-balanced') return 'flf2v';
2798
2827
  if (normalized === 'minimax-h3-r2v-balanced') return 'r2v';
2828
+ if (normalized === 'minimax-h3-r2v-2stage') return 'r2v';
2829
+ if (normalized === 'minimax-h3-r2v-balanced-2stage') return 'r2v';
2799
2830
  if (MINIMAX_H3_AUDIO_GUIDE_SELECTORS.has(normalized)) {
2800
2831
  return MINIMAX_H3_MODEL_MODES.get(MINIMAX_H3_AUDIO_GUIDE_SELECTORS.get(normalized));
2801
2832
  }
@@ -4508,7 +4539,7 @@ Video Options:
4508
4539
  --duration <sec> Duration in seconds (default: 5); Seedance 2.5 edit requires @Video1's source duration
4509
4540
  --frames <num> Override total frames (optional)
4510
4541
  --target-resolution <px> Short-side target that preserves aspect ratio (Seedance 2.5: 480, 720 or 1080).
4511
- MiniMax H3 FastH3 Two-Stage: the delivered size, 720, 1080, or 2K (1440; default),
4542
+ MiniMax H3 FastH3 and Ref2VA Two-Stage: the delivered size, 720, 1080, or 2K (1440; default),
4512
4543
  rendered on a half-size canvas (672x384, 960x544, 1344x768)
4513
4544
  --auto-resize-assets Auto-resize video reference assets (default)
4514
4545
  --no-auto-resize-assets Disable auto-resize for video assets
@@ -4768,6 +4799,10 @@ state negatives in the structured prompt.):
4768
4799
  minimax-h3-i2v-balanced Balanced I2VA (--ref) or L2VA (--ref-end)
4769
4800
  minimax-h3-flf2v-balanced Balanced first-frame -> last-frame (--ref plus --ref-end)
4770
4801
  minimax-h3-r2v-balanced Balanced Ref2VA with loose image/video/audio references
4802
+ minimax-h3-r2v-2stage Ref2VA Two-Stage: the minimax-h3-r2v request (20 steps), delivered at twice the
4803
+ canvas, 2K by default (1344x768 -> 2688x1536); --target-resolution 1080 or 720
4804
+ minimax-h3-r2v-balanced-2stage Balanced Ref2VA Two-Stage: the minimax-h3-r2v-balanced request (8 steps),
4805
+ delivered at twice the canvas like minimax-h3-r2v-2stage
4771
4806
  minimax-h3-turbo 4-step LightX2V Turbo; --ref selects I2VA, --ref-end L2VA, and both FL2VA
4772
4807
  minimax-h3-t2v-turbo 4-step LightX2V Turbo text-to-video
4773
4808
  minimax-h3-i2v-turbo 4-step LightX2V Turbo I2VA (--ref) or L2VA (--ref-end)
@@ -5511,7 +5546,9 @@ if (options.video) {
5511
5546
  }
5512
5547
 
5513
5548
  // Standard, Balanced, and LightX2V Turbo each have four concrete worker
5514
- // selectors; FastH3 has three and deliberately has no r2v. The FL2VA and
5549
+ // selectors (Standard and Balanced r2v also have a two-stage id, picked only
5550
+ // by its own minimax-h3-r2v[-balanced]-2stage selector); FastH3 has three and
5551
+ // deliberately has no r2v. The FL2VA and
5515
5552
  // FastVideo checkpoints cover t2v, first-frame i2v, last-frame-only
5516
5553
  // l2v, and first/last-frame (represented by the CLI's i2v workflow); Ref2VA
5517
5554
  // is a separate r2v checkpoint and is never inferred from loose references.
@@ -5780,15 +5817,18 @@ if (options.music) {
5780
5817
  options.steps = videoQuality.steps;
5781
5818
  }
5782
5819
  }
5783
- // MiniMax H3 FastH3 Two-Stage: --target-resolution names the delivered class
5784
- // (720, 1080, or 1440/2K; omitted is 2K) and the canvas is half of it, from the
5785
- // Intelligence Client's size table. Anything else is refused, never guessed.
5820
+ // MiniMax H3 Two-Stage (FastH3 and Ref2VA): --target-resolution names the
5821
+ // delivered class (720, 1080, or 1440/2K; omitted is 2K) and the canvas is half
5822
+ // of it, from the Intelligence Client's size table. Anything else is refused,
5823
+ // never guessed.
5786
5824
  const isTwoStageVideo = isMiniMaxH3TwoStageModel(options.model);
5787
5825
  if (cliSet.targetResolution2K && !isTwoStageVideo) {
5788
- fatalCliError(`--target-resolution 2K is the MiniMax H3 FastH3 Two-Stage delivered size; ${options.model} takes a short side in pixels.`, {
5826
+ fatalCliError(`--target-resolution 2K is the MiniMax H3 Two-Stage delivered size; ${options.model} takes a short side in pixels.`, {
5789
5827
  code: 'INVALID_ARGUMENT',
5790
5828
  details: { flag: '--target-resolution', value: '2K', model: options.model },
5791
- hint: 'Use -m minimax-h3-fasth3-turbo-2stage for 2K MiniMax H3 video, or pass the short side in pixels.'
5829
+ hint: isMiniMaxH3R2vModel(options.model)
5830
+ ? 'Use -m minimax-h3-r2v-2stage (or minimax-h3-r2v-balanced-2stage) for 2K MiniMax H3 reference-to-video, or pass the short side in pixels.'
5831
+ : 'Use -m minimax-h3-fasth3-turbo-2stage for 2K MiniMax H3 video, or pass the short side in pixels.'
5792
5832
  });
5793
5833
  }
5794
5834
  const hasExplicitVideoCanvas = cliSet.width || cliSet.height || widthFromConfig || heightFromConfig || widthFromPrompt || heightFromPrompt;
@@ -5800,7 +5840,7 @@ if (options.music) {
5800
5840
  fatalCliError(`${error.message}.`, {
5801
5841
  code: 'INVALID_ARGUMENT',
5802
5842
  details: { flag: '--target-resolution', value: requestedClass, model: options.model },
5803
- hint: 'MiniMax H3 FastH3 Two-Stage --target-resolution is the delivered size: 720, 1080, or 2K (1440). Omit it for 2K.'
5843
+ hint: 'MiniMax H3 Two-Stage --target-resolution is the delivered size: 720, 1080, or 2K (1440). Omit it for 2K.'
5804
5844
  });
5805
5845
  }
5806
5846
  options._miniMaxH3TwoStageClass = requestedClass;
@@ -13934,8 +13974,9 @@ async function main() {
13934
13974
  if (isMiniMaxH3TwoStageModel(options.model) && !options.quiet) {
13935
13975
  // Two-stage renders this canvas and delivers twice it: same frames and audio.
13936
13976
  const delivered = minimaxH3TwoStageDeliveredSize(projectConfig.width, projectConfig.height);
13977
+ const twoStageLabel = isMiniMaxH3R2vModel(options.model) ? 'Ref2VA Two-Stage' : 'FastH3 Two-Stage';
13937
13978
  console.error(
13938
- `MiniMax H3 FastH3 Two-Stage: delivered at ${delivered.width}x${delivered.height} ` +
13979
+ `MiniMax H3 ${twoStageLabel}: delivered at ${delivered.width}x${delivered.height} ` +
13939
13980
  `(twice the ${projectConfig.width}x${projectConfig.height} canvas), same length and audio.`
13940
13981
  );
13941
13982
  }
package/version.mjs CHANGED
@@ -1 +1 @@
1
- export const PACKAGE_VERSION = '3.51.1';
1
+ export const PACKAGE_VERSION = '3.52.0';