@sogni-ai/sogni-creative-agent-skill 3.21.0 → 3.23.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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +31 -1
- package/README.md +6 -1
- package/SKILL.md +12 -4
- package/desktop-extension/manifest.json +1 -1
- package/desktop-extension/server/index.mjs +21 -2
- package/desktop-extension/server/tools.mjs +1 -1
- package/generated/creative-agent-runtime.mjs +1 -1
- package/openclaw.plugin.json +2 -2
- package/package.json +3 -3
- package/references/models.md +36 -5
- package/references/openclaw-config.md +1 -1
- package/references/private-mature-video.md +26 -8
- package/skill-package.json +1 -1
- package/sogni-agent.mjs +211 -36
- package/version.mjs +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sogni-creative-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.23.0",
|
|
4
4
|
"description": "Sogni Creative Agent: image, 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,32 @@
|
|
|
1
|
+
# [3.23.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.22.0...v3.23.0) (2026-08-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **video:** raise the default generation timeout to 30 minutes and explicitly cancel every known Sogni project before reporting a timeout
|
|
7
|
+
* **video:** keep desktop and OpenClaw process safety limits behind the CLI timeout so network cancellation can finish first
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **models:** add MiniMax H3 text-to-video, image-to-video, and first/last-frame aliases with native frame-grid alignment
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# [3.22.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.21.0...v3.22.0) (2026-07-30)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **images:** route identity-sensitive edits of referenced people and characters
|
|
21
|
+
through Krea 2 Identity Edit by default while preserving explicit model choices
|
|
22
|
+
* **images:** add concise Krea edit prompting, ordered base/detail references,
|
|
23
|
+
and worker-owned execution defaults for stronger likeness preservation while
|
|
24
|
+
preserving deliberate direct-CLI control overrides
|
|
25
|
+
* **models:** add the explicit `ltx23-eros` selector for LTX-2.3 10Eros
|
|
26
|
+
image-to-video, with required filter acknowledgement and fixed model settings
|
|
27
|
+
* **video:** add start-frame-aware 10Eros cinematic prompting guidance for
|
|
28
|
+
coherent performance, camera motion, atmosphere, dialogue, and sound
|
|
29
|
+
|
|
1
30
|
# [3.21.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.20.0...v3.21.0) (2026-07-31)
|
|
2
31
|
|
|
3
32
|
|
|
@@ -20,7 +49,8 @@
|
|
|
20
49
|
|
|
21
50
|
### Features
|
|
22
51
|
|
|
23
|
-
* **images:** support Krea
|
|
52
|
+
* **images:** support up to eight ordered Krea 2 Turbo LoRAs with independently
|
|
53
|
+
validated bipolar strengths, including negative inverse-effect values
|
|
24
54
|
|
|
25
55
|
# [3.19.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.18.1...v3.19.0) (2026-07-28)
|
|
26
56
|
|
package/README.md
CHANGED
|
@@ -574,7 +574,11 @@ Prefer `-Q fast|hq|pro` for images and automatic workflow routing for video. Pas
|
|
|
574
574
|
| Photobooth face transfer | `coreml-sogniXLturbo_alpha1_ad` |
|
|
575
575
|
| Direct music generation | `ace_step_1.5_xl_turbo` (or `--music-model turbo`) |
|
|
576
576
|
| Music with stronger lyric handling | `ace_step_1.5_xl_sft` (or `--music-model sft`) |
|
|
577
|
+
| MiniMax H3 text-to-video with native stereo audio | `minimax-h3` or `minimax-h3-t2v` |
|
|
578
|
+
| MiniMax H3 image-to-video | `minimax-h3-i2v` |
|
|
579
|
+
| MiniMax H3 first-frame → last-frame video | `minimax-h3-flf2v` with `--ref A --ref-end B` |
|
|
577
580
|
| Text-to-video with native dialogue/audio | `ltx23-22b-fp8_t2v_distilled` |
|
|
581
|
+
| Explicit uncensored image-to-video on 30GB+ GPUs | `ltx23-eros` with `--no-filter` |
|
|
578
582
|
| Image+audio-to-video | `ltx23-22b-fp8_ia2v_distilled` |
|
|
579
583
|
| Audio-to-video | `ltx23-22b-fp8_a2v_distilled` |
|
|
580
584
|
| Video-to-video with ControlNet | `ltx23-22b-fp8_v2v_distilled` |
|
|
@@ -582,7 +586,7 @@ Prefer `-Q fast|hq|pro` for images and automatic workflow routing for video. Pas
|
|
|
582
586
|
| Seedance video-to-video without ControlNet | `seedance2-v2v` |
|
|
583
587
|
| Face lip-sync with uploaded audio | `wan_v2.2-14b-fp8_s2v_lightx2v` |
|
|
584
588
|
|
|
585
|
-
`gpt-image-2` supports flexible OpenAI image sizes up to 3840 px on either edge, max 3:1 aspect ratio, and total pixels from 655,360 to 8,294,400; the API snaps dimensions to valid multiples of 16. For image editing with `gpt-image-2`, you can pass up to 16 context images. Krea 2 Identity Edit (`krea2_identity_edit_v1_2`) and Dark Beast Krea 2 Identity Edit (`dark_beast_krea2_identity_edit_v1_2`) use `-c/--context`,
|
|
589
|
+
`gpt-image-2` supports flexible OpenAI image sizes up to 3840 px on either edge, max 3:1 aspect ratio, and total pixels from 655,360 to 8,294,400; the API snaps dimensions to valid multiples of 16. For image editing with `gpt-image-2`, you can pass up to 16 context images. For likeness-preserving edits of a referenced person or character, agents default to Krea 2 Identity Edit (`krea2_identity_edit_v1_2`) unless you explicitly choose another model. It and Dark Beast Krea 2 Identity Edit (`dark_beast_krea2_identity_edit_v1_2`) use `-c/--context`, accept 1-2 references at 512-2048 px, and leave execution defaults to the current model tier.
|
|
586
590
|
|
|
587
591
|
Music generation uses `--music` and outputs `mp3` by default. `--audio` remains the video-reference alias for `--ref-audio`; use `--music` or `--generate-music` for direct audio-only generation.
|
|
588
592
|
|
|
@@ -591,6 +595,7 @@ Music generation uses `--music` and outputs `mp3` by default. `--audio` remains
|
|
|
591
595
|
## Video Sizing & Aspect Ratios
|
|
592
596
|
|
|
593
597
|
- **WAN models** use dimensions divisible by 16, min 480 px, max 1536 px.
|
|
598
|
+
- **MiniMax H3 FL2VA** uses a 32 px grid, fixed 24 fps, native stereo audio, 124–362 frames (`124 + n×17`), and a 1,032,192-pixel render cap (normally 1344×768 or 768×1344). The initial Sogni release requires a 32 GB-class worker.
|
|
594
599
|
- **LTX family** (`ltx2-*`, `ltx23-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
|
|
595
600
|
- **Seedance** runs at fixed 24 fps and supports 4–15 s durations. Full `seedance2` supports native 4K via `--target-resolution 2160`; `seedance2-mini` and `seedance2-fast` remain capped to the 720p lower-resolution path. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
|
|
596
601
|
- For spoken dialogue, budget roughly 3 words per second plus about 1 second for each meaningful acting beat or pause. Keep quoted speech under the model's hard per-clip word budget.
|
package/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: sogni-creative-agent-skill
|
|
3
3
|
description: "Sogni Creative Agent Skill: agent skill and CLI for image, video, and music generation using Sogni AI's decentralized GPU network. Supports one-click image-folder loop reels, personas (named people with saved reference photos and voice clips), persistent memories, custom personality, style transfer, angle synthesis, 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\", \"make a video/animate\", \"turn this image folder into a loop\", \"make music\", \"apply a style\", or \"generate me as a superhero\"."
|
|
4
4
|
metadata:
|
|
5
|
-
version: "3.
|
|
5
|
+
version: "3.23.0"
|
|
6
6
|
homepage: https://sogni.ai
|
|
7
7
|
openclaw:
|
|
8
8
|
emoji: "🎨"
|
|
@@ -151,6 +151,9 @@ sogni-agent -q --video -o ./video.mp4 "<cinematic prose paragraph>"
|
|
|
151
151
|
sogni-agent -q --video --ref /path/to/image.png -o ./video.mp4 "<cinematic prose paragraph>"
|
|
152
152
|
sogni-agent -q --video --ref ./first.png --ref-end ./last.png -o ./morph.mp4 "<LTX transition paragraph>"
|
|
153
153
|
|
|
154
|
+
# LTX-2.3 10Eros v1.4 (explicit uncensored I2V; 30GB+ workers only)
|
|
155
|
+
sogni-agent -q --video --workflow i2v --ref /path/to/image.png -m ltx23-eros --no-filter -o ./video.mp4 "<LTX-rewritten paragraph>"
|
|
156
|
+
|
|
154
157
|
# Sound-to-video (lip-sync), image+audio, audio-only (workflow auto-inferred)
|
|
155
158
|
sogni-agent --video --ref face.jpg --ref-audio speech.m4a -m wan_v2.2-14b-fp8_s2v_lightx2v "lip sync talking head"
|
|
156
159
|
sogni-agent --video --ref cover.jpg --ref-audio song.mp3 "music video with synchronized motion"
|
|
@@ -225,21 +228,24 @@ sogni-agent doctor --json
|
|
|
225
228
|
sogni-agent -c photo.jpg -m qwen_image_edit_2511_fp8 "turn this into anime style; keep the same face, pose, clothing, background, framing, and composition"
|
|
226
229
|
```
|
|
227
230
|
|
|
228
|
-
- For identity
|
|
231
|
+
- For an edit of a referenced person or character that must preserve likeness or character identity while changing clothing, hair or makeup, pose or position, face/head/body, background, lighting, or visual style, default to `-m krea2_identity_edit_v1_2` with `-c`. Infer that semantic intent in any language; never route from keyword or regex matching. Also use it for a single-character sheet unless Pro/detail-critical layout requirements favor GPT Image 2. An explicitly requested model always wins; use `-m dark_beast_krea2_identity_edit_v1_2` only when the creator explicitly requests that community/uncensored variant. Both accept 1-2 references at 512-2048 px. For two references, pass the base scene first and the person/detail/outfit/pose/style reference second. Write a concise 1-4 sentence delta instruction, do not send a negative prompt, and leave steps, guidance, sampler, and scheduler unset so the current model tier and worker choose their optimized defaults.
|
|
229
232
|
- For Krea 2 style/control LoRAs, use the base text-to-image model `-m krea2_turbo_fp8_scaled` with repeatable ordered `--lora <id> --lora-strength <n>` arguments (or comma-separated `--loras` / `--lora-strengths`). Up to 8 LoRAs may be stacked. Order matters, strengths are positional, omitted strengths default to 1, and many Krea 2 LoRAs are bipolar sliders whose negative values apply the inverse effect. Do not clamp them to 0-2. The first use of an uncached LoRA may pause while the worker downloads it.
|
|
230
|
-
- Do not route to `--photobooth` merely because the user asks to preserve a face in a style edit — face-preserving full-image edits use `-c` with
|
|
233
|
+
- Do not route to `--photobooth` merely because the user asks to preserve a face in a style edit — face-preserving full-image edits use `-c` with Krea 2 Identity Edit by the semantic rule above. The bare CLI still defaults context edits without `-m` to `qwen_image_edit_2511_fp8_lightning`, so agents must pass the Krea model explicitly for identity-sensitive edits. Select `-m gpt-image-2` for up to 16 reference images and OpenAI-backed editing (Qwen supports up to 3; Krea identity edit supports up to 2).
|
|
231
234
|
|
|
232
235
|
### LTX video prompts
|
|
233
236
|
|
|
234
237
|
Whenever the chosen video model is in the LTX family (including the default t2v), **do not pass the user's short request through unchanged**. Rewrite it into one unbroken paragraph of 4-8 flowing present-tense sentences describing a single continuous shot — concrete subjects, named light sources, one action thread, dialogue embedded in double quotes with the speaker identified, positive phrasing only, no headers/bullets/negative-prompts. **Read [`references/video-prompting.md`](./references/video-prompting.md) for the full rule, duration pacing, orientation mapping, and camera-language normalization before writing the prompt.**
|
|
235
238
|
|
|
236
|
-
|
|
239
|
+
Whenever the creator explicitly requests 10Eros, and for lawful adult
|
|
240
|
+
mature-theme video requests generally, read
|
|
237
241
|
[`references/private-mature-video.md`](./references/private-mature-video.md)
|
|
238
242
|
before choosing a model, LoRA, or specialized prompt token. Keep the exact
|
|
239
243
|
tokens in that scoped reference rather than ordinary model recommendations.
|
|
240
244
|
|
|
241
245
|
### High-res video
|
|
242
246
|
|
|
247
|
+
MiniMax H3 is an explicit model choice, not a universal default. Use `-m minimax-h3` for text-to-video, `-m minimax-h3-i2v --ref A` for first-frame animation, or `-m minimax-h3-flf2v --ref A --ref-end B` for a first/last-frame transition. H3 generates native stereo audio at fixed 24 fps. The initial Sogni release is routed to 32 GB-class workers.
|
|
248
|
+
|
|
243
249
|
For "4k" / "uhd" requests where the user accepts the Premium Spark vendor path or asks for Seedance/native audio/multimodal references, use full Seedance: `-m seedance2 --target-resolution 2160`. Do not use `seedance2-mini` or `seedance2-fast` for 4K; both remain capped to the 720p lower-resolution path. For "hd" / "1080p" requests, or when avoiding vendor models, use `-m ltx23-22b-fp8_t2v_distilled` (text) or `-m ltx23-22b-fp8_i2v_distilled` (image), prefer `-w 1920 -h 1088` (or the orientation mapping in the reference), and rewrite the prompt per the LTX rule. For bare "720p" without orientation, prefer `--target-resolution 768`.
|
|
244
250
|
|
|
245
251
|
### Video editing, stitching, 360 turnarounds
|
|
@@ -268,6 +274,8 @@ When the requested image is meant to **repeat edge to edge without visible joins
|
|
|
268
274
|
|
|
269
275
|
Prefer `-Q` presets and automatic workflow routing. When a specific model is needed (GPT Image 2 text rendering, Seedance or HappyHorse native audio, WAN lip-sync, LTX dialogue), **read [`references/models.md`](./references/models.md)** for the catalog, recommended selectors, and sizing/divisibility rules.
|
|
270
276
|
|
|
277
|
+
`ltx23-eros` is an explicit-only uncensored LTX-2.3 image-to-video selector. Never choose it merely because a prompt appears sexual or another model rejects a request. Use it only when the user explicitly asks for 10Eros/the uncensored model and explicitly permits disabling the content filter. It requires an input image, `--no-filter`, and a 30GB+ worker; the CLI pins its required 9 steps, guidance 1, `euler_ancestral` sampler, and `manual_sigmas` scheduler.
|
|
278
|
+
|
|
271
279
|
### Insufficient funds
|
|
272
280
|
|
|
273
281
|
Use `--token-type auto` to retry native Sogni models with SOGNI tokens when SPARK is insufficient. Vendor models (Seedance, HappyHorse, GPT Image 2) require Premium Spark eligibility and never fall back to SOGNI. When you see **"Debit Error: Insufficient funds"** even with auto-fallback, reply exactly:
|
|
@@ -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.
|
|
5
|
+
"version": "3.23.0",
|
|
6
6
|
"description": "Generate images, video, and music on Sogni AI's decentralized GPU network — with personas, memories, and safe video editing tools.",
|
|
7
7
|
"author": { "name": "Sogni AI", "url": "https://sogni.ai" },
|
|
8
8
|
"homepage": "https://sogni.ai",
|
|
@@ -20,7 +20,12 @@ import {
|
|
|
20
20
|
|
|
21
21
|
const HERE = dirname(fileURLToPath(import.meta.url));
|
|
22
22
|
const PROTOCOL_FALLBACK = '2025-06-18';
|
|
23
|
-
const
|
|
23
|
+
const MIN_HARD_KILL_MS = 15 * 60 * 1000;
|
|
24
|
+
const HARD_KILL_GRACE_MS = 60 * 1000;
|
|
25
|
+
const DEFAULT_TOOL_TIMEOUT_SECONDS = {
|
|
26
|
+
generate_video: 1800,
|
|
27
|
+
generate_music: 600,
|
|
28
|
+
};
|
|
24
29
|
const PROGRESS_INTERVAL_MS = 10_000;
|
|
25
30
|
const MAX_RESULT_CHARS = 20_000;
|
|
26
31
|
|
|
@@ -43,6 +48,17 @@ function textResult(text, isError = false) {
|
|
|
43
48
|
return { content: [{ type: 'text', text }], isError };
|
|
44
49
|
}
|
|
45
50
|
|
|
51
|
+
function hardKillTimeoutMs(toolName, input) {
|
|
52
|
+
const explicitTimeoutSeconds = Number(input?.timeout_seconds);
|
|
53
|
+
const timeoutSeconds = Number.isFinite(explicitTimeoutSeconds) && explicitTimeoutSeconds > 0
|
|
54
|
+
? explicitTimeoutSeconds
|
|
55
|
+
: DEFAULT_TOOL_TIMEOUT_SECONDS[toolName];
|
|
56
|
+
if (!timeoutSeconds) return MIN_HARD_KILL_MS;
|
|
57
|
+
// Let the CLI's own timeout run first so it can await the normal Sogni
|
|
58
|
+
// project cancellation protocol before this process-level safety valve.
|
|
59
|
+
return Math.max(MIN_HARD_KILL_MS, (timeoutSeconds * 1000) + HARD_KILL_GRACE_MS);
|
|
60
|
+
}
|
|
61
|
+
|
|
46
62
|
// Tools marked local in the registry run inside this process and must work
|
|
47
63
|
// even when the sogni-agent CLI is not installed yet.
|
|
48
64
|
const LOCAL_HANDLERS = { import_media: runImportMedia };
|
|
@@ -104,7 +120,10 @@ async function callTool(name, input, progressToken) {
|
|
|
104
120
|
},
|
|
105
121
|
});
|
|
106
122
|
}, PROGRESS_INTERVAL_MS);
|
|
107
|
-
const killer = setTimeout(
|
|
123
|
+
const killer = setTimeout(
|
|
124
|
+
() => child.kill('SIGKILL'),
|
|
125
|
+
hardKillTimeoutMs(name, input),
|
|
126
|
+
);
|
|
108
127
|
|
|
109
128
|
const finish = (result) => {
|
|
110
129
|
if (ticker) clearInterval(ticker);
|
|
@@ -91,7 +91,7 @@ export const TOOLS = [
|
|
|
91
91
|
ref_video: str('Absolute path or URL of reference video'),
|
|
92
92
|
persona: str('Saved persona name (reference frame)'),
|
|
93
93
|
target_resolution: num('Short-side target in px, preserves aspect'),
|
|
94
|
-
timeout_seconds: num('Generation timeout override (default
|
|
94
|
+
timeout_seconds: num('Generation timeout override (default 1800)'),
|
|
95
95
|
},
|
|
96
96
|
required: ['prompt'],
|
|
97
97
|
},
|
|
@@ -2194,7 +2194,7 @@ const PROMPT_CONTRACTS = [
|
|
|
2194
2194
|
"contractId": "edit_image_v1",
|
|
2195
2195
|
"version": "1.0.0",
|
|
2196
2196
|
"toolName": "edit_image",
|
|
2197
|
-
"baseDescription": "edit_image applies instruction-based edits to uploaded or generated images. Use when\nuploaded or reference images must guide identity or likeness.\n\nImage-to-Image prompt order: [IDENTITY LOCK] → [REQUESTED EDIT] → [REFERENCE ROLE\nMAPPING] → [POSE/COMPOSITION] → [STYLE] → [LIGHTING/REALISM] → [PRESERVE ALL\nUNMENTIONED DETAILS]. GOLDEN RULE: When editing a person, state which image owns\nidentity so it is not ambiguous. Describe only the DELTA — what changes. Don't\nrewrite the entire image; the base image already contains most of the truth. Default to minimal\nchange. For multi-image edits, assign one primary role per reference image (identity, pose,\noutfit, style, environment). Do not let a style/pose/clothing reference silently override the face.\nUse positive constraints — \"preserve exact facial likeness, face structure, eye shape, nose\nshape, mouth shape, jawline, skin tone, hairline, apparent age, and overall recognizability\"\n— not vague negatives like \"don't mess up the face\".\n\nKREA IDENTITY EDIT: Use model=\"krea-identity-edit\"
|
|
2197
|
+
"baseDescription": "edit_image applies instruction-based edits to uploaded or generated images. Use when\nuploaded or reference images must guide identity or likeness.\n\nImage-to-Image prompt order: [IDENTITY LOCK] → [REQUESTED EDIT] → [REFERENCE ROLE\nMAPPING] → [POSE/COMPOSITION] → [STYLE] → [LIGHTING/REALISM] → [PRESERVE ALL\nUNMENTIONED DETAILS]. GOLDEN RULE: When editing a person, state which image owns\nidentity so it is not ambiguous. Describe only the DELTA — what changes. Don't\nrewrite the entire image; the base image already contains most of the truth. Default to minimal\nchange. For multi-image edits, assign one primary role per reference image (identity, pose,\noutfit, style, environment). Do not let a style/pose/clothing reference silently override the face.\nUse positive constraints — \"preserve exact facial likeness, face structure, eye shape, nose\nshape, mouth shape, jawline, skin tone, hairline, apparent age, and overall recognizability\"\n— not vague negatives like \"don't mess up the face\".\n\nKREA IDENTITY EDIT: Use model=\"krea-identity-edit\" whenever an edit of a referenced\nperson or character must keep likeness or character identity while changing clothing,\nhair or makeup, pose or position, face/head/body, background, lighting, or visual style.\nInfer that semantic intent in any language; never route from keyword or regex matching.\nAlso use it for a non-Pro single-character sheet. An explicitly requested model always\nwins. Use model=\"dark-beast-krea2-identity-edit\" only when the user explicitly requests\nthat model, its uncensored/community variant, or dark_beast_krea2_identity_edit_v1_2.\nThese models require one reference image, accept up to two context images, and work best\nat 512-2048 px. Let the model tier and worker choose current execution defaults, and do\nnot use negative prompts. Put the primary scene/base image first and an optional\nperson/detail reference second; reference them with context_image_0 and context_image_1\nwhen model_ref tokens are needed.\n\nKREA 2 IDENTITY EDIT PROMPTING: Use a concise 1-4 sentence delta instruction instead of\nthe generic 50-200 word expansion. Name the requested change and only the details that\nmust remain fixed; do not restate the whole image or dump a facial-feature inventory.\nWith two references, assign their roles compactly: base scene/image first, then the\nperson/detail/outfit/pose/style reference. Longer structured prompts remain appropriate\nfor character sheets, grids, editorial layouts, or exact visible text.\n\nUPLOADED IMAGE VARIANT SETS: When the user supplies a photo/portrait/reference image and\nasks for N distinct generated images deriving from that source while changing paired\nper-output details, prefer one edit_image call with sourceImageIndex=-1,\nnumberOfVariations=N, and ONE Dynamic Prompt branch with N complete options. Each option\nmust be a full concrete image prompt for one output, including the uploaded subject/reference\nanchor, requested pose or placement preservation, the specific changed appearance/style/role,\nclothing or surface details when relevant, setting/background, and any requested label text or\nvisual symbol. If one option is a remade original/preserved source and the rest are themed\nvariants, the original option should explicitly say to preserve the original clothing/wardrobe/outfit\nand background/setting, plus any requested added label, flag, logo, symbol, or prop.\nDo not call generate_image, analyze_image, or multiple serial edit_image calls first.\n\nSELECTION-GATED IMAGE STAGES: If the user asks for N image options and says they will pick\none before a later dance/video/animation, prefer one edit_image call with numberOfVariations=N\nand one Dynamic Prompt branch. After images are created, stop and ask the user to choose\nunless the user explicitly asked to run the later stage immediately.\n\nMULTI-PERSONA (COMBINED): When multiple personas must appear in the SAME scene, make\none edit_image call with all persona faces in one prompt and omit personaName.\nPer-persona splits (one call each with personaName set) are RARE — only when the user\nexplicitly asks for solo images of each person individually.\n\nSTORYBOARD IMAGE BATCH RULE: When rendering scene keyframes from a screenplay/storyboard,\nnumberOfVariations is only the count; the prompt should be one Dynamic Prompt branch with one\nfull keyframe prompt per scene:\n{scene 1 full keyframe prompt|scene 2 full keyframe prompt|...|scene N full keyframe prompt}.\nDo not set numberOfVariations=N with only the first scene prompt — that creates N versions of\nscene 1. For full project requests, one edit_image batch for all scene keyframes, then one\nanimate_photo batch for all video clips in parallel.\nException: if the storyboard/shot sheet is already uploaded and the user asks to make a\ntrailer/video/movie/clip from that uploaded board, do not extract panels or redraw keyframes.\nUse generate_video with Seedance references for one continuous clip unless the user explicitly\nasks for separate image keyframes or a storyboard sheet output.\n\nDIRECT UPLOADED GPT IMAGE 2 STORYBOARD SHEETS: If the user uploaded reference images and\nasks for one finished GPT Image 2 storyboard/keyframe sheet now, call edit_image directly\nwith sourceImageIndex=-1, model=\"gpt-image-2\", numberOfVariations=1, and the requested\ncanvas/aspect settings. If the user did not explicitly specify a storyboard page/canvas/sheet\nshape, default the GPT Image 2 storyboard sheet pixel dimensions to a balanced grid that hosts\nthe target cell aspect ratio natively (e.g., 12 cells with 9:16 portrait video target -> ~3:4\nportrait sheet around 1728x2304; 12 cells with 16:9 landscape video target -> ~4:3 landscape\nsheet around 2304x1728; 6 cells with 9:16 target -> ~27:32 portrait sheet around 1840x2176). Do\nNOT default the sheet to 2560x1440 landscape when cells are portrait — a landscape sheet with\na portrait-cell grid physically forces cells to ~4:3 landscape and the model will not render\n9:16 portrait rectangles inside it. Keep individual scene-cell/frame areas at the target video\naspect ratio. Do not call map_assets_for_model, analyze_image, generate_image, or a separate\nplanning tool first. The uploaded files are already available as references; describe their\nroles plainly in the edit_image prompt and generate the sheet in that call.\n\nDO NOT USE edit_image FOR UPLOADED REFERENCE LOOPED VIDEO SEGMENTS: If the user says the\nsame uploaded image/reference should be reused as the first frame and last frame of each\nscripted segment/scene/clip before stitching, they are explicitly asking to animate the\nuploaded image, not to generate new storyboard keyframes. Do not call edit_image for that\nrequest. Call animate_photo once with repeated uploaded source indices and per-scene prompts.",
|
|
2198
2198
|
"parameterDocs": {
|
|
2199
2199
|
"sourceImageIndex": "Index of uploaded/generated image. Use -1 for the first uploaded image.",
|
|
2200
2200
|
"numberOfVariations": "Number of output variants. When > 1, use a Dynamic Prompt branch with one complete prompt per output.",
|
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.23.0",
|
|
6
6
|
"skills": [
|
|
7
7
|
"."
|
|
8
8
|
],
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"defaultVideoTimeoutSec": {
|
|
159
159
|
"type": "integer",
|
|
160
160
|
"minimum": 30,
|
|
161
|
-
"default":
|
|
161
|
+
"default": 1800
|
|
162
162
|
},
|
|
163
163
|
"defaultMusicDurationSec": {
|
|
164
164
|
"type": "integer",
|
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.23.0",
|
|
4
4
|
"description": "Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image, video, and music generation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "sogni-agent.mjs",
|
|
@@ -92,13 +92,13 @@
|
|
|
92
92
|
"sogni-agent.mjs"
|
|
93
93
|
],
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@sogni-ai/sogni-intelligence-client": "3.
|
|
95
|
+
"@sogni-ai/sogni-intelligence-client": "3.11.0",
|
|
96
96
|
"execa": "^9.6.1",
|
|
97
97
|
"json5": "^2.2.3",
|
|
98
98
|
"sharp": "^0.34.5"
|
|
99
99
|
},
|
|
100
100
|
"overrides": {
|
|
101
|
-
"@sogni-ai/sogni-client": "5.3.
|
|
101
|
+
"@sogni-ai/sogni-client": "5.3.1"
|
|
102
102
|
},
|
|
103
103
|
"openclaw": {
|
|
104
104
|
"extensions": [
|
package/references/models.md
CHANGED
|
@@ -50,6 +50,9 @@ dimensions. "high quality" / "best quality" / "pro" → `-Q pro`; quick drafts
|
|
|
50
50
|
|
|
51
51
|
| Model | Speed | Use Case |
|
|
52
52
|
|-------|-------|----------|
|
|
53
|
+
| `minimax-h3` / `minimax-h3-t2v` | Standard | MiniMax H3 FL2VA text-to-video at 24 fps with native stereo audio |
|
|
54
|
+
| `minimax-h3-i2v` | Standard | MiniMax H3 first-frame image-to-video with native stereo audio |
|
|
55
|
+
| `minimax-h3-flf2v` | Standard | MiniMax H3 first-frame → last-frame video; pass both `--ref` and `--ref-end` |
|
|
53
56
|
| `z_image_turbo_bf16` | Fast (~5-10s) | General purpose, default |
|
|
54
57
|
| `gpt-image-2` | Variable | OpenAI GPT Image 2 text-to-image and edit, strong prompt and text rendering |
|
|
55
58
|
| `flux1-schnell-fp8` | Very fast | Quick iterations |
|
|
@@ -82,11 +85,22 @@ LoRAs are bipolar sliders, so negative values are valid and apply the inverse
|
|
|
82
85
|
effect. Follow the range documented for each LoRA rather than assuming 0-2.
|
|
83
86
|
The first render with an uncached LoRA can take longer while its asset downloads.
|
|
84
87
|
|
|
85
|
-
For
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
For an edit of a referenced person or character that must preserve likeness or
|
|
89
|
+
character identity while changing clothing, hair or makeup, pose or position,
|
|
90
|
+
face/head/body, background, lighting, or visual style, default to a context
|
|
91
|
+
edit with `-m krea2_identity_edit_v1_2`. Infer that semantic intent in any
|
|
92
|
+
language; never route from keyword or regex matching. Also use it for a
|
|
93
|
+
single-character sheet unless Pro/detail-critical layout requirements favor
|
|
94
|
+
GPT Image 2. An explicitly requested model always wins. Use
|
|
95
|
+
`-m dark_beast_krea2_identity_edit_v1_2` only when the creator explicitly
|
|
96
|
+
requests that community/uncensored variant.
|
|
97
|
+
|
|
98
|
+
These models accept 1-2 context images at 512-2048 px. With two references,
|
|
99
|
+
pass the base scene first and the person/detail/outfit/pose/style reference
|
|
100
|
+
second. Use a concise 1-4 sentence delta instruction rather than restating the
|
|
101
|
+
whole image, do not send a negative prompt, and leave steps, guidance, sampler,
|
|
102
|
+
and scheduler unset so the current model tier and worker choose their optimized
|
|
103
|
+
defaults.
|
|
90
104
|
|
|
91
105
|
`gpt-image-2` supports flexible OpenAI image sizes up to `3840px` on either
|
|
92
106
|
edge, max `3:1` aspect ratio, and total pixels from `655,360` through
|
|
@@ -120,6 +134,7 @@ direct music generation. Music controls: `--lyrics`, `--language`, `--bpm`
|
|
|
120
134
|
|-------|-------|----------|
|
|
121
135
|
| `ltx23-22b-fp8_t2v_distilled` | Fast (~2-3min) | Default text-to-video with native dialogue/audio |
|
|
122
136
|
| `ltx23-22b-fp8_i2v_distilled` | Fast (~2-3min) | Image-to-video with native dialogue/audio; **default for two-image first-frame → last-frame animation** (transition/morph LoRA auto-applies) |
|
|
137
|
+
| `ltx23-eros` → `ltx23-22b-10eros-v1.4-fp8mixed_i2v` | Fast | Explicit uncensored I2V; 30GB+ GPU and `--no-filter` required |
|
|
123
138
|
| `ltx23-22b-fp8_ia2v_distilled` | Fast (~2-3min) | Image+audio-to-video |
|
|
124
139
|
| `ltx23-22b-fp8_a2v_distilled` | Fast (~2-3min) | Audio-to-video |
|
|
125
140
|
| `ltx23-22b-fp8_v2v_distilled` | Fast (~3min) | Video-to-video with ControlNet, plus canvas outpaint and masked inpaint |
|
|
@@ -217,6 +232,20 @@ and short in-scene text.
|
|
|
217
232
|
|
|
218
233
|
## LTX-2 / LTX-2.3 models
|
|
219
234
|
|
|
235
|
+
### LTX-2.3 10Eros
|
|
236
|
+
|
|
237
|
+
Use `-m ltx23-eros` only when the user explicitly requests 10Eros/the
|
|
238
|
+
uncensored model and explicitly permits disabling the content filter. It is
|
|
239
|
+
image-to-video only and requires `--ref`, `--no-filter`, and a worker with at
|
|
240
|
+
least 30GB VRAM. The CLI resolves it to
|
|
241
|
+
`ltx23-22b-10eros-v1.4-fp8mixed_i2v` and pins 9 steps, guidance 1,
|
|
242
|
+
`euler_ancestral`, and `manual_sigmas`.
|
|
243
|
+
|
|
244
|
+
```bash
|
|
245
|
+
sogni-agent --video --workflow i2v --ref input.png \
|
|
246
|
+
-m ltx23-eros --no-filter -o output.mp4 "<LTX-rewritten paragraph>"
|
|
247
|
+
```
|
|
248
|
+
|
|
220
249
|
| Model | Speed | Use Case |
|
|
221
250
|
|-------|-------|----------|
|
|
222
251
|
| `ltx2-19b-fp8_t2v_distilled` | Fast (~2-3min) | Text-to-video, 8-step |
|
|
@@ -257,6 +286,7 @@ model recommendations.
|
|
|
257
286
|
| Text-to-video with native dialogue/audio | `ltx23-22b-fp8_t2v_distilled` |
|
|
258
287
|
| Image-to-video from one start frame (default) | `wan_v2.2-14b-fp8_i2v_lightx2v` |
|
|
259
288
|
| Animate two images together (first frame → last frame) | `ltx23-22b-fp8_i2v_distilled` with `--ref A --ref-end B` (transition/morph LoRA auto-applies) |
|
|
289
|
+
| Explicit uncensored image-to-video on 30GB+ GPUs | `ltx23-eros` with `--no-filter` |
|
|
260
290
|
| Image+audio-to-video | `ltx23-22b-fp8_ia2v_distilled` |
|
|
261
291
|
| Audio-to-video | `ltx23-22b-fp8_a2v_distilled` |
|
|
262
292
|
| Video-to-video with ControlNet | `ltx23-22b-fp8_v2v_distilled` |
|
|
@@ -271,6 +301,7 @@ model recommendations.
|
|
|
271
301
|
## Video sizing & aspect ratios
|
|
272
302
|
|
|
273
303
|
- **WAN models** use dimensions divisible by 16, min 480 px, max 1536 px.
|
|
304
|
+
- **MiniMax H3 FL2VA** uses dimensions divisible by 32, fixed 24 fps, 124–362 frames on the `124 + n×17` grid, and no more than 1,032,192 pixels (1344×768 and 768×1344 are the primary landscape/portrait sizes). The initial Sogni release requires a 32 GB-class worker.
|
|
274
305
|
- **LTX family** (`ltx2-*`, `ltx23-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
|
|
275
306
|
- **Seedance** runs at fixed 24 fps and supports 4–15 s durations. Full `seedance2` supports native 4K via `--target-resolution 2160`; `seedance2-mini` and `seedance2-fast` remain capped to the 720p lower-resolution path. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
|
|
276
307
|
- **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.
|
|
@@ -54,7 +54,7 @@ CLI defaults are 512×512 images, count 1, spark tokens, prompt-hash seeds):
|
|
|
54
54
|
"defaultFps": 16,
|
|
55
55
|
"defaultDurationSec": 5,
|
|
56
56
|
"defaultImageTimeoutSec": 30,
|
|
57
|
-
"defaultVideoTimeoutSec":
|
|
57
|
+
"defaultVideoTimeoutSec": 1800,
|
|
58
58
|
"defaultMusicDurationSec": 30,
|
|
59
59
|
"defaultMusicTimeoutSec": 600,
|
|
60
60
|
"credentialsPath": "~/.config/sogni/credentials",
|
|
@@ -44,22 +44,40 @@ chronologically, and place each token beside its corresponding action.
|
|
|
44
44
|
## Prompt construction for 10Eros + DR34ML4Y
|
|
45
45
|
|
|
46
46
|
Write the prompt solely to produce the result the creator requested. Use one
|
|
47
|
-
unbroken, chronological LTX paragraph
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
unbroken, chronological LTX paragraph of 4-8 present-tense sentences. Do not
|
|
48
|
+
emit section labels such as `Performance:` or `Dialogue:` into the model
|
|
49
|
+
prompt; fold those details into cinematic prose instead.
|
|
50
|
+
|
|
51
|
+
1. Use the supplied start image exactly as the first frame by passing it through
|
|
52
|
+
`--ref`; do not merely mention it in prose. Briefly anchor its composition,
|
|
53
|
+
subject placement, and starting pose without inventing conflicting details.
|
|
54
|
+
2. Establish the overall cinematic style, shot scale, camera movement,
|
|
55
|
+
environment, lighting, atmosphere, and relevant subtle background motion.
|
|
56
|
+
3. State the action concretely. Include a LoRA token when the requested action
|
|
51
57
|
matches one of its trained concepts.
|
|
52
|
-
|
|
58
|
+
4. Describe what happens step by step in chronological order: who moves, which
|
|
53
59
|
body parts move, their direction, changes in position or contact, and the
|
|
54
60
|
resulting pose.
|
|
55
|
-
|
|
56
|
-
|
|
61
|
+
5. Direct the performance through observable behavior: posture, breathing,
|
|
62
|
+
gaze, facial expression, micro-expressions, small pauses, and emotional
|
|
63
|
+
changes that flow naturally from the starting pose.
|
|
64
|
+
6. Integrate the audio design with the action: voice delivery, dialogue, foley,
|
|
57
65
|
environmental sound, and music where relevant.
|
|
58
66
|
|
|
59
67
|
Be specific and literal. Do not substitute euphemisms or generalizations for
|
|
60
68
|
the requested visible action. Keep the action density appropriate for the
|
|
61
69
|
duration, and avoid contradictory positions, unrelated cuts, generic quality
|
|
62
|
-
tags, and repeating the same action in several different ways.
|
|
70
|
+
tags, and repeating the same action in several different ways. Prefer one
|
|
71
|
+
simple, logical, interesting motion evolution. Keep acting and physical motion
|
|
72
|
+
natural and cinematic, with realistic weight and restrained gestures rather
|
|
73
|
+
than exaggerated motion or slapstick. Do not introduce extra characters unless
|
|
74
|
+
they are clearly visible in the supplied image or explicitly requested.
|
|
75
|
+
|
|
76
|
+
When an image is attached and the creator says "one for this image", "make one
|
|
77
|
+
for this", or similar, treat the image as the start-frame authority and build
|
|
78
|
+
the complete purpose-written prompt from what is visibly present plus the
|
|
79
|
+
creator's stated intent. Do not answer with generic prompting advice, and do
|
|
80
|
+
not invent a different scene merely to fill out the paragraph.
|
|
63
81
|
|
|
64
82
|
Write every spoken line verbatim in double quotes and identify who says it and
|
|
65
83
|
how. Never imply dialogue with a summary such as "they talk" or "she says
|
package/skill-package.json
CHANGED
package/sogni-agent.mjs
CHANGED
|
@@ -87,6 +87,8 @@ import {
|
|
|
87
87
|
extractToolCallProgressUpdate
|
|
88
88
|
} from '@sogni-ai/sogni-intelligence-client/chatRun';
|
|
89
89
|
import {
|
|
90
|
+
buildImageEditExecutionControls,
|
|
91
|
+
isKreaIdentityEditModel,
|
|
90
92
|
SEEDANCE_R2V_REFERENCE_AUDIO_MAX_DURATION_SECONDS,
|
|
91
93
|
prepareSeedanceV2VSourceVideo as prepareSharedSeedanceV2VSourceVideo
|
|
92
94
|
} from '@sogni-ai/sogni-intelligence-client/media';
|
|
@@ -414,11 +416,19 @@ let liveModelDefaults = null;
|
|
|
414
416
|
function getModelDefaults(modelId, config) {
|
|
415
417
|
const sharedDefaults = getSharedModelDefaults(modelId, config);
|
|
416
418
|
const catalogDefaults = liveModelDefaults?.[modelId];
|
|
417
|
-
if (!catalogDefaults) return sharedDefaults;
|
|
418
419
|
const configuredDefaults = config?.modelDefaults?.[modelId];
|
|
420
|
+
const fixedDefaults = modelId === LTX23_10EROS_MODEL_ID
|
|
421
|
+
? LTX23_10EROS_FIXED_SETTINGS
|
|
422
|
+
: null;
|
|
423
|
+
if (!catalogDefaults && !configuredDefaults && !fixedDefaults) return sharedDefaults;
|
|
419
424
|
// The live catalog supersedes bundled registry data. Explicit user config
|
|
420
|
-
// remains the final override.
|
|
421
|
-
return {
|
|
425
|
+
// remains the final override except where a workflow has immutable settings.
|
|
426
|
+
return {
|
|
427
|
+
...(sharedDefaults || {}),
|
|
428
|
+
...(catalogDefaults || {}),
|
|
429
|
+
...(configuredDefaults || {}),
|
|
430
|
+
...(fixedDefaults || {})
|
|
431
|
+
};
|
|
422
432
|
}
|
|
423
433
|
|
|
424
434
|
function defaultsFromModelTier(card) {
|
|
@@ -1578,6 +1588,7 @@ function getMaxContextImages(modelId) {
|
|
|
1578
1588
|
}
|
|
1579
1589
|
|
|
1580
1590
|
function videoDurationLimitsLikeWrapper(modelId) {
|
|
1591
|
+
if (isMiniMaxH3Model(modelId)) return { min: 5, max: 15 };
|
|
1581
1592
|
if (isSeedanceModel(modelId)) return { min: 4, max: 15 };
|
|
1582
1593
|
if (isHappyHorseModel(modelId)) return { min: 3, max: 15 };
|
|
1583
1594
|
if (isLtx2Model(modelId) || isWanAnimateVideoModelId(modelId)) return { min: 1, max: 20 };
|
|
@@ -1598,6 +1609,9 @@ function videoDurationLimitsLikeWrapper(modelId) {
|
|
|
1598
1609
|
// explicit -w/-h/--target-resolution, config, and prompt-derived dimensions
|
|
1599
1610
|
// still win (see the video preflight defaults block).
|
|
1600
1611
|
function videoModelDimensionDefaultsLikeWrapper(modelId) {
|
|
1612
|
+
if (isMiniMaxH3Model(modelId)) {
|
|
1613
|
+
return { defaultWidth: 1344, defaultHeight: 768, maxDimension: 1344, dimensionMultiple: 32 };
|
|
1614
|
+
}
|
|
1601
1615
|
if (isHappyHorseModel(modelId) || isHappyHorseModelSelectionLocal(modelId)) {
|
|
1602
1616
|
return { defaultWidth: 1920, defaultHeight: 1080, maxDimension: 1920, dimensionMultiple: 1 };
|
|
1603
1617
|
}
|
|
@@ -1850,6 +1864,18 @@ const LTX_TRANSITION_LORA_ID = 'transition';
|
|
|
1850
1864
|
const LTX_TRANSITION_TRIGGER = 'zhuanchang';
|
|
1851
1865
|
const LTX_TRANSITION_DEFAULT_STRENGTH = 1.0;
|
|
1852
1866
|
const LTX23_10EROS_MODEL_ID = 'ltx23-22b-10eros-v1.4-fp8mixed_i2v';
|
|
1867
|
+
const MINIMAX_H3_MODEL_IDS = new Set([
|
|
1868
|
+
'minimax-h3-fl2va-fp8_t2v',
|
|
1869
|
+
'minimax-h3-fl2va-fp8_i2v',
|
|
1870
|
+
'minimax-h3-fl2va-fp8_flf2v'
|
|
1871
|
+
]);
|
|
1872
|
+
const LTX23_10EROS_FIXED_SETTINGS = Object.freeze({
|
|
1873
|
+
steps: 9,
|
|
1874
|
+
guidance: 1,
|
|
1875
|
+
sampler: 'euler_ancestral',
|
|
1876
|
+
scheduler: 'manual_sigmas',
|
|
1877
|
+
requiresDisabledSafetyFilter: true
|
|
1878
|
+
});
|
|
1853
1879
|
const DR34ML4Y_LORA_ID = 'dr34ml4y-v3';
|
|
1854
1880
|
const DR34ML4Y_DEFAULT_STRENGTH = 1.0;
|
|
1855
1881
|
const DR34ML4Y_SUPPORTED_MODEL_IDS = new Set([
|
|
@@ -1858,9 +1884,26 @@ const DR34ML4Y_SUPPORTED_MODEL_IDS = new Set([
|
|
|
1858
1884
|
LTX23_10EROS_MODEL_ID
|
|
1859
1885
|
]);
|
|
1860
1886
|
|
|
1861
|
-
function resolveSkillVideoModelAlias(modelId) {
|
|
1887
|
+
function resolveSkillVideoModelAlias(modelId, workflow = null, hasEndFrame = false) {
|
|
1862
1888
|
const normalized = String(modelId || '').trim().toLowerCase();
|
|
1863
|
-
|
|
1889
|
+
if (normalized === 'minimax-h3' && workflow) {
|
|
1890
|
+
if (workflow === 'i2v') {
|
|
1891
|
+
return hasEndFrame ? 'minimax-h3-fl2va-fp8_flf2v' : 'minimax-h3-fl2va-fp8_i2v';
|
|
1892
|
+
}
|
|
1893
|
+
return 'minimax-h3-fl2va-fp8_t2v';
|
|
1894
|
+
}
|
|
1895
|
+
if (normalized === 'minimax-h3-t2v') {
|
|
1896
|
+
return 'minimax-h3-fl2va-fp8_t2v';
|
|
1897
|
+
}
|
|
1898
|
+
if (normalized === 'minimax-h3-i2v') return 'minimax-h3-fl2va-fp8_i2v';
|
|
1899
|
+
if (normalized === 'minimax-h3-flf2v') return 'minimax-h3-fl2va-fp8_flf2v';
|
|
1900
|
+
return normalized === '10eros' || normalized === 'ltx23-eros'
|
|
1901
|
+
? LTX23_10EROS_MODEL_ID
|
|
1902
|
+
: modelId;
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
function isMiniMaxH3Model(modelId) {
|
|
1906
|
+
return MINIMAX_H3_MODEL_IDS.has(String(modelId || '').trim().toLowerCase());
|
|
1864
1907
|
}
|
|
1865
1908
|
|
|
1866
1909
|
function normalizeMultiAngleValue(value, aliases, allowedKeys, label) {
|
|
@@ -3359,7 +3402,7 @@ Hosted API Modes:
|
|
|
3359
3402
|
--api-base-url <url> Sogni API base URL (default: ${DEFAULT_API_BASE_URL})
|
|
3360
3403
|
|
|
3361
3404
|
General:
|
|
3362
|
-
-t, --timeout <sec> Timeout in seconds (default: 30, video:
|
|
3405
|
+
-t, --timeout <sec> Timeout in seconds (default: 30, video: 1800, music: 600)
|
|
3363
3406
|
--steps <num> Override steps (model-dependent)
|
|
3364
3407
|
--guidance <num> Override guidance (model-dependent)
|
|
3365
3408
|
--token-type <type> Token type: spark|sogni|auto (default: spark, auto retries with alternate)
|
|
@@ -3441,6 +3484,7 @@ Image Models:
|
|
|
3441
3484
|
Recommended LTX 2.3 Video Models:
|
|
3442
3485
|
ltx23-22b-fp8_t2v_distilled Text-to-video with native dialogue/audio
|
|
3443
3486
|
ltx23-22b-fp8_i2v_distilled Image-to-video with native dialogue/audio; default for --ref + --ref-end pairs
|
|
3487
|
+
ltx23-eros Explicit uncensored I2V (30GB+ worker; requires --no-filter)
|
|
3444
3488
|
ltx23-22b-fp8_ia2v_distilled Image+audio-to-video
|
|
3445
3489
|
ltx23-22b-fp8_a2v_distilled Audio-to-video
|
|
3446
3490
|
ltx23-22b-fp8_v2v_distilled Video-to-video with ControlNet
|
|
@@ -4023,7 +4067,10 @@ if (options.video) {
|
|
|
4023
4067
|
options.videoWorkflow = workflowFromModel || inferVideoWorkflowFromAssets(options) || configuredDefaultVideoWorkflow || 't2v';
|
|
4024
4068
|
}
|
|
4025
4069
|
if (options.model) {
|
|
4026
|
-
options.model = resolveVideoModelAlias(
|
|
4070
|
+
options.model = resolveVideoModelAlias(
|
|
4071
|
+
resolveSkillVideoModelAlias(options.model, options.videoWorkflow, Boolean(options.refImageEnd)),
|
|
4072
|
+
options.videoWorkflow
|
|
4073
|
+
);
|
|
4027
4074
|
}
|
|
4028
4075
|
}
|
|
4029
4076
|
|
|
@@ -4104,6 +4151,31 @@ if (options.music) {
|
|
|
4104
4151
|
});
|
|
4105
4152
|
}
|
|
4106
4153
|
const videoModelDefaults = getModelDefaults(options.model, openclawConfig);
|
|
4154
|
+
if (videoModelDefaults?.requiresDisabledSafetyFilter) {
|
|
4155
|
+
if (!options.noFilter) {
|
|
4156
|
+
fatalCliError('LTX-2.3 10Eros requires explicit --no-filter acknowledgement.', {
|
|
4157
|
+
code: 'INVALID_ARGUMENT',
|
|
4158
|
+
details: { model: options.model, requiredFlag: '--no-filter' },
|
|
4159
|
+
hint: 'Retry with --video --workflow i2v --ref <image> -m ltx23-eros --no-filter'
|
|
4160
|
+
});
|
|
4161
|
+
}
|
|
4162
|
+
const fixedSettings = {
|
|
4163
|
+
steps: videoModelDefaults.steps,
|
|
4164
|
+
guidance: videoModelDefaults.guidance,
|
|
4165
|
+
sampler: videoModelDefaults.sampler,
|
|
4166
|
+
scheduler: videoModelDefaults.scheduler
|
|
4167
|
+
};
|
|
4168
|
+
for (const [setting, expected] of Object.entries(fixedSettings)) {
|
|
4169
|
+
if (expected === undefined) continue;
|
|
4170
|
+
if (cliSet[setting] && options[setting] !== expected) {
|
|
4171
|
+
fatalCliError(`LTX-2.3 10Eros requires --${setting} ${expected}.`, {
|
|
4172
|
+
code: 'INVALID_ARGUMENT',
|
|
4173
|
+
details: { model: options.model, setting, expected, received: options[setting] }
|
|
4174
|
+
});
|
|
4175
|
+
}
|
|
4176
|
+
options[setting] = expected;
|
|
4177
|
+
}
|
|
4178
|
+
}
|
|
4107
4179
|
// Fall back to skill-local defaults for models the intel registry does not
|
|
4108
4180
|
// carry (e.g. HappyHorse), so they get a sensible 16:9 default instead of the
|
|
4109
4181
|
// 512x512 square. Registry defaults still take precedence when present.
|
|
@@ -4126,7 +4198,12 @@ if (options.music) {
|
|
|
4126
4198
|
}
|
|
4127
4199
|
const videoQuality = options.quality ? QUALITY_TIERS[options.quality]?.video : null;
|
|
4128
4200
|
if (videoQuality) {
|
|
4129
|
-
if (
|
|
4201
|
+
if (
|
|
4202
|
+
!isSeedanceVideo
|
|
4203
|
+
&& options.model !== LTX23_10EROS_MODEL_ID
|
|
4204
|
+
&& !cliSet.steps
|
|
4205
|
+
&& Number.isFinite(videoQuality.steps)
|
|
4206
|
+
) {
|
|
4130
4207
|
options.steps = videoQuality.steps;
|
|
4131
4208
|
}
|
|
4132
4209
|
}
|
|
@@ -4148,7 +4225,7 @@ if (options.music) {
|
|
|
4148
4225
|
}
|
|
4149
4226
|
}
|
|
4150
4227
|
if (!cliSet.timeout && !timeoutFromConfig && options.timeout === 30000) {
|
|
4151
|
-
options.timeout =
|
|
4228
|
+
options.timeout = 1800000; // 30 min for queued and long-running video jobs
|
|
4152
4229
|
}
|
|
4153
4230
|
} else if (options.photobooth) {
|
|
4154
4231
|
// Photobooth uses SDXL Turbo + InstantID ControlNet
|
|
@@ -4581,6 +4658,22 @@ if (options.video && !options.frames) {
|
|
|
4581
4658
|
}
|
|
4582
4659
|
options.duration = clampedDuration;
|
|
4583
4660
|
}
|
|
4661
|
+
if (isMiniMaxH3Model(options.model)) {
|
|
4662
|
+
const desiredFrames = options.duration * 24;
|
|
4663
|
+
options.frames = Math.max(
|
|
4664
|
+
124,
|
|
4665
|
+
Math.min(362, 124 + Math.round((desiredFrames - 124) / 17) * 17)
|
|
4666
|
+
);
|
|
4667
|
+
options.fps = 24;
|
|
4668
|
+
}
|
|
4669
|
+
} else if (options.video && isMiniMaxH3Model(options.model)) {
|
|
4670
|
+
if (options.frames < 124 || options.frames > 362 || (options.frames - 124) % 17 !== 0) {
|
|
4671
|
+
fatalCliError('MiniMax H3 frames must be 124 + n×17, from 124 through 362.', {
|
|
4672
|
+
code: 'INVALID_ARGUMENT',
|
|
4673
|
+
details: { frames: options.frames, minimum: 124, maximum: 362, step: 17 }
|
|
4674
|
+
});
|
|
4675
|
+
}
|
|
4676
|
+
options.fps = 24;
|
|
4584
4677
|
}
|
|
4585
4678
|
|
|
4586
4679
|
// Video dimensions:
|
|
@@ -4650,6 +4743,12 @@ if (options.video) {
|
|
|
4650
4743
|
const normalizedVideoDims = normalizeVideoDimensionsLikeWrapper(options.width, options.height, videoDimensionRules);
|
|
4651
4744
|
options.width = normalizedVideoDims.width;
|
|
4652
4745
|
options.height = normalizedVideoDims.height;
|
|
4746
|
+
if (isMiniMaxH3Model(options.model) && options.width * options.height > 1344 * 768) {
|
|
4747
|
+
const scale = Math.sqrt((1344 * 768) / (options.width * options.height));
|
|
4748
|
+
options.width = Math.max(32, Math.floor((options.width * scale) / 32) * 32);
|
|
4749
|
+
options.height = Math.max(32, Math.floor((options.height * scale) / 32) * 32);
|
|
4750
|
+
normalizedVideoDims.adjusted = true;
|
|
4751
|
+
}
|
|
4653
4752
|
if (normalizedVideoDims.adjusted && !options.quiet) {
|
|
4654
4753
|
console.error(
|
|
4655
4754
|
`Auto-adjusted video dimensions from ${originalVideoWidth}x${originalVideoHeight} ` +
|
|
@@ -8944,10 +9043,61 @@ async function runSourceReel(log) {
|
|
|
8944
9043
|
}
|
|
8945
9044
|
}
|
|
8946
9045
|
|
|
9046
|
+
async function buildProjectTimeoutError(projects, timeoutMs, label = 'Project') {
|
|
9047
|
+
const timeoutSeconds = timeoutMs / 1000;
|
|
9048
|
+
const cancellableProjects = [...new Set((projects || []).filter(Boolean))]
|
|
9049
|
+
.filter((project) => typeof project.cancel === 'function');
|
|
9050
|
+
const projectIds = cancellableProjects
|
|
9051
|
+
.map((project) => project.id)
|
|
9052
|
+
.filter(Boolean);
|
|
9053
|
+
|
|
9054
|
+
if (cancellableProjects.length === 0) {
|
|
9055
|
+
const error = new Error(
|
|
9056
|
+
`Timeout after ${timeoutSeconds}s; no cancellable Sogni project handle was available. ` +
|
|
9057
|
+
'The project may still be running.'
|
|
9058
|
+
);
|
|
9059
|
+
error.code = 'PROJECT_TIMEOUT_CANCEL_UNAVAILABLE';
|
|
9060
|
+
error.details = { timeoutSeconds, projectIds: [], canceled: false };
|
|
9061
|
+
return error;
|
|
9062
|
+
}
|
|
9063
|
+
|
|
9064
|
+
const failures = [];
|
|
9065
|
+
for (const project of cancellableProjects) {
|
|
9066
|
+
try {
|
|
9067
|
+
await project.cancel();
|
|
9068
|
+
} catch (cancelError) {
|
|
9069
|
+
failures.push({
|
|
9070
|
+
projectId: project.id || null,
|
|
9071
|
+
message: cancelError?.message || String(cancelError)
|
|
9072
|
+
});
|
|
9073
|
+
}
|
|
9074
|
+
}
|
|
9075
|
+
|
|
9076
|
+
if (failures.length > 0) {
|
|
9077
|
+
const failedIds = failures.map((failure) => failure.projectId).filter(Boolean);
|
|
9078
|
+
const error = new Error(
|
|
9079
|
+
`Timeout after ${timeoutSeconds}s; failed to cancel Sogni ${label.toLowerCase()} ` +
|
|
9080
|
+
`${failedIds.join(', ') || '(unknown id)'}. The project may still be running.`
|
|
9081
|
+
);
|
|
9082
|
+
error.code = 'PROJECT_TIMEOUT_CANCEL_FAILED';
|
|
9083
|
+
error.details = { timeoutSeconds, projectIds, canceled: false, failures };
|
|
9084
|
+
return error;
|
|
9085
|
+
}
|
|
9086
|
+
|
|
9087
|
+
const error = new Error(
|
|
9088
|
+
`Timeout after ${timeoutSeconds}s; canceled Sogni ${label.toLowerCase()} ` +
|
|
9089
|
+
`${projectIds.join(', ') || '(unknown id)'}.`
|
|
9090
|
+
);
|
|
9091
|
+
error.code = 'PROJECT_TIMEOUT';
|
|
9092
|
+
error.details = { timeoutSeconds, projectIds, canceled: true };
|
|
9093
|
+
return error;
|
|
9094
|
+
}
|
|
9095
|
+
|
|
8947
9096
|
async function runImageEditProjectWithEvents(client, editConfig, expectedCount, log, timeoutMs, label) {
|
|
8948
9097
|
const results = [];
|
|
8949
9098
|
let completed = 0;
|
|
8950
9099
|
let projectId = null;
|
|
9100
|
+
let activeProject = null;
|
|
8951
9101
|
|
|
8952
9102
|
let resolvePromise;
|
|
8953
9103
|
let rejectPromise;
|
|
@@ -8989,7 +9139,8 @@ async function runImageEditProjectWithEvents(client, editConfig, expectedCount,
|
|
|
8989
9139
|
|
|
8990
9140
|
const timeout = setTimeout(() => {
|
|
8991
9141
|
cleanup();
|
|
8992
|
-
|
|
9142
|
+
void buildProjectTimeoutError([activeProject], timeoutMs, 'image edit project')
|
|
9143
|
+
.then(rejectPromise);
|
|
8993
9144
|
}, timeoutMs);
|
|
8994
9145
|
|
|
8995
9146
|
client.on(ClientEvent.JOB_COMPLETED, onCompleted);
|
|
@@ -8997,6 +9148,7 @@ async function runImageEditProjectWithEvents(client, editConfig, expectedCount,
|
|
|
8997
9148
|
|
|
8998
9149
|
try {
|
|
8999
9150
|
const projectResult = await client.createImageEditProject(withBillingMode(editConfig));
|
|
9151
|
+
activeProject = projectResult?.project || null;
|
|
9000
9152
|
projectId = projectResult?.project?.id || projectId;
|
|
9001
9153
|
|
|
9002
9154
|
// Check for errors in the response (e.g., insufficient tokens)
|
|
@@ -9079,21 +9231,24 @@ async function runMultiAngleFlow(client, log) {
|
|
|
9079
9231
|
numberOfMedia: options.count,
|
|
9080
9232
|
width: options.width,
|
|
9081
9233
|
height: options.height,
|
|
9082
|
-
steps,
|
|
9083
|
-
guidance,
|
|
9084
9234
|
tokenType: options.tokenType || 'spark',
|
|
9085
9235
|
waitForCompletion: false,
|
|
9086
|
-
disableNSFWFilter: options.noFilter === true
|
|
9236
|
+
disableNSFWFilter: options.noFilter === true,
|
|
9237
|
+
...buildImageEditExecutionControls(options.model, {
|
|
9238
|
+
steps,
|
|
9239
|
+
guidance,
|
|
9240
|
+
sampler: options.sampler,
|
|
9241
|
+
scheduler: options.scheduler
|
|
9242
|
+
}, {
|
|
9243
|
+
steps: cliSet.steps ? options.steps : undefined,
|
|
9244
|
+
guidance: cliSet.guidance ? options.guidance : undefined,
|
|
9245
|
+
sampler: cliSet.sampler ? options.sampler : undefined,
|
|
9246
|
+
scheduler: cliSet.scheduler ? options.scheduler : undefined
|
|
9247
|
+
})
|
|
9087
9248
|
};
|
|
9088
9249
|
if (options.outputFormat) {
|
|
9089
9250
|
editConfig.outputFormat = options.outputFormat;
|
|
9090
9251
|
}
|
|
9091
|
-
if (options.sampler) {
|
|
9092
|
-
editConfig.sampler = options.sampler;
|
|
9093
|
-
}
|
|
9094
|
-
if (options.scheduler) {
|
|
9095
|
-
editConfig.scheduler = options.scheduler;
|
|
9096
|
-
}
|
|
9097
9252
|
if (options.loras.length > 0) {
|
|
9098
9253
|
editConfig.loras = options.loras;
|
|
9099
9254
|
}
|
|
@@ -10172,10 +10327,16 @@ async function main() {
|
|
|
10172
10327
|
const results = [];
|
|
10173
10328
|
let completedJobs = 0;
|
|
10174
10329
|
let loopingStartImageBuffer;
|
|
10330
|
+
const activeProjects = new Set();
|
|
10331
|
+
const trackProjectResult = (projectResult) => {
|
|
10332
|
+
if (projectResult?.project) activeProjects.add(projectResult.project);
|
|
10333
|
+
return projectResult;
|
|
10334
|
+
};
|
|
10175
10335
|
|
|
10176
10336
|
const completionPromise = new Promise((resolve, reject) => {
|
|
10177
10337
|
const timeout = setTimeout(() => {
|
|
10178
|
-
|
|
10338
|
+
void buildProjectTimeoutError([...activeProjects], options.timeout)
|
|
10339
|
+
.then(reject);
|
|
10179
10340
|
}, options.timeout);
|
|
10180
10341
|
|
|
10181
10342
|
client.on(ClientEvent.JOB_COMPLETED, (data) => {
|
|
@@ -10616,7 +10777,9 @@ async function main() {
|
|
|
10616
10777
|
projectConfig.loraStrengths = options.loraStrengths;
|
|
10617
10778
|
}
|
|
10618
10779
|
|
|
10619
|
-
const videoResult =
|
|
10780
|
+
const videoResult = trackProjectResult(
|
|
10781
|
+
await client.createVideoProject(withBillingMode(projectConfig))
|
|
10782
|
+
);
|
|
10620
10783
|
|
|
10621
10784
|
// Check for errors in the response (e.g., insufficient tokens)
|
|
10622
10785
|
if (videoResult?.error || videoResult?.message) {
|
|
@@ -10678,7 +10841,9 @@ async function main() {
|
|
|
10678
10841
|
projectConfig.seed = options.seed;
|
|
10679
10842
|
}
|
|
10680
10843
|
|
|
10681
|
-
const audioResult =
|
|
10844
|
+
const audioResult = trackProjectResult(
|
|
10845
|
+
await client.createAudioProject(withBillingMode(projectConfig))
|
|
10846
|
+
);
|
|
10682
10847
|
|
|
10683
10848
|
if (audioResult?.error || audioResult?.message) {
|
|
10684
10849
|
throw buildProjectResultError(audioResult);
|
|
@@ -10711,10 +10876,19 @@ async function main() {
|
|
|
10711
10876
|
numberOfMedia: options.count,
|
|
10712
10877
|
width: options.width,
|
|
10713
10878
|
height: options.height,
|
|
10714
|
-
steps,
|
|
10715
|
-
guidance,
|
|
10716
10879
|
tokenType: options.tokenType || 'spark',
|
|
10717
|
-
disableNSFWFilter: options.noFilter === true
|
|
10880
|
+
disableNSFWFilter: options.noFilter === true,
|
|
10881
|
+
...buildImageEditExecutionControls(options.model, {
|
|
10882
|
+
steps,
|
|
10883
|
+
guidance,
|
|
10884
|
+
sampler: options.sampler || modelDefaults?.sampler,
|
|
10885
|
+
scheduler: options.scheduler || modelDefaults?.scheduler
|
|
10886
|
+
}, {
|
|
10887
|
+
steps: cliSet.steps ? options.steps : undefined,
|
|
10888
|
+
guidance: cliSet.guidance ? options.guidance : undefined,
|
|
10889
|
+
sampler: cliSet.sampler ? options.sampler : undefined,
|
|
10890
|
+
scheduler: cliSet.scheduler ? options.scheduler : undefined
|
|
10891
|
+
})
|
|
10718
10892
|
};
|
|
10719
10893
|
|
|
10720
10894
|
if (options.outputFormat) {
|
|
@@ -10723,12 +10897,6 @@ async function main() {
|
|
|
10723
10897
|
if (gptImageQuality) {
|
|
10724
10898
|
editConfig.gptImageQuality = gptImageQuality;
|
|
10725
10899
|
}
|
|
10726
|
-
if (options.sampler || modelDefaults?.sampler) {
|
|
10727
|
-
editConfig.sampler = options.sampler || modelDefaults.sampler;
|
|
10728
|
-
}
|
|
10729
|
-
if (options.scheduler || modelDefaults?.scheduler) {
|
|
10730
|
-
editConfig.scheduler = options.scheduler || modelDefaults.scheduler;
|
|
10731
|
-
}
|
|
10732
10900
|
if (options.loras.length > 0) {
|
|
10733
10901
|
editConfig.loras = options.loras;
|
|
10734
10902
|
}
|
|
@@ -10740,9 +10908,9 @@ async function main() {
|
|
|
10740
10908
|
editConfig.seed = options.seed;
|
|
10741
10909
|
}
|
|
10742
10910
|
|
|
10743
|
-
const editResult = isGptImage2ModelSelection(options.model)
|
|
10911
|
+
const editResult = trackProjectResult(isGptImage2ModelSelection(options.model)
|
|
10744
10912
|
? await client.createImageProject(withBillingMode(editConfig))
|
|
10745
|
-
: await client.createImageEditProject(withBillingMode(editConfig));
|
|
10913
|
+
: await client.createImageEditProject(withBillingMode(editConfig)));
|
|
10746
10914
|
if (editResult?.error || editResult?.message) {
|
|
10747
10915
|
throw buildProjectResultError(editResult);
|
|
10748
10916
|
}
|
|
@@ -10787,7 +10955,9 @@ async function main() {
|
|
|
10787
10955
|
if (options.loras.length > 0) projectConfig.loras = options.loras;
|
|
10788
10956
|
if (options.loraStrengths.length > 0) projectConfig.loraStrengths = options.loraStrengths;
|
|
10789
10957
|
|
|
10790
|
-
const projectResult =
|
|
10958
|
+
const projectResult = trackProjectResult(
|
|
10959
|
+
await client.createImageProject(withBillingMode(projectConfig))
|
|
10960
|
+
);
|
|
10791
10961
|
|
|
10792
10962
|
// Check for errors in the response (e.g., insufficient tokens)
|
|
10793
10963
|
if (projectResult?.error || projectResult?.message) {
|
|
@@ -10862,7 +11032,9 @@ async function main() {
|
|
|
10862
11032
|
projectConfig.seed = options.seed;
|
|
10863
11033
|
}
|
|
10864
11034
|
|
|
10865
|
-
const imageResult =
|
|
11035
|
+
const imageResult = trackProjectResult(
|
|
11036
|
+
await client.createImageProject(withBillingMode(projectConfig))
|
|
11037
|
+
);
|
|
10866
11038
|
if (imageResult?.error || imageResult?.message) {
|
|
10867
11039
|
throw buildProjectResultError(imageResult);
|
|
10868
11040
|
}
|
|
@@ -11038,9 +11210,11 @@ async function main() {
|
|
|
11038
11210
|
await disableLiveModelAvailabilityEvents(client2);
|
|
11039
11211
|
|
|
11040
11212
|
// Create second clip and wait for completion via events
|
|
11213
|
+
let activeClip2Project = null;
|
|
11041
11214
|
const clip2Promise = new Promise((resolve, reject) => {
|
|
11042
11215
|
const timeout = setTimeout(() => {
|
|
11043
|
-
|
|
11216
|
+
void buildProjectTimeoutError([activeClip2Project], options.timeout, 'second clip project')
|
|
11217
|
+
.then(reject);
|
|
11044
11218
|
}, options.timeout);
|
|
11045
11219
|
|
|
11046
11220
|
client2.on(ClientEvent.JOB_COMPLETED, async (data) => {
|
|
@@ -11084,6 +11258,7 @@ async function main() {
|
|
|
11084
11258
|
});
|
|
11085
11259
|
|
|
11086
11260
|
const clip2Result = await client2.createVideoProject(withBillingMode(projectConfig2));
|
|
11261
|
+
activeClip2Project = clip2Result?.project || null;
|
|
11087
11262
|
|
|
11088
11263
|
// Check for errors in the response (e.g., insufficient tokens)
|
|
11089
11264
|
if (clip2Result?.error || clip2Result?.message) {
|
package/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = '3.
|
|
1
|
+
export const PACKAGE_VERSION = '3.23.0';
|