@sogni-ai/sogni-creative-agent-skill 3.73.3 → 3.73.4
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 +1 -1
- package/.agents/skills/sogni-creative-agent-skill/references/image-prompting.md +1 -1
- package/.agents/skills/sogni-creative-agent-skill/references/video-prompting.md +8 -8
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +6 -0
- package/SKILL.md +2 -2
- package/desktop-extension/manifest.json +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +2 -2
- package/references/image-prompting.md +1 -1
- package/references/video-prompting.md +8 -8
- package/skill-package.json +1 -1
- package/sogni-agent.mjs +40 -42
- package/version.mjs +1 -1
|
@@ -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, build a playable world, apply a saved identity, or refine an earlier Sogni result."
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
version: "3.73.
|
|
6
|
+
version: "3.73.4"
|
|
7
7
|
author: Sogni AI
|
|
8
8
|
hermes:
|
|
9
9
|
category: creative
|
|
@@ -64,7 +64,7 @@ Prompt-only families return the directly runnable prompt with no label,
|
|
|
64
64
|
Markdown fence, preamble, explanation, or render offer.
|
|
65
65
|
|
|
66
66
|
<!-- BEGIN GENERATED PROMPT GUIDE: image-models -->
|
|
67
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
67
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
68
68
|
|
|
69
69
|
## Per-model rules from Sogni's image prompt writer
|
|
70
70
|
|
|
@@ -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.33.
|
|
127
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; 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.33.
|
|
182
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
183
183
|
|
|
184
184
|
### Sogni's prompt rules: ltx-2.3
|
|
185
185
|
|
|
@@ -977,7 +977,7 @@ the exact waveform-conditioned lip-sync input. Remote audio URLs and additional
|
|
|
977
977
|
audio references keep their existing handling.
|
|
978
978
|
|
|
979
979
|
<!-- BEGIN GENERATED PROMPT GUIDE: minimax-h3 -->
|
|
980
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
980
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
981
981
|
|
|
982
982
|
### Sogni's prompt rules: minimax-h3
|
|
983
983
|
|
|
@@ -1195,7 +1195,7 @@ A low tracking shot races alongside a teal 1960s convertible down a sunlit coast
|
|
|
1195
1195
|
```
|
|
1196
1196
|
|
|
1197
1197
|
<!-- BEGIN GENERATED PROMPT GUIDE: seedance-2.5 -->
|
|
1198
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
1198
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
1199
1199
|
|
|
1200
1200
|
### Sogni's prompt rules: seedance-2.5
|
|
1201
1201
|
|
|
@@ -1269,7 +1269,7 @@ TARGET CAPABILITIES: Seedance 2.5 uses the same director-style prompt grammar an
|
|
|
1269
1269
|
<!-- END GENERATED PROMPT GUIDE: seedance-2.5 -->
|
|
1270
1270
|
|
|
1271
1271
|
<!-- BEGIN GENERATED PROMPT GUIDE: seedance-2.0 -->
|
|
1272
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
1272
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
1273
1273
|
|
|
1274
1274
|
### Sogni's prompt rules: seedance-2.0
|
|
1275
1275
|
|
|
@@ -1378,7 +1378,7 @@ writer uses close this section.
|
|
|
1378
1378
|
motion timing, camera path, framing, and background.
|
|
1379
1379
|
|
|
1380
1380
|
<!-- BEGIN GENERATED PROMPT GUIDE: wan-2.2 -->
|
|
1381
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
1381
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
1382
1382
|
|
|
1383
1383
|
### Sogni's prompt rules: wan-2.2
|
|
1384
1384
|
|
|
@@ -1468,7 +1468,7 @@ The rules Sogni's own prompt writer uses close this section.
|
|
|
1468
1468
|
- Prompts may run to 20,000 characters.
|
|
1469
1469
|
|
|
1470
1470
|
<!-- BEGIN GENERATED PROMPT GUIDE: wan-3 -->
|
|
1471
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
1471
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
1472
1472
|
|
|
1473
1473
|
### Sogni's prompt rules: wan-3
|
|
1474
1474
|
|
|
@@ -1523,7 +1523,7 @@ audio that is always on. What it renders well and the reference limits are in
|
|
|
1523
1523
|
[models.md § HappyHorse 1.1](./models.md#happyhorse-11-prompting-tips).
|
|
1524
1524
|
|
|
1525
1525
|
<!-- BEGIN GENERATED PROMPT GUIDE: happyhorse-1.1 -->
|
|
1526
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
1526
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
1527
1527
|
|
|
1528
1528
|
### Sogni's prompt rules: happyhorse-1.1
|
|
1529
1529
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sogni-creative-agent",
|
|
3
|
-
"version": "3.73.
|
|
3
|
+
"version": "3.73.4",
|
|
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",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [3.73.4] - 2026-11-23
|
|
2
|
+
|
|
3
|
+
- Seedance renders from a still now start: `--workflow i2v`, `l2v` and `flf` (the prompt guide's frame modes) use the still as the first or last frame and keep its shape, where the CLI refused them before.
|
|
4
|
+
- `--quote` and the balance check now price MiniMax H3 clips of 11 to 15 seconds.
|
|
5
|
+
- Use Sogni SDK 5.86.1 and intelligence-client 4.33.2.
|
|
6
|
+
|
|
1
7
|
## [3.73.3] - 2026-11-23
|
|
2
8
|
|
|
3
9
|
- Hosts can allocate storage before saving completed renders. If a result will not fit, the CLI preserves saved files and gives commands to collect the existing render after making room.
|
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 and RelayVSR video upscaling up to 2160p, one-click image-folder loop reels, personas (people with saved photos and voices), 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\", \"build a playable world\", \"apply a style\", or \"generate me as a superhero\"."
|
|
4
4
|
metadata:
|
|
5
|
-
version: "3.73.
|
|
5
|
+
version: "3.73.4"
|
|
6
6
|
homepage: https://sogni.ai
|
|
7
7
|
openclaw:
|
|
8
8
|
emoji: "🎨"
|
|
@@ -277,7 +277,7 @@ sogni-agent doctor --json
|
|
|
277
277
|
| `-w` / `-h` | Width / height | 512×512 |
|
|
278
278
|
| `-n <num>` | Output count (`{a\|b\|c}` prompt variations cycle); capped at 16, raise with `SOGNI_MAX_COUNT` | 1 |
|
|
279
279
|
| `--video`, `--music` | Generate video / music instead of image | - |
|
|
280
|
-
| `--workflow <t>` | Force `t2v\|i2v\|r2v\|s2v\|ia2v\|a2v\|v2v\|animate-move\|animate-replace` | inferred |
|
|
280
|
+
| `--workflow <t>` | Force `t2v\|i2v\|r2v\|s2v\|ia2v\|a2v\|v2v\|animate-move\|animate-replace`. Seedance also takes the prompt guide's frame modes: `i2v` (`--ref`), `l2v` (`--ref-end`), `flf` (both) | inferred |
|
|
281
281
|
| `--ref`, `-c`, `--ref-end`, `--ref-audio`, `--ref-video`, `--mask` | Frame / loose image / audio / video / mask references; audio/video repeat for H3 r2v; `--keyframe <image>@<sec>` pins an H3 keyframe (repeat, up to 8) | - |
|
|
282
282
|
| `--seedance-task-type reference\|edit\|extend`; `--seedance-draft`, `--seedance-finalize <jobId>` | Seedance 2.5 loose-reference operation (v2v defaults to edit). Drafts require user consent after explaining their added cost; finalize an unchanged kept draft at 1080p by default or 4K with `--target-resolution 2160`, before `seedanceDraftExpiresAt`. See `references/models.md` § Seedance 2.5 | - |
|
|
283
283
|
| `--wan3-ratio`, `--smart-duration` | Wan 3 adaptive/fixed ratio and provider-selected 2–30s duration | adaptive / fixed |
|
|
@@ -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.73.
|
|
5
|
+
"version": "3.73.4",
|
|
6
6
|
"description": "Generate images, video, music, and speech, and upscale images and video, 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",
|
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.73.
|
|
5
|
+
"version": "3.73.4",
|
|
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.73.
|
|
3
|
+
"version": "3.73.4",
|
|
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",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"progress-events.mjs"
|
|
109
109
|
],
|
|
110
110
|
"dependencies": {
|
|
111
|
-
"@sogni-ai/sogni-intelligence-client": "4.33.
|
|
111
|
+
"@sogni-ai/sogni-intelligence-client": "4.33.2",
|
|
112
112
|
"execa": "^10.0.1",
|
|
113
113
|
"json5": "^2.2.3",
|
|
114
114
|
"sharp": "0.35.5"
|
|
@@ -64,7 +64,7 @@ Prompt-only families return the directly runnable prompt with no label,
|
|
|
64
64
|
Markdown fence, preamble, explanation, or render offer.
|
|
65
65
|
|
|
66
66
|
<!-- BEGIN GENERATED PROMPT GUIDE: image-models -->
|
|
67
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
67
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
68
68
|
|
|
69
69
|
## Per-model rules from Sogni's image prompt writer
|
|
70
70
|
|
|
@@ -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.33.
|
|
127
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; 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.33.
|
|
182
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
183
183
|
|
|
184
184
|
### Sogni's prompt rules: ltx-2.3
|
|
185
185
|
|
|
@@ -977,7 +977,7 @@ the exact waveform-conditioned lip-sync input. Remote audio URLs and additional
|
|
|
977
977
|
audio references keep their existing handling.
|
|
978
978
|
|
|
979
979
|
<!-- BEGIN GENERATED PROMPT GUIDE: minimax-h3 -->
|
|
980
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
980
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
981
981
|
|
|
982
982
|
### Sogni's prompt rules: minimax-h3
|
|
983
983
|
|
|
@@ -1195,7 +1195,7 @@ A low tracking shot races alongside a teal 1960s convertible down a sunlit coast
|
|
|
1195
1195
|
```
|
|
1196
1196
|
|
|
1197
1197
|
<!-- BEGIN GENERATED PROMPT GUIDE: seedance-2.5 -->
|
|
1198
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
1198
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
1199
1199
|
|
|
1200
1200
|
### Sogni's prompt rules: seedance-2.5
|
|
1201
1201
|
|
|
@@ -1269,7 +1269,7 @@ TARGET CAPABILITIES: Seedance 2.5 uses the same director-style prompt grammar an
|
|
|
1269
1269
|
<!-- END GENERATED PROMPT GUIDE: seedance-2.5 -->
|
|
1270
1270
|
|
|
1271
1271
|
<!-- BEGIN GENERATED PROMPT GUIDE: seedance-2.0 -->
|
|
1272
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
1272
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
1273
1273
|
|
|
1274
1274
|
### Sogni's prompt rules: seedance-2.0
|
|
1275
1275
|
|
|
@@ -1378,7 +1378,7 @@ writer uses close this section.
|
|
|
1378
1378
|
motion timing, camera path, framing, and background.
|
|
1379
1379
|
|
|
1380
1380
|
<!-- BEGIN GENERATED PROMPT GUIDE: wan-2.2 -->
|
|
1381
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
1381
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
1382
1382
|
|
|
1383
1383
|
### Sogni's prompt rules: wan-2.2
|
|
1384
1384
|
|
|
@@ -1468,7 +1468,7 @@ The rules Sogni's own prompt writer uses close this section.
|
|
|
1468
1468
|
- Prompts may run to 20,000 characters.
|
|
1469
1469
|
|
|
1470
1470
|
<!-- BEGIN GENERATED PROMPT GUIDE: wan-3 -->
|
|
1471
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
1471
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
1472
1472
|
|
|
1473
1473
|
### Sogni's prompt rules: wan-3
|
|
1474
1474
|
|
|
@@ -1523,7 +1523,7 @@ audio that is always on. What it renders well and the reference limits are in
|
|
|
1523
1523
|
[models.md § HappyHorse 1.1](./models.md#happyhorse-11-prompting-tips).
|
|
1524
1524
|
|
|
1525
1525
|
<!-- BEGIN GENERATED PROMPT GUIDE: happyhorse-1.1 -->
|
|
1526
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.
|
|
1526
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.33.2; edit the rules there, not here. -->
|
|
1527
1527
|
|
|
1528
1528
|
### Sogni's prompt rules: happyhorse-1.1
|
|
1529
1529
|
|
package/skill-package.json
CHANGED
package/sogni-agent.mjs
CHANGED
|
@@ -2466,6 +2466,15 @@ function imageOptionsFromCli() {
|
|
|
2466
2466
|
|
|
2467
2467
|
const SEEDANCE_TASK_TYPES = new Set(['reference', 'edit', 'extend']);
|
|
2468
2468
|
|
|
2469
|
+
// The Seedance prompt guide names its frame-anchor modes i2v, l2v and flf.
|
|
2470
|
+
// The CLI sends each as dedicated frame mode (the t2v workflow with
|
|
2471
|
+
// --ref/--ref-end), so a named mode decides which anchors must be present.
|
|
2472
|
+
const SEEDANCE_GUIDE_FRAME_MODES = Object.freeze({
|
|
2473
|
+
i2v: { first: true, last: false, title: 'first-frame image-to-video', flags: 'the first frame with --ref and no --ref-end' },
|
|
2474
|
+
l2v: { first: false, last: true, title: 'last-frame image-to-video', flags: 'the last frame with --ref-end and no --ref' },
|
|
2475
|
+
flf: { first: true, last: true, title: 'first-and-last-frame video', flags: 'the first frame with --ref and the last frame with --ref-end' }
|
|
2476
|
+
});
|
|
2477
|
+
|
|
2469
2478
|
// Seedance 2.5 draft mode: a draft's job id is what --seedance-finalize takes,
|
|
2470
2479
|
// and its expiry is the last moment it can be rendered at 1080p. Reported only
|
|
2471
2480
|
// for draft-mode requests, from the completed SDK job.
|
|
@@ -4380,6 +4389,7 @@ const options = {
|
|
|
4380
4389
|
musicShift: null,
|
|
4381
4390
|
video: false,
|
|
4382
4391
|
videoWorkflow: null,
|
|
4392
|
+
seedanceFrameMode: null, // i2v|l2v|flf from --workflow on a Seedance model; sent as dedicated frame mode
|
|
4383
4393
|
seedanceTaskType: null,
|
|
4384
4394
|
seedanceDraft: false,
|
|
4385
4395
|
seedanceFinalize: null,
|
|
@@ -5910,6 +5920,7 @@ Music Options:
|
|
|
5910
5920
|
Video Options:
|
|
5911
5921
|
--video, -v Generate video instead of image
|
|
5912
5922
|
--workflow <type> Video workflow: t2v|i2v|r2v|s2v|ia2v|a2v|v2v|animate-move|animate-replace
|
|
5923
|
+
Seedance also takes the prompt guide's frame modes: i2v (--ref), l2v (--ref-end), flf (both)
|
|
5913
5924
|
--seedance-task-type <type> Seedance 2.5 loose-reference operation: reference|edit|extend
|
|
5914
5925
|
--seedance-draft Seedance 2.5: render a 480p draft that --seedance-finalize can render at 1080p or 4K
|
|
5915
5926
|
--seedance-finalize <draft-job-id> Seedance 2.5: render that draft at 1080p by default; --target-resolution 2160 selects 4K.
|
|
@@ -6949,7 +6960,13 @@ if (options.angles360Video && !options.angles360) {
|
|
|
6949
6960
|
|
|
6950
6961
|
// Normalize/validate video workflow before applying defaults
|
|
6951
6962
|
if (options.video) {
|
|
6952
|
-
|
|
6963
|
+
const seedanceFrameMode = options.videoWorkflow && isSeedanceModelSelection(options.model)
|
|
6964
|
+
? String(options.videoWorkflow).toLowerCase()
|
|
6965
|
+
: null;
|
|
6966
|
+
if (Object.hasOwn(SEEDANCE_GUIDE_FRAME_MODES, seedanceFrameMode)) {
|
|
6967
|
+
options.seedanceFrameMode = seedanceFrameMode;
|
|
6968
|
+
options.videoWorkflow = 't2v';
|
|
6969
|
+
} else if (options.videoWorkflow) {
|
|
6953
6970
|
const normalized = normalizeVideoWorkflow(options.videoWorkflow);
|
|
6954
6971
|
if (normalized) {
|
|
6955
6972
|
options.videoWorkflow = normalized;
|
|
@@ -8449,6 +8466,26 @@ if (options.video) {
|
|
|
8449
8466
|
fatalCliError('Seedance 2.0 audio references require --ref, --ref-video, or -c/--context image refs.', { code: 'INVALID_ARGUMENT' });
|
|
8450
8467
|
}
|
|
8451
8468
|
|
|
8469
|
+
const seedanceFrameAnchors = isSeedanceVideo ? SEEDANCE_GUIDE_FRAME_MODES[options.seedanceFrameMode] : undefined;
|
|
8470
|
+
if (
|
|
8471
|
+
seedanceFrameAnchors
|
|
8472
|
+
&& (Boolean(options.refImage) !== seedanceFrameAnchors.first || Boolean(options.refImageEnd) !== seedanceFrameAnchors.last)
|
|
8473
|
+
) {
|
|
8474
|
+
fatalCliError(
|
|
8475
|
+
`Seedance --workflow ${options.seedanceFrameMode} is ${seedanceFrameAnchors.title}: pass ${seedanceFrameAnchors.flags}.`,
|
|
8476
|
+
{
|
|
8477
|
+
code: 'INVALID_ARGUMENT',
|
|
8478
|
+
details: {
|
|
8479
|
+
workflow: options.seedanceFrameMode,
|
|
8480
|
+
model: options.model,
|
|
8481
|
+
ref: Boolean(options.refImage),
|
|
8482
|
+
refEnd: Boolean(options.refImageEnd),
|
|
8483
|
+
},
|
|
8484
|
+
hint: 'Use --workflow i2v for --ref alone, l2v for --ref-end alone, or flf for both; or omit --workflow and Seedance anchors whichever frames you pass.'
|
|
8485
|
+
}
|
|
8486
|
+
);
|
|
8487
|
+
}
|
|
8488
|
+
|
|
8452
8489
|
// Seedance provider roles form two mutually exclusive request shapes:
|
|
8453
8490
|
// - DEDICATED FRAME MODE: --ref (first frame) and/or --ref-end (last frame)
|
|
8454
8491
|
// outside the typed ia2v workflow. The platform pins them as
|
|
@@ -15451,26 +15488,6 @@ async function buildVideoEstimateParams({ tokenType, steps }) {
|
|
|
15451
15488
|
return params;
|
|
15452
15489
|
}
|
|
15453
15490
|
|
|
15454
|
-
function isMiniMaxH3ExtendedDurationEstimateError(err) {
|
|
15455
|
-
const actualDuration = options.frames
|
|
15456
|
-
? options.frames / options.fps
|
|
15457
|
-
: options.duration;
|
|
15458
|
-
return isMiniMaxH3Model(options.model)
|
|
15459
|
-
&& actualDuration > 10
|
|
15460
|
-
&& /duration must be between 1 and 10 seconds/i.test(String(err?.message || err || ''));
|
|
15461
|
-
}
|
|
15462
|
-
|
|
15463
|
-
function buildMiniMaxH3EstimateUnavailableError(cause) {
|
|
15464
|
-
const err = new Error(
|
|
15465
|
-
'MiniMax H3 generation supports clips through 15.08 seconds, but this client cannot pre-estimate clips over 10 seconds.'
|
|
15466
|
-
);
|
|
15467
|
-
err.code = 'VIDEO_COST_ESTIMATE_UNAVAILABLE';
|
|
15468
|
-
err.retryable = false;
|
|
15469
|
-
err.hint = 'Submit without --estimate-video-cost so the server can validate balance when the render starts, or estimate a clip of 10 seconds or less.';
|
|
15470
|
-
err.cause = cause;
|
|
15471
|
-
return err;
|
|
15472
|
-
}
|
|
15473
|
-
|
|
15474
15491
|
async function ensureSufficientVideoBalance(client, log) {
|
|
15475
15492
|
if (!options.video || options.estimateVideoCost || options.quote) return;
|
|
15476
15493
|
// Wan 3.0 Enhanced launch credits live in the server-side model ledger and
|
|
@@ -15519,12 +15536,7 @@ async function ensureSufficientVideoBalance(client, log) {
|
|
|
15519
15536
|
estimate = await client.estimateVideoCost(await buildVideoEstimateParams({ tokenType, steps }));
|
|
15520
15537
|
} catch (err) {
|
|
15521
15538
|
if (!options.quiet) {
|
|
15522
|
-
|
|
15523
|
-
const estimateError = buildMiniMaxH3EstimateUnavailableError(err);
|
|
15524
|
-
log(`Note: ${estimateError.message} ${estimateError.hint}`);
|
|
15525
|
-
} else {
|
|
15526
|
-
log(`Warning: Could not estimate video cost (${err?.message || 'error'})`);
|
|
15527
|
-
}
|
|
15539
|
+
log(`Warning: Could not estimate video cost (${err?.message || 'error'})`);
|
|
15528
15540
|
}
|
|
15529
15541
|
return;
|
|
15530
15542
|
}
|
|
@@ -15557,12 +15569,6 @@ const IMAGE_ESTIMATE_OUTPUT_FORMATS = new Set(['png', 'jpg', 'webp', 'gif']);
|
|
|
15557
15569
|
// or a rate limit, keep their error.
|
|
15558
15570
|
function asQuoteError(err) {
|
|
15559
15571
|
if (err?.code === QUOTE_UNAVAILABLE) return err;
|
|
15560
|
-
if (isMiniMaxH3ExtendedDurationEstimateError(err)) {
|
|
15561
|
-
return quoteUnavailableError(buildMiniMaxH3EstimateUnavailableError(err).message, {
|
|
15562
|
-
hint: 'Quote a clip of 10 seconds or less, or render without --quote; Sogni checks the price when the render starts.',
|
|
15563
|
-
cause: err
|
|
15564
|
-
});
|
|
15565
|
-
}
|
|
15566
15572
|
const status = err?.status ?? err?.statusCode;
|
|
15567
15573
|
if (status === 400 || status === 404) {
|
|
15568
15574
|
return quoteUnavailableError(`Sogni has no quote for this request: ${cliErrorMessage(err)}`, { cause: err });
|
|
@@ -16704,15 +16710,7 @@ async function main() {
|
|
|
16704
16710
|
tokenType: options.tokenType || 'spark',
|
|
16705
16711
|
steps
|
|
16706
16712
|
});
|
|
16707
|
-
|
|
16708
|
-
try {
|
|
16709
|
-
estimate = await client.estimateVideoCost(estimateParams);
|
|
16710
|
-
} catch (err) {
|
|
16711
|
-
if (isMiniMaxH3ExtendedDurationEstimateError(err)) {
|
|
16712
|
-
throw buildMiniMaxH3EstimateUnavailableError(err);
|
|
16713
|
-
}
|
|
16714
|
-
throw err;
|
|
16715
|
-
}
|
|
16713
|
+
const estimate = await client.estimateVideoCost(estimateParams);
|
|
16716
16714
|
if (options.json) {
|
|
16717
16715
|
const duration = options.frames ? Math.max(1, Math.round((options.frames - 1) / options.fps)) : options.duration;
|
|
16718
16716
|
const delivered = isMiniMaxH3TwoStageModel(options.model)
|
package/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = '3.73.
|
|
1
|
+
export const PACKAGE_VERSION = '3.73.4';
|