@sogni-ai/sogni-creative-agent-skill 3.68.1 → 3.70.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 +5 -2
- package/.agents/skills/sogni-creative-agent-skill/references/h3-video-loras.md +1 -1
- package/.agents/skills/sogni-creative-agent-skill/references/image-prompting.md +1 -1
- package/.agents/skills/sogni-creative-agent-skill/references/models.md +72 -22
- package/.agents/skills/sogni-creative-agent-skill/references/private-mature-video.md +105 -60
- package/.agents/skills/sogni-creative-agent-skill/references/video-prompting.md +14 -11
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +12 -1
- package/README.md +5 -3
- package/SKILL.md +5 -5
- package/desktop-extension/manifest.json +1 -1
- package/llm.txt +5 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +3 -3
- package/plugin-skills/sogni-creative-agent/SKILL.md +1 -0
- package/references/h3-video-loras.md +1 -1
- package/references/image-prompting.md +1 -1
- package/references/models.md +72 -22
- package/references/private-mature-video.md +105 -60
- package/references/video-prompting.md +14 -11
- package/skill-package.json +2 -2
- package/skills/image_editing.md +1 -1
- package/skills/image_generation.md +3 -2
- package/sogni-agent.mjs +53 -20
- package/version.mjs +1 -1
|
@@ -124,7 +124,7 @@ LTX-2.5 text-to-video, one shot, so one sentence: "A medium shot frames a woman
|
|
|
124
124
|
```
|
|
125
125
|
|
|
126
126
|
<!-- BEGIN GENERATED PROMPT GUIDE: ltx-2.5 -->
|
|
127
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
127
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.31.0; edit the rules there, not here. -->
|
|
128
128
|
|
|
129
129
|
### Sogni's prompt rules: ltx-2.5
|
|
130
130
|
|
|
@@ -179,7 +179,7 @@ Preserve requested visual style and production value without adding new objects,
|
|
|
179
179
|
<!-- END GENERATED PROMPT GUIDE: ltx-2.5 -->
|
|
180
180
|
|
|
181
181
|
<!-- BEGIN GENERATED PROMPT GUIDE: ltx-2.3 -->
|
|
182
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
182
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.31.0; edit the rules there, not here. -->
|
|
183
183
|
|
|
184
184
|
### Sogni's prompt rules: ltx-2.3
|
|
185
185
|
|
|
@@ -245,7 +245,8 @@ opening-frame I2VA and closing-frame L2VA, and `minimax-h3-flf2v`; their 8-step
|
|
|
245
245
|
Balanced `*-balanced` and 4-step Turbo `*-turbo` variants; and—with its own
|
|
246
246
|
six-field contract—to `minimax-h3-r2v`, `minimax-h3-r2v-balanced`,
|
|
247
247
|
`minimax-h3-r2v-turbo`, and FastH3 Reference `minimax-h3-fasth3-r2v-turbo`
|
|
248
|
-
(the optional `minimax-h3-r2v-prism`
|
|
248
|
+
(the optional `minimax-h3-r2v-prism` and `minimax-h3-r2v-prism-2stage` write
|
|
249
|
+
Balanced's Ref2VA contract too). The
|
|
249
250
|
exact FL2VA worker ids are `minimax-h3-fl2va-fp8_{t2v,i2v,flf2v}` with an
|
|
250
251
|
optional `_balanced` or `_turbo` suffix; Ref2VA uses `minimax-h3-ref2va-fp8_r2v`
|
|
251
252
|
with the same tier suffixes, and FastH3 Reference uses
|
|
@@ -290,8 +291,10 @@ This guidance follows MiniMax's official H3 prompt-writing skill from
|
|
|
290
291
|
render the half-size canvas and deliver twice it. `--target-resolution` reads as above (2K default, `1080`,
|
|
291
292
|
`720`); a reference image never sets the canvas aspect. Each bills its
|
|
292
293
|
tier's reference rate plus the two-stage surcharge of the delivered class;
|
|
293
|
-
quote it with `--estimate-video-cost`.
|
|
294
|
-
the
|
|
294
|
+
quote it with `--estimate-video-cost`. The optional
|
|
295
|
+
`-m minimax-h3-r2v-prism-2stage` does the same for `minimax-h3-r2v-prism` and
|
|
296
|
+
requires `--no-filter`. Keep ordinary 768p reference video on the one-stage
|
|
297
|
+
R2V selectors.
|
|
295
298
|
- **20 steps for Standard; 8 for Balanced; 4 for both Turbo engines; guidance/CFG 1.** Do not
|
|
296
299
|
send steps, guidance, scheduler, or a **negative prompt**. Standard and
|
|
297
300
|
Balanced accept no sampler override; Balanced is fixed to Euler/simple.
|
|
@@ -974,7 +977,7 @@ the exact waveform-conditioned lip-sync input. Remote audio URLs and additional
|
|
|
974
977
|
audio references keep their existing handling.
|
|
975
978
|
|
|
976
979
|
<!-- BEGIN GENERATED PROMPT GUIDE: minimax-h3 -->
|
|
977
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
980
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.31.0; edit the rules there, not here. -->
|
|
978
981
|
|
|
979
982
|
### Sogni's prompt rules: minimax-h3
|
|
980
983
|
|
|
@@ -1192,7 +1195,7 @@ A low tracking shot races alongside a teal 1960s convertible down a sunlit coast
|
|
|
1192
1195
|
```
|
|
1193
1196
|
|
|
1194
1197
|
<!-- BEGIN GENERATED PROMPT GUIDE: seedance-2.5 -->
|
|
1195
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1198
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.31.0; edit the rules there, not here. -->
|
|
1196
1199
|
|
|
1197
1200
|
### Sogni's prompt rules: seedance-2.5
|
|
1198
1201
|
|
|
@@ -1266,7 +1269,7 @@ TARGET CAPABILITIES: Seedance 2.5 uses the same director-style prompt grammar an
|
|
|
1266
1269
|
<!-- END GENERATED PROMPT GUIDE: seedance-2.5 -->
|
|
1267
1270
|
|
|
1268
1271
|
<!-- BEGIN GENERATED PROMPT GUIDE: seedance-2.0 -->
|
|
1269
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1272
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.31.0; edit the rules there, not here. -->
|
|
1270
1273
|
|
|
1271
1274
|
### Sogni's prompt rules: seedance-2.0
|
|
1272
1275
|
|
|
@@ -1375,7 +1378,7 @@ writer uses close this section.
|
|
|
1375
1378
|
motion timing, camera path, framing, and background.
|
|
1376
1379
|
|
|
1377
1380
|
<!-- BEGIN GENERATED PROMPT GUIDE: wan-2.2 -->
|
|
1378
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1381
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.31.0; edit the rules there, not here. -->
|
|
1379
1382
|
|
|
1380
1383
|
### Sogni's prompt rules: wan-2.2
|
|
1381
1384
|
|
|
@@ -1465,7 +1468,7 @@ The rules Sogni's own prompt writer uses close this section.
|
|
|
1465
1468
|
- Prompts may run to 20,000 characters.
|
|
1466
1469
|
|
|
1467
1470
|
<!-- BEGIN GENERATED PROMPT GUIDE: wan-3 -->
|
|
1468
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1471
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.31.0; edit the rules there, not here. -->
|
|
1469
1472
|
|
|
1470
1473
|
### Sogni's prompt rules: wan-3
|
|
1471
1474
|
|
|
@@ -1520,7 +1523,7 @@ audio that is always on. What it renders well and the reference limits are in
|
|
|
1520
1523
|
[models.md § HappyHorse 1.1](./models.md#happyhorse-11-prompting-tips).
|
|
1521
1524
|
|
|
1522
1525
|
<!-- BEGIN GENERATED PROMPT GUIDE: happyhorse-1.1 -->
|
|
1523
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1526
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.31.0; edit the rules there, not here. -->
|
|
1524
1527
|
|
|
1525
1528
|
### Sogni's prompt rules: happyhorse-1.1
|
|
1526
1529
|
|
package/skill-package.json
CHANGED
|
@@ -3,12 +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.31.0",
|
|
7
7
|
"execa": "^10.0.1",
|
|
8
8
|
"json5": "^2.2.3",
|
|
9
9
|
"sharp": "0.35.5"
|
|
10
10
|
},
|
|
11
11
|
"overrides": {
|
|
12
|
-
"@sogni-ai/sogni-client": "5.
|
|
12
|
+
"@sogni-ai/sogni-client": "5.85.0"
|
|
13
13
|
}
|
|
14
14
|
}
|
package/skills/image_editing.md
CHANGED
|
@@ -29,7 +29,7 @@ Edit, restore, restyle, refine, upscale, or change the camera angle of an existi
|
|
|
29
29
|
- Persona images must always be produced with `edit_image` and a reference photo — never invoke `generate_image` for persona output.
|
|
30
30
|
- Use `-m krea2_identity_edit_v1_2` for identity-preserving Krea 2 edits with 1-2 context images; use `-m dark_beast_krea2_identity_edit_v1_2` for the Dark Beast Krea 2 identity edit LoRA. Both support 512-2048 px output, 8-12 steps, guidance 1, and default to 10 steps.
|
|
31
31
|
- Choose the edit model from what the request means, never from keywords; an explicitly requested model always wins. A person or character whose likeness must hold: `krea2_identity_edit_v1_2` (hosted `krea-identity-edit`). Type, logos, posters and other graphic design: `flux3_image_klein_sd_int8_convrot` (hosted `flux-3-klein`). NSFW: `dark_beast_krea2_identity_edit_v1_2` (hosted `dark-beast-krea2-identity-edit`). The best result when the user has Premium Spark or asks for top quality: `gpt-image-2.5-sunburst`. Never choose Qwen Image Edit, an older model, unless the user names it.
|
|
32
|
-
- GPT Image 2 and 2.5 support up to 16 context images, FLUX 3 Image Klein (`flux3_image_klein_sd_int8_convrot`, hosted `flux-3-klein`) supports up to 10, Seedream 5.0 Pro Uncensored (`seedream-5-0-pro-uncensored`, only when the user asks for it; it shares the Seedance 2.5 Uncensored likeness agreement)
|
|
32
|
+
- GPT Image 2 and 2.5 support up to 16 context images, FLUX 3 Image Klein (`flux3_image_klein_sd_int8_convrot`, hosted `flux-3-klein`) supports up to 10, Seedream 5.0 Pro Uncensored (`seedream-5-0-pro-uncensored`, only when the user asks for it; it shares the Seedance 2.5 Uncensored likeness agreement) and Seedream 5.5 Uncensored (`seedream-5-5-uncensored`, only when the user names Seedream 5.5; same agreement) support up to 10, Krea identity edit models support up to 2, and the older Qwen Image Edit up to 3.
|
|
33
33
|
- `refine_result` acts on a prior generation in the session; do not call it before any image has been produced or uploaded.
|
|
34
34
|
- Use `upscale_image` when the user only wants a larger, higher-resolution copy. It takes one source image plus an optional 2x/3x/4x scale or target longest edge. Both 8px-aligned output edges must remain within 512-15360px; use 7680 for 8K or 15360 for 16K. Targets above 7680px return JPG. If a scale leaves the short edge below 512px, retry with the minimum target longest edge reported by the tool. Never stretch the image, invent a prompt, or substitute `restore_photo`, `refine_result`, or `edit_image` for a pure upscale.
|
|
35
35
|
- For source-preserving style edits such as "anime version of this image", "keep everything the same", or requests that preserve pose, clothing, background, framing, or composition, use image editing with the provided image as context. Do not switch to photobooth/face-transfer just because the user asks to preserve the face.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: image_generation
|
|
3
|
-
description: Text-to-image synthesis with Z-Image, Krea 2, Dark Beast Krea 2, FLUX 3 Image Klein, FLUX.1 Schnell, Chroma, Qwen, GPT Image 2,
|
|
3
|
+
description: Text-to-image synthesis with Z-Image, Krea 2, Dark Beast Krea 2, FLUX 3 Image Klein, FLUX.1 Schnell, Chroma, Qwen, GPT Image 2, Seedream 5.0 Pro Uncensored, and Seedream 5.5 Uncensored models.
|
|
4
4
|
always_loaded: false
|
|
5
5
|
tool_names:
|
|
6
6
|
- generate_image
|
|
@@ -8,7 +8,7 @@ tool_names:
|
|
|
8
8
|
|
|
9
9
|
# Image generation
|
|
10
10
|
|
|
11
|
-
Text-to-image synthesis with the current Sogni image stack (Z-Image, Krea 2, Dark Beast Krea 2, FLUX 3 Image Klein, FLUX.1 Schnell, Chroma, Qwen, GPT Image 2,
|
|
11
|
+
Text-to-image synthesis with the current Sogni image stack (Z-Image, Krea 2, Dark Beast Krea 2, FLUX 3 Image Klein, FLUX.1 Schnell, Chroma, Qwen, GPT Image 2, Seedream 5.0 Pro Uncensored, and Seedream 5.5 Uncensored). Use when the user wants a new image generated from a prompt with no source asset.
|
|
12
12
|
|
|
13
13
|
## Tools
|
|
14
14
|
|
|
@@ -21,6 +21,7 @@ Text-to-image synthesis with the current Sogni image stack (Z-Image, Krea 2, Dar
|
|
|
21
21
|
- Use `-m dark_beast_krea2_fp8` when the user explicitly requests Dark Beast Krea 2 or the uncensored community Krea 2 fine-tune, or asks for a horror or sexy still: GPT Image's OpenAI safety system refuses gore on a real person's likeness and sexualized content.
|
|
22
22
|
- FLUX 3 Image Klein (`-m flux3_image_klein_sd_int8_convrot`; hosted selector `flux-3-klein`) works best with a full scene caption. Its guidance is fixed at 1, so a negative prompt has no effect.
|
|
23
23
|
- Seedream 5.0 Pro Uncensored (`-m seedream-5-0-pro-uncensored`, the same hosted selector) is used only when the user asks for it or for uncensored Seedream output. It renders 921,600-4,194,304 pixels up to 16:1 (default 1536x1536) and takes no seed, steps, guidance, LoRAs, or negative prompt. It shares the Seedance 2.5 Uncensored likeness agreement: on error 4103, tell the user to accept it in the Sogni app and do not retry.
|
|
24
|
+
- Seedream 5.5 Uncensored (`-m seedream-5-5-uncensored`, the same hosted selector) is used only when the user names Seedream 5.5 ("Seedream 5.5", "Seedream 5.5 Uncensored" or "Seedream 5.5 Spicy"); "Seedream Uncensored" and the other 5.0 Pro names stay on 5.0 Pro. It renders 921,600-4,624,220 pixels up to 16:1 (default 1536x1536; no 4K), takes the same inputs as 5.0 Pro, and shares the same agreement and 4103 handling.
|
|
24
25
|
- Hosted chat applies model-specific prompt shaping; the direct CLI applies none, so write the prompt in the model's own form (`references/image-prompting.md`). Either way, pass the user's intent faithfully and avoid empty quality-booster spam.
|
|
25
26
|
|
|
26
27
|
## Constraints
|
package/sogni-agent.mjs
CHANGED
|
@@ -106,8 +106,9 @@ import {
|
|
|
106
106
|
gptImageGifDimensions,
|
|
107
107
|
isGptImageModel,
|
|
108
108
|
isKreaIdentityEditModel,
|
|
109
|
-
// Seedream 5.0 Pro Uncensored: external-API image
|
|
110
|
-
// 1-10 reference edits), Spark only, gated by the
|
|
109
|
+
// Seedream 5.0 Pro Uncensored and Seedream 5.5 Uncensored: external-API image
|
|
110
|
+
// models (text-to-image and 1-10 reference edits), Spark only, gated by the
|
|
111
|
+
// Seedance Uncensored agreement.
|
|
111
112
|
getSeedreamImageSizeRefusal,
|
|
112
113
|
isSeedreamImageModel,
|
|
113
114
|
normalizeSeedreamModelAlias,
|
|
@@ -856,8 +857,8 @@ function classifyCliError(error, context = {}) {
|
|
|
856
857
|
return { error_type: 'PROVIDER_TIMEOUT', category: 'timeout', message: rawMessage, retryable: true };
|
|
857
858
|
}
|
|
858
859
|
|
|
859
|
-
// Socket 4103: Seedance 2.5 Uncensored, Seedance 2.0 Mini Uncensored
|
|
860
|
-
//
|
|
860
|
+
// Socket 4103: Seedance 2.5 Uncensored, Seedance 2.0 Mini Uncensored, Seedream
|
|
861
|
+
// 5.0 Pro Uncensored and Seedream 5.5 Uncensored refuse every job until the account accepts their
|
|
861
862
|
// shared one-time likeness and consent agreement in the Sogni app. The message
|
|
862
863
|
// names the refused model. It must win over the Seedance failure matchers
|
|
863
864
|
// below, never be retried, and never be accepted by the CLI.
|
|
@@ -3062,6 +3063,7 @@ const MINIMAX_H3_MODEL_MODES = new Map([
|
|
|
3062
3063
|
['minimax-h3-fl2va-fp8_flf2v_balanced', 'flf2v'],
|
|
3063
3064
|
['minimax-h3-ref2va-fp8_r2v_balanced', 'r2v'],
|
|
3064
3065
|
['minimax-h3-prism-int8_r2v', 'r2v'],
|
|
3066
|
+
['minimax-h3-prism-int8_r2v_2stage', 'r2v'],
|
|
3065
3067
|
['minimax-h3-ref2va-fp8_r2v_2stage', 'r2v'],
|
|
3066
3068
|
['minimax-h3-ref2va-fp8_r2v_balanced_2stage', 'r2v'],
|
|
3067
3069
|
['minimax-h3-fastvideo-omni-int8_r2v_turbo', 'r2v'],
|
|
@@ -3149,11 +3151,22 @@ const MINIMAX_H3_R2V_TURBO_MODEL_ID = 'minimax-h3-ref2va-fp8_r2v_turbo';
|
|
|
3149
3151
|
const MINIMAX_H3_R2V_BALANCED_MODEL_ID = 'minimax-h3-ref2va-fp8_r2v_balanced';
|
|
3150
3152
|
// MiniMax H3 Prism: an optional reference-to-video model for mature themes on
|
|
3151
3153
|
// Balanced R2V's graph, with its recipe fixed in the worker (8 Euler steps), so
|
|
3152
|
-
// the CLI sends no steps or sampler, as for Balanced. 768p class
|
|
3153
|
-
//
|
|
3154
|
-
//
|
|
3154
|
+
// the CLI sends no steps or sampler, as for Balanced. 768p class, Balanced's
|
|
3155
|
+
// references, keyframes and LoRAs. It requires --no-filter and is never a
|
|
3156
|
+
// default, a fallback or what a family alias picks.
|
|
3155
3157
|
const MINIMAX_H3_R2V_PRISM_MODEL_ID = 'minimax-h3-prism-int8_r2v';
|
|
3156
3158
|
const MINIMAX_H3_R2V_PRISM_SELECTOR = 'minimax-h3-r2v-prism';
|
|
3159
|
+
// Prism Two-Stage: the Prism request on its own id, rendered on the Ref2VA
|
|
3160
|
+
// Two-Stage canvas and delivered at exactly twice it, as Balanced Two-Stage is.
|
|
3161
|
+
// Every Prism rule applies. The pinned Intelligence Client does not list it yet
|
|
3162
|
+
// (MINIMAX_H3_PRISM_TWO_STAGE_SELECTOR), so the CLI adds its id and selector
|
|
3163
|
+
// until the pin carries them.
|
|
3164
|
+
const MINIMAX_H3_R2V_PRISM_TWO_STAGE_MODEL_ID = 'minimax-h3-prism-int8_r2v_2stage';
|
|
3165
|
+
const MINIMAX_H3_R2V_PRISM_TWO_STAGE_SELECTOR = 'minimax-h3-r2v-prism-2stage';
|
|
3166
|
+
const MINIMAX_H3_R2V_PRISM_TWO_STAGE_SELECTIONS = new Set([
|
|
3167
|
+
MINIMAX_H3_R2V_PRISM_TWO_STAGE_MODEL_ID,
|
|
3168
|
+
MINIMAX_H3_R2V_PRISM_TWO_STAGE_SELECTOR
|
|
3169
|
+
]);
|
|
3157
3170
|
// Ref2VA Two-Stage: the Standard (20-step) or Balanced (8-step) R2V request on
|
|
3158
3171
|
// its own id, rendered on the FastH3 Two-Stage canvas (384, 544 or 768 px short
|
|
3159
3172
|
// edge) and delivered at exactly twice it. Never Turbo; references, durations
|
|
@@ -3396,6 +3409,7 @@ function resolveSkillVideoModelAlias(
|
|
|
3396
3409
|
return MINIMAX_H3_R2V_BALANCED_MODEL_ID;
|
|
3397
3410
|
}
|
|
3398
3411
|
if (normalized === MINIMAX_H3_R2V_PRISM_SELECTOR) return MINIMAX_H3_R2V_PRISM_MODEL_ID;
|
|
3412
|
+
if (normalized === MINIMAX_H3_R2V_PRISM_TWO_STAGE_SELECTOR) return MINIMAX_H3_R2V_PRISM_TWO_STAGE_MODEL_ID;
|
|
3399
3413
|
if (normalized === 'minimax-h3-r2v-2stage') return MINIMAX_H3_R2V_TWO_STAGE_MODEL_ID;
|
|
3400
3414
|
if (normalized === 'minimax-h3-r2v-balanced-2stage') return MINIMAX_H3_R2V_BALANCED_TWO_STAGE_MODEL_ID;
|
|
3401
3415
|
if (normalized === 'minimax-h3-fasth3-r2v-turbo') return MINIMAX_H3_FASTH3_R2V_MODEL_ID;
|
|
@@ -3417,7 +3431,8 @@ function isMiniMaxH3TwoStageModel(modelId) {
|
|
|
3417
3431
|
const normalized = String(modelId || '').trim().toLowerCase();
|
|
3418
3432
|
return isMinimaxH3TwoStageModelId(modelId)
|
|
3419
3433
|
|| MINIMAX_H3_AUDIO_GUIDE_TWO_STAGE_SELECTIONS.has(normalized)
|
|
3420
|
-
|| MINIMAX_H3_FASTH3_R2V_TWO_STAGE_SELECTIONS.has(normalized)
|
|
3434
|
+
|| MINIMAX_H3_FASTH3_R2V_TWO_STAGE_SELECTIONS.has(normalized)
|
|
3435
|
+
|| MINIMAX_H3_R2V_PRISM_TWO_STAGE_SELECTIONS.has(normalized);
|
|
3421
3436
|
}
|
|
3422
3437
|
|
|
3423
3438
|
function isMiniMaxH3FastH3R2vModel(modelId) {
|
|
@@ -3466,27 +3481,33 @@ function isMiniMaxH3R2vModel(modelId) {
|
|
|
3466
3481
|
|| normalized === MINIMAX_H3_R2V_TURBO_MODEL_ID
|
|
3467
3482
|
|| normalized === MINIMAX_H3_R2V_BALANCED_MODEL_ID
|
|
3468
3483
|
|| normalized === MINIMAX_H3_R2V_PRISM_MODEL_ID
|
|
3484
|
+
|| normalized === MINIMAX_H3_R2V_PRISM_TWO_STAGE_MODEL_ID
|
|
3469
3485
|
|| normalized === MINIMAX_H3_R2V_TWO_STAGE_MODEL_ID
|
|
3470
3486
|
|| normalized === MINIMAX_H3_R2V_BALANCED_TWO_STAGE_MODEL_ID
|
|
3471
3487
|
|| isMiniMaxH3FastH3R2vModel(normalized);
|
|
3472
3488
|
}
|
|
3473
3489
|
|
|
3474
3490
|
// The Intelligence Client selector for a Ref2VA Two-Stage selector or id. FastH3
|
|
3475
|
-
// Reference Two-Stage
|
|
3476
|
-
// the Balanced table until the pinned client carries
|
|
3491
|
+
// Reference Two-Stage and Prism Two-Stage render the same 384/544/768 px
|
|
3492
|
+
// canvases, so they size on the Balanced table until the pinned client carries
|
|
3493
|
+
// their own selectors.
|
|
3477
3494
|
function miniMaxH3R2vTwoStageSelector(modelId) {
|
|
3478
3495
|
const normalized = String(modelId || '').trim().toLowerCase();
|
|
3479
3496
|
return normalized === 'minimax-h3-r2v-balanced-2stage'
|
|
3480
3497
|
|| normalized === MINIMAX_H3_R2V_BALANCED_TWO_STAGE_MODEL_ID
|
|
3481
3498
|
|| MINIMAX_H3_FASTH3_R2V_TWO_STAGE_SELECTIONS.has(normalized)
|
|
3499
|
+
|| MINIMAX_H3_R2V_PRISM_TWO_STAGE_SELECTIONS.has(normalized)
|
|
3482
3500
|
? 'minimax-h3-r2v-balanced-2stage'
|
|
3483
3501
|
: 'minimax-h3-r2v-2stage';
|
|
3484
3502
|
}
|
|
3485
3503
|
|
|
3486
|
-
// MiniMax H3 Prism by
|
|
3504
|
+
// MiniMax H3 Prism or Prism Two-Stage by selector or worker id: the models that
|
|
3505
|
+
// need --no-filter.
|
|
3487
3506
|
function isMiniMaxH3PrismSelectionLocal(modelId) {
|
|
3488
3507
|
const normalized = String(modelId || '').trim().toLowerCase();
|
|
3489
|
-
return normalized === MINIMAX_H3_R2V_PRISM_SELECTOR
|
|
3508
|
+
return normalized === MINIMAX_H3_R2V_PRISM_SELECTOR
|
|
3509
|
+
|| normalized === MINIMAX_H3_R2V_PRISM_MODEL_ID
|
|
3510
|
+
|| MINIMAX_H3_R2V_PRISM_TWO_STAGE_SELECTIONS.has(normalized);
|
|
3490
3511
|
}
|
|
3491
3512
|
|
|
3492
3513
|
function isMiniMaxH3R2vTurboSelectionLocal(modelId, workflow = null) {
|
|
@@ -3596,6 +3617,7 @@ function miniMaxH3ModeFromModelId(modelId) {
|
|
|
3596
3617
|
if (normalized === 'minimax-h3-flf2v-balanced') return 'flf2v';
|
|
3597
3618
|
if (normalized === 'minimax-h3-r2v-balanced') return 'r2v';
|
|
3598
3619
|
if (normalized === MINIMAX_H3_R2V_PRISM_SELECTOR) return 'r2v';
|
|
3620
|
+
if (normalized === MINIMAX_H3_R2V_PRISM_TWO_STAGE_SELECTOR) return 'r2v';
|
|
3599
3621
|
if (normalized === 'minimax-h3-r2v-2stage') return 'r2v';
|
|
3600
3622
|
if (normalized === 'minimax-h3-r2v-balanced-2stage') return 'r2v';
|
|
3601
3623
|
if (normalized === 'minimax-h3-fasth3-r2v-turbo') return 'r2v';
|
|
@@ -5840,6 +5862,10 @@ Image Models:
|
|
|
5840
5862
|
text-to-image and edits (1-10 context images), 921,600-4,194,304 pixels up to 16:1,
|
|
5841
5863
|
default 1536x1536. Use it only when asked for. It shares the Seedance 2.5 Uncensored
|
|
5842
5864
|
likeness agreement (error 4103 until accepted in the Sogni app). Premium Spark only.
|
|
5865
|
+
seedream-5-5-uncensored Seedream 5.5 Uncensored (also "Seedream 5.5", "Seedream 5.5 Spicy"):
|
|
5866
|
+
text-to-image and edits (1-10 context images), 921,600-4,624,220 pixels up to 16:1,
|
|
5867
|
+
default 1536x1536. Use it only when asked for by name; "Seedream Uncensored" stays on
|
|
5868
|
+
5.0 Pro. Same likeness agreement (error 4103 until accepted). Premium Spark only.
|
|
5843
5869
|
flux3_image_klein_sd_int8_convrot FLUX 3 Image Klein: text-to-image, image-to-image, edits (up to 10 context images)
|
|
5844
5870
|
krea2_turbo_fp8_scaled Krea 2 Turbo text-to-image
|
|
5845
5871
|
moss_image_sft_int8_convrot MOSS-Image SFT text-to-image (50 steps, no reference editing)
|
|
@@ -5864,11 +5890,11 @@ Recommended LTX 2.5 Video Models:
|
|
|
5864
5890
|
LTX 2.3 rollback-only capabilities:
|
|
5865
5891
|
ltx23-22b-fp8_t2v_distilled Text-to-video with native dialogue/audio
|
|
5866
5892
|
ltx23-22b-fp8_i2v_distilled Image-to-video; transition LoRA only when both frames are supplied
|
|
5867
|
-
ltx23-eros
|
|
5893
|
+
ltx23-eros Older uncensored I2V, only when asked by name (30GB+ worker; requires --no-filter)
|
|
5868
5894
|
ltx23-22b-fp8_ia2v_distilled Image+audio-to-video
|
|
5869
5895
|
ltx23-22b-fp8_a2v_distilled Audio-to-video
|
|
5870
5896
|
ltx23-22b-fp8_v2v_distilled Video-to-video rollback
|
|
5871
|
-
ltx23-22b-10eros-v1.4-fp8mixed_i2v
|
|
5897
|
+
ltx23-22b-10eros-v1.4-fp8mixed_i2v Older mature-theme I2V, only when asked by name; first and/or last frame; requires --no-filter
|
|
5872
5898
|
|
|
5873
5899
|
Video Upscale Model:
|
|
5874
5900
|
flashvsr_v1.1_tiny_long_bf16 Promptless FlashVSR upscale to 1080p/1440p (--upscale-video)
|
|
@@ -5925,6 +5951,8 @@ state negatives in the structured prompt.):
|
|
|
5925
5951
|
minimax-h3-r2v-balanced Balanced Ref2VA with loose image/video/audio references
|
|
5926
5952
|
minimax-h3-r2v-prism Optional Ref2VA model for mature themes on Balanced's graph: 768p class,
|
|
5927
5953
|
Balanced's references, keyframes and LoRAs; requires --no-filter
|
|
5954
|
+
minimax-h3-r2v-prism-2stage Prism Two-Stage: the minimax-h3-r2v-prism request, delivered at twice the
|
|
5955
|
+
canvas like minimax-h3-r2v-balanced-2stage; requires --no-filter
|
|
5928
5956
|
minimax-h3-r2v-2stage Ref2VA Two-Stage: the minimax-h3-r2v request (20 steps), delivered at twice the
|
|
5929
5957
|
canvas, 2K by default (1344x768 -> 2688x1536); --target-resolution 1080 or 720
|
|
5930
5958
|
minimax-h3-r2v-balanced-2stage Balanced Ref2VA Two-Stage: the minimax-h3-r2v-balanced request (8 steps),
|
|
@@ -6929,7 +6957,9 @@ if (options.music) {
|
|
|
6929
6957
|
fatalCliError('MiniMax H3 Prism requires explicit --no-filter acknowledgement.', {
|
|
6930
6958
|
code: 'INVALID_ARGUMENT',
|
|
6931
6959
|
details: { model: options.model, requiredFlag: '--no-filter' },
|
|
6932
|
-
hint:
|
|
6960
|
+
hint: `Retry with --video -m ${isMiniMaxH3TwoStageModel(options.model)
|
|
6961
|
+
? MINIMAX_H3_R2V_PRISM_TWO_STAGE_SELECTOR
|
|
6962
|
+
: MINIMAX_H3_R2V_PRISM_SELECTOR} --ref <image> --no-filter`
|
|
6933
6963
|
});
|
|
6934
6964
|
}
|
|
6935
6965
|
try {
|
|
@@ -7006,9 +7036,11 @@ if (options.music) {
|
|
|
7006
7036
|
fatalCliError(`--target-resolution 2K is the MiniMax H3 Two-Stage delivered size; ${options.model} takes a short side in pixels.`, {
|
|
7007
7037
|
code: 'INVALID_ARGUMENT',
|
|
7008
7038
|
details: { flag: '--target-resolution', value: '2K', model: options.model },
|
|
7009
|
-
hint:
|
|
7010
|
-
?
|
|
7011
|
-
:
|
|
7039
|
+
hint: isMiniMaxH3PrismSelectionLocal(options.model)
|
|
7040
|
+
? `Use -m ${MINIMAX_H3_R2V_PRISM_TWO_STAGE_SELECTOR} --no-filter for 2K MiniMax H3 Prism, or pass the short side in pixels.`
|
|
7041
|
+
: isMiniMaxH3R2vModel(options.model)
|
|
7042
|
+
? 'Use -m minimax-h3-fasth3-r2v-turbo-2stage for 2K MiniMax H3 reference-to-video, or pass the short side in pixels.'
|
|
7043
|
+
: 'Use -m minimax-h3-fasth3-turbo-2stage for 2K MiniMax H3 video, or pass the short side in pixels.'
|
|
7012
7044
|
});
|
|
7013
7045
|
}
|
|
7014
7046
|
// Seedance 2.5 drafts render at 480p only, so a draft with no size asked for
|
|
@@ -7150,12 +7182,13 @@ if (!options.video && !options.music && isGptImage2ModelSelection(options.model)
|
|
|
7150
7182
|
}
|
|
7151
7183
|
|
|
7152
7184
|
// Seedream 5.0 Pro Uncensored renders 921,600-4,194,304 pixels up to 16:1 and
|
|
7153
|
-
//
|
|
7185
|
+
// Seedream 5.5 Uncensored 921,600-4,624,220; both default to 1536x1536. Refuse
|
|
7186
|
+
// a size the model's vendor would reject before paying.
|
|
7154
7187
|
if (!options.video && !options.music && isSeedreamImageModel(normalizeSeedreamModelAlias(options.model))) {
|
|
7155
7188
|
options.model = normalizeSeedreamModelAlias(options.model);
|
|
7156
7189
|
if (!cliSet.width && !widthFromConfig && !widthFromPrompt) options.width = SEEDREAM_DEFAULT_WIDTH;
|
|
7157
7190
|
if (!cliSet.height && !heightFromConfig && !heightFromPrompt) options.height = SEEDREAM_DEFAULT_HEIGHT;
|
|
7158
|
-
const sizeRefusal = getSeedreamImageSizeRefusal(options.width, options.height);
|
|
7191
|
+
const sizeRefusal = getSeedreamImageSizeRefusal(options.width, options.height, options.model);
|
|
7159
7192
|
if (sizeRefusal) fatalCliError(sizeRefusal, { code: 'INVALID_ARGUMENT' });
|
|
7160
7193
|
if (!cliSet.timeout && !timeoutFromConfig) options.timeout = 600000;
|
|
7161
7194
|
}
|
package/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = '3.
|
|
1
|
+
export const PACKAGE_VERSION = '3.70.0';
|