@sogni-ai/sogni-creative-agent-skill 3.28.0 → 3.29.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 +12 -0
- package/README.md +16 -15
- package/SKILL.md +5 -5
- package/desktop-extension/manifest.json +1 -1
- package/desktop-extension/server/tools.mjs +1 -1
- package/generated/creative-agent-runtime.mjs +9 -9
- package/openclaw.plugin.json +5 -5
- package/package.json +3 -3
- package/plugin-skills/sogni-creative-agent/SKILL.md +1 -1
- package/references/loop-maker.md +2 -2
- package/references/models.md +23 -14
- package/references/openclaw-config.md +6 -6
- package/references/video-editing.md +16 -14
- package/references/video-prompting.md +11 -11
- package/skill-package.json +1 -1
- package/sogni-agent.mjs +116 -30
- package/version.mjs +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sogni-creative-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.29.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,15 @@
|
|
|
1
|
+
# [3.29.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.28.0...v3.29.0) (2026-08-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** align shared agent runtime dependencies ([a1ba39c](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/a1ba39cd6e41f0669a2ac057cf97105532f2b8ad))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **video:** add LTX 2.5 skill routing ([b7a77ae](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/b7a77ae48212e3f4c9ae187ca1feb9cb22f4390a))
|
|
12
|
+
|
|
1
13
|
# [3.28.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.27.0...v3.28.0) (2026-08-10)
|
|
2
14
|
|
|
3
15
|
|
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ It ships three ways:
|
|
|
26
26
|
With this skill, an agent can:
|
|
27
27
|
|
|
28
28
|
- generate images from prompts and edit/restyle existing images
|
|
29
|
-
- create videos from text, images, audio, or
|
|
29
|
+
- create videos from text, images, first/last frames, audio, or source video (LTX-2.5), with LTX-2.3 retained for voice ID, transition, and 10Eros workflows
|
|
30
30
|
- turn an image folder into a visually deduplicated, music-backed seamless loop with one plugin skill invocation
|
|
31
31
|
- generate instrumental music or full songs with lyrics
|
|
32
32
|
- run hosted creative workflows including storyboard-driven video
|
|
@@ -62,7 +62,7 @@ With this skill, an agent can:
|
|
|
62
62
|
- [Quality presets](#quality-presets)
|
|
63
63
|
- [Recommended models](#recommended-models)
|
|
64
64
|
- [Video Sizing & Aspect Ratios](#video-sizing--aspect-ratios)
|
|
65
|
-
- [LTX-2.
|
|
65
|
+
- [LTX-2.x Prompting Guide](#ltx-2x-prompting-guide)
|
|
66
66
|
- [Photobooth (Face Transfer)](#photobooth-face-transfer)
|
|
67
67
|
- [Personas, Memory, and Personality](#personas-memory-and-personality)
|
|
68
68
|
- [Hosted API Modes](#hosted-api-modes)
|
|
@@ -436,11 +436,11 @@ sogni-agent --video -m minimax-h3-flf2v-turbo --ref first.png --ref-end last.png
|
|
|
436
436
|
sogni-agent --video --ref cat.jpg "gentle camera pan"
|
|
437
437
|
|
|
438
438
|
# Animate two images together (first frame → last frame; defaults to
|
|
439
|
-
#
|
|
439
|
+
# ltx25-22b-int8_i2v_distilled using the standard first/last-frame template)
|
|
440
440
|
sogni-agent --video --ref first.png --ref-end last.png \
|
|
441
441
|
"the opening frame flows smoothly into the final frame"
|
|
442
442
|
|
|
443
|
-
# Image+audio-to-video (auto-routes to LTX-2.
|
|
443
|
+
# Image+audio-to-video (auto-routes to LTX-2.5 ia2v)
|
|
444
444
|
sogni-agent --video --ref cover.jpg --ref-audio song.mp3 \
|
|
445
445
|
"music video with synchronized motion"
|
|
446
446
|
|
|
@@ -608,11 +608,12 @@ Prefer `-Q fast|hq|pro` for images and automatic workflow routing for video. Pas
|
|
|
608
608
|
| MiniMax H3 Turbo text-to-video | `minimax-h3-turbo` or `minimax-h3-t2v-turbo` |
|
|
609
609
|
| MiniMax H3 Turbo image-to-video | `minimax-h3-i2v-turbo` with `--ref` |
|
|
610
610
|
| MiniMax H3 Turbo first-frame → last-frame video | `minimax-h3-flf2v-turbo` with `--ref A --ref-end B` |
|
|
611
|
-
| Text-to-video with native dialogue/audio | `
|
|
611
|
+
| Text-to-video with native dialogue/audio | `ltx25` (Distilled) or `ltx25-22b-int8_t2v_dev` (Dev/HQ) |
|
|
612
612
|
| Explicit uncensored image-to-video on 30GB+ GPUs | `ltx23-eros` with `--no-filter` |
|
|
613
|
-
| Image
|
|
614
|
-
|
|
|
615
|
-
|
|
|
613
|
+
| Image or first/last frames to video | `ltx25-i2v` (FLF shares the I2V model ID) |
|
|
614
|
+
| Image+audio-to-video | `ltx25-ia2v` |
|
|
615
|
+
| Audio-to-video | `ltx25-a2v` |
|
|
616
|
+
| Video-to-video with ControlNet/edit templates | `ltx25-v2v` |
|
|
616
617
|
| Seedance text-to-video | `seedance2` for up to native 4K; `seedance2-mini` for the lower-cost 720p path; `seedance2-fast` for the legacy 720p fast path |
|
|
617
618
|
| Seedance video-to-video without ControlNet | `seedance2-v2v` |
|
|
618
619
|
| Seedance 2.5 single clip up to 30s (480p/720p only) | `seedance2-5` (`seedance2-5-ia2v` / `seedance2-5-v2v` for image+audio and v2v/editing) |
|
|
@@ -628,26 +629,26 @@ Music generation uses `--music` and outputs `mp3` by default. `--audio` remains
|
|
|
628
629
|
|
|
629
630
|
- **WAN models** use dimensions divisible by 16, min 480 px, max 1536 px.
|
|
630
631
|
- **MiniMax H3 and H3 Turbo** use a 32 px grid, fixed 24 fps, native 32 kHz stereo audio, 124–362 frames (`124 + n×17`, i.e. 5.17–15.08 s), and a 1,032,192-pixel render cap (normally 1344×768 or 768×1344). `--duration` snaps to that frame grid, so H3 delivers the nearest grid point rather than the exact requested seconds: `--duration 3` renders the 124-frame floor (5.17 s), while `--duration 6` renders 141 frames (5.88 s). The CLI prints the delivered duration; pass `--frames` directly for exact control. Standard H3 uses 20 steps; Turbo uses 4 steps. H3 Turbo defaults to `er_sde` on Socket, and the CLI omits the sampler unless `--sampler` is passed. Explicit A/B tests may select exactly `euler`, `er_sde`, or `sa_solver`; Standard H3, R2V, and other video modes still reject sampler overrides, and H3 scheduling remains fixed to `simple`. Guidance 1 is fixed and there is no negative-prompt input. Base and Turbo t2v/i2v/flf2v prompts use the exact ordered fields `integrated_multimodal_description`, `overall_soundscape`, and `non_diegetic_music`; i2v/flf2v also require their exact alignment preamble. Spoken lines use stable `(S1)` IDs and `<d>[Language] exact words</d>`. The separate standard `minimax-h3-r2v` checkpoint uses exactly `subject_definitions`, `summary`, `retention_analysis`, `detailed_description`, `overall_soundscape`, and `non_diegetic_music`, in that order. It accepts up to 9 images (`--ref` plus `-c`), 3 videos, and 3 audios, capped at 12 files; at least one visual reference (image or video) is required, audio-only input is invalid, r2v is never inferred, and there is no Turbo Ref2VA. `--no-generate-audio` strips the jointly generated track from the result. This is the 768p-class open-weights release, not MiniMax's hosted 2K stage. FL2VA/Turbo and image-only R2V require 32 GB-class workers; video-conditioned R2V requires above 40 GB. See `references/video-prompting.md` § MiniMax H3 Prompting for the exact preambles, shot notation, and reference labels.
|
|
631
|
-
- **LTX family** (`ltx2-*`, `ltx23-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
|
|
632
|
+
- **LTX family** (`ltx2-*`, `ltx23-*`, `ltx25-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
|
|
632
633
|
- **Seedance** runs at fixed 24 fps. The 2.0 family (`seedance2`, `seedance2-mini`, `seedance2-fast`) supports 4–15 s durations; full `seedance2` supports native 4K via `--target-resolution 2160` while `seedance2-mini` and `seedance2-fast` remain capped to the 720p lower-resolution path. `seedance2-5` renders 4–30 s single clips but caps at 480p/720p (no 1080p or 4K). Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
|
|
633
634
|
- 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.
|
|
634
635
|
- The script auto-normalizes video sizes to satisfy these constraints.
|
|
635
636
|
- Use `--target-resolution <px>` for bare resolution requests like "720p" — it targets the short side and preserves the inherited aspect ratio.
|
|
636
637
|
- Natural-language aspect requests like "portrait", "square", "16:9", or "9:16" are inferred when width/height aren't explicitly set. Combined requests like "720p 9:16" keep the requested short side while applying the requested shape.
|
|
637
638
|
- For i2v (and any workflow using `--ref` / `--ref-end`), the client wrapper resizes the reference image with strict aspect-fit (`fit: inside`) and uses the *resized* dimensions as the final video size. Because that resize uses rounding, a "valid" requested size can still produce an invalid final size (example: `1024×1536` requested, but ref becomes `1024×1535`). `sogni-agent` detects this for local refs and auto-adjusts to a nearby safe size.
|
|
638
|
-
- **LTX-2.
|
|
639
|
+
- **LTX-2.5 first/last-frame default:** `--ref` + `--ref-end` with no `-m` uses `ltx25-22b-int8_i2v_distilled` and the dedicated FLF workflow template. It shares the I2V public model ID and does not attach the LTX-2.3 transition LoRA. Pin `ltx23-22b-fp8_i2v_distilled` explicitly only when the legacy transition-LoRA behavior is required.
|
|
639
640
|
- **Private mature-theme creativity:** optional uncensored LTX-2.3 video models are available for adults who explicitly want them. They remain opt-in and are not part of ordinary model recommendations; the agent loads their specialized guidance only for a relevant request.
|
|
640
641
|
- Pass `--strict-size` to fail instead — the script will print a suggested size.
|
|
641
642
|
|
|
642
|
-
V2V defaults mirror Sogni Chat workflow tuning: `canny`, `pose`, and `depth` use ControlNet strength `0.85` with detailer assist; `detailer` uses strength `1.0`. Use `-m seedance2-v2v` for Seedance V2V without ControlNet. Seedance accepts public HTTPS image, video, and audio references that pass CLI URL safety checks; localhost and private-network URLs are rejected before forwarding. Audio references must be paired with an image or video reference.
|
|
643
|
+
V2V defaults mirror Sogni Chat workflow tuning: `canny`, `pose`, and `depth` use ControlNet strength `0.85` with detailer assist; `detailer` uses strength `1.0`. LTX 2.5 `pose` requires both `--ref-video` for the motion/pose sequence and `--ref` for the subject appearance; explicit LTX 2.3 rollback keeps its existing optional-image behavior. Use `-m seedance2-v2v` for Seedance V2V without ControlNet. Seedance accepts public HTTPS image, video, and audio references that pass CLI URL safety checks; localhost and private-network URLs are rejected before forwarding. Audio references must be paired with an image or video reference.
|
|
643
644
|
|
|
644
|
-
The LTX-2.
|
|
645
|
+
The LTX-2.5 v2v selector `ltx25-v2v` supports two extra control modes: **`outpaint`** extends/expands the video canvas (e.g. make a vertical clip widescreen, or add space in a direction) — it is positional and mask-free, anchored with a position (`center|top|bottom|left|right`) and an optional target aspect ratio (`16:9|9:16|1:1|4:3|3:4|21:9`), and the canvas only grows, never crops; **`inpaint`** regenerates a masked region of the source video and **requires a mask image** (white pixels = region to regenerate) in direct CLI/SDK mode. The hosted `video_to_video` tool selects these with `controlMode` `outpaint`/`inpaint` and can derive an inpaint mask when the user did not upload one. The direct CLI and sogni-client SDK example expose them via `--control-type` / `control-type` (`canny|pose|depth|detailer|outpaint|inpaint`), with `--outpaint-position` for outpaint and `--mask` for inpaint. Pin `ltx23-v2v` only for rollback. See `references/video-editing.md` for details.
|
|
645
646
|
|
|
646
647
|
---
|
|
647
648
|
|
|
648
|
-
## LTX-2.
|
|
649
|
+
## LTX-2.x Prompting Guide
|
|
649
650
|
|
|
650
|
-
When you use
|
|
651
|
+
When you use LTX-2.5 or an LTX-2.3 rollback model, do **not** feed it short tag prompts like `"cinematic drone shot over tropical cliffs"`. LTX renders more reliably from a dense natural-language scene description.
|
|
651
652
|
|
|
652
653
|
- Write one unbroken paragraph — no line breaks, bullets, headers, or tag blocks.
|
|
653
654
|
- Use 4–8 flowing present-tense sentences describing one continuous shot, not a montage.
|
|
@@ -663,7 +664,7 @@ When you use `ltx23-22b-fp8_t2v_distilled`, do **not** feed it short tag prompts
|
|
|
663
664
|
```text
|
|
664
665
|
User ask: "make a 4k video of a woman in a neon alley"
|
|
665
666
|
|
|
666
|
-
LTX
|
|
667
|
+
LTX prompt: "A medium cinematic shot frames a woman in her 30s standing in a rain-soaked neon alley at night, violet and amber signs reflecting across the wet pavement while warm steam drifts from street vents. She wears a dark trench coat with damp strands of black hair clinging near her cheek as light glances across the fabric texture and the brick walls behind her. She turns toward the camera and steps forward with measured focus, one hand tightening around the strap of her bag while rain taps softly on the metal fire escape and a distant train hum rolls through the block. The camera performs a slow push-in as her jaw sets and her breathing steadies, maintaining smooth stabilized motion and a tense urban-thriller mood."
|
|
667
668
|
```
|
|
668
669
|
|
|
669
670
|
---
|
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, MiniMax H3/H3 Turbo/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.29.0"
|
|
6
6
|
homepage: https://sogni.ai
|
|
7
7
|
openclaw:
|
|
8
8
|
emoji: "🎨"
|
|
@@ -158,7 +158,7 @@ sogni-agent -q --photobooth --ref /path/to/face.jpg -o ./stylized.png "80s fashi
|
|
|
158
158
|
|
|
159
159
|
# Text-to-video / image-to-video (write the prompt per references/video-prompting.md)
|
|
160
160
|
# Single-image i2v defaults to wan_v2.2-14b-fp8_i2v_lightx2v; adding --ref-end
|
|
161
|
-
# defaults to
|
|
161
|
+
# defaults to ltx25-22b-int8_i2v_distilled (the standard LTX-2.5 FLF template).
|
|
162
162
|
sogni-agent -q --video -o ./video.mp4 "<cinematic prose paragraph>"
|
|
163
163
|
sogni-agent -q --video --ref /path/to/image.png -o ./video.mp4 "<cinematic prose paragraph>"
|
|
164
164
|
sogni-agent -q --video --ref ./first.png --ref-end ./last.png -o ./morph.mp4 "<LTX transition paragraph>"
|
|
@@ -224,7 +224,7 @@ sogni-agent doctor --json
|
|
|
224
224
|
| `--ref`, `-c`, `--ref-end`, `--ref-audio`, `--ref-video`, `--mask` | Frame / loose image / audio / video / mask references; audio/video repeat for H3 r2v | - |
|
|
225
225
|
| `--generate-audio`, `--no-generate-audio` | Keep or strip MiniMax H3's jointly generated audio track | keep |
|
|
226
226
|
| `--sampler <name>` | Image/music sampler; for MiniMax H3 Turbo video only: `euler\|er_sde\|sa_solver` | H3 Turbo defaults to `er_sde` on Socket; CLI omits unless set |
|
|
227
|
-
| `--control-type`, `--outpaint-position`, `--outpaint-aspect-ratio` | LTX
|
|
227
|
+
| `--control-type`, `--outpaint-position`, `--outpaint-aspect-ratio` | LTX v2v control mode and outpaint canvas controls (`ltx25-v2v` default) | - |
|
|
228
228
|
| `--duration <sec>` | Video or music length | video 5, music 30 |
|
|
229
229
|
| `--target-resolution <px>` | Short-side target preserving aspect ratio (use `2160` for Seedance 4K) | - |
|
|
230
230
|
| `--photobooth` | Face transfer mode (with `--ref`) | - |
|
|
@@ -275,11 +275,11 @@ H3 r2v accepts up to **9 images** (`--ref` then repeatable `-c`), **3 videos** (
|
|
|
275
275
|
|
|
276
276
|
**H3 requires MiniMax's official ordered-field prompt contract.** Base and Turbo T2V/I2V/FLF2V use `integrated_multimodal_description`, `overall_soundscape`, then `non_diegetic_music`, with the mode-specific alignment preamble for I2V or FLF2V. Use `[Shot N]` notation, stable `(S1)` speaker IDs, and exact dialogue as `<d>[Language] words</d>`; do not substitute quoted prose or bracketed timecode lists. Ref2VA uses its separate six-field contract. Negative direction belongs inside the structured prompt because there is no negative-prompt field. Read [`references/video-prompting.md`](./references/video-prompting.md) § MiniMax H3 Prompting before writing any H3 prompt.
|
|
277
277
|
|
|
278
|
-
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`, `seedance2-fast`, or `seedance2-5` for 4K; Mini and Fast remain capped to the 720p lower-resolution path, and Seedance 2.5 renders 480p/720p only. For "hd" / "1080p" requests, or when avoiding vendor models, use `-m
|
|
278
|
+
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`, `seedance2-fast`, or `seedance2-5` for 4K; Mini and Fast remain capped to the 720p lower-resolution path, and Seedance 2.5 renders 480p/720p only. For "hd" / "1080p" requests, or when avoiding vendor models, use `-m ltx25` (text) or `-m ltx25-i2v` (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`.
|
|
279
279
|
|
|
280
280
|
### Video editing, stitching, 360 turnarounds
|
|
281
281
|
|
|
282
|
-
Trigger patterns — "animate/morph image A to image B" or any first-frame/last-frame request (`--ref A --ref-end B` — defaults to `
|
|
282
|
+
Trigger patterns — "animate/morph image A to image B" or any first-frame/last-frame request (`--ref A --ref-end B` — defaults to `ltx25-22b-int8_i2v_distilled`, using the standard LTX-2.5 FLF template with no transition LoRA; single-image i2v defaults to `wan_v2.2-14b-fp8_i2v_lightx2v`), "continue this video" (extract last frame → i2v → concat), "transition between two videos" (bridge clip between two *finished videos*), "make a reel/slideshow from these images" or "animate this folder of images" (`--source-reel <dir>`; plan first with the free `--reel-plan-only`; options: `--reel-image-seconds`, `--reel-transition-seconds`, `--reel-loop`/`--no-reel-loop`, `--reel-image-prompt`, `--reel-transition-prompt`), "360 video" (`--angles-360 --angles-360-video`), "add/replace the soundtrack" (`--concat-audio` / `--remix-audio`). **Read [`references/video-editing.md`](./references/video-editing.md) for the step-by-step recipes.**
|
|
283
283
|
|
|
284
284
|
For a **one-click polished folder loop** where each source image animates and then morphs directly into the next original image, read [`references/loop-maker.md`](./references/loop-maker.md). Use its visually deduplicated, one-LTX-clip-per-pair workflow instead of the default SourceReel split animation-plus-bridge structure. Do not route true 360 novel-view synthesis to this direct pairwise workflow: a turning subject or occluder wipe is not a camera orbit. Trigger on requests such as "Sogni Loop Maker", "make this image folder a seamless loop", "one-click animated photo reel", the Claude Code command `/sogni-creative-agent:loop-maker`, or the Codex skill `$sogni-creative-agent:loop-maker`.
|
|
285
285
|
|
|
@@ -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.29.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",
|
|
@@ -74,7 +74,7 @@ export const TOOLS = [
|
|
|
74
74
|
description:
|
|
75
75
|
'Generate a video from a text prompt, optionally driven by reference media. ' +
|
|
76
76
|
'ref = start frame image (alone defaults to wan_v2.2-14b-fp8_i2v_lightx2v), ' +
|
|
77
|
-
'ref_end = end frame (with ref, defaults to
|
|
77
|
+
'ref_end = end frame (with ref, defaults to ltx25-22b-int8_i2v_distilled and the standard first/last-frame template; no transition LoRA), ' +
|
|
78
78
|
'MiniMax H3 supports t2v, i2v, first/last-frame, and r2v; H3 r2v accepts up to 9 images, 3 videos, ' +
|
|
79
79
|
'and 3 audios (12 files total) through the repeatable reference arrays and uses <Picture 1>/<Video 1>/<Audio 1> prompt tags. ' +
|
|
80
80
|
'ref_audio = soundtrack/lip-sync audio, ref_video = motion reference. ' +
|
|
@@ -2160,7 +2160,7 @@ const PROMPT_CONTRACTS = [
|
|
|
2160
2160
|
"contractId": "animate_photo_v1",
|
|
2161
2161
|
"version": "1.0.0",
|
|
2162
2162
|
"toolName": "animate_photo",
|
|
2163
|
-
"baseDescription": "animate_photo produces video from one or more source images using LTX 2.3.\n\nVIDEO PROMPT QUOTING: In video prompts, ONLY use double quotes for spoken dialogue.\nSpeaker tags are allowed outside the quotes for screenplay-style dialogue, e.g.\nCHARACTER: \"We made it.\" Never put on-screen text, overlay text, titles, captions, signs,\nwatermarks, or any visual text in quotes — describe them without quotes (e.g. bold white text\nreading CONGRATULATIONS overlays the lower third). Quotes signal speech to the model;\nquoting non-speech text confuses audio generation.\n\nDIALOGUE DURATION: Spoken dialogue in video prompts must fit the clip duration. Estimate\nat 3 words per second for natural cinematic delivery, plus ~1 second per acting beat\n(pauses, gestures, glances between lines). If the user did NOT explicitly request a specific\nduration (using default 5s), extend the duration to fit the dialogue (max 20s). If the user\nexplicitly requested a specific duration, condense the dialogue to fit while preserving meaning.\nCheck: total dialogue words ÷ 3 + beat count ≤ clip duration.\n\nLATEST GENERATED IMAGE FOLLOW-UP: When the newest user turn asks to animate, make a video,\nor make a clip from a generated image/result (for example \"the apple\", \"this one\",\n\"the latest image\"), use animate_photo with that latest generated image. Do not inherit an\nolder Seedance model, resolution, or duration from an unrelated prior turn unless the newest\nuser turn explicitly says Seedance or confirms an immediately suggested Seedance video stage.\nLTX supports exact 2-20s durations, so honor requests like 3s exactly.\n\nWORD BUDGET PER CLIP: The handler REJECTS clips whose spoken dialogue exceeds the budget\n— there is NO auto-trim, so plan dialogue lengths up-front. Hard maximum is 3.75 spoken\nwords per second. Ceilings: 5s = 18 words, 6s = 22 words, 8s = 30 words, 10s = 37 words,\n15s = 56 words, 20s = 75 words. Aim below these ceilings. If a scene's dialogue won't fit,\ntighten the lines, raise the per-clip duration, or split into two segments — do NOT submit\nand hope it works. Spoken words inside double quotes count toward the budget; speaker tags\nand visual/action prose are free.\n\nBATCH VIDEO PER-CLIP DURATION: For a multi-segment animate_photo batch\n(sourceImageIndices + prompts) when the user states a TOTAL video length but NO per-clip\nlength, target 15 seconds per clip when dialogue is involved, and pass that duration\nexplicitly. Example: 60s total → 4 segments × 15s, NOT 6×10s or 12×5s. There is NO 3-clip\nbatch cap: sourceImageIndices supports up to 16 clips, so keep one planned batch together\nunless the user explicitly wants isolated projects or per-output settings require it.\nDo NOT split a planned 15s dialogue scene into multiple\nshorter clips just because a retry complains about word budget; keep duration=15 and tighten\nthe line. Use 5s clips only for single short motion beats or one very short spoken phrase.\nIf the user explicitly specifies a per-clip duration, honor that instead.\n\nN-VERSIONS-OF-A-VIDEO PATTERN: Avoid sequential animate_photo calls for N outputs.\nPrefer one Dynamic Prompt project when only prompt text varies, and reserve\nsourceImageIndices multi-project fan-out for source/end asset differences, isolated retry\nlifecycle, or other per-output parameter differences. Flavors:\n(A0) SAME SOURCE / PROMPT-ONLY TAKES — use sourceImageIndex, numberOfVariations=N,\nand ONE Dynamic Prompt branch in prompt: \"{full prompt 1|full prompt 2|...}\". This\nsubmits shared settings and source assets once; Sogni socket creates N jobs in one project.\n(A) SHARED CONTENT — one edit_image/generate_image call with numberOfVariations=N + {|}\nDynamic Prompts to make N distinct source images, then ONE animate_photo call with\nsourceImageIndices=[start..start+N-1] and a single shared prompt.\n(B) PER-CLIP ASSET WIRING — when each clip has DIFFERENT source images, end frames,\naudio windows, durations, dimensions, or other non-prompt parameters,\npass BOTH sourceImageIndices AND prompts (array of N strings, one per clip) in the SAME\nsingle animate_photo call. The top-level prompt is still required — pass a brief batch summary.\nFor explicit last/end-frame-only batches, reuse the image through sourceImageIndices but set\nframeRole=\"end\" and omit endImageIndex/endImageIndices. This means each listed image is the\nlast frame for its corresponding clip and no first/start frame is supplied.\nIf the user explicitly asks for Dynamic Prompt / Dynamic Template syntax, prefer flavor A0\nwhenever every output uses the same source/end assets and shared settings, even if they also\nask to stitch the completed clips afterward.\n\nCRITICAL: sourceImageIndices values MUST be read from the latest edit_image/generate_image\ntool result's startIndex field — if startIndex=3 and 4 images were generated, pass\nsourceImageIndices=[3,4,5,6], NOT [0,1,2,3]. Negative indices refer to uploaded images:\n-1 first upload, -2 second upload, -3 third upload. Use repeated -1 entries only when\nintentionally reusing the primary uploaded image. When prompts is supplied, prompts.length\nMUST equal sourceImageIndices.length.\n\nSEEDANCE UPLOADED STORYBOARD DEFAULT: If the user uploaded a storyboard, shot sheet,\nor visual trailer board and asks to make a trailer/video/movie/clip from it, do NOT use\nanimate_photo on the board image and do NOT split it into four LTX clips. Use generate_video\nwith Seedance referenceImageIndices for one continuous clip unless the user explicitly asks\nfor separate LTX clips or first-frame/last-frame animation.\n\nSCREENPLAY / STORYBOARD ANIMATE RULE: For full storyboard projects, use one\nanimate_photo batch with sourceImageIndices + prompts so each clip keeps its own exact\nscene text, stable cast anchors, and screenplay-style speaker-tagged dialogue, and all video\nclips render in parallel. Every speaking clip's video prompt must include that clip's actual\nquoted dialogue, not placeholders such as \"while speaking\", \"dialogue begins\", \"explaining\",\nor \"final line lands\". If each generated scene keyframe should be both the first and last frame\nof its own stitched segment, call animate_photo with sourceImageIndices=[start..end],\nframeRole=\"both\", prompts=[...], and OMIT endImageIndex/endImageIndices so the handler\nuses each source as its own end frame.\n\nUPLOADED REFERENCE LOOPED PROMPT-ONLY TAKES: When the user supplies one uploaded reference\nimage and asks for N clips that all reuse that same image as BOTH the first frame and last\nframe, with only the action/prompt text varying, do it in ONE Dynamic Prompt project:\nsourceImageIndex=-1, frameRole=\"both\", endImageIndex=-1, numberOfVariations=N, and prompt\nas ONE branch: \"{full prompt 1|full prompt 2|...|full prompt N}\". Do NOT use\nsourceImageIndices=[-1,-1,...] or prompts=[...] for this prompt-only shape. After the\nsingle animate_photo project completes, call stitch_video with the returned video indices\nif the user requested a final stitched video.\nEach Dynamic Prompt option must be a complete natural-language motion prompt for the video\nmodel. Do not include orchestration labels such as \"clip 1 of N\", \"overall request context\",\n\"use the uploaded image as the source frame\", \"follow the user request\", or \"make this clip\ndistinct\"; the attached first/last-frame image is already wired through arguments.\nKeep explicit shared constraints outside the branch before \"{...}\" and honor them inside every\noption: locked/static camera, subtle motion, consistent flames/embers, and silent expression-only\nphysical performance when requested. Non-speaking expressions such as yawns, smiles, kisses, or shy\nmouth-covering gestures are acceptable when they are the requested physical performance; do not\nturn them into speech, singing, or dialogue-like lip motion.\nIf the user gives avoid/no/don't constraints for a Dynamic Prompt batch, the shared prefix before\nthe branch must include their positive equivalents, such as single-subject empty background, clean\nblank surfaces, crisp sharp focus, same room/layout continuity, silent expression-only physical\nperformance, consistent flame/ember motion, and natural anatomically consistent hands. Do not place\nthose constraints only in negativePrompt or omit them from prompt.\nFor videoModel=\"wan22\", write motion-only visual prompts. WAN 2.2 does not generate audio,\nso omit soundtrack, ambience, room tone, music, hums, sighs, spoken words, voice, and SFX cues.\nFor videoModel=\"wan22\" and \"ltx23\", the prompt field is the positive prompt. Translate user\navoid/no/don't constraints into affirmative production constraints instead of copying negative\nphrasing into prompt. Examples: \"no people in background\" -> single subject focus with an empty\nbackground; \"no text\" -> clean blank surfaces; \"don't make it blurry\" -> crisp sharp focus;\n\"no weird hands\" -> natural anatomically consistent hands; \"don't change the room\" -> the same\nroom and layout remain consistent. Preserve exact quoted visible text or dialogue when the user\nexplicitly requests it, and keep surrounding surfaces blank.\n\nUPLOADED REFERENCE LOOPED SCRIPTED SKITS: When the user supplies one uploaded reference image\nand asks for several scripted/storyboard/dialogue segments to reuse that same image as BOTH\nthe first frame and last frame of each segment before stitching, do it in ONE animate_photo call:\nsourceImageIndices=[-1,-1,...], frameRole=\"both\", endImageIndex=-1 (or matching\nendImageIndices=[-1,-1,...]), duration equal to the requested per-segment duration, and\nprompts=[one full scene prompt per segment]. Each prompt must preserve the exact screenplay\nspeaker tags and quoted dialogue from that scene, e.g. HOST: \"...\" GUEST: \"...\". Do not\ndrop speaker tags, convert them to generic narration, omit the last-frame contract, analyze\nthe image first, generate new keyframes first, or split the batch into serial calls. After\nthe single animate_photo batch completes, call stitch_video with the returned video indices.\n\nFor adjacent transition chains: N images create N-1 clips — call animate_photo with\nframeRole=\"both\", sourceImageIndices=[start..end-1], endImageIndices=[start+1..end],\nprompts=[one transition prompt per adjacent pair], then stitch_video. If 5 uploaded images\nare the keyframe sequence, use sourceImageIndices=[-1,-2,-3,-4],\nendImageIndices=[-2,-3,-4,-5], frameRole=\"both\", prompts length 4, then stitch_video.\nDo NOT set endImageIndex=-1 in generated-keyframe patterns — that means every clip ends\non the primary uploaded image.\n\nUPLOADED FIRST-FRAME/LAST-FRAME TRANSITION CHAINS: If the user uploads multiple images\nand asks for a video that transitions from image to image, changes country/version every\nN seconds, or says to use first-frame/last-frame for each pair, call animate_photo directly.\nDo not call edit_image, generate_image, analyze_image, or map_assets_for_model first — the\nuploaded images are already the keyframes. For N uploaded images, create N-1 adjacent clips\nunless the user explicitly asks for a loop back to the first image. Use per-clip duration\nfrom \"every N seconds\" when present; otherwise divide the requested total by the number of\nadjacent clips. After animate_photo returns the batch videos, call stitch_video with\nthose video indices before finalizing unless the user explicitly asked to keep separate clips only.",
|
|
2163
|
+
"baseDescription": "animate_photo produces video from one or more source images using LTX 2.5 by default,\nwith LTX 2.3 retained as a rollback option and for Persona Voice identity workflows.\n\nVIDEO PROMPT QUOTING: In video prompts, ONLY use double quotes for spoken dialogue.\nSpeaker tags are allowed outside the quotes for screenplay-style dialogue, e.g.\nCHARACTER: \"We made it.\" Never put on-screen text, overlay text, titles, captions, signs,\nwatermarks, or any visual text in quotes — describe them without quotes (e.g. bold white text\nreading CONGRATULATIONS overlays the lower third). Quotes signal speech to the model;\nquoting non-speech text confuses audio generation.\n\nDIALOGUE DURATION: Spoken dialogue in video prompts must fit the clip duration. Estimate\nat 3 words per second for natural cinematic delivery, plus ~1 second per acting beat\n(pauses, gestures, glances between lines). If the user did NOT explicitly request a specific\nduration (using default 5s), extend the duration to fit the dialogue (max 20s). If the user\nexplicitly requested a specific duration, condense the dialogue to fit while preserving meaning.\nCheck: total dialogue words ÷ 3 + beat count ≤ clip duration.\n\nLATEST GENERATED IMAGE FOLLOW-UP: When the newest user turn asks to animate, make a video,\nor make a clip from a generated image/result (for example \"the apple\", \"this one\",\n\"the latest image\"), use animate_photo with that latest generated image. Do not inherit an\nolder Seedance model, resolution, or duration from an unrelated prior turn unless the newest\nuser turn explicitly says Seedance or confirms an immediately suggested Seedance video stage.\nLTX supports exact 2-20s durations, so honor requests like 3s exactly.\n\nWORD BUDGET PER CLIP: The handler REJECTS clips whose spoken dialogue exceeds the budget\n— there is NO auto-trim, so plan dialogue lengths up-front. Hard maximum is 3.75 spoken\nwords per second. Ceilings: 5s = 18 words, 6s = 22 words, 8s = 30 words, 10s = 37 words,\n15s = 56 words, 20s = 75 words. Aim below these ceilings. If a scene's dialogue won't fit,\ntighten the lines, raise the per-clip duration, or split into two segments — do NOT submit\nand hope it works. Spoken words inside double quotes count toward the budget; speaker tags\nand visual/action prose are free.\n\nBATCH VIDEO PER-CLIP DURATION: For a multi-segment animate_photo batch\n(sourceImageIndices + prompts) when the user states a TOTAL video length but NO per-clip\nlength, target 15 seconds per clip when dialogue is involved, and pass that duration\nexplicitly. Example: 60s total → 4 segments × 15s, NOT 6×10s or 12×5s. There is NO 3-clip\nbatch cap: sourceImageIndices supports up to 16 clips, so keep one planned batch together\nunless the user explicitly wants isolated projects or per-output settings require it.\nDo NOT split a planned 15s dialogue scene into multiple\nshorter clips just because a retry complains about word budget; keep duration=15 and tighten\nthe line. Use 5s clips only for single short motion beats or one very short spoken phrase.\nIf the user explicitly specifies a per-clip duration, honor that instead.\n\nN-VERSIONS-OF-A-VIDEO PATTERN: Avoid sequential animate_photo calls for N outputs.\nPrefer one Dynamic Prompt project when only prompt text varies, and reserve\nsourceImageIndices multi-project fan-out for source/end asset differences, isolated retry\nlifecycle, or other per-output parameter differences. Flavors:\n(A0) SAME SOURCE / PROMPT-ONLY TAKES — use sourceImageIndex, numberOfVariations=N,\nand ONE Dynamic Prompt branch in prompt: \"{full prompt 1|full prompt 2|...}\". This\nsubmits shared settings and source assets once; Sogni socket creates N jobs in one project.\n(A) SHARED CONTENT — one edit_image/generate_image call with numberOfVariations=N + {|}\nDynamic Prompts to make N distinct source images, then ONE animate_photo call with\nsourceImageIndices=[start..start+N-1] and a single shared prompt.\n(B) PER-CLIP ASSET WIRING — when each clip has DIFFERENT source images, end frames,\naudio windows, durations, dimensions, or other non-prompt parameters,\npass BOTH sourceImageIndices AND prompts (array of N strings, one per clip) in the SAME\nsingle animate_photo call. The top-level prompt is still required — pass a brief batch summary.\nFor explicit last/end-frame-only batches, reuse the image through sourceImageIndices but set\nframeRole=\"end\" and omit endImageIndex/endImageIndices. This means each listed image is the\nlast frame for its corresponding clip and no first/start frame is supplied.\nIf the user explicitly asks for Dynamic Prompt / Dynamic Template syntax, prefer flavor A0\nwhenever every output uses the same source/end assets and shared settings, even if they also\nask to stitch the completed clips afterward.\n\nCRITICAL: sourceImageIndices values MUST be read from the latest edit_image/generate_image\ntool result's startIndex field — if startIndex=3 and 4 images were generated, pass\nsourceImageIndices=[3,4,5,6], NOT [0,1,2,3]. Negative indices refer to uploaded images:\n-1 first upload, -2 second upload, -3 third upload. Use repeated -1 entries only when\nintentionally reusing the primary uploaded image. When prompts is supplied, prompts.length\nMUST equal sourceImageIndices.length.\n\nSEEDANCE UPLOADED STORYBOARD DEFAULT: If the user uploaded a storyboard, shot sheet,\nor visual trailer board and asks to make a trailer/video/movie/clip from it, do NOT use\nanimate_photo on the board image and do NOT split it into four LTX clips. Use generate_video\nwith Seedance referenceImageIndices for one continuous clip unless the user explicitly asks\nfor separate LTX clips or first-frame/last-frame animation.\n\nSCREENPLAY / STORYBOARD ANIMATE RULE: For full storyboard projects, use one\nanimate_photo batch with sourceImageIndices + prompts so each clip keeps its own exact\nscene text, stable cast anchors, and screenplay-style speaker-tagged dialogue, and all video\nclips render in parallel. Every speaking clip's video prompt must include that clip's actual\nquoted dialogue, not placeholders such as \"while speaking\", \"dialogue begins\", \"explaining\",\nor \"final line lands\". If each generated scene keyframe should be both the first and last frame\nof its own stitched segment, call animate_photo with sourceImageIndices=[start..end],\nframeRole=\"both\", prompts=[...], and OMIT endImageIndex/endImageIndices so the handler\nuses each source as its own end frame.\n\nUPLOADED REFERENCE LOOPED PROMPT-ONLY TAKES: When the user supplies one uploaded reference\nimage and asks for N clips that all reuse that same image as BOTH the first frame and last\nframe, with only the action/prompt text varying, do it in ONE Dynamic Prompt project:\nsourceImageIndex=-1, frameRole=\"both\", endImageIndex=-1, numberOfVariations=N, and prompt\nas ONE branch: \"{full prompt 1|full prompt 2|...|full prompt N}\". Do NOT use\nsourceImageIndices=[-1,-1,...] or prompts=[...] for this prompt-only shape. After the\nsingle animate_photo project completes, call stitch_video with the returned video indices\nif the user requested a final stitched video.\nEach Dynamic Prompt option must be a complete natural-language motion prompt for the video\nmodel. Do not include orchestration labels such as \"clip 1 of N\", \"overall request context\",\n\"use the uploaded image as the source frame\", \"follow the user request\", or \"make this clip\ndistinct\"; the attached first/last-frame image is already wired through arguments.\nKeep explicit shared constraints outside the branch before \"{...}\" and honor them inside every\noption: locked/static camera, subtle motion, consistent flames/embers, and silent expression-only\nphysical performance when requested. Non-speaking expressions such as yawns, smiles, kisses, or shy\nmouth-covering gestures are acceptable when they are the requested physical performance; do not\nturn them into speech, singing, or dialogue-like lip motion.\nIf the user gives avoid/no/don't constraints for a Dynamic Prompt batch, the shared prefix before\nthe branch must include their positive equivalents, such as single-subject empty background, clean\nblank surfaces, crisp sharp focus, same room/layout continuity, silent expression-only physical\nperformance, consistent flame/ember motion, and natural anatomically consistent hands. Do not place\nthose constraints only in negativePrompt or omit them from prompt.\nFor videoModel=\"wan22\", write motion-only visual prompts. WAN 2.2 does not generate audio,\nso omit soundtrack, ambience, room tone, music, hums, sighs, spoken words, voice, and SFX cues.\nFor videoModel=\"wan22\", \"ltx25\", and \"ltx23\", the prompt field is the positive prompt. Translate user\navoid/no/don't constraints into affirmative production constraints instead of copying negative\nphrasing into prompt. Examples: \"no people in background\" -> single subject focus with an empty\nbackground; \"no text\" -> clean blank surfaces; \"don't make it blurry\" -> crisp sharp focus;\n\"no weird hands\" -> natural anatomically consistent hands; \"don't change the room\" -> the same\nroom and layout remain consistent. Preserve exact quoted visible text or dialogue when the user\nexplicitly requests it, and keep surrounding surfaces blank.\n\nUPLOADED REFERENCE LOOPED SCRIPTED SKITS: When the user supplies one uploaded reference image\nand asks for several scripted/storyboard/dialogue segments to reuse that same image as BOTH\nthe first frame and last frame of each segment before stitching, do it in ONE animate_photo call:\nsourceImageIndices=[-1,-1,...], frameRole=\"both\", endImageIndex=-1 (or matching\nendImageIndices=[-1,-1,...]), duration equal to the requested per-segment duration, and\nprompts=[one full scene prompt per segment]. Each prompt must preserve the exact screenplay\nspeaker tags and quoted dialogue from that scene, e.g. HOST: \"...\" GUEST: \"...\". Do not\ndrop speaker tags, convert them to generic narration, omit the last-frame contract, analyze\nthe image first, generate new keyframes first, or split the batch into serial calls. After\nthe single animate_photo batch completes, call stitch_video with the returned video indices.\n\nFor adjacent transition chains: N images create N-1 clips — call animate_photo with\nframeRole=\"both\", sourceImageIndices=[start..end-1], endImageIndices=[start+1..end],\nprompts=[one transition prompt per adjacent pair], then stitch_video. If 5 uploaded images\nare the keyframe sequence, use sourceImageIndices=[-1,-2,-3,-4],\nendImageIndices=[-2,-3,-4,-5], frameRole=\"both\", prompts length 4, then stitch_video.\nDo NOT set endImageIndex=-1 in generated-keyframe patterns — that means every clip ends\non the primary uploaded image.\n\nUPLOADED FIRST-FRAME/LAST-FRAME TRANSITION CHAINS: If the user uploads multiple images\nand asks for a video that transitions from image to image, changes country/version every\nN seconds, or says to use first-frame/last-frame for each pair, call animate_photo directly.\nDo not call edit_image, generate_image, analyze_image, or map_assets_for_model first — the\nuploaded images are already the keyframes. For N uploaded images, create N-1 adjacent clips\nunless the user explicitly asks for a loop back to the first image. Use per-clip duration\nfrom \"every N seconds\" when present; otherwise divide the requested total by the number of\nadjacent clips. After animate_photo returns the batch videos, call stitch_video with\nthose video indices before finalizing unless the user explicitly asked to keep separate clips only.",
|
|
2164
2164
|
"parameterDocs": {
|
|
2165
2165
|
"sourceImageIndices": "Batch source image indices. Read startIndex from prior generate_image/edit_image result. Negative = uploaded images (-1 = first upload). May be paired with frameRole=\"end\" only for explicit last/end-frame-only fan-out.",
|
|
2166
2166
|
"prompts": "Per-clip prompt array. Length MUST equal sourceImageIndices.length when both are set.",
|
|
@@ -2220,8 +2220,8 @@ const PROMPT_CONTRACTS = [
|
|
|
2220
2220
|
"parameterDocs": {
|
|
2221
2221
|
"prompt": "Describe the target appearance in present tense. For detailer, describe the original content plus quality qualifiers only. For outpaint, describe what fills the new area; for inpaint, describe only the masked region.",
|
|
2222
2222
|
"videoSourceIndex": "Uploaded video index. Omit when there is one uploaded video; use 0 for first uploaded video or -1 if using negative upload notation.",
|
|
2223
|
-
"controlMode": "Pick from intent: detailer for enhance, seedance-v2v for explicit Seedance V2V, canny/depth
|
|
2224
|
-
"sourceImageIndex": "Required for animate-move and
|
|
2223
|
+
"controlMode": "Pick from intent: detailer for enhance, seedance-v2v for explicit Seedance V2V, canny/depth for video-only control restyles, pose for motion transfer onto a reference-image subject, animate-move/replace for WAN Animate, outpaint to extend/expand the canvas, inpaint to regenerate a masked region.",
|
|
2224
|
+
"sourceImageIndex": "Required for animate-move, animate-replace, and pose when more than one image is available; the sole reference image may be auto-selected. LTX pose always needs a reference image. Ignored by canny, depth, detailer, outpaint, and inpaint.",
|
|
2225
2225
|
"outpaintPosition": "outpaint only. Where the original frame sits in the expanded canvas (center/top/bottom/left/right); determines grow direction. Default center.",
|
|
2226
2226
|
"outpaintAspectRatio": "outpaint only, optional. Target aspect ratio (e.g. 16:9) for the expanded canvas; the canvas only grows, never crops. Set only when the user names a target shape/orientation.",
|
|
2227
2227
|
"maskImageIndex": "inpaint only, optional. 0-based index of an uploaded mask image (white = regenerate, black = preserve). Omit when the user did not provide a mask.",
|
|
@@ -2288,7 +2288,7 @@ const PROMPT_CONTRACTS = [
|
|
|
2288
2288
|
"contractId": "sound_to_video_v1",
|
|
2289
2289
|
"version": "1.0.0",
|
|
2290
2290
|
"toolName": "sound_to_video",
|
|
2291
|
-
"baseDescription": "sound_to_video creates audio-synced video from an audio source. Works with uploaded audio\nfiles (mp3, m4a, wav) OR previously generated music from generate_music (auto-detected).\n\nWhen the user asks to \"turn that song/music into a video\" after generate_music, use\nsound_to_video — it will automatically find the generated audio.\n\nFor music visualization (syncing video to a specific song or audio track), use the\ngenerate_music → sound_to_video pipeline. Do NOT use animate_photo or generate_video for\naudio-driven visualization.\n\nanimate_photo and generate_video produce audio natively via LTX 2.3 — never
|
|
2291
|
+
"baseDescription": "sound_to_video creates audio-synced video from an audio source. Works with uploaded audio\nfiles (mp3, m4a, wav) OR previously generated music from generate_music (auto-detected).\n\nWhen the user asks to \"turn that song/music into a video\" after generate_music, use\nsound_to_video — it will automatically find the generated audio.\n\nFor music visualization (syncing video to a specific song or audio track), use the\ngenerate_music → sound_to_video pipeline. Do NOT use animate_photo or generate_video for\naudio-driven visualization.\n\nanimate_photo and generate_video produce audio natively via LTX 2.5 or LTX 2.3 — never\npre-generate audio for those tools. sound_to_video is only for when the audio IS the primary creative\ninput driving the video output.\n\nPERSONA VOICE CLIPS: Persona voice clips returned by resolve_personas are voice identity\nreferences for LTX Audio ID, not audio tracks to synchronize. If the user explicitly asks\nfor a registered/persona/reference voice or voice clone, call resolve_personas first, then\nuse generate_video with ltx23 and voicePersonaName when there is no image source, or\nanimate_photo with ltx23 and voicePersonaName when an image/source frame should be\nanimated. Do not call sound_to_video for a persona voice clip unless a separate uploaded\naudio track is the primary sync driver.",
|
|
2292
2292
|
"parameterDocs": {
|
|
2293
2293
|
"audioSource": "Uploaded audio file or reference to a prior generate_music result. Auto-detected when omitted after generate_music."
|
|
2294
2294
|
}
|
|
@@ -2407,7 +2407,7 @@ const PROMPT_CONTRACTS = [
|
|
|
2407
2407
|
"contractId": "map_assets_for_model_v1",
|
|
2408
2408
|
"version": "1.0.0",
|
|
2409
2409
|
"toolName": "map_assets_for_model",
|
|
2410
|
-
"baseDescription": "map_assets_for_model is an inspection helper for previously generated asset-manifest entries\nwhen you need exact model_ref tokens for a later prompt.\n\nDo NOT call this for ordinary uploaded image references. If the user uploaded images and\nasks GPT Image 2 to use all uploaded assets as visual references, call edit_image directly\nwith sourceImageIndex=-1 and describe the uploaded assets/roles in the prompt. Uploaded\nreference images are already available to edit_image/generate_image; mapping them first\nwastes a tool round and may violate direct-generation requests.\n\nUse this helper only when a previous tool result produced assets in the manifest and the\nnext prompt must name those prior generated assets with provider-specific tokens.\n\nContext-conditioned image/edit models such as LTX 2.3, Wan, Qwen Image Edit, Krea 2 Identity\nEdit, and Dark Beast Krea 2 Identity Edit use zero-indexed model_ref tokens like\ncontext_image_0 and context_image_1. Use the helper output instead of hand-formatting those tokens.",
|
|
2410
|
+
"baseDescription": "map_assets_for_model is an inspection helper for previously generated asset-manifest entries\nwhen you need exact model_ref tokens for a later prompt.\n\nDo NOT call this for ordinary uploaded image references. If the user uploaded images and\nasks GPT Image 2 to use all uploaded assets as visual references, call edit_image directly\nwith sourceImageIndex=-1 and describe the uploaded assets/roles in the prompt. Uploaded\nreference images are already available to edit_image/generate_image; mapping them first\nwastes a tool round and may violate direct-generation requests.\n\nUse this helper only when a previous tool result produced assets in the manifest and the\nnext prompt must name those prior generated assets with provider-specific tokens.\n\nContext-conditioned image/edit models such as LTX 2.5, LTX 2.3, Wan, Qwen Image Edit, Krea 2 Identity\nEdit, and Dark Beast Krea 2 Identity Edit use zero-indexed model_ref tokens like\ncontext_image_0 and context_image_1. Use the helper output instead of hand-formatting those tokens.",
|
|
2411
2411
|
"parameterDocs": {
|
|
2412
2412
|
"model_id": "Target model for prior generated manifest refs. Do not use for plain uploaded references."
|
|
2413
2413
|
}
|
|
@@ -2450,7 +2450,7 @@ const PROMPT_CONTRACTS = [
|
|
|
2450
2450
|
"parameterDocs": {
|
|
2451
2451
|
"prompt": "The source prompt, rough idea, or prompt revision request to enhance.",
|
|
2452
2452
|
"target_output": "The kind of prompt artifact to produce. One of image_prompt, video_prompt, music_prompt, edit_prompt, model_prompt, or general_prompt.",
|
|
2453
|
-
"destination_model": "Optional destination model selector, such as seedance2, ltx23, wan22, flux2, gpt-image-2, or sdxl.",
|
|
2453
|
+
"destination_model": "Optional destination model selector, such as seedance2, ltx25, ltx23, wan22, flux2, gpt-image-2, or sdxl.",
|
|
2454
2454
|
"destination_tool": "Optional downstream generation tool, such as generate_image, edit_image, generate_video, animate_photo, sound_to_video, video_to_video, or generate_music.",
|
|
2455
2455
|
"prompting_type": "Optional image-prompting family when producing an image prompt. One of flux, sdxl, sd15, pony, fast, sd3, editing, or video.",
|
|
2456
2456
|
"model_title": "Optional human-readable target model name for image prompt guidance.",
|
|
@@ -2493,7 +2493,7 @@ const PROMPT_CONTRACTS = [
|
|
|
2493
2493
|
"parameterDocs": {
|
|
2494
2494
|
"brief": "The creative writing brief, story idea, product concept, video idea, or revision request.",
|
|
2495
2495
|
"script_type": "The kind of script or creative writing artifact to produce. One of video_prompt, screenplay, storyboard, ad_script, trailer, social_short, talking_head, campaign, or revision.",
|
|
2496
|
-
"destination_model": "Optional destination video model selector, such as ltx23, wan22, or seedance2.",
|
|
2496
|
+
"destination_model": "Optional destination video model selector, such as ltx25, ltx23, wan22, or seedance2.",
|
|
2497
2497
|
"destination_tool": "Optional downstream tool, such as generate_video, animate_photo, sound_to_video, or video_to_video.",
|
|
2498
2498
|
"duration_seconds": "Requested runtime in seconds (1-300) for a video prompt, social short, ad, or talking-head script.",
|
|
2499
2499
|
"scene_count": "Requested number of scenes, shots, beats, or storyboard panels (1-12).",
|
|
@@ -2517,7 +2517,7 @@ const PROMPT_CONTRACTS = [
|
|
|
2517
2517
|
"duration_seconds": "Target total duration in seconds for video-bearing plans (1-120).",
|
|
2518
2518
|
"aspect_ratio": "Output aspect ratio. One of 1:1, 4:3, 3:4, 16:9, 9:16, 21:9.",
|
|
2519
2519
|
"style": "Optional stylistic guidance such as \"cinematic, neon, low-key\" or \"whiteboard illustration\".",
|
|
2520
|
-
"destination_models": "Optional preferred image/video/music model selectors (e.g. flux2, ltx23). Each subkey is optional.",
|
|
2520
|
+
"destination_models": "Optional preferred image/video/music model selectors (e.g. flux2, ltx25, ltx23). Each subkey is optional.",
|
|
2521
2521
|
"max_estimated_capacity_units": "Optional coarse capacity budget. If set, the planner tries to keep total estimated cost at or below this value; the API returns fits_budget=false if it cannot.",
|
|
2522
2522
|
"include_audio": "When true, include a generate_music step in the plan. Defaults to false.",
|
|
2523
2523
|
"return_format": "Reserved for future use; only \"json\" is supported in Phase 1. Omit if unsure."
|
|
@@ -2539,7 +2539,7 @@ const PROMPT_CONTRACTS = [
|
|
|
2539
2539
|
"duration_seconds": "Target total duration in seconds for video-bearing plans (1-120).",
|
|
2540
2540
|
"aspect_ratio": "Output aspect ratio. One of 1:1, 4:3, 3:4, 16:9, 9:16, 21:9.",
|
|
2541
2541
|
"style": "Optional stylistic guidance such as \"cinematic, neon, low-key\" or \"whiteboard illustration\".",
|
|
2542
|
-
"destination_models": "Optional preferred image/video/music model selectors (e.g. flux2, ltx23). Each subkey is optional.",
|
|
2542
|
+
"destination_models": "Optional preferred image/video/music model selectors (e.g. flux2, ltx25, ltx23). Each subkey is optional.",
|
|
2543
2543
|
"max_estimated_capacity_units": "Optional coarse capacity budget. The planner returns fits_budget=false if it cannot fit under the cap.",
|
|
2544
2544
|
"include_audio": "When true, include a generate_music step in the example plan. Defaults to false.",
|
|
2545
2545
|
"return_format": "Reserved for future use; only \"json\" is supported in Phase 2. Omit if unsure.",
|
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.29.0",
|
|
6
6
|
"skills": [
|
|
7
7
|
"."
|
|
8
8
|
],
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"additionalProperties": false,
|
|
36
36
|
"description": "Override per-workflow default video models.",
|
|
37
37
|
"properties": {
|
|
38
|
-
"t2v": { "type": "string", "default": "
|
|
38
|
+
"t2v": { "type": "string", "default": "ltx25-22b-int8_t2v_distilled" },
|
|
39
39
|
"i2v": { "type": "string", "default": "wan_v2.2-14b-fp8_i2v_lightx2v" },
|
|
40
40
|
"s2v": { "type": "string", "default": "wan_v2.2-14b-fp8_s2v_lightx2v" },
|
|
41
|
-
"ia2v": { "type": "string", "default": "
|
|
42
|
-
"a2v": { "type": "string", "default": "
|
|
43
|
-
"v2v": { "type": "string", "default": "
|
|
41
|
+
"ia2v": { "type": "string", "default": "ltx25-22b-int8_ia2v_distilled" },
|
|
42
|
+
"a2v": { "type": "string", "default": "ltx25-22b-int8_a2v_distilled" },
|
|
43
|
+
"v2v": { "type": "string", "default": "ltx25-22b-int8_v2v_distilled" },
|
|
44
44
|
"animate-move": { "type": "string", "default": "wan_v2.2-14b-fp8_animate-move_lightx2v" },
|
|
45
45
|
"animate-replace": { "type": "string", "default": "wan_v2.2-14b-fp8_animate-replace_lightx2v" }
|
|
46
46
|
}
|
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.29.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.15.1",
|
|
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.
|
|
101
|
+
"@sogni-ai/sogni-client": "5.10.0"
|
|
102
102
|
},
|
|
103
103
|
"openclaw": {
|
|
104
104
|
"extensions": [
|
|
@@ -28,7 +28,7 @@ Do not run the default `npx setup-sogni-agent-skill` from an installed plugin un
|
|
|
28
28
|
- Image: `sogni-agent "a cat on the moon, cinematic"`
|
|
29
29
|
- Image edit: `sogni-agent -c <path> "make it night, add fireflies"`
|
|
30
30
|
- Video (image-to-video): `sogni-agent --video --ref <path> "gentle camera pan"` (defaults to `wan_v2.2-14b-fp8_i2v_lightx2v`)
|
|
31
|
-
- Animate two images (first frame → last frame): `sogni-agent --video --ref <first> --ref-end <last> "smooth morph into the final frame"` (defaults to `
|
|
31
|
+
- Animate two images (first frame → last frame): `sogni-agent --video --ref <first> --ref-end <last> "smooth morph into the final frame"` (defaults to `ltx25-22b-int8_i2v_distilled` and the standard FLF template; no transition LoRA is attached)
|
|
32
32
|
- MiniMax H3 reference-to-video: `sogni-agent --video -m minimax-h3-r2v --ref <identity> -c <wardrobe> --ref-video <motion> --ref-audio <voice> "<Picture 1> controls identity; <Picture 2> controls wardrobe; <Video 1> controls motion; <Audio 1> controls voice."`
|
|
33
33
|
- One-click image-folder loop: `/sogni-creative-agent:loop-maker ./images`
|
|
34
34
|
- One-click image-folder loop in Codex: `$sogni-creative-agent:loop-maker ./images`
|
package/references/loop-maker.md
CHANGED
|
@@ -10,7 +10,7 @@ Use this workflow for one-command requests to turn a folder of still images into
|
|
|
10
10
|
- Use the strongest retained image as the opener unless the user names another, then rotate the ordered list without otherwise reordering it.
|
|
11
11
|
- Render one 3-second clip per image pair: about 2 seconds of restrained motion followed by a smooth transition into the next supplied image.
|
|
12
12
|
- Close the loop with the last retained image to the opener.
|
|
13
|
-
- Use `
|
|
13
|
+
- Use `ltx25-22b-int8_i2v_distilled`, `--token-type auto`, and the exact original files as both `--ref` and `--ref-end` for every pair.
|
|
14
14
|
- Pin both endpoint strengths to `1` and disable SDK asset auto-resizing after choosing a valid LTX canvas.
|
|
15
15
|
- Target a 768px short side unless the user requests another resolution. Choose dimensions divisible by 64, preserve the dominant source aspect ratio, and keep the long side at or below 2048px. For a 4:3 source set, use `1024x768`.
|
|
16
16
|
- Normalize the stitched result to 32 fps.
|
|
@@ -80,7 +80,7 @@ Pass the exact original paths directly. Do not make normalized JPEG copies or us
|
|
|
80
80
|
|
|
81
81
|
```bash
|
|
82
82
|
sogni-agent -q --video \
|
|
83
|
-
-m
|
|
83
|
+
-m ltx25-22b-int8_i2v_distilled \
|
|
84
84
|
--ref ./from-image.jpg \
|
|
85
85
|
--ref-end ./to-image.jpg \
|
|
86
86
|
--no-auto-resize-assets \
|
package/references/models.md
CHANGED
|
@@ -129,6 +129,12 @@ direct music generation. Music controls: `--lyrics`, `--language`, `--bpm`
|
|
|
129
129
|
|
|
130
130
|
| Model | Speed | Use Case |
|
|
131
131
|
|-------|-------|----------|
|
|
132
|
+
| `ltx25` → `ltx25-22b-int8_t2v_distilled` | Distilled | Default text-to-video with native synchronized audio |
|
|
133
|
+
| `ltx25-i2v` → `ltx25-22b-int8_i2v_distilled` | Distilled | Image-to-video; also first/last-frame conditioning through the separate FLF template |
|
|
134
|
+
| `ltx25-ia2v` → `ltx25-22b-int8_ia2v_distilled` | Distilled | Image+audio-to-video |
|
|
135
|
+
| `ltx25-a2v` → `ltx25-22b-int8_a2v_distilled` | Distilled | Audio-to-video |
|
|
136
|
+
| `ltx25-v2v` → `ltx25-22b-int8_v2v_distilled` | Distilled | Video-to-video canny, depth, pose, detailer, inpaint, and outpaint templates; pose requires both source video and subject reference image |
|
|
137
|
+
| `ltx25-22b-int8_{t2v,i2v,ia2v,a2v,v2v}_dev` | Dev/HQ | Official two-stage Dev workflow for the matching mode |
|
|
132
138
|
| `ltx23-22b-fp8_t2v_distilled` | Fast (~2-3min) | Default text-to-video with native dialogue/audio |
|
|
133
139
|
| `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) |
|
|
134
140
|
| `ltx23-eros` → `ltx23-22b-10eros-v1.4-fp8mixed_i2v` | Fast | Explicit uncensored I2V; 30GB+ GPU and `--no-filter` required |
|
|
@@ -173,6 +179,11 @@ itself (see [HappyHorse 1.1 models](#happyhorse-11-models)).
|
|
|
173
179
|
|
|
174
180
|
| Alias | Resolves to |
|
|
175
181
|
|-------|-------------|
|
|
182
|
+
| `ltx25`, `ltx25-t2v` | `ltx25-22b-int8_t2v_distilled` |
|
|
183
|
+
| `ltx25-i2v` | `ltx25-22b-int8_i2v_distilled` |
|
|
184
|
+
| `ltx25-ia2v` | `ltx25-22b-int8_ia2v_distilled` |
|
|
185
|
+
| `ltx25-a2v` | `ltx25-22b-int8_a2v_distilled` |
|
|
186
|
+
| `ltx25-v2v` | `ltx25-22b-int8_v2v_distilled` |
|
|
176
187
|
| `ltx23`, `ltx23-t2v` | `ltx23-22b-fp8_t2v_distilled` |
|
|
177
188
|
| `ltx23-i2v` | `ltx23-22b-fp8_i2v_distilled` |
|
|
178
189
|
| `ltx23-ia2v` | `ltx23-22b-fp8_ia2v_distilled` |
|
|
@@ -194,19 +205,17 @@ itself (see [HappyHorse 1.1 models](#happyhorse-11-models)).
|
|
|
194
205
|
- **Single-image i2v** (`--ref` only, no `-m`) defaults to
|
|
195
206
|
`wan_v2.2-14b-fp8_i2v_lightx2v`. Keep that default for plain "animate this
|
|
196
207
|
image" requests. The CLI auto-routes single-image i2v to
|
|
197
|
-
`
|
|
208
|
+
`ltx25-22b-int8_i2v_distilled` only when the prompt calls for native audio
|
|
198
209
|
(quoted dialogue; words like audio, music, sound, speech, sings) or reads
|
|
199
210
|
as story direction (story, scene, script, narrative, commercial), or when
|
|
200
211
|
`-Q hq`/`-Q pro` is set — WAN clips render silent. If the prompt must
|
|
201
212
|
contain such words but the WAN path is still wanted, pin it explicitly
|
|
202
213
|
with `-m wan_v2.2-14b-fp8_i2v_lightx2v`.
|
|
203
214
|
- **Two-image first-frame → last-frame animation** (`--ref` + `--ref-end`,
|
|
204
|
-
no `-m`) defaults to `
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
`-m wan_v2.2-14b-fp8_i2v_lightx2v` only when the user explicitly wants the
|
|
209
|
-
WAN path (silent clip, no transition LoRA).
|
|
215
|
+
no `-m`) defaults to `ltx25-22b-int8_i2v_distilled` and uses the dedicated
|
|
216
|
+
FLF template. FLF shares the I2V public model ID; it does not attach the
|
|
217
|
+
LTX-2.3 transition LoRA. Pin `ltx23-22b-fp8_i2v_distilled` only when the
|
|
218
|
+
legacy LoRA-assisted transition behavior is explicitly required.
|
|
210
219
|
- A configured `videoModels.i2v` (OpenClaw plugin config) overrides both
|
|
211
220
|
defaults.
|
|
212
221
|
|
|
@@ -235,7 +244,7 @@ no negative prompt and no ControlNet.
|
|
|
235
244
|
grammar and the same mutually exclusive dedicated-frame vs loose-reference
|
|
236
245
|
modes as Seedance 2.0.
|
|
237
246
|
|
|
238
|
-
The pinned `@sogni-ai/sogni-intelligence-client` 3.
|
|
247
|
+
The pinned `@sogni-ai/sogni-intelligence-client` 3.15.1 runtime recognizes
|
|
239
248
|
`seedance-2-5`, so the direct CLI applies Seedance's fixed 24 fps, 4-30 s
|
|
240
249
|
duration window, larger reference caps, reference-mode exclusivity, and HTTPS
|
|
241
250
|
reference forwarding before dispatch.
|
|
@@ -554,13 +563,13 @@ model recommendations.
|
|
|
554
563
|
| Photobooth face transfer | `coreml-sogniXLturbo_alpha1_ad` |
|
|
555
564
|
| Direct music generation | `ace_step_1.5_xl_turbo` (or `--music-model turbo`) |
|
|
556
565
|
| Music with stronger lyric handling | `ace_step_1.5_xl_sft` (or `--music-model sft`) |
|
|
557
|
-
| Text-to-video with native dialogue/audio | `
|
|
566
|
+
| Text-to-video with native dialogue/audio | `ltx25` |
|
|
558
567
|
| Image-to-video from one start frame (default) | `wan_v2.2-14b-fp8_i2v_lightx2v` |
|
|
559
|
-
| Animate two images together (first frame → last frame) | `
|
|
568
|
+
| Animate two images together (first frame → last frame) | `ltx25-i2v` with `--ref A --ref-end B` (FLF template, no transition LoRA) |
|
|
560
569
|
| Explicit uncensored image-to-video on 30GB+ GPUs | `ltx23-eros` with `--no-filter` |
|
|
561
|
-
| Image+audio-to-video | `
|
|
562
|
-
| Audio-to-video | `
|
|
563
|
-
| Video-to-video with ControlNet | `
|
|
570
|
+
| Image+audio-to-video | `ltx25-ia2v` |
|
|
571
|
+
| Audio-to-video | `ltx25-a2v` |
|
|
572
|
+
| Video-to-video with ControlNet/edit templates | `ltx25-v2v` |
|
|
564
573
|
| Private mature-theme image-to-video | `ltx23-22b-10eros-v1.4-fp8mixed_i2v` |
|
|
565
574
|
| Seedance text-to-video | `seedance2`, `seedance2-mini`, or `seedance2-fast` |
|
|
566
575
|
| Seedance video-to-video without ControlNet | `seedance2-v2v` |
|
|
@@ -582,7 +591,7 @@ model recommendations.
|
|
|
582
591
|
|
|
583
592
|
- **WAN models** use dimensions divisible by 16, min 480 px, max 1536 px.
|
|
584
593
|
- **MiniMax H3 and H3 Turbo** use dimensions divisible by 32, fixed 24 fps, 124–362 frames on the `124 + n×17` grid (5.17–15.08 s), and no more than 1,032,192 pixels (1344×768 and 768×1344 are the primary landscape/portrait sizes). Standard H3 uses 20 steps; Turbo uses 4. H3 Turbo defaults to `er_sde` on Socket, and the CLI omits the sampler unless `--sampler` is passed; `euler`, `er_sde`, and `sa_solver` are its only explicit direct CLI choices. Guidance 1 and native stereo audio apply to both, and neither has a negative-prompt input. FL2VA/Turbo and image-only R2V require 32 GB-class workers; video-conditioned R2V requires above 40 GB. See [MiniMax H3 models](#minimax-h3-models).
|
|
585
|
-
- **LTX family** (`ltx2-*`, `ltx23-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
|
|
594
|
+
- **LTX family** (`ltx2-*`, `ltx23-*`, `ltx25-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
|
|
586
595
|
- **Seedance** runs at fixed 24 fps. The 2.0 family (`seedance2`, `seedance2-mini`, `seedance2-fast`) supports 4–15 s durations; full `seedance2` supports native 4K via `--target-resolution 2160` while `seedance2-mini` and `seedance2-fast` remain capped to the 720p lower-resolution path. `seedance2-5` renders 4–30 s single clips (97–721 frames) but caps at 480p/720p (max dimension 1280) — it cannot render 1080p or 4K. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
|
|
587
596
|
- **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.
|
|
588
597
|
- For spoken dialogue, budget roughly 3 words per second plus about 1 second per meaningful acting beat or pause.
|
|
@@ -23,14 +23,14 @@ CLI defaults are 512×512 images, count 1, spark tokens, prompt-hash seeds):
|
|
|
23
23
|
"defaultPhotoboothModel": "coreml-sogniXLturbo_alpha1_ad",
|
|
24
24
|
"defaultMusicModel": "ace_step_1.5_xl_turbo",
|
|
25
25
|
"videoModels": {
|
|
26
|
-
"t2v": "
|
|
26
|
+
"t2v": "ltx25-22b-int8_t2v_distilled",
|
|
27
27
|
"i2v": "wan_v2.2-14b-fp8_i2v_lightx2v",
|
|
28
28
|
"s2v": "wan_v2.2-14b-fp8_s2v_lightx2v",
|
|
29
|
-
"ia2v": "
|
|
30
|
-
"a2v": "
|
|
29
|
+
"ia2v": "ltx25-22b-int8_ia2v_distilled",
|
|
30
|
+
"a2v": "ltx25-22b-int8_a2v_distilled",
|
|
31
31
|
"animate-move": "wan_v2.2-14b-fp8_animate-move_lightx2v",
|
|
32
32
|
"animate-replace": "wan_v2.2-14b-fp8_animate-replace_lightx2v",
|
|
33
|
-
"v2v": "
|
|
33
|
+
"v2v": "ltx25-22b-int8_v2v_distilled"
|
|
34
34
|
},
|
|
35
35
|
"defaultVideoWorkflow": "t2v",
|
|
36
36
|
"defaultNetwork": "fast",
|
|
@@ -71,8 +71,8 @@ Notes:
|
|
|
71
71
|
|
|
72
72
|
- Seed strategies: `prompt-hash` (deterministic) or `random`.
|
|
73
73
|
- `videoModels.i2v` also governs two-image `--ref` + `--ref-end` renders:
|
|
74
|
-
when set, it overrides the built-in LTX-2.
|
|
75
|
-
(`
|
|
74
|
+
when set, it overrides the built-in LTX-2.5 first/last-frame default
|
|
75
|
+
(`ltx25-22b-int8_i2v_distilled`) that otherwise applies to first/last-frame
|
|
76
76
|
pairs. Unset, single-image i2v defaults to `wan_v2.2-14b-fp8_i2v_lightx2v`.
|
|
77
77
|
- `defaultCount` is clamped to the CLI's safety cap (16 unless raised with
|
|
78
78
|
`SOGNI_MAX_COUNT`).
|
|
@@ -19,11 +19,11 @@ sogni-agent -q --video --ref ./imageA.png --ref-end ./imageB.png -o ./transition
|
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
**Default model:** with both `--ref` and `--ref-end` set and no `-m`, the CLI
|
|
22
|
-
defaults to `
|
|
23
|
-
|
|
22
|
+
defaults to `ltx25-22b-int8_i2v_distilled` and its dedicated FLF template, so
|
|
23
|
+
write the prompt as an LTX paragraph per
|
|
24
24
|
[`video-prompting.md`](video-prompting.md). Pass
|
|
25
25
|
`-m wan_v2.2-14b-fp8_i2v_lightx2v` only when the user explicitly wants the
|
|
26
|
-
WAN path (silent clip
|
|
26
|
+
WAN path (silent clip). Plain single-image i2v (one
|
|
27
27
|
`--ref`, no end frame) defaults to `wan_v2.2-14b-fp8_i2v_lightx2v` instead.
|
|
28
28
|
|
|
29
29
|
**Always apply this pattern when:**
|
|
@@ -31,7 +31,7 @@ WAN path (silent clip, no transition LoRA). Plain single-image i2v (one
|
|
|
31
31
|
- User says "animate this video to this image" → extract last frame, use as `--ref`, target image as `--ref-end`, then stitch
|
|
32
32
|
- User says "continue this video" with a target image → same as above
|
|
33
33
|
|
|
34
|
-
> **LTX-2.3 transition / morph LoRA
|
|
34
|
+
> **Explicit LTX-2.3 rollback: transition / morph LoRA.** When an LTX-2.3
|
|
35
35
|
> image-to-video render (`ltx23-22b-fp8_i2v_distilled`) is given **both** a start
|
|
36
36
|
> image (`--ref`) and an end image (`--ref-end`) — two keyframes — it
|
|
37
37
|
> automatically applies the ValiantCat transition/morph LoRA (lora id
|
|
@@ -41,7 +41,8 @@ WAN path (silent clip, no transition LoRA). Plain single-image i2v (one
|
|
|
41
41
|
> sogni-client SDK example uses `image <first>` and `end-image <last>` to supply
|
|
42
42
|
> the two frames (the morph LoRA engages automatically), and additionally exposes
|
|
43
43
|
> manual `transition` / `transition-strength` SDK arguments for the SDK path. Do
|
|
44
|
-
>
|
|
44
|
+
> Pin `-m ltx23-22b-fp8_i2v_distilled` to request this legacy path; LTX-2.5
|
|
45
|
+
> FLF does not use that LoRA. Do **not** confuse this single-render morph with the manual "Transition Between Two
|
|
45
46
|
> Videos (Bridge Clip)" recipe below, which bridges two *finished videos* with a
|
|
46
47
|
> separately generated clip and `--concat-videos`.
|
|
47
48
|
|
|
@@ -55,7 +56,7 @@ WAN path (silent clip, no transition LoRA). Plain single-image i2v (one
|
|
|
55
56
|
```bash
|
|
56
57
|
sogni-agent -q --video --ref ./lastframe.png --ref-end ./target.png -o ./continuation.mp4 "<4-8 sentence LTX transition paragraph into the target image>"
|
|
57
58
|
```
|
|
58
|
-
(No `-m` needed — the two-frame default is `
|
|
59
|
+
(No `-m` needed — the two-frame default is `ltx25-22b-int8_i2v_distilled` with the standard FLF template.)
|
|
59
60
|
3. **Concatenate the videos**:
|
|
60
61
|
```bash
|
|
61
62
|
sogni-agent --concat-videos ./full_sequence.mp4 ./existing.mp4 ./continuation.mp4
|
|
@@ -68,8 +69,8 @@ When the final stitched output needs a single external soundtrack, add `--concat
|
|
|
68
69
|
## Transition Between Two Videos (Bridge Clip)
|
|
69
70
|
|
|
70
71
|
This recipe transitions between two **finished videos**. To morph between two
|
|
71
|
-
**still images** in a single render, use the LTX-2.
|
|
72
|
-
|
|
72
|
+
**still images** in a single render, use the LTX-2.5 FLF path (see "Animate
|
|
73
|
+
Between Two Images" above) —
|
|
73
74
|
do not build a bridge clip for that case.
|
|
74
75
|
|
|
75
76
|
To **create a transition between two existing videos** (A → B), bridge them with a generated clip anchored on both boundary frames:
|
|
@@ -202,6 +203,7 @@ sogni-agent --video --workflow v2v --ref-video input.mp4 \
|
|
|
202
203
|
|
|
203
204
|
# V2V with pose detection and custom strength
|
|
204
205
|
sogni-agent --video --workflow v2v --ref-video dance.mp4 \
|
|
206
|
+
--ref robot-subject.png \
|
|
205
207
|
--controlnet-name pose --controlnet-strength 0.7 "robot dancing"
|
|
206
208
|
|
|
207
209
|
# Seedance V2V without ControlNet
|
|
@@ -209,11 +211,11 @@ sogni-agent --video --workflow v2v -m seedance2-v2v \
|
|
|
209
211
|
--ref-video input.mp4 "make the clip more cinematic"
|
|
210
212
|
```
|
|
211
213
|
|
|
212
|
-
ControlNet types: `canny` (edges), `pose` (body pose), `depth` (depth map), `detailer` (detail enhancement). Default strengths are tuned from Sogni Chat: `canny`/`pose`/`depth` use `0.85` plus detailer assist; `detailer` uses `1.0` for preservation. For Seedance V2V, use `-m seedance2-v2v` and omit ControlNet. Audio references must be paired with an image or video reference.
|
|
214
|
+
ControlNet types: `canny` (edges), `pose` (body pose), `depth` (depth map), `detailer` (detail enhancement). LTX 2.5 `pose` requires both `--ref-video` for the motion/pose sequence and `--ref` for the subject appearance; explicit LTX 2.3 rollback keeps its existing optional-image behavior. Default strengths are tuned from Sogni Chat: `canny`/`pose`/`depth` use `0.85` plus detailer assist; `detailer` uses `1.0` for preservation. For Seedance V2V, use `-m seedance2-v2v` and omit ControlNet. Audio references must be paired with an image or video reference.
|
|
213
215
|
|
|
214
216
|
### V2V Outpaint (Canvas Extension) and Inpaint (Masked Region)
|
|
215
217
|
|
|
216
|
-
The LTX-2.
|
|
218
|
+
The LTX-2.5 v2v selector `ltx25-v2v` adds two control modes
|
|
217
219
|
beyond `canny`/`pose`/`depth`/`detailer`:
|
|
218
220
|
|
|
219
221
|
- **`outpaint`** — extend/expand the video canvas (for example, make a vertical
|
|
@@ -241,12 +243,12 @@ for direct inpaint (white = region to regenerate), `--outpaint-position`
|
|
|
241
243
|
extension/inpaint controls are video-only.
|
|
242
244
|
|
|
243
245
|
```bash
|
|
244
|
-
sogni-agent -q --video --workflow v2v -m
|
|
246
|
+
sogni-agent -q --video --workflow v2v -m ltx25-v2v \
|
|
245
247
|
--ref-video ./source.mp4 --control-type outpaint \
|
|
246
248
|
--outpaint-position center --outpaint-aspect-ratio 16:9 \
|
|
247
249
|
-o ./outpainted.mp4 "Extend the surrounding scene naturally"
|
|
248
250
|
|
|
249
|
-
sogni-agent -q --video --workflow v2v -m
|
|
251
|
+
sogni-agent -q --video --workflow v2v -m ltx25-v2v \
|
|
250
252
|
--ref-video ./source.mp4 --control-type inpaint --mask ./mask.png \
|
|
251
253
|
-o ./inpainted.mp4 "Replace the masked region with clean matching detail"
|
|
252
254
|
```
|
|
@@ -254,7 +256,7 @@ sogni-agent -q --video --workflow v2v -m ltx23 \
|
|
|
254
256
|
## Music-to-Video Pipeline
|
|
255
257
|
|
|
256
258
|
1. Use the provided/generated audio file as `--ref-audio`
|
|
257
|
-
2. If there is also a reference image, omit `--workflow` and let the CLI auto-select LTX 2.
|
|
258
|
-
3. If there is no reference image, omit `--workflow` and let the CLI auto-select LTX 2.
|
|
259
|
+
2. If there is also a reference image, omit `--workflow` and let the CLI auto-select LTX 2.5 `ia2v`
|
|
260
|
+
3. If there is no reference image, omit `--workflow` and let the CLI auto-select LTX 2.5 `a2v`
|
|
259
261
|
4. Use `--workflow s2v` only for explicit face lip-sync with a face image
|
|
260
262
|
5. If only part of the song/audio should drive the clip, pass `--audio-start <sec>` and optionally `--audio-duration <sec>`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Video Prompting Guide (LTX-2.
|
|
1
|
+
# Video Prompting Guide (LTX-2.x, MiniMax H3, pacing, orientation, camera language)
|
|
2
2
|
|
|
3
3
|
Read this before writing any text-to-video or image-to-video prompt for LTX
|
|
4
4
|
models, before writing any MiniMax H3 prompt, and whenever the user asks for
|
|
@@ -12,11 +12,11 @@ tags, and mode-specific alignment preamble. Do not carry LTX's
|
|
|
12
12
|
single-paragraph, positive-only, no-markup rule into an H3 prompt. Pick the
|
|
13
13
|
section that matches the model you are about to invoke.
|
|
14
14
|
|
|
15
|
-
## LTX-2.
|
|
15
|
+
## LTX-2.x Prompt Rule
|
|
16
16
|
|
|
17
|
-
Whenever the chosen video model is
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
Whenever the chosen video model is LTX-2.5 (or an LTX-2.3 rollback model), do
|
|
18
|
+
not pass the user's short request through unchanged. Rewrite it into an
|
|
19
|
+
LTX-safe prompt before calling `sogni-agent`.
|
|
20
20
|
|
|
21
21
|
- Output one single paragraph only. No line breaks, bullet points, section labels, tag lists, or screenplay formatting.
|
|
22
22
|
- Use 4-8 flowing present-tense sentences describing one continuous shot. No cuts, montage, or unrelated scene jumps.
|
|
@@ -422,13 +422,13 @@ sogni-agent -q --video -m minimax-h3-r2v --ref ./identity.png -c ./wardrobe.png
|
|
|
422
422
|
When the user asks for video in **"hd"**, **"1080p"**, **"4k"**, **"uhd"**, or **"high-res"**, do not use the default WAN video models.
|
|
423
423
|
|
|
424
424
|
- For **native Seedance 4K / UHD**, use full Seedance with `-m seedance2 --target-resolution 2160`. This is a Premium Spark vendor path; do not use `seedance2-mini`, `seedance2-fast`, or `seedance2-5` for 4K — Mini and Fast cap at 720p, and Seedance 2.5 renders 480p/720p only.
|
|
425
|
-
- For **non-vendor HD / 1080p text-to-video**, use `-m
|
|
426
|
-
- For **non-vendor HD / 1080p image-to-video**, use `-m
|
|
425
|
+
- For **non-vendor HD / 1080p text-to-video**, use `-m ltx25`.
|
|
426
|
+
- For **non-vendor HD / 1080p image-to-video**, use `-m ltx25-i2v`.
|
|
427
427
|
- Prefer LTX-sized dimensions such as `-w 1920 -h 1088` when the chosen model is LTX.
|
|
428
428
|
- For bare named resolutions such as "720p" without orientation or exact pixels, prefer `--target-resolution 768` or the closest requested short side instead of forcing landscape dimensions.
|
|
429
429
|
- When the prompt combines a named resolution with an aspect ratio, such as "720p 9:16", let the CLI infer both instead of forcing manual `-w`/`-h` unless the user gave exact pixels.
|
|
430
430
|
- If the user explicitly asks for `vertical`, `portrait`, `story`, `reel`, `tiktok`, `square`, or `4:3`, apply the matching dimensions from the **Orientation Mapping** rules instead of defaulting to 16:9.
|
|
431
|
-
- Rewrite the user's request using the **LTX-2.
|
|
431
|
+
- Rewrite the user's request using the **LTX-2.x Prompt Rule** only when invoking an LTX model. Do not send short slogan-style prompts to LTX.
|
|
432
432
|
|
|
433
433
|
## Agent-ready command shapes
|
|
434
434
|
|
|
@@ -436,11 +436,11 @@ When the user asks for video in **"hd"**, **"1080p"**, **"4k"**, **"uhd"**, or *
|
|
|
436
436
|
# Native Seedance 4K / UHD text-to-video
|
|
437
437
|
sogni-agent -q --video -m seedance2 --target-resolution 2160 -o ./video.mp4 "A polished cinematic product reveal with native ambient sound"
|
|
438
438
|
|
|
439
|
-
# HD / 1080p text-to-video without the Seedance vendor path: prefer LTX-2.
|
|
440
|
-
sogni-agent -q --video -m
|
|
439
|
+
# HD / 1080p text-to-video without the Seedance vendor path: prefer LTX-2.5
|
|
440
|
+
sogni-agent -q --video -m ltx25 -w 1920 -h 1088 -o ./video.mp4 "<LTX-rewritten paragraph>"
|
|
441
441
|
|
|
442
442
|
# HD / 1080p image-to-video without the Seedance vendor path: prefer LTX i2v
|
|
443
|
-
sogni-agent -q --video --ref /path/to/image.png -m
|
|
443
|
+
sogni-agent -q --video --ref /path/to/image.png -m ltx25-i2v -w 1920 -h 1088 -o ./video.mp4 "<LTX-rewritten paragraph>"
|
|
444
444
|
|
|
445
445
|
# LTX-2.3 voice identity / persona
|
|
446
446
|
sogni-agent --video --reference-audio-identity voice.webm 'NARRATOR: "This is my voice."'
|
package/skill-package.json
CHANGED
package/sogni-agent.mjs
CHANGED
|
@@ -1607,7 +1607,7 @@ function videoDurationLimitsLikeWrapper(modelId) {
|
|
|
1607
1607
|
if (isMiniMaxH3Model(modelId)) return { ...MINIMAX_H3_DURATION_LIMITS };
|
|
1608
1608
|
if (isSeedanceModel(modelId)) return { min: 4, max: 15 };
|
|
1609
1609
|
if (isHappyHorseModel(modelId)) return { min: 3, max: 15 };
|
|
1610
|
-
if (
|
|
1610
|
+
if (isLtxFamilyModel(modelId) || isWanAnimateVideoModelId(modelId)) return { min: 1, max: 20 };
|
|
1611
1611
|
return { min: 1, max: 10 };
|
|
1612
1612
|
}
|
|
1613
1613
|
|
|
@@ -1880,6 +1880,13 @@ const LTX_TRANSITION_LORA_ID = 'transition';
|
|
|
1880
1880
|
const LTX_TRANSITION_TRIGGER = 'zhuanchang';
|
|
1881
1881
|
const LTX_TRANSITION_DEFAULT_STRENGTH = 1.0;
|
|
1882
1882
|
const LTX23_10EROS_MODEL_ID = 'ltx23-22b-10eros-v1.4-fp8mixed_i2v';
|
|
1883
|
+
const LTX25_DISTILLED_WORKFLOW_MODELS = Object.freeze({
|
|
1884
|
+
t2v: 'ltx25-22b-int8_t2v_distilled',
|
|
1885
|
+
i2v: 'ltx25-22b-int8_i2v_distilled',
|
|
1886
|
+
a2v: 'ltx25-22b-int8_a2v_distilled',
|
|
1887
|
+
ia2v: 'ltx25-22b-int8_ia2v_distilled',
|
|
1888
|
+
v2v: 'ltx25-22b-int8_v2v_distilled'
|
|
1889
|
+
});
|
|
1883
1890
|
const MINIMAX_H3_MODEL_MODES = new Map([
|
|
1884
1891
|
['minimax-h3-fl2va-fp8_t2v', 't2v'],
|
|
1885
1892
|
['minimax-h3-fl2va-fp8_i2v', 'i2v'],
|
|
@@ -1948,6 +1955,14 @@ const DR34ML4Y_SUPPORTED_MODEL_IDS = new Set([
|
|
|
1948
1955
|
|
|
1949
1956
|
function resolveSkillVideoModelAlias(modelId, workflow = null, hasEndFrame = false) {
|
|
1950
1957
|
const normalized = String(modelId || '').trim().toLowerCase();
|
|
1958
|
+
if (normalized === 'ltx25' || normalized === 'ltx25-t2v') {
|
|
1959
|
+
const mode = ['i2v', 'a2v', 'ia2v', 'v2v'].includes(workflow) ? workflow : 't2v';
|
|
1960
|
+
return LTX25_DISTILLED_WORKFLOW_MODELS[mode];
|
|
1961
|
+
}
|
|
1962
|
+
if (normalized === 'ltx25-i2v') return LTX25_DISTILLED_WORKFLOW_MODELS.i2v;
|
|
1963
|
+
if (normalized === 'ltx25-a2v') return LTX25_DISTILLED_WORKFLOW_MODELS.a2v;
|
|
1964
|
+
if (normalized === 'ltx25-ia2v') return LTX25_DISTILLED_WORKFLOW_MODELS.ia2v;
|
|
1965
|
+
if (normalized === 'ltx25-v2v') return LTX25_DISTILLED_WORKFLOW_MODELS.v2v;
|
|
1951
1966
|
if (normalized === 'minimax-h3' && workflow) {
|
|
1952
1967
|
if (workflow === 'r2v') return MINIMAX_H3_R2V_MODEL_ID;
|
|
1953
1968
|
if (workflow === 'i2v') {
|
|
@@ -2080,15 +2095,43 @@ function parseOutpaintAspectRatio(value) {
|
|
|
2080
2095
|
return width / height;
|
|
2081
2096
|
}
|
|
2082
2097
|
|
|
2083
|
-
function
|
|
2084
|
-
return !!modelId && modelId.includes('ltx23') && /_v2v(_|$)/.test(modelId);
|
|
2098
|
+
function isLtxV2VModelId(modelId) {
|
|
2099
|
+
return !!modelId && (modelId.includes('ltx23') || modelId.includes('ltx25')) && /_v2v(_|$)/.test(modelId);
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
function isLtx23ModelId(modelId) {
|
|
2103
|
+
return String(modelId || '').trim().toLowerCase().startsWith('ltx23-');
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
function isLtx25ModelId(modelId) {
|
|
2107
|
+
return String(modelId || '').trim().toLowerCase().startsWith('ltx25-');
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
function isLtxFamilyModel(modelId) {
|
|
2111
|
+
return isLtx2Model(modelId) || isLtx25ModelId(modelId);
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
function ltx25WorkflowFromModelSelection(modelId) {
|
|
2115
|
+
const normalized = String(modelId || '').trim().toLowerCase();
|
|
2116
|
+
const exact = normalized.match(/^ltx25-22b-int8_(t2v|i2v|a2v|ia2v|v2v)_(?:distilled|dev)$/);
|
|
2117
|
+
if (exact) return exact[1];
|
|
2118
|
+
const alias = normalized.match(/^ltx25-(t2v|i2v|a2v|ia2v|v2v)$/);
|
|
2119
|
+
return alias ? alias[1] : null;
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
function upgradeBuiltInLtx23Default(modelId, workflow) {
|
|
2123
|
+
const normalized = String(modelId || '').trim().toLowerCase();
|
|
2124
|
+
const match = normalized.match(/^ltx23-22b-fp8_(t2v|i2v|a2v|ia2v|v2v)_(distilled|dev)$/);
|
|
2125
|
+
if (!match) return modelId;
|
|
2126
|
+
const mode = ['t2v', 'i2v', 'a2v', 'ia2v', 'v2v'].includes(workflow) ? workflow : match[1];
|
|
2127
|
+
return `ltx25-22b-int8_${mode}_${match[2]}`;
|
|
2085
2128
|
}
|
|
2086
2129
|
|
|
2087
2130
|
function isLtxI2vTransitionModelId(modelId) {
|
|
2088
2131
|
return (
|
|
2089
2132
|
!!modelId &&
|
|
2090
2133
|
modelId !== LTX23_10EROS_MODEL_ID &&
|
|
2091
|
-
modelId
|
|
2134
|
+
isLtx23ModelId(modelId) &&
|
|
2092
2135
|
/_i2v(_|$)/.test(modelId)
|
|
2093
2136
|
);
|
|
2094
2137
|
}
|
|
@@ -2293,8 +2336,8 @@ const options = {
|
|
|
2293
2336
|
refVideo: null, // Reference video for animate workflows (primary)
|
|
2294
2337
|
refVideos: [], // Additional Seedance loose video refs; first --ref-video fills refVideo, subsequent calls append here
|
|
2295
2338
|
videoStart: null, // Optional start offset into reference video
|
|
2296
|
-
refMask: null, // Inpaint mask image for LTX
|
|
2297
|
-
outpaintPosition: null, // LTX
|
|
2339
|
+
refMask: null, // Inpaint mask image for LTX v2v inpaint
|
|
2340
|
+
outpaintPosition: null, // LTX v2v outpaint canvas anchor
|
|
2298
2341
|
outpaintAspectRatio: null, // Optional target aspect ratio for outpaint canvas growth
|
|
2299
2342
|
contextImages: [], // Context images for image editing
|
|
2300
2343
|
looping: false, // Create looping video (i2v only): generate A→B then B→A and concatenate
|
|
@@ -2403,7 +2446,7 @@ const options = {
|
|
|
2403
2446
|
// Tier 2 local storyboard planning surface:
|
|
2404
2447
|
storyboardPlanAction: false,
|
|
2405
2448
|
storyboardPlanFrames: null,
|
|
2406
|
-
storyboardPlanModel: null, // seedance|seedance2|gpt-image-2|ltx23|wan
|
|
2449
|
+
storyboardPlanModel: null, // seedance|seedance2|gpt-image-2|ltx25|ltx23|wan
|
|
2407
2450
|
storyboardPlanStage: null, // storyboard_image|scene_clip
|
|
2408
2451
|
noFilter: false // Disable NSFW content filter
|
|
2409
2452
|
};
|
|
@@ -3442,7 +3485,7 @@ Video Options:
|
|
|
3442
3485
|
--estimate-video-cost Estimate video cost and exit
|
|
3443
3486
|
--ref <path|url> Reference image for video (start frame; Picture 1 on H3 r2v)
|
|
3444
3487
|
--ref-end <path|url> End frame for interpolation/morphing; with --ref it
|
|
3445
|
-
defaults to the LTX-2.
|
|
3488
|
+
defaults to the LTX-2.5 i2v first/last-frame workflow
|
|
3446
3489
|
(last frame on Seedance)
|
|
3447
3490
|
--ref-audio <path|url> Audio reference. Repeatable on Seedance and H3 r2v (up to 3 total);
|
|
3448
3491
|
first entry is the primary, extras must be HTTPS URLs in CLI
|
|
@@ -3473,9 +3516,9 @@ Seedance Reference Modes (mutually exclusive on seedance2 / seedance2-mini / see
|
|
|
3473
3516
|
--controlnet-name <n> ControlNet type for v2v: canny|pose|depth|detailer|outpaint|inpaint
|
|
3474
3517
|
--control-type <n> Alias for --controlnet-name
|
|
3475
3518
|
--controlnet-strength <n> ControlNet strength for v2v (0.0-1.0, default: 0.8)
|
|
3476
|
-
--mask <path|url> Inpaint mask image for LTX
|
|
3477
|
-
--outpaint-position <p> LTX
|
|
3478
|
-
--outpaint-aspect-ratio <r> LTX
|
|
3519
|
+
--mask <path|url> Inpaint mask image for LTX v2v inpaint (white = regenerate)
|
|
3520
|
+
--outpaint-position <p> LTX outpaint anchor: center|top|bottom|left|right
|
|
3521
|
+
--outpaint-aspect-ratio <r> LTX outpaint target ratio, e.g. 16:9 or 9:16
|
|
3479
3522
|
--sam2-coordinates <coords> SAM2 click coords for animate-replace (x,y or x1,y1;x2,y2)
|
|
3480
3523
|
--trim-end-frame Trim last frame for seamless video stitching
|
|
3481
3524
|
--first-frame-strength <n> Keyframe strength for start frame (0.0-1.0)
|
|
@@ -3614,13 +3657,21 @@ Image Models:
|
|
|
3614
3657
|
qwen_image_edit_2511_fp8 Image editing with context (up to 3 images)
|
|
3615
3658
|
qwen_image_edit_2511_fp8_lightning Fast image editing
|
|
3616
3659
|
|
|
3617
|
-
Recommended LTX 2.
|
|
3660
|
+
Recommended LTX 2.5 Video Models:
|
|
3661
|
+
ltx25 / ltx25-t2v Distilled text-to-video with native dialogue/audio
|
|
3662
|
+
ltx25-i2v Distilled image-to-video and first/last-frame workflow
|
|
3663
|
+
ltx25-a2v Distilled audio-to-video
|
|
3664
|
+
ltx25-ia2v Distilled image+audio-to-video
|
|
3665
|
+
ltx25-v2v Distilled video-to-video control, inpaint, and outpaint
|
|
3666
|
+
ltx25-22b-int8_<mode>_dev Dev/HQ two-stage workflow for t2v/i2v/a2v/ia2v/v2v
|
|
3667
|
+
|
|
3668
|
+
LTX 2.3 rollback-only capabilities:
|
|
3618
3669
|
ltx23-22b-fp8_t2v_distilled Text-to-video with native dialogue/audio
|
|
3619
|
-
ltx23-22b-fp8_i2v_distilled Image-to-video
|
|
3670
|
+
ltx23-22b-fp8_i2v_distilled Image-to-video; transition LoRA only when both frames are supplied
|
|
3620
3671
|
ltx23-eros Explicit uncensored I2V (30GB+ worker; requires --no-filter)
|
|
3621
3672
|
ltx23-22b-fp8_ia2v_distilled Image+audio-to-video
|
|
3622
3673
|
ltx23-22b-fp8_a2v_distilled Audio-to-video
|
|
3623
|
-
ltx23-22b-fp8_v2v_distilled Video-to-video
|
|
3674
|
+
ltx23-22b-fp8_v2v_distilled Video-to-video rollback
|
|
3624
3675
|
ltx23-22b-10eros-v1.4-fp8mixed_i2v Private mature-theme I2V; first and/or last frame; requires --no-filter
|
|
3625
3676
|
|
|
3626
3677
|
Music Models:
|
|
@@ -3675,7 +3726,14 @@ WAN 2.2 Video Models:
|
|
|
3675
3726
|
wan_v2.2-14b-fp8_animate-move_lightx2v Animate-move (fast)
|
|
3676
3727
|
wan_v2.2-14b-fp8_animate-replace_lightx2v Animate-replace (fast)
|
|
3677
3728
|
|
|
3678
|
-
LTX-2
|
|
3729
|
+
LTX-2.5 standard models (Distilled fast path; replace _distilled with _dev for Dev/HQ):
|
|
3730
|
+
ltx25-22b-int8_t2v_distilled Text-to-video with native audio
|
|
3731
|
+
ltx25-22b-int8_i2v_distilled Image-to-video; also first/last-frame conditioning
|
|
3732
|
+
ltx25-22b-int8_a2v_distilled Audio-to-video
|
|
3733
|
+
ltx25-22b-int8_ia2v_distilled Image+audio-to-video
|
|
3734
|
+
ltx25-22b-int8_v2v_distilled Video-to-video controls, inpaint, and outpaint
|
|
3735
|
+
|
|
3736
|
+
LTX-2 / LTX-2.3 rollback models:
|
|
3679
3737
|
ltx2-19b-fp8_t2v_distilled Text-to-video, fast 8-step
|
|
3680
3738
|
ltx2-19b-fp8_t2v Text-to-video, quality 20-step
|
|
3681
3739
|
ltx2-19b-fp8_i2v_distilled Image-to-video, fast 8-step
|
|
@@ -3704,7 +3762,7 @@ Examples:
|
|
|
3704
3762
|
sogni-agent --api-workflow --video-prompt "slow push-in as it comes alive" "a graphite robot sketch"
|
|
3705
3763
|
sogni-agent --api-workflow --workflow-input @workflow.json
|
|
3706
3764
|
sogni-agent --api-workflow storyboard-video --storyboard-frames 6 "Create a 12s 9:16 bakery launch video with GPT Image 2 and Seedance"
|
|
3707
|
-
sogni-agent --video -m
|
|
3765
|
+
sogni-agent --video -m ltx25 --duration 20 "A wide cinematic aerial shot opens over steep tropical cliffs at golden hour, warm sunlight grazing the rock faces while sea mist drifts above the water below. Palm trees bend gently along the ridge as waves roll against the shoreline, leaving bright bands of foam across the dark stone. The camera glides forward in one continuous pass, revealing more of the coastline as sunlight flickers across wet surfaces and distant birds wheel through the haze. The scene holds a calm, upscale travel-film mood with smooth stabilized motion and crisp environmental detail."
|
|
3708
3766
|
sogni-agent --video --ref subject.jpg --ref-video motion.mp4 --workflow animate-move "transfer motion"
|
|
3709
3767
|
sogni-agent --video --last-image "gentle camera pan"
|
|
3710
3768
|
sogni-agent -c photo.jpg "make the background a beach" -m qwen_image_edit_2511_fp8
|
|
@@ -4257,7 +4315,9 @@ if (options.video) {
|
|
|
4257
4315
|
options.model = resolveHappyHorseModelId(options.model, options.videoWorkflow);
|
|
4258
4316
|
}
|
|
4259
4317
|
|
|
4260
|
-
const workflowFromModel =
|
|
4318
|
+
const workflowFromModel =
|
|
4319
|
+
ltx25WorkflowFromModelSelection(options.model) ||
|
|
4320
|
+
inferVideoWorkflowFromModel(resolveVideoModelAlias(options.model, options.videoWorkflow));
|
|
4261
4321
|
if (options.videoWorkflow && workflowFromModel && options.videoWorkflow !== workflowFromModel) {
|
|
4262
4322
|
fatalCliError(`Workflow "${options.videoWorkflow}" does not match model "${options.model}".`, {
|
|
4263
4323
|
code: 'INVALID_ARGUMENT',
|
|
@@ -4329,19 +4389,34 @@ if (options.music) {
|
|
|
4329
4389
|
} else if (options.video) {
|
|
4330
4390
|
if (!options.model) {
|
|
4331
4391
|
let defaultVideoModel = selectDefaultVideoModel(options.videoWorkflow, options, openclawConfig);
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4392
|
+
const configuredWorkflowModel = openclawConfig?.videoModels?.[options.videoWorkflow];
|
|
4393
|
+
if (!configuredWorkflowModel) {
|
|
4394
|
+
defaultVideoModel = upgradeBuiltInLtx23Default(defaultVideoModel, options.videoWorkflow);
|
|
4395
|
+
}
|
|
4396
|
+
// Two-image first/last-frame animation defaults to the current LTX-2.5
|
|
4397
|
+
// i2v/FLF workflow. A configured videoModels.i2v or an LTX pick from
|
|
4398
|
+
// audio/quality routing still wins.
|
|
4335
4399
|
if (
|
|
4336
4400
|
options.videoWorkflow === 'i2v'
|
|
4337
4401
|
&& options.refImage && options.refImageEnd
|
|
4338
4402
|
&& !openclawConfig?.videoModels?.i2v
|
|
4339
|
-
&& !
|
|
4403
|
+
&& !isLtxFamilyModel(defaultVideoModel)
|
|
4340
4404
|
) {
|
|
4341
|
-
defaultVideoModel =
|
|
4405
|
+
defaultVideoModel = LTX25_DISTILLED_WORKFLOW_MODELS.i2v;
|
|
4342
4406
|
}
|
|
4343
4407
|
options.model = defaultVideoModel || 'wan_v2.2-14b-fp8_i2v_lightx2v';
|
|
4344
4408
|
}
|
|
4409
|
+
// Voice identity is a legacy LTX 2.3-only capability. Route an implicit
|
|
4410
|
+
// request (including an OpenClaw default) to the matching 2.3 workflow, but
|
|
4411
|
+
// preserve an explicit -m choice so the validation below can reject an
|
|
4412
|
+
// incompatible LTX 2.5 selection clearly.
|
|
4413
|
+
if (
|
|
4414
|
+
(options.referenceAudioIdentity || options.voicePersonaName)
|
|
4415
|
+
&& !cliSet.model
|
|
4416
|
+
&& (options.videoWorkflow === 't2v' || options.videoWorkflow === 'i2v')
|
|
4417
|
+
) {
|
|
4418
|
+
options.model = LTX23_WORKFLOW_MODELS[options.videoWorkflow];
|
|
4419
|
+
}
|
|
4345
4420
|
options.model = resolveVideoModelAlias(options.model, options.videoWorkflow);
|
|
4346
4421
|
try {
|
|
4347
4422
|
await loadLiveModelDefaults(options.model);
|
|
@@ -4737,6 +4812,16 @@ if (options.video) {
|
|
|
4737
4812
|
if (!options.videoControlNetName && !isSeedanceModel(options.model)) {
|
|
4738
4813
|
fatalCliError(`v2v requires --controlnet-name/--control-type (${VIDEO_CONTROLNET_NAMES.join('|')}).`, { code: 'INVALID_ARGUMENT' });
|
|
4739
4814
|
}
|
|
4815
|
+
if (
|
|
4816
|
+
options.videoControlNetName === 'pose'
|
|
4817
|
+
&& isLtx25ModelId(options.model)
|
|
4818
|
+
&& !options.refImage
|
|
4819
|
+
) {
|
|
4820
|
+
fatalCliError('LTX 2.5 pose control requires both --ref-video and --ref (a still image that defines the subject appearance).', {
|
|
4821
|
+
code: 'INVALID_ARGUMENT',
|
|
4822
|
+
details: { model: options.model, controlType: 'pose', requiredFlag: '--ref' }
|
|
4823
|
+
});
|
|
4824
|
+
}
|
|
4740
4825
|
if (!isSeedanceVideo && options.refAudio) {
|
|
4741
4826
|
fatalCliError('v2v does not accept reference audio.', { code: 'INVALID_ARGUMENT' });
|
|
4742
4827
|
}
|
|
@@ -4803,9 +4888,10 @@ if (options.video) {
|
|
|
4803
4888
|
code: 'INVALID_ARGUMENT'
|
|
4804
4889
|
});
|
|
4805
4890
|
}
|
|
4806
|
-
if (options.referenceAudioIdentity && !
|
|
4807
|
-
fatalCliError('--reference-audio-identity/--voice-persona requires an LTX video model.', {
|
|
4891
|
+
if (options.referenceAudioIdentity && !isLtx23ModelId(options.model)) {
|
|
4892
|
+
fatalCliError('--reference-audio-identity/--voice-persona requires an LTX-2.3 video model.', {
|
|
4808
4893
|
code: 'INVALID_ARGUMENT',
|
|
4894
|
+
details: { model: options.model, unsupportedOnLtx25: isLtx25ModelId(options.model) },
|
|
4809
4895
|
hint: `Use -m ${LTX23_WORKFLOW_MODELS[options.videoWorkflow] || LTX23_WORKFLOW_MODELS.t2v}`
|
|
4810
4896
|
});
|
|
4811
4897
|
}
|
|
@@ -4818,15 +4904,15 @@ if (options.video) {
|
|
|
4818
4904
|
details: { flag: '--controlnet-name', value: options.videoControlNetName, allowed: VIDEO_CONTROLNET_NAMES }
|
|
4819
4905
|
});
|
|
4820
4906
|
}
|
|
4821
|
-
if ((options.videoControlNetName === 'outpaint' || options.videoControlNetName === 'inpaint') && !
|
|
4822
|
-
fatalCliError(`${options.videoControlNetName} control requires
|
|
4907
|
+
if ((options.videoControlNetName === 'outpaint' || options.videoControlNetName === 'inpaint') && !isLtxV2VModelId(options.model)) {
|
|
4908
|
+
fatalCliError(`${options.videoControlNetName} control requires an LTX v2v model.`, {
|
|
4823
4909
|
code: 'INVALID_ARGUMENT',
|
|
4824
4910
|
details: { controlNetName: options.videoControlNetName, model: options.model },
|
|
4825
|
-
hint: 'Use --workflow v2v -m
|
|
4911
|
+
hint: 'Use --workflow v2v -m ltx25-v2v --control-type ' + options.videoControlNetName
|
|
4826
4912
|
});
|
|
4827
4913
|
}
|
|
4828
4914
|
if (options.videoControlNetName === 'inpaint' && !options.refMask) {
|
|
4829
|
-
fatalCliError('LTX
|
|
4915
|
+
fatalCliError('LTX v2v inpaint requires --mask <image> (white pixels = region to regenerate).', {
|
|
4830
4916
|
code: 'INVALID_ARGUMENT'
|
|
4831
4917
|
});
|
|
4832
4918
|
}
|
|
@@ -4977,7 +5063,7 @@ if (options.video) {
|
|
|
4977
5063
|
heightFromPrompt ||
|
|
4978
5064
|
targetResolutionFromPrompt;
|
|
4979
5065
|
if (
|
|
4980
|
-
|
|
5066
|
+
isLtxFamilyModel(options.model) &&
|
|
4981
5067
|
options.videoWorkflow === 'i2v' &&
|
|
4982
5068
|
!hasRequestedVideoCanvas
|
|
4983
5069
|
) {
|
|
@@ -7158,7 +7244,7 @@ function runStoryboardPlanAction() {
|
|
|
7158
7244
|
promptAuthorship: 'user',
|
|
7159
7245
|
});
|
|
7160
7246
|
// --storyboard-plan is a model-agnostic preview surface that hands off to
|
|
7161
|
-
// a per-model adapter (seedance / gpt-image-2 / ltx23 / wan). When the
|
|
7247
|
+
// a per-model adapter (seedance / gpt-image-2 / ltx25 / ltx23 / wan). When the
|
|
7162
7248
|
// user doesn't pick one, prefer the seedance adapter because it owns the
|
|
7163
7249
|
// canonical storyboard-reference prompt; the user's currently-set image
|
|
7164
7250
|
// model (e.g., z_image_turbo_bf16) is not a registered storyboard adapter.
|
package/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = '3.
|
|
1
|
+
export const PACKAGE_VERSION = '3.29.0';
|