@sogni-ai/sogni-creative-agent-skill 3.49.0 → 3.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/sogni-creative-agent-skill/SKILL.md +10 -3
- package/.agents/skills/sogni-creative-agent-skill/references/h3-video-loras.md +5 -0
- package/.agents/skills/sogni-creative-agent-skill/references/interactive-worlds.md +15 -1
- package/.agents/skills/sogni-creative-agent-skill/references/models.md +104 -11
- package/.agents/skills/sogni-creative-agent-skill/references/video-prompting.md +13 -0
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +18 -0
- package/README.md +13 -1
- package/SKILL.md +6 -6
- package/desktop-extension/manifest.json +1 -1
- package/desktop-extension/server/tools.mjs +3 -0
- package/generated/creative-agent-runtime.mjs +4 -3
- package/llm.txt +5 -2
- package/media-utilities.mjs +38 -5
- package/openclaw.plugin.json +1 -1
- package/package.json +3 -3
- package/plugin-skills/sogni-creative-agent/SKILL.md +6 -1
- package/references/h3-video-loras.md +5 -0
- package/references/interactive-worlds.md +15 -1
- package/references/models.md +104 -11
- package/references/video-prompting.md +13 -0
- package/skill-package.json +4 -1
- package/sogni-agent.mjs +275 -41
- package/version.mjs +1 -1
package/media-utilities.mjs
CHANGED
|
@@ -4,6 +4,8 @@ import {
|
|
|
4
4
|
} from '@sogni-ai/sogni-intelligence-client/media';
|
|
5
5
|
|
|
6
6
|
export const PIXAL3D_MODEL_ID = 'pixal3d_int8_i23d';
|
|
7
|
+
// A front view (--image-to-3d) plus any subset of three orbit views.
|
|
8
|
+
export const PIXAL3D_MULTIVIEW_MODEL_ID = 'pixal3d_multiview_int8_i23d';
|
|
7
9
|
export const BIREFNET_MODEL_ID = 'birefnet_image_background_removal_fp16';
|
|
8
10
|
export const MUSIC3_MODEL_ID = MusicModel.best;
|
|
9
11
|
export const MUSIC3_DEFAULTS = MUSIC_MODELS.best;
|
|
@@ -14,6 +16,17 @@ export const SPEECH_VALUE_FLAGS = {
|
|
|
14
16
|
'--voice-reference': 'voiceReference', '--voice-transcript': 'voiceTranscript'
|
|
15
17
|
};
|
|
16
18
|
|
|
19
|
+
// Pixal3D multi-view orbit views, named by the SUBJECT's own sides, not the
|
|
20
|
+
// viewer's: --left-view shows the subject turned so its own left side faces the
|
|
21
|
+
// camera (it faces screen-left), --right-view its own right side (it faces
|
|
22
|
+
// screen-right), --back-view the subject from behind. Templates that label the
|
|
23
|
+
// subject's right side "left" build a model turned 180 degrees.
|
|
24
|
+
export const PIXAL3D_VIEW_FLAGS = {
|
|
25
|
+
'--left-view': 'leftViewImage',
|
|
26
|
+
'--back-view': 'backViewImage',
|
|
27
|
+
'--right-view': 'rightViewImage'
|
|
28
|
+
};
|
|
29
|
+
|
|
17
30
|
export const MESH_FLAGS = {
|
|
18
31
|
'--mesh-faces': ['meshTargetFaces', 5000, 700000],
|
|
19
32
|
'--texture-size': ['textureSize', 1024, 4096],
|
|
@@ -31,7 +44,14 @@ export function prepareMediaUtilityOptions(options, explicit) {
|
|
|
31
44
|
options.speech = true;
|
|
32
45
|
options.speechMode = selectedSpeechMode;
|
|
33
46
|
}
|
|
47
|
+
const orbitViews = Object.keys(options.pixal3dViews);
|
|
34
48
|
if (options.model === PIXAL3D_MODEL_ID && !options.imageTo3d) fail('Pixal3D requires --image-to-3d <original-image>.');
|
|
49
|
+
if (options.model === PIXAL3D_MULTIVIEW_MODEL_ID && !options.imageTo3d) {
|
|
50
|
+
fail('Pixal3D multi-view requires --image-to-3d <front-view-image> plus --left-view, --back-view and/or --right-view.');
|
|
51
|
+
}
|
|
52
|
+
if (orbitViews.length && !options.imageTo3d) {
|
|
53
|
+
fail('--left-view, --back-view and --right-view add views to --image-to-3d, which takes the front view.');
|
|
54
|
+
}
|
|
35
55
|
if (options.model === BIREFNET_MODEL_ID && !options.removeBackground) fail('BiRefNet requires --remove-background <original-image>.');
|
|
36
56
|
if (Object.keys(options.meshSettings).length && !options.imageTo3d) fail('Mesh settings require --image-to-3d.');
|
|
37
57
|
if (options.matte && !options.removeBackground) fail('--matte requires --remove-background.');
|
|
@@ -74,8 +94,18 @@ export function prepareMediaUtilityOptions(options, explicit) {
|
|
|
74
94
|
if (options.prompt) fail('Pixal3D and BiRefNet are promptless; supply only the original image.');
|
|
75
95
|
if (options.count !== 1) fail('Image utilities accept one image and produce one result; --count must be 1.');
|
|
76
96
|
if (explicit.musicLanguage || explicit.seed || options.lastSeed) fail('Image utilities do not accept language or seed controls.');
|
|
77
|
-
const model = options.imageTo3d
|
|
78
|
-
|
|
97
|
+
const model = options.imageTo3d
|
|
98
|
+
? (orbitViews.length ? PIXAL3D_MULTIVIEW_MODEL_ID : PIXAL3D_MODEL_ID)
|
|
99
|
+
: BIREFNET_MODEL_ID;
|
|
100
|
+
if (explicit.model && options.model !== model) {
|
|
101
|
+
if (options.model === PIXAL3D_MULTIVIEW_MODEL_ID) {
|
|
102
|
+
fail(`${PIXAL3D_MULTIVIEW_MODEL_ID} needs --left-view, --back-view and/or --right-view; a front image alone uses ${PIXAL3D_MODEL_ID}.`);
|
|
103
|
+
}
|
|
104
|
+
if (options.model === PIXAL3D_MODEL_ID && orbitViews.length) {
|
|
105
|
+
fail(`${PIXAL3D_MODEL_ID} reconstructs from one image; orbit views use ${PIXAL3D_MULTIVIEW_MODEL_ID}.`);
|
|
106
|
+
}
|
|
107
|
+
fail('--model conflicts with the selected image utility.');
|
|
108
|
+
}
|
|
79
109
|
options.model = model;
|
|
80
110
|
const format = options.imageTo3d ? 'glb' : 'png';
|
|
81
111
|
if (options.outputFormat && options.outputFormat.toLowerCase() !== format) fail(`This mode produces ${format.toUpperCase()} only.`);
|
|
@@ -90,11 +120,12 @@ export function prepareMediaUtilityOptions(options, explicit) {
|
|
|
90
120
|
}
|
|
91
121
|
}
|
|
92
122
|
|
|
93
|
-
|
|
123
|
+
// viewBytes maps leftViewImage/backViewImage/rightViewImage to image bytes.
|
|
124
|
+
export function imageUtilityConfig(options, bytes, viewBytes = {}) {
|
|
94
125
|
return {
|
|
95
126
|
modelId: options.model, positivePrompt: '', startingImage: bytes,
|
|
96
127
|
numberOfMedia: 1, tokenType: options.tokenType || 'spark', waitForCompletion: false,
|
|
97
|
-
...(options.imageTo3d ? { ...options.meshSettings } : { applyMask: !options.matte, outputFormat: 'png' })
|
|
128
|
+
...(options.imageTo3d ? { ...options.meshSettings, ...viewBytes } : { applyMask: !options.matte, outputFormat: 'png' })
|
|
98
129
|
};
|
|
99
130
|
}
|
|
100
131
|
|
|
@@ -119,7 +150,9 @@ export function utilityResultMetadata(options) {
|
|
|
119
150
|
...(options.voiceReference ? { voiceReference: options.voiceReference } : {}),
|
|
120
151
|
...(options.voiceTranscript ? { voiceTranscript: options.voiceTranscript } : {}),
|
|
121
152
|
...(options.speechCreativity !== null ? { creativity: options.speechCreativity } : {}) };
|
|
122
|
-
if (options.imageTo3d) return { sourceImage: options.imageTo3d,
|
|
153
|
+
if (options.imageTo3d) return { sourceImage: options.imageTo3d,
|
|
154
|
+
...(Object.keys(options.pixal3dViews).length ? { orbitViews: { ...options.pixal3dViews } } : {}),
|
|
155
|
+
meshSettings: { shapeResolution: 1024, ...options.meshSettings } };
|
|
123
156
|
if (options.removeBackground) return { sourceImage: options.removeBackground, applyMask: !options.matte };
|
|
124
157
|
return {};
|
|
125
158
|
}
|
package/openclaw.plugin.json
CHANGED
|
@@ -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.
|
|
5
|
+
"version": "3.50.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.
|
|
3
|
+
"version": "3.50.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.
|
|
103
|
+
"@sogni-ai/sogni-intelligence-client": "4.1.0",
|
|
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.
|
|
109
|
+
"@sogni-ai/sogni-client": "5.50.0"
|
|
110
110
|
},
|
|
111
111
|
"openclaw": {
|
|
112
112
|
"extensions": [
|
|
@@ -69,8 +69,13 @@ It covers Seedance 2.5 1080p (including edit/extend), FastH3 Two-Stage delivered
|
|
|
69
69
|
and image upscale limits. Honor an explicitly selected model and resolution.
|
|
70
70
|
For FastH3, read `../../references/video-prompting.md` before writing its
|
|
71
71
|
ordered-field prompt; select the Two-Stage model for higher delivered sizes.
|
|
72
|
+
To drive H3 with the user's own voice or song, use FastH3 audio-to-video:
|
|
73
|
+
`-m minimax-h3-fasth3-ia2v-turbo --ref first.png --ref-audio track.m4a`
|
|
74
|
+
(`-flfa2v-turbo` adds `--ref-end`, `-a2v-turbo` takes the audio alone).
|
|
72
75
|
|
|
73
|
-
Pixal3D: `--image-to-3d original.png --mesh-faces 30000 -o object.glb
|
|
76
|
+
Pixal3D: `--image-to-3d original.png --mesh-faces 30000 -o object.glb`; add
|
|
77
|
+
`--left-view`, `--back-view` and/or `--right-view` for multi-view (named by the
|
|
78
|
+
subject's own sides: the left view shows it facing screen-left).
|
|
74
79
|
BiRefNet: `--remove-background original.png -o cutout.png`; add `--matte`
|
|
75
80
|
for a soft mask. Both are promptless and preserve the original input bytes.
|
|
76
81
|
Music 3: `--music -m music3`; speech: `--speech --speech-mode voice|clone|design`.
|
|
@@ -35,6 +35,11 @@ FastH3 keeps the FastVideo engine when an H3 LoRA is attached. Base jobs
|
|
|
35
35
|
require 23 GB, while jobs with an H3 LoRA require 32 GB. FastH3 has no R2V
|
|
36
36
|
mode. Always check the exact FastVideo model id's live catalog before relying
|
|
37
37
|
on a particular adapter.
|
|
38
|
+
The FastH3 audio-to-video modes (`minimax-h3-fasth3-ia2v-turbo`,
|
|
39
|
+
`-flfa2v-turbo`, `-a2v-turbo` and their `-2stage` forms) load no LoRAs: the
|
|
40
|
+
CLI refuses `--lora` on them before reading the catalog, and Sogni refuses the
|
|
41
|
+
request too. To combine a LoRA with a character's voice, render a FastH3
|
|
42
|
+
frame mode with its generated audio instead.
|
|
38
43
|
|
|
39
44
|
## Published adapters
|
|
40
45
|
|
|
@@ -27,7 +27,7 @@ inputs and controls before converting a stage into commands.
|
|
|
27
27
|
| 4. Clean cut-outs | `birefnet_image_background_removal_fp16` | A soft matte with real edges, for anything going into 3D or a composite |
|
|
28
28
|
| 5. Travel and dialogue | `minimax-h3-fastvideo-int8_flf2v_turbo`, `minimax-h3-fl2va-fp8_flf2v_turbo` | First/last-frame video with generated audio in one pass |
|
|
29
29
|
| 6. Score | `minimax_music3` | A loopable instrumental cue per region |
|
|
30
|
-
| 7. Figures | `pixal3d_int8_i23d` | A textured GLB from one image on transparency |
|
|
30
|
+
| 7. Figures | `pixal3d_int8_i23d` (`pixal3d_multiview_int8_i23d` with side and back views) | A textured GLB from one image on transparency |
|
|
31
31
|
| 8. A character's own voice | `qwen3_tts_1.7b_voice_clone_bf16` | Any line spoken in a cloned voice |
|
|
32
32
|
| 9. A character speaking on camera | `wan_v2.2-14b-fp8_s2v_lightx2v` | Image plus audio to lip-synced video |
|
|
33
33
|
|
|
@@ -129,6 +129,13 @@ Four SAM 3 failures worth knowing before you spend anything:
|
|
|
129
129
|
input resolution, so a bigger input costs nothing at runtime.
|
|
130
130
|
- **Parse the GLB rather than trusting it** — chunk table, glTF JSON, triangle
|
|
131
131
|
and vertex counts, normals, UVs.
|
|
132
|
+
- **Give it the sides when you have them.** One image leaves Pixal3D guessing
|
|
133
|
+
the back; `--image-to-3d front.png --left-view left.png --back-view back.png
|
|
134
|
+
--right-view right.png` (any subset) uses `pixal3d_multiview_int8_i23d` at the
|
|
135
|
+
same price. Name each view by the subject's own side: the left view shows it
|
|
136
|
+
turned so its own left side faces the camera (facing screen-left). A
|
|
137
|
+
turnaround template that labels the subject's right side "left" builds the
|
|
138
|
+
model turned 180 degrees. (Not part of the measured build above.)
|
|
132
139
|
|
|
133
140
|
### Crossings between scenes
|
|
134
141
|
|
|
@@ -236,6 +243,13 @@ which takes one image and one audio track and animates the person in the image
|
|
|
236
243
|
to that audio. Feed it the frame where the character is already standing in the
|
|
237
244
|
scene, so the new clip starts where the story left them.
|
|
238
245
|
|
|
246
|
+
On MiniMax H3 the same job is FastH3 audio-to-video:
|
|
247
|
+
`-m minimax-h3-fasth3-ia2v-turbo --ref frame.png --ref-audio line.wav` animates
|
|
248
|
+
from that frame to the uploaded line and keeps it as the soundtrack, and
|
|
249
|
+
`minimax-h3-fasth3-flfa2v-turbo` adds `--ref-end` to land on a known last frame.
|
|
250
|
+
Write the spoken words inside the prompt's `<d>` tag. No LoRAs load on these
|
|
251
|
+
modes. (Not part of the measured build above.)
|
|
252
|
+
|
|
239
253
|
If the character is *never seen* — written as a voice, which is worth doing
|
|
240
254
|
deliberately for most of a cast — their clips need no regeneration at all.
|
|
241
255
|
|
package/references/models.md
CHANGED
|
@@ -189,6 +189,7 @@ support up to 3; Krea identity edit models support up to 2).
|
|
|
189
189
|
|-------|-------|----------|
|
|
190
190
|
| `sam3_image_segment_bf16` | Very fast | SAM 3 object selection from one starting image: text, click points, or boxes in, one mask or cutout out |
|
|
191
191
|
| `pixal3d_int8_i23d` | Slow (~120-170s) | Single-image reconstruction to a textured GLB |
|
|
192
|
+
| `pixal3d_multiview_int8_i23d` | Slow (~1.5-4 min) | Front view plus any of left, back and right views of the same object to a textured GLB |
|
|
192
193
|
| `birefnet_image_background_removal_fp16` | Very fast (~1s warm) | Prompt-free background removal, soft matte — the better cut-out when the subject is clear |
|
|
193
194
|
|
|
194
195
|
None is a text-to-image model. All always require a `startingImage`. SAM 3 and
|
|
@@ -282,6 +283,43 @@ increase work and price above the 1024 default:
|
|
|
282
283
|
default is far heavier than a real-time engine wants, so asking for less usually
|
|
283
284
|
yields a *more* useful asset. Sampling steps are deliberately not exposed.
|
|
284
285
|
|
|
286
|
+
### Pixal3D multi-view (`pixal3d_multiview_int8_i23d`)
|
|
287
|
+
|
|
288
|
+
When the user has more than one photo of the same object, reconstruct from all
|
|
289
|
+
of them instead of letting Pixal3D guess the sides the front cannot show. The
|
|
290
|
+
`--image-to-3d` image is the **front** view and stays required; add any subset
|
|
291
|
+
of the three orbit views. With at least one view the CLI uses
|
|
292
|
+
`pixal3d_multiview_int8_i23d`; with none it stays on `pixal3d_int8_i23d`. The
|
|
293
|
+
options, defaults, and prices are the single-view ones ($0.30 at the default
|
|
294
|
+
1024 shape resolution, $0.42 at 1536). It is promptless and has no
|
|
295
|
+
`templateVariant`.
|
|
296
|
+
|
|
297
|
+
| Flag | SDK field | What the photo shows |
|
|
298
|
+
|------|-----------|----------------------|
|
|
299
|
+
| `--image-to-3d` | `startingImage` | The front of the subject (required) |
|
|
300
|
+
| `--left-view` | `leftViewImage` | The subject turned so **its own left side** faces the camera — it faces screen-left |
|
|
301
|
+
| `--back-view` | `backViewImage` | The subject seen from behind |
|
|
302
|
+
| `--right-view` | `rightViewImage` | The subject turned so **its own right side** faces the camera — it faces screen-right |
|
|
303
|
+
|
|
304
|
+
Views are named by the subject's sides, never the viewer's. Some turnaround
|
|
305
|
+
templates (including the Comfy-Org Pixal3D example) label the photo of the
|
|
306
|
+
subject's right side "left"; following those labels swaps left and right and
|
|
307
|
+
builds a model turned 180 degrees, so the front faces backwards. Use photos of
|
|
308
|
+
the same object at the same height and distance, about 90 degrees apart at eye
|
|
309
|
+
level, like a character turnaround sheet.
|
|
310
|
+
|
|
311
|
+
```bash
|
|
312
|
+
sogni-agent --image-to-3d front.png --left-view left.png --back-view back.png --right-view right.png --mesh-faces 30000 -o object.glb --json
|
|
313
|
+
sogni-agent --image-to-3d front.png --back-view back.png -o object.glb
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
The view flags require `--image-to-3d` and are refused with every other mode;
|
|
317
|
+
`-m pixal3d_int8_i23d` with a view, or `-m pixal3d_multiview_int8_i23d` without
|
|
318
|
+
one, is refused rather than silently switched. SDK callers send the views as
|
|
319
|
+
`leftViewImage`, `backViewImage` and `rightViewImage` on the image project; do
|
|
320
|
+
not put them in `contextImages`. `--json` reports the view files under
|
|
321
|
+
`orbitViews`.
|
|
322
|
+
|
|
285
323
|
### BiRefNet background removal (`birefnet_image_background_removal_fp16`)
|
|
286
324
|
|
|
287
325
|
Flat $0.005 (1 Spark) per image at any source size, about 1.0s on
|
|
@@ -702,8 +740,10 @@ output. Supported ratios are `adaptive`, `16:9`, `9:16`, `1:1`, `4:3`, and
|
|
|
702
740
|
MiniMax H3 is a Sogni-hosted video family with **eighteen current selectors**:
|
|
703
741
|
four Standard workflows, four 8-step Balanced workflows, four 4-step
|
|
704
742
|
LightX2V Turbo workflows, three FastVideo VSA FastH3 Turbo workflows, and
|
|
705
|
-
three FastH3 Two-Stage (720p/1080p/2K) workflows. Every
|
|
706
|
-
generates picture and **native 32 kHz stereo audio jointly**.
|
|
743
|
+
three FastH3 Two-Stage (720p/1080p/2K) workflows. Every one of those modes
|
|
744
|
+
generates picture and **native 32 kHz stereo audio jointly**. FastH3 also has
|
|
745
|
+
three audio-to-video modes, each with a Two-Stage form, that take the user's
|
|
746
|
+
own audio instead; see [FastH3 audio-to-video](#fasth3-audio-to-video).
|
|
707
747
|
`--no-generate-audio` (SDK `generateAudio=false`) strips the generated track
|
|
708
748
|
from the delivered file rather than skipping audio generation. It is an explicit model choice, never a
|
|
709
749
|
universal default. The bare `minimax-h3`, `minimax-h3-balanced`, and
|
|
@@ -735,6 +775,10 @@ FastH3 has no R2V mode, so `--workflow r2v` is rejected with its generic selecto
|
|
|
735
775
|
| `minimax-h3-fasth3-turbo-2stage` / `minimax-h3-fasth3-t2v-turbo-2stage` | FastH3 Two-Stage text-to-video | FastH3 on a half-size canvas, delivered at twice it (2K default, 1080p or 720p); generic selector infers frame workflows |
|
|
736
776
|
| `minimax-h3-fasth3-i2v-turbo-2stage` | FastH3 Two-Stage image-to-video | First-frame I2VA or last-frame-only L2VA, delivered at twice the canvas |
|
|
737
777
|
| `minimax-h3-fasth3-flf2v-turbo-2stage` | FastH3 Two-Stage first → last frame | Both endpoints, delivered at twice the canvas; no R2V |
|
|
778
|
+
| `minimax-h3-fasth3-ia2v-turbo` | FastH3 image + audio to video | `--ref` first frame plus `--ref-audio`; the upload drives the clip and is its soundtrack |
|
|
779
|
+
| `minimax-h3-fasth3-flfa2v-turbo` | FastH3 first + last frame + audio | `--ref`, `--ref-end` and `--ref-audio` |
|
|
780
|
+
| `minimax-h3-fasth3-a2v-turbo` | FastH3 audio to video | `--ref-audio` only |
|
|
781
|
+
| `minimax-h3-fasth3-ia2v-turbo-2stage` / `-flfa2v-turbo-2stage` / `-a2v-turbo-2stage` | FastH3 Two-Stage audio to video | The same uploads, delivered at twice the canvas |
|
|
738
782
|
|
|
739
783
|
The three standard frame modes share the FL2VA checkpoint: worker ids
|
|
740
784
|
`minimax-h3-fl2va-fp8_t2v`, `minimax-h3-fl2va-fp8_i2v`, and
|
|
@@ -759,17 +803,14 @@ is fixed four-step Euler/simple, it is about 2x faster than LightX2V Turbo and
|
|
|
759
803
|
up to 6x faster than Standard for comparable 768p, 15-second requests, and it has no R2V mode.
|
|
760
804
|
FastH3 Two-Stage has its own worker ids, `minimax-h3-fastvideo-int8_t2v_turbo_2stage`,
|
|
761
805
|
`minimax-h3-fastvideo-int8_i2v_turbo_2stage`, and `minimax-h3-fastvideo-int8_flf2v_turbo_2stage`,
|
|
762
|
-
with the FastH3 request shape on a half-size canvas.
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
`minimax-h3-fastvideo-int8_i2v_turbo_2stage_720p`, and
|
|
766
|
-
`minimax-h3-fastvideo-int8_flf2v_turbo_2stage_720p`. The CLI recognizes those
|
|
767
|
-
ids but never sends them itself: `--target-resolution 720` sends the `_2stage`
|
|
768
|
-
id with the 384 px canvas.
|
|
806
|
+
with the FastH3 request shape on a half-size canvas. Every output class (720p,
|
|
807
|
+
1080p and 2K) uses the same `_2stage` id; `--target-resolution 720` sends it
|
|
808
|
+
with the 384 px canvas.
|
|
769
809
|
|
|
770
810
|
The **fl2va** modes (t2v / i2v / flf2v) take image references only — they do not
|
|
771
811
|
accept reference video or reference audio, because audio is generated natively.
|
|
772
|
-
|
|
812
|
+
The CLI refuses `--ref-audio` on them and names the FastH3 audio-to-video
|
|
813
|
+
selector that takes it. **r2v takes audio as a labelled reference**: see
|
|
773
814
|
[MiniMax H3 reference-to-video (r2v)](#minimax-h3-reference-to-video-r2v).
|
|
774
815
|
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. FL2VA/Balanced/LightX2V Turbo and image-only R2V are routed to 32 GB-class workers;
|
|
775
816
|
video-conditioned R2V requires a worker above 40 GB.
|
|
@@ -841,6 +882,56 @@ sogni-agent -q --video -m minimax-h3-i2v-turbo --ref first.png --duration 8 -o .
|
|
|
841
882
|
sogni-agent -q --video -m minimax-h3-flf2v-turbo --ref first.png --ref-end last.png --duration 8 -o ./video.mp4 "<FLF2V preamble plus three-field H3 prompt>"
|
|
842
883
|
```
|
|
843
884
|
|
|
885
|
+
### FastH3 audio-to-video
|
|
886
|
+
|
|
887
|
+
The FastH3 audio guide drives the video with an audio file the user supplies —
|
|
888
|
+
a voice, a song, a soundtrack — from frame 0, lips included, and delivers that
|
|
889
|
+
audio as the clip's soundtrack instead of generating one.
|
|
890
|
+
|
|
891
|
+
| Selector | Worker id | Uploads |
|
|
892
|
+
|----------|-----------|---------|
|
|
893
|
+
| `minimax-h3-fasth3-ia2v-turbo` | `minimax-h3-fastvideo-int8_ia2v_turbo` | `--ref` (first frame) and `--ref-audio` |
|
|
894
|
+
| `minimax-h3-fasth3-flfa2v-turbo` | `minimax-h3-fastvideo-int8_flfa2v_turbo` | `--ref`, `--ref-end` (last frame) and `--ref-audio` |
|
|
895
|
+
| `minimax-h3-fasth3-a2v-turbo` | `minimax-h3-fastvideo-int8_a2v_turbo` | `--ref-audio` only |
|
|
896
|
+
|
|
897
|
+
Each selector has a `-2stage` form (`minimax-h3-fasth3-ia2v-turbo-2stage`, …,
|
|
898
|
+
worker ids `..._turbo_2stage`) with the same uploads, delivered at twice the
|
|
899
|
+
canvas like the other FastH3 Two-Stage models: `--target-resolution` names the
|
|
900
|
+
delivered size, and a server refusal of two-stage is printed unchanged.
|
|
901
|
+
`-m minimax-h3-fasth3-turbo --ref-audio track` (or `-m
|
|
902
|
+
minimax-h3-fasth3-turbo-2stage`) picks the mode from the frames supplied: audio
|
|
903
|
+
alone is a2v, `--ref` is ia2v, `--ref` plus `--ref-end` is flfa2v. A last frame
|
|
904
|
+
without a first frame is refused. `--workflow ia2v` or `a2v` selects these modes
|
|
905
|
+
on the FastH3 family selectors only.
|
|
906
|
+
|
|
907
|
+
- **Length:** fixed 24 fps and the usual `124 + n×17` frame grid (5.17-15.08 s),
|
|
908
|
+
set with `--duration` (snapped) or `--frames`. The audio is trimmed to the
|
|
909
|
+
clip, so choose a length that covers the part you want.
|
|
910
|
+
- **Window:** `--audio-start <sec>` picks where in the upload the window begins.
|
|
911
|
+
There is no `--audio-duration`: the window is always the clip length.
|
|
912
|
+
- **Audio:** always kept. `--no-generate-audio` is refused.
|
|
913
|
+
- **Sampling and size:** fixed 4-step Euler/simple, no steps or guidance, the
|
|
914
|
+
32 px grid up to 1,032,192 pixels (1344×768 by default, or the first frame's
|
|
915
|
+
aspect). Frames are fitted to the canvas exactly as for i2v/flf2v.
|
|
916
|
+
- **No LoRAs:** `--lora` is refused on these modes.
|
|
917
|
+
- **Uploads:** each mode refuses any upload it does not take (an end frame on
|
|
918
|
+
ia2v, an image on a2v, loose `-c`, `--ref-video`, a second `--ref-audio`).
|
|
919
|
+
- **Price:** the FastH3 per-second price of the matching frame mode (ia2v as
|
|
920
|
+
i2v, flfa2v as flf2v, a2v as t2v); `--estimate-video-cost` quotes it.
|
|
921
|
+
- **Prompt:** FastH3's ordered-field contract with the I2V or FLF2V preamble
|
|
922
|
+
when frames are supplied. Write the words actually spoken in the upload inside
|
|
923
|
+
`<d>[Language] …</d>` so the text matches what the audio says.
|
|
924
|
+
|
|
925
|
+
```bash
|
|
926
|
+
sogni-agent -q --video -m minimax-h3-fasth3-ia2v-turbo --ref portrait.png --ref-audio voice.m4a --duration 8 -o ./talking.mp4 "<I2V preamble plus three-field H3 prompt>"
|
|
927
|
+
sogni-agent -q --video -m minimax-h3-fasth3-flfa2v-turbo --ref first.png --ref-end last.png --ref-audio song.mp3 --duration 12 -o ./music-video.mp4 "<FLF2V preamble plus three-field H3 prompt>"
|
|
928
|
+
sogni-agent -q --video -m minimax-h3-fasth3-a2v-turbo --ref-audio song.mp3 --audio-start 30 --duration 15 -o ./visualizer.mp4 "<three-field H3 prompt>"
|
|
929
|
+
sogni-agent -q --video -m minimax-h3-fasth3-ia2v-turbo-2stage --target-resolution 1080 --ref portrait.png --ref-audio voice.m4a -o ./talking-1080p.mp4 "<I2V preamble plus three-field H3 prompt>"
|
|
930
|
+
```
|
|
931
|
+
|
|
932
|
+
For audio used as a loose reference rather than the soundtrack (a voice or
|
|
933
|
+
rhythm the prompt assigns a job to), use H3 r2v instead.
|
|
934
|
+
|
|
844
935
|
### MiniMax H3 prompting
|
|
845
936
|
|
|
846
937
|
Standard, Balanced, and Turbo T2V, I2V, and FLF2V use MiniMax's exact three-field rewrite
|
|
@@ -1031,6 +1122,7 @@ model recommendations.
|
|
|
1031
1122
|
| Select or cut out an object in an image | `sam3_image_segment_bf16` |
|
|
1032
1123
|
| Remove a background | `--remove-background original.png` (BiRefNet); add `--matte` for a soft mask |
|
|
1033
1124
|
| Turn one image into a textured 3D model (GLB) | `--image-to-3d original.png -o object.glb` (Pixal3D), no prompt |
|
|
1125
|
+
| Turn several photos of one object into a 3D model | `--image-to-3d front.png` plus `--left-view` / `--back-view` / `--right-view` (Pixal3D multi-view; views named by the subject's own sides) |
|
|
1034
1126
|
| Direct music generation | `ace_step_1.5_xl_turbo` (or `--music-model turbo`) |
|
|
1035
1127
|
| Music with stronger lyric handling | `ace_step_1.5_xl_sft` (or `--music-model sft`) |
|
|
1036
1128
|
| MiniMax Music 3 songs and instrumentals | `--music -m music3` or hosted `generate_music` |
|
|
@@ -1068,6 +1160,7 @@ model recommendations.
|
|
|
1068
1160
|
| MiniMax H3 FastH3 Turbo image-to-video | `minimax-h3-fasth3-i2v-turbo` with `--ref` |
|
|
1069
1161
|
| MiniMax H3 FastH3 Turbo first frame → last frame | `minimax-h3-fasth3-flf2v-turbo` with `--ref A --ref-end B`; no R2V |
|
|
1070
1162
|
| 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 |
|
|
1163
|
+
| 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 |
|
|
1071
1164
|
| Face lip-sync with uploaded audio | `wan_v2.2-14b-fp8_s2v_lightx2v` |
|
|
1072
1165
|
|
|
1073
1166
|
## Video sizing & aspect ratios
|
|
@@ -1075,7 +1168,7 @@ model recommendations.
|
|
|
1075
1168
|
- **WAN 2.2 models** use dimensions divisible by 16, min 480 px, max 1536 px.
|
|
1076
1169
|
- **Wan 3** uses fixed 30 fps, fixed or smart 2–30 s output, and 480P/720P/1080P buckets with `adaptive`, `16:9`, `4:3`, `1:1`, `3:4`, and `9:16`; see [Alibaba Wan 3](#alibaba-wan-3).
|
|
1077
1170
|
- **Wan 3.0 Enhanced** uses fixed 30 fps, fixed or smart 2–30 s output, 480P/720P/1080P buckets, and `adaptive`, `16:9`, `9:16`, `1:1`, `4:3`, or `3:4`; see [Wan 3.0 Enhanced](#wan-30-enhanced).
|
|
1078
|
-
- **MiniMax H3 Standard, Balanced, LightX2V Turbo, and FastH3 Turbo** use 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. Standard, Balanced, LightX2V FL2VA Turbo, and FastH3 default to 1344×768; Ref2VA Turbo defaults to 960×544. 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. LightX2V FL2VA H3 Turbo defaults to `er_sde` and accepts `euler`, `er_sde`, or `sa_solver`; the CLI omits the sampler unless `--sampler` is passed. Ref2VA Turbo and FastH3 use Euler/simple only. FastH3 is the separate FastVideo VSA engine and has no R2V mode. Guidance 1 and native stereo audio
|
|
1171
|
+
- **MiniMax H3 Standard, Balanced, LightX2V Turbo, and FastH3 Turbo** use 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. Standard, Balanced, LightX2V FL2VA Turbo, and FastH3 default to 1344×768; Ref2VA Turbo defaults to 960×544. 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. LightX2V FL2VA H3 Turbo defaults to `er_sde` and accepts `euler`, `er_sde`, or `sa_solver`; the CLI omits the sampler unless `--sampler` is passed. Ref2VA Turbo and FastH3 use Euler/simple only. FastH3 is the separate FastVideo VSA engine and has no R2V mode. Guidance 1 applies to all, and native stereo audio to all but the FastH3 audio-to-video modes, which deliver the uploaded audio. 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. Other FL2VA/Balanced/Turbo and image-only R2V routes require 32 GB-class workers, while video-conditioned R2V requires above 40 GB. See [MiniMax H3 models](#minimax-h3-models).
|
|
1079
1172
|
- **LTX family** (`ltx2-*`, `ltx23-*`, `ltx25-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
|
|
1080
1173
|
- **Seedance** runs at fixed 24 fps. The 2.0 family (`seedance2`, `seedance2-mini`, `seedance2-fast`) supports 4–15 s durations; full `seedance2` supports native 4K via `--target-resolution 2160` while `seedance2-mini` and `seedance2-fast` remain capped to the 720p lower-resolution path. `seedance2-5` renders 4–30 s single clips (97–721 frames) with 480p/720p/1080p output (no 4K). Select `--output-format mov` for editing or `--return-last-frame` to receive the final frame as an image for the next clip. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
|
|
1081
1174
|
- **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.
|
|
@@ -161,6 +161,18 @@ This guidance follows MiniMax's official H3 prompt-writing skill from
|
|
|
161
161
|
sound — dialogue, foley, ambience, score — exists only because the prompt
|
|
162
162
|
asked for it. `generateAudio=false` strips that generated track from the
|
|
163
163
|
delivered file; it does not skip audio generation.
|
|
164
|
+
- **FastH3 audio-to-video takes the user's own audio instead.**
|
|
165
|
+
`minimax-h3-fasth3-ia2v-turbo` (`--ref` + `--ref-audio`),
|
|
166
|
+
`minimax-h3-fasth3-flfa2v-turbo` (`--ref` + `--ref-end` + `--ref-audio`) and
|
|
167
|
+
`minimax-h3-fasth3-a2v-turbo` (`--ref-audio` only), plus their `-2stage`
|
|
168
|
+
forms, drive the picture from the uploaded track and deliver that track as
|
|
169
|
+
the soundtrack. Keep the same ordered-field contract, with the I2V or FLF2V
|
|
170
|
+
preamble when frames are supplied. Write the words actually spoken in the
|
|
171
|
+
upload, exactly, inside `<d>[Language] …</d>` with their `(Sx)` speaker so the
|
|
172
|
+
mouth follows the right text, and describe the uploaded sound in the sound
|
|
173
|
+
fields rather than requesting different audio. `--audio-start` picks the
|
|
174
|
+
window; its length is the clip length. No LoRAs; see
|
|
175
|
+
[models.md § FastH3 audio-to-video](./models.md#fasth3-audio-to-video).
|
|
164
176
|
- **Sogni's H3 tiers render the 768p-class open-weights release.** Only FastH3
|
|
165
177
|
Two-Stage delivers 1080p or 2K (Sogni's own latent enlargement); do not claim
|
|
166
178
|
either for any other H3 selector. MiniMax's hosted 2K stage is not part of
|
|
@@ -652,6 +664,7 @@ sogni-agent -q --video -m minimax-h3-flf2v-turbo --ref ./first.png --ref-end ./l
|
|
|
652
664
|
sogni-agent -q --video -m minimax-h3-fasth3-turbo --duration 8 -w 1344 -h 768 -o ./video.mp4 "<three-field H3 prompt>"
|
|
653
665
|
sogni-agent -q --video -m minimax-h3-fasth3-i2v-turbo --ref ./first.png --duration 8 -w 768 -h 1344 -o ./video.mp4 "<I2V preamble plus three-field H3 prompt>"
|
|
654
666
|
sogni-agent -q --video -m minimax-h3-fasth3-flf2v-turbo --ref ./first.png --ref-end ./last.png --duration 8 -w 1344 -h 768 -o ./video.mp4 "<FLF2V preamble plus three-field H3 prompt>"
|
|
667
|
+
sogni-agent -q --video -m minimax-h3-fasth3-ia2v-turbo --ref ./first.png --ref-audio ./voice.m4a --duration 8 -o ./video.mp4 "<I2V preamble plus three-field H3 prompt with the uploaded words in <d> tags>"
|
|
655
668
|
|
|
656
669
|
# Reference-to-video (reference order defines the prompt ordinals)
|
|
657
670
|
sogni-agent -q --video -m minimax-h3-r2v --ref ./identity.png -c ./wardrobe.png --ref-video ./motion.mp4 --ref-audio ./voice.m4a --duration 8 -w 1344 -h 768 -o ./video.mp4 "<six-field Ref2VA prompt>"
|
package/skill-package.json
CHANGED
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@sogni-ai/sogni-intelligence-client": "4.
|
|
6
|
+
"@sogni-ai/sogni-intelligence-client": "4.1.0",
|
|
7
7
|
"execa": "^10.0.1",
|
|
8
8
|
"json5": "^2.2.3",
|
|
9
9
|
"sharp": "0.35.4"
|
|
10
|
+
},
|
|
11
|
+
"overrides": {
|
|
12
|
+
"@sogni-ai/sogni-client": "5.50.0"
|
|
10
13
|
}
|
|
11
14
|
}
|