@sogni-ai/sogni-creative-agent-skill 3.59.0 → 3.60.2
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 +10 -5
- package/.agents/skills/sogni-creative-agent-skill/references/hosted-api.md +3 -1
- package/.agents/skills/sogni-creative-agent-skill/references/models.md +72 -22
- package/.agents/skills/sogni-creative-agent-skill/references/video-prompting.md +20 -12
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +28 -0
- package/README.md +13 -8
- package/SKILL.md +8 -9
- package/desktop-extension/manifest.json +1 -1
- package/generated/creative-agent-runtime.mjs +13 -14
- package/llm.txt +5 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +3 -3
- package/plugin-skills/sogni-creative-agent/SKILL.md +4 -1
- package/references/h3-video-loras.md +10 -5
- package/references/hosted-api.md +3 -1
- package/references/models.md +72 -22
- package/references/video-prompting.md +20 -12
- package/skill-package.json +2 -2
- package/skills/image_editing.md +1 -1
- package/skills/image_generation.md +3 -2
- package/skills/video_editing.md +1 -1
- package/skills/video_generation.md +2 -2
- package/sogni-agent.mjs +84 -32
- package/version.mjs +1 -1
package/sogni-agent.mjs
CHANGED
|
@@ -99,6 +99,13 @@ import {
|
|
|
99
99
|
getGptImageRequestOptions,
|
|
100
100
|
isGptImageModel,
|
|
101
101
|
isKreaIdentityEditModel,
|
|
102
|
+
// Seedream 5.0 Pro Uncensored: external-API image model (text-to-image and
|
|
103
|
+
// 1-10 reference edits), Spark only, gated by the Seedance Uncensored agreement.
|
|
104
|
+
getSeedreamImageSizeRefusal,
|
|
105
|
+
isSeedreamImageModel,
|
|
106
|
+
normalizeSeedreamModelAlias,
|
|
107
|
+
SEEDREAM_DEFAULT_HEIGHT,
|
|
108
|
+
SEEDREAM_DEFAULT_WIDTH,
|
|
102
109
|
SEEDANCE_R2V_REFERENCE_AUDIO_MAX_DURATION_SECONDS,
|
|
103
110
|
calculateVideoDimensions as calculateSharedVideoDimensions,
|
|
104
111
|
isMinimaxH3TwoStageModelId,
|
|
@@ -172,7 +179,7 @@ function subscriptionBillingFallback(code) {
|
|
|
172
179
|
// Vendor model the subscription never covers, or no verified entitlement.
|
|
173
180
|
return {
|
|
174
181
|
retryable: false,
|
|
175
|
-
hint: 'This generation is not covered by Sogni Unlimited. Vendor models (GPT Image 2, Seedance, HappyHorse) always require Premium Spark; otherwise reconnect and try again. ' + SPARK_PACKS_PURCHASE_HINT,
|
|
182
|
+
hint: 'This generation is not covered by Sogni Unlimited. Vendor models (GPT Image 2, Seedance, Seedream, HappyHorse) always require Premium Spark; otherwise reconnect and try again. ' + SPARK_PACKS_PURCHASE_HINT,
|
|
176
183
|
purchaseLabel: 'Get Premium Spark',
|
|
177
184
|
purchaseUrl: SPARK_PACKS_PURCHASE_URL,
|
|
178
185
|
};
|
|
@@ -807,11 +814,11 @@ function classifyCliError(error, context = {}) {
|
|
|
807
814
|
};
|
|
808
815
|
}
|
|
809
816
|
|
|
810
|
-
// Socket 4103: Seedance 2.5 Uncensored
|
|
811
|
-
// every job until the account accepts their
|
|
812
|
-
// consent agreement in the Sogni app. The message
|
|
813
|
-
// must win over the Seedance failure matchers
|
|
814
|
-
// never be accepted by the CLI.
|
|
817
|
+
// Socket 4103: Seedance 2.5 Uncensored, Seedance 2.0 Mini Uncensored and
|
|
818
|
+
// Seedream 5.0 Pro Uncensored refuse every job until the account accepts their
|
|
819
|
+
// shared one-time likeness and consent agreement in the Sogni app. The message
|
|
820
|
+
// names the refused model. It must win over the Seedance failure matchers
|
|
821
|
+
// below, never be retried, and never be accepted by the CLI.
|
|
815
822
|
const consentPayload = modelConsentRequiredPayloadFromError(error, context.accountUsername);
|
|
816
823
|
if (consentPayload) {
|
|
817
824
|
return {
|
|
@@ -2267,6 +2274,7 @@ function normalizeMusicTimeSignature(value) {
|
|
|
2267
2274
|
|
|
2268
2275
|
function requiresSparkOnlyToken(modelId) {
|
|
2269
2276
|
return isGptImage2ModelSelection(modelId)
|
|
2277
|
+
|| isSeedreamImageModel(normalizeSeedreamModelAlias(modelId))
|
|
2270
2278
|
|| isSeedanceModel(modelId)
|
|
2271
2279
|
|| isHappyHorseModel(modelId)
|
|
2272
2280
|
|| isWan3ModelSelectionLocal(modelId);
|
|
@@ -2778,6 +2786,8 @@ const MINIMAX_H3_MODEL_MODES = new Map([
|
|
|
2778
2786
|
['minimax-h3-ref2va-fp8_r2v_balanced', 'r2v'],
|
|
2779
2787
|
['minimax-h3-ref2va-fp8_r2v_2stage', 'r2v'],
|
|
2780
2788
|
['minimax-h3-ref2va-fp8_r2v_balanced_2stage', 'r2v'],
|
|
2789
|
+
['minimax-h3-fastvideo-omni-int8_r2v_turbo', 'r2v'],
|
|
2790
|
+
['minimax-h3-fastvideo-omni-int8_r2v_turbo_2stage', 'r2v'],
|
|
2781
2791
|
['minimax-h3-fastvideo-int8_t2v_turbo', 't2v'],
|
|
2782
2792
|
['minimax-h3-fastvideo-int8_i2v_turbo', 'i2v'],
|
|
2783
2793
|
['minimax-h3-fastvideo-int8_flf2v_turbo', 'flf2v'],
|
|
@@ -2865,8 +2875,19 @@ const MINIMAX_H3_R2V_BALANCED_MODEL_ID = 'minimax-h3-ref2va-fp8_r2v_balanced';
|
|
|
2865
2875
|
// and LoRAs are its one-stage tier's.
|
|
2866
2876
|
const MINIMAX_H3_R2V_TWO_STAGE_MODEL_ID = 'minimax-h3-ref2va-fp8_r2v_2stage';
|
|
2867
2877
|
const MINIMAX_H3_R2V_BALANCED_TWO_STAGE_MODEL_ID = 'minimax-h3-ref2va-fp8_r2v_balanced_2stage';
|
|
2868
|
-
|
|
2869
|
-
|
|
2878
|
+
// FastH3 Reference: FastVideo's FastH3 Omni, the FastH3 tier's own Ref2VA
|
|
2879
|
+
// checkpoint, and its two-stage id (same request, delivered at twice the canvas).
|
|
2880
|
+
// Not a Turbo id despite the _turbo suffix: it runs its own 8-step recipe, which
|
|
2881
|
+
// the CLI never sends, and takes no --sampler override.
|
|
2882
|
+
const MINIMAX_H3_FASTH3_R2V_MODEL_ID = 'minimax-h3-fastvideo-omni-int8_r2v_turbo';
|
|
2883
|
+
const MINIMAX_H3_FASTH3_R2V_TWO_STAGE_MODEL_ID = 'minimax-h3-fastvideo-omni-int8_r2v_turbo_2stage';
|
|
2884
|
+
// The pinned Intelligence Client's isMinimaxH3TwoStageModelId does not list
|
|
2885
|
+
// FastH3 Reference Two-Stage yet, so the CLI adds its id and selector until the
|
|
2886
|
+
// pin carries them.
|
|
2887
|
+
const MINIMAX_H3_FASTH3_R2V_TWO_STAGE_SELECTIONS = new Set([
|
|
2888
|
+
MINIMAX_H3_FASTH3_R2V_TWO_STAGE_MODEL_ID,
|
|
2889
|
+
'minimax-h3-fasth3-r2v-turbo-2stage'
|
|
2890
|
+
]);
|
|
2870
2891
|
const MINIMAX_H3_REFERENCE_LIMITS = Object.freeze({
|
|
2871
2892
|
images: 9,
|
|
2872
2893
|
videos: 3,
|
|
@@ -2976,7 +2997,7 @@ function resolveSkillVideoModelAlias(
|
|
|
2976
2997
|
if (normalized === 'ltx25-ia2v') return LTX25_DISTILLED_WORKFLOW_MODELS.ia2v;
|
|
2977
2998
|
if (normalized === 'ltx25-v2v') return LTX25_DISTILLED_WORKFLOW_MODELS.v2v;
|
|
2978
2999
|
if (normalized === 'minimax-h3' && workflow) {
|
|
2979
|
-
if (workflow === 'r2v') return
|
|
3000
|
+
if (workflow === 'r2v') return MINIMAX_H3_FASTH3_R2V_MODEL_ID;
|
|
2980
3001
|
if (workflow === 'i2v') {
|
|
2981
3002
|
return hasStartFrame && hasEndFrame
|
|
2982
3003
|
? 'minimax-h3-fl2va-fp8_flf2v'
|
|
@@ -3013,11 +3034,7 @@ function resolveSkillVideoModelAlias(
|
|
|
3013
3034
|
}
|
|
3014
3035
|
if (normalized === 'minimax-h3-fasth3-turbo' && workflow) {
|
|
3015
3036
|
if (workflow === 'r2v') {
|
|
3016
|
-
|
|
3017
|
-
code: 'INVALID_ARGUMENT',
|
|
3018
|
-
details: { model: modelId, workflow },
|
|
3019
|
-
hint: MINIMAX_H3_R2V_SELECTOR_HINT
|
|
3020
|
-
});
|
|
3037
|
+
return MINIMAX_H3_FASTH3_R2V_MODEL_ID;
|
|
3021
3038
|
}
|
|
3022
3039
|
if (workflow === 'i2v') {
|
|
3023
3040
|
return hasStartFrame && hasEndFrame
|
|
@@ -3046,11 +3063,7 @@ function resolveSkillVideoModelAlias(
|
|
|
3046
3063
|
}
|
|
3047
3064
|
if (normalized === 'minimax-h3-fasth3-turbo-2stage' && workflow) {
|
|
3048
3065
|
if (workflow === 'r2v') {
|
|
3049
|
-
|
|
3050
|
-
code: 'INVALID_ARGUMENT',
|
|
3051
|
-
details: { model: modelId, workflow },
|
|
3052
|
-
hint: MINIMAX_H3_R2V_SELECTOR_HINT
|
|
3053
|
-
});
|
|
3066
|
+
return MINIMAX_H3_FASTH3_R2V_TWO_STAGE_MODEL_ID;
|
|
3054
3067
|
}
|
|
3055
3068
|
if (workflow === 'i2v') {
|
|
3056
3069
|
return hasStartFrame && hasEndFrame
|
|
@@ -3099,6 +3112,8 @@ function resolveSkillVideoModelAlias(
|
|
|
3099
3112
|
}
|
|
3100
3113
|
if (normalized === 'minimax-h3-r2v-2stage') return MINIMAX_H3_R2V_TWO_STAGE_MODEL_ID;
|
|
3101
3114
|
if (normalized === 'minimax-h3-r2v-balanced-2stage') return MINIMAX_H3_R2V_BALANCED_TWO_STAGE_MODEL_ID;
|
|
3115
|
+
if (normalized === 'minimax-h3-fasth3-r2v-turbo') return MINIMAX_H3_FASTH3_R2V_MODEL_ID;
|
|
3116
|
+
if (normalized === 'minimax-h3-fasth3-r2v-turbo-2stage') return MINIMAX_H3_FASTH3_R2V_TWO_STAGE_MODEL_ID;
|
|
3102
3117
|
return normalized === '10eros' || normalized === 'ltx23-eros'
|
|
3103
3118
|
? LTX23_10EROS_MODEL_ID
|
|
3104
3119
|
: modelId;
|
|
@@ -3113,8 +3128,15 @@ function isMiniMaxH3TurboModel(modelId) {
|
|
|
3113
3128
|
}
|
|
3114
3129
|
|
|
3115
3130
|
function isMiniMaxH3TwoStageModel(modelId) {
|
|
3131
|
+
const normalized = String(modelId || '').trim().toLowerCase();
|
|
3116
3132
|
return isMinimaxH3TwoStageModelId(modelId)
|
|
3117
|
-
|| MINIMAX_H3_AUDIO_GUIDE_TWO_STAGE_SELECTIONS.has(
|
|
3133
|
+
|| MINIMAX_H3_AUDIO_GUIDE_TWO_STAGE_SELECTIONS.has(normalized)
|
|
3134
|
+
|| MINIMAX_H3_FASTH3_R2V_TWO_STAGE_SELECTIONS.has(normalized);
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
function isMiniMaxH3FastH3R2vModel(modelId) {
|
|
3138
|
+
const normalized = String(modelId || '').trim().toLowerCase();
|
|
3139
|
+
return normalized === MINIMAX_H3_FASTH3_R2V_MODEL_ID || normalized === MINIMAX_H3_FASTH3_R2V_TWO_STAGE_MODEL_ID;
|
|
3118
3140
|
}
|
|
3119
3141
|
|
|
3120
3142
|
function isMiniMaxH3AudioGuideModel(modelId) {
|
|
@@ -3158,13 +3180,18 @@ function isMiniMaxH3R2vModel(modelId) {
|
|
|
3158
3180
|
|| normalized === MINIMAX_H3_R2V_TURBO_MODEL_ID
|
|
3159
3181
|
|| normalized === MINIMAX_H3_R2V_BALANCED_MODEL_ID
|
|
3160
3182
|
|| normalized === MINIMAX_H3_R2V_TWO_STAGE_MODEL_ID
|
|
3161
|
-
|| normalized === MINIMAX_H3_R2V_BALANCED_TWO_STAGE_MODEL_ID
|
|
3183
|
+
|| normalized === MINIMAX_H3_R2V_BALANCED_TWO_STAGE_MODEL_ID
|
|
3184
|
+
|| isMiniMaxH3FastH3R2vModel(normalized);
|
|
3162
3185
|
}
|
|
3163
3186
|
|
|
3164
|
-
// The Intelligence Client selector for a Ref2VA Two-Stage selector or id.
|
|
3187
|
+
// The Intelligence Client selector for a Ref2VA Two-Stage selector or id. FastH3
|
|
3188
|
+
// Reference Two-Stage renders the same 384/544/768 px canvases, so it sizes on
|
|
3189
|
+
// the Balanced table until the pinned client carries its own selector.
|
|
3165
3190
|
function miniMaxH3R2vTwoStageSelector(modelId) {
|
|
3166
3191
|
const normalized = String(modelId || '').trim().toLowerCase();
|
|
3167
|
-
return normalized === 'minimax-h3-r2v-balanced-2stage'
|
|
3192
|
+
return normalized === 'minimax-h3-r2v-balanced-2stage'
|
|
3193
|
+
|| normalized === MINIMAX_H3_R2V_BALANCED_TWO_STAGE_MODEL_ID
|
|
3194
|
+
|| MINIMAX_H3_FASTH3_R2V_TWO_STAGE_SELECTIONS.has(normalized)
|
|
3168
3195
|
? 'minimax-h3-r2v-balanced-2stage'
|
|
3169
3196
|
: 'minimax-h3-r2v-2stage';
|
|
3170
3197
|
}
|
|
@@ -3230,6 +3257,8 @@ function isMiniMaxH3ModelSelectionLocal(modelId) {
|
|
|
3230
3257
|
|| normalized === 'minimax-h3-r2v-balanced'
|
|
3231
3258
|
|| normalized === 'minimax-h3-r2v-2stage'
|
|
3232
3259
|
|| normalized === 'minimax-h3-r2v-balanced-2stage'
|
|
3260
|
+
|| normalized === 'minimax-h3-fasth3-r2v-turbo'
|
|
3261
|
+
|| normalized === 'minimax-h3-fasth3-r2v-turbo-2stage'
|
|
3233
3262
|
|| isMiniMaxH3Model(normalized);
|
|
3234
3263
|
}
|
|
3235
3264
|
|
|
@@ -3274,6 +3303,8 @@ function miniMaxH3ModeFromModelId(modelId) {
|
|
|
3274
3303
|
if (normalized === 'minimax-h3-r2v-balanced') return 'r2v';
|
|
3275
3304
|
if (normalized === 'minimax-h3-r2v-2stage') return 'r2v';
|
|
3276
3305
|
if (normalized === 'minimax-h3-r2v-balanced-2stage') return 'r2v';
|
|
3306
|
+
if (normalized === 'minimax-h3-fasth3-r2v-turbo') return 'r2v';
|
|
3307
|
+
if (normalized === 'minimax-h3-fasth3-r2v-turbo-2stage') return 'r2v';
|
|
3277
3308
|
if (MINIMAX_H3_AUDIO_GUIDE_SELECTORS.has(normalized)) {
|
|
3278
3309
|
return MINIMAX_H3_MODEL_MODES.get(MINIMAX_H3_AUDIO_GUIDE_SELECTORS.get(normalized));
|
|
3279
3310
|
}
|
|
@@ -5248,6 +5279,10 @@ Image Models:
|
|
|
5248
5279
|
gpt-image-2 OpenAI GPT Image 2 text-to-image and edit (up to 16 context images)
|
|
5249
5280
|
gpt-image-2.5-sunburst GPT Image 2.5 Sunburst: edits, masks, 16 references, transparency
|
|
5250
5281
|
gpt-image-2.5-flare GPT Image 2.5 Flare: edits, masks, 16 references, transparency
|
|
5282
|
+
seedream-5-0-pro-uncensored Seedream 5.0 Pro Uncensored (also "Seedream 5 Pro Uncensored", "Seedream Uncensored"):
|
|
5283
|
+
text-to-image and edits (1-10 context images), 921,600-4,194,304 pixels up to 16:1,
|
|
5284
|
+
default 1536x1536. Use it only when asked for. It shares the Seedance 2.5 Uncensored
|
|
5285
|
+
likeness agreement (error 4103 until accepted in the Sogni app). Premium Spark only.
|
|
5251
5286
|
flux3_image_klein_sd_int8_convrot FLUX 3 Image Klein: text-to-image, image-to-image, edits (up to 10 context images)
|
|
5252
5287
|
krea2_turbo_fp8_scaled Krea 2 Turbo text-to-image
|
|
5253
5288
|
moss_image_sft_int8_convrot MOSS-Image SFT text-to-image (50 steps, no reference editing)
|
|
@@ -5335,18 +5370,22 @@ state negatives in the structured prompt.):
|
|
|
5335
5370
|
canvas, 2K by default (1344x768 -> 2688x1536); --target-resolution 1080 or 720
|
|
5336
5371
|
minimax-h3-r2v-balanced-2stage Balanced Ref2VA Two-Stage: the minimax-h3-r2v-balanced request (8 steps),
|
|
5337
5372
|
delivered at twice the canvas like minimax-h3-r2v-2stage
|
|
5373
|
+
minimax-h3-fasth3-r2v-turbo FastH3 Reference: FastH3's own reference-to-video model, with the references
|
|
5374
|
+
of minimax-h3-r2v; catalog and Personal LoRAs
|
|
5375
|
+
minimax-h3-fasth3-r2v-turbo-2stage
|
|
5376
|
+
FastH3 Reference Two-Stage, delivered at twice the canvas like minimax-h3-r2v-2stage
|
|
5338
5377
|
minimax-h3-turbo 4-step LightX2V Turbo; --ref selects I2VA, --ref-end L2VA, and both FL2VA
|
|
5339
5378
|
minimax-h3-t2v-turbo 4-step LightX2V Turbo text-to-video
|
|
5340
5379
|
minimax-h3-i2v-turbo 4-step LightX2V Turbo I2VA (--ref) or L2VA (--ref-end)
|
|
5341
5380
|
minimax-h3-flf2v-turbo 4-step LightX2V Turbo first-frame -> last-frame (--ref plus --ref-end)
|
|
5342
5381
|
minimax-h3-r2v-turbo 4-step Ref2VA Turbo with loose image/video/audio references
|
|
5343
5382
|
(upstream default: 960x544, Euler/simple)
|
|
5344
|
-
minimax-h3-fasth3-turbo FastVideo VSA FastH3 Turbo; infers T2VA/I2VA/L2VA/FL2VA
|
|
5383
|
+
minimax-h3-fasth3-turbo FastVideo VSA FastH3 Turbo; infers T2VA/I2VA/L2VA/FL2VA (R2V: -fasth3-r2v-turbo)
|
|
5345
5384
|
minimax-h3-fasth3-t2v-turbo FastH3 text-to-video (up to 6x faster than Standard)
|
|
5346
5385
|
minimax-h3-fasth3-i2v-turbo FastH3 I2VA (--ref) or L2VA (--ref-end)
|
|
5347
5386
|
minimax-h3-fasth3-flf2v-turbo FastH3 first-frame -> last-frame (--ref plus --ref-end)
|
|
5348
5387
|
minimax-h3-fasth3-turbo-2stage FastH3 Two-Stage: delivered at twice the canvas, 2K by default (1344x768 -> 2688x1536);
|
|
5349
|
-
--target-resolution 1080 or 720 for 1080p or 720p; infers T2VA/I2VA/L2VA/FL2VA
|
|
5388
|
+
--target-resolution 1080 or 720 for 1080p or 720p; infers T2VA/I2VA/L2VA/FL2VA
|
|
5350
5389
|
minimax-h3-fasth3-t2v-turbo-2stage
|
|
5351
5390
|
FastH3 Two-Stage text-to-video
|
|
5352
5391
|
minimax-h3-fasth3-i2v-turbo-2stage
|
|
@@ -5761,7 +5800,7 @@ if (options.multiAngle) {
|
|
|
5761
5800
|
}
|
|
5762
5801
|
|
|
5763
5802
|
if (!options.video && !options.music && options.model) {
|
|
5764
|
-
options.model = normalizeGptImageModelAlias(options.model);
|
|
5803
|
+
options.model = normalizeSeedreamModelAlias(normalizeGptImageModelAlias(options.model));
|
|
5765
5804
|
}
|
|
5766
5805
|
if (options.outputFormat) {
|
|
5767
5806
|
const normalized = options.outputFormat.toLowerCase();
|
|
@@ -6074,8 +6113,8 @@ if (options.video) {
|
|
|
6074
6113
|
|
|
6075
6114
|
// Standard, Balanced, and LightX2V Turbo each have four concrete worker
|
|
6076
6115
|
// selectors (Standard and Balanced r2v also have a two-stage id, picked only
|
|
6077
|
-
// by its own minimax-h3-r2v[-balanced]-2stage selector)
|
|
6078
|
-
//
|
|
6116
|
+
// by its own minimax-h3-r2v[-balanced]-2stage selector). FastH3 family selectors
|
|
6117
|
+
// route explicit --workflow r2v to FastH3 Omni. The FL2VA and
|
|
6079
6118
|
// FastVideo checkpoints cover t2v, first-frame i2v, last-frame-only
|
|
6080
6119
|
// l2v, and first/last-frame (represented by the CLI's i2v workflow); Ref2VA
|
|
6081
6120
|
// is a separate r2v checkpoint and is never inferred from loose references.
|
|
@@ -6113,7 +6152,7 @@ if (options.video) {
|
|
|
6113
6152
|
const audioGuideHint = 'FastH3 audio-to-video: -m minimax-h3-fasth3-ia2v-turbo (--ref plus --ref-audio), '
|
|
6114
6153
|
+ '-m minimax-h3-fasth3-flfa2v-turbo (--ref, --ref-end and --ref-audio), or '
|
|
6115
6154
|
+ '-m minimax-h3-fasth3-a2v-turbo (--ref-audio only); add -2stage for Two-Stage. '
|
|
6116
|
-
+ 'For audio as a loose reference rather than the soundtrack, use -m minimax-h3-r2v.';
|
|
6155
|
+
+ 'For audio as a loose reference rather than the soundtrack, use -m minimax-h3-fasth3-r2v-turbo.';
|
|
6117
6156
|
if (
|
|
6118
6157
|
(options.videoWorkflow === 'ia2v' || options.videoWorkflow === 'a2v')
|
|
6119
6158
|
&& !isMiniMaxH3FastH3TurboSelectionLocal(options.model)
|
|
@@ -6381,7 +6420,7 @@ if (options.music) {
|
|
|
6381
6420
|
code: 'INVALID_ARGUMENT',
|
|
6382
6421
|
details: { flag: '--target-resolution', value: '2K', model: options.model },
|
|
6383
6422
|
hint: isMiniMaxH3R2vModel(options.model)
|
|
6384
|
-
? 'Use -m minimax-h3-
|
|
6423
|
+
? 'Use -m minimax-h3-fasth3-r2v-turbo-2stage for 2K MiniMax H3 reference-to-video, or pass the short side in pixels.'
|
|
6385
6424
|
: 'Use -m minimax-h3-fasth3-turbo-2stage for 2K MiniMax H3 video, or pass the short side in pixels.'
|
|
6386
6425
|
});
|
|
6387
6426
|
}
|
|
@@ -6490,6 +6529,17 @@ if (!options.video && !options.music && isGptImage2ModelSelection(options.model)
|
|
|
6490
6529
|
if (!cliSet.timeout && !timeoutFromConfig) options.timeout = 600000;
|
|
6491
6530
|
}
|
|
6492
6531
|
|
|
6532
|
+
// Seedream 5.0 Pro Uncensored renders 921,600-4,194,304 pixels up to 16:1 and
|
|
6533
|
+
// defaults to 1536x1536. Refuse a size the vendor would reject before paying.
|
|
6534
|
+
if (!options.video && !options.music && isSeedreamImageModel(normalizeSeedreamModelAlias(options.model))) {
|
|
6535
|
+
options.model = normalizeSeedreamModelAlias(options.model);
|
|
6536
|
+
if (!cliSet.width && !widthFromConfig && !widthFromPrompt) options.width = SEEDREAM_DEFAULT_WIDTH;
|
|
6537
|
+
if (!cliSet.height && !heightFromConfig && !heightFromPrompt) options.height = SEEDREAM_DEFAULT_HEIGHT;
|
|
6538
|
+
const sizeRefusal = getSeedreamImageSizeRefusal(options.width, options.height);
|
|
6539
|
+
if (sizeRefusal) fatalCliError(sizeRefusal, { code: 'INVALID_ARGUMENT' });
|
|
6540
|
+
if (!cliSet.timeout && !timeoutFromConfig) options.timeout = 600000;
|
|
6541
|
+
}
|
|
6542
|
+
|
|
6493
6543
|
if (options.music) {
|
|
6494
6544
|
const musicDefaults = getMusicModelDefaults(options.model);
|
|
6495
6545
|
const durationLimits = musicDefaults.duration || MUSIC_DURATION_LIMITS;
|
|
@@ -7143,7 +7193,7 @@ if (options.video) {
|
|
|
7143
7193
|
}
|
|
7144
7194
|
}
|
|
7145
7195
|
if (options.contextImages.length > 0 || options.refAudio || options.refVideo || options.refAudios.length > 0 || options.refVideos.length > 0) {
|
|
7146
|
-
fatalCliError('MiniMax H3 i2v/flf2v accepts only --ref and optional --ref-end image anchors; use minimax-h3-r2v for loose image/video/audio references.', { code: 'INVALID_ARGUMENT' });
|
|
7196
|
+
fatalCliError('MiniMax H3 i2v/flf2v accepts only --ref and optional --ref-end image anchors; use minimax-h3-fasth3-r2v-turbo for loose image/video/audio references.', { code: 'INVALID_ARGUMENT' });
|
|
7147
7197
|
}
|
|
7148
7198
|
} else {
|
|
7149
7199
|
if (!options.refImage && !options.refImageEnd) {
|
|
@@ -15372,7 +15422,9 @@ async function main() {
|
|
|
15372
15422
|
if (isMiniMaxH3TwoStageModel(options.model) && !options.quiet) {
|
|
15373
15423
|
// Two-stage renders this canvas and delivers twice it: same frames and audio.
|
|
15374
15424
|
const delivered = minimaxH3TwoStageDeliveredSize(projectConfig.width, projectConfig.height);
|
|
15375
|
-
const twoStageLabel =
|
|
15425
|
+
const twoStageLabel = isMiniMaxH3FastH3R2vModel(options.model)
|
|
15426
|
+
? 'FastH3 Reference Two-Stage'
|
|
15427
|
+
: isMiniMaxH3R2vModel(options.model) ? 'Ref2VA Two-Stage' : 'FastH3 Two-Stage';
|
|
15376
15428
|
console.error(
|
|
15377
15429
|
`MiniMax H3 ${twoStageLabel}: delivered at ${delivered.width}x${delivered.height} ` +
|
|
15378
15430
|
`(twice the ${projectConfig.width}x${projectConfig.height} canvas), same length and audio.`
|
package/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = '3.
|
|
1
|
+
export const PACKAGE_VERSION = '3.60.2';
|