@sogni-ai/sogni-creative-agent-skill 3.6.3 → 3.7.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/CHANGELOG.md +50 -0
- package/README.md +9 -6
- package/SKILL.md +10 -8
- package/generated/creative-agent-runtime.mjs +7 -4
- package/openclaw.plugin.json +2 -2
- package/package.json +2 -2
- package/references/models.md +14 -9
- package/references/openclaw-config.md +1 -1
- package/references/video-editing.md +47 -0
- package/references/video-prompting.md +12 -9
- package/skill-package.json +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [3.7.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.6.4...v3.7.0) (2026-06-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **video:** document Seedance 4K skill support ([0f3c150](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/0f3c1509801fcdb15741e6adb94514f38fead0e5))
|
|
7
|
+
|
|
1
8
|
# Changelog
|
|
2
9
|
|
|
3
10
|
All notable changes to this project are documented in this file.
|
|
@@ -5,6 +12,49 @@ All notable changes to this project are documented in this file.
|
|
|
5
12
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
13
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
14
|
|
|
15
|
+
## [Unreleased]
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **Seedance 2.0 4K routing is now documented and available through the current Sogni dependency stack.**
|
|
20
|
+
The full `seedance2` model can be selected for native 4K/2160p output with `--target-resolution 2160`;
|
|
21
|
+
`seedance2-fast` remains the lower-resolution fast path. The bundled runtime and
|
|
22
|
+
`@sogni-ai/sogni-intelligence-client` dependency now consume the published Seedance 4K tool metadata.
|
|
23
|
+
- **ACE-Step 1.5 XL is now the default music model.** `generate_music` / `--music` now default to
|
|
24
|
+
ACE-Step 1.5 XL Turbo (`ace_step_1.5_xl_turbo`), with ACE-Step 1.5 XL SFT (`ace_step_1.5_xl_sft`) as the
|
|
25
|
+
quality variant. The `--music-model` keys are unchanged — `turbo` (default) and `sft` — but they now map to the
|
|
26
|
+
XL ids; the legacy `ace_step_1.5_turbo` / `ace_step_1.5_sft` ids are no longer the default. The 8-step / `euler`
|
|
27
|
+
/ `simple` turbo defaults are unchanged. Updated `references/models.md`, `README.md`,
|
|
28
|
+
`references/openclaw-config.md`, and the `defaultMusicModel` default in `openclaw.plugin.json`.
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
|
|
32
|
+
- **LTX-2.3 video-to-video outpaint and inpaint control modes** documented for `ltx23-22b-fp8_v2v_distilled`.
|
|
33
|
+
Outpaint extends/expands the video canvas (e.g. vertical → widescreen) and is positional and mask-free —
|
|
34
|
+
anchored with a position (`center|top|bottom|left|right`) and an optional target aspect ratio
|
|
35
|
+
(`16:9|9:16|1:1|4:3|3:4|21:9`), growing the canvas without cropping. Inpaint regenerates a masked region and
|
|
36
|
+
requires a mask image (white pixels = region to regenerate). Added a V2V outpaint/inpaint subsection to
|
|
37
|
+
`references/video-editing.md` and capability prose to `references/models.md` and `README.md`.
|
|
38
|
+
- **LTX-2.3 two-keyframe transition / morph LoRA** documented for image-to-video. When the LTX-2.3 i2v model
|
|
39
|
+
`ltx23-22b-fp8_i2v_distilled` receives both a start frame (`--ref`) and an end frame (`--ref-end`), it
|
|
40
|
+
auto-applies the ValiantCat transition/morph LoRA (lora id `transition`, trigger word `zhuanchang`,
|
|
41
|
+
strength ~1.0) and morphs the first image into the last in a single render — distinct from the manual
|
|
42
|
+
bridge-clip "transition between two videos" recipe. Added notes to `references/video-editing.md`, `SKILL.md`,
|
|
43
|
+
and `README.md`.
|
|
44
|
+
|
|
45
|
+
## [3.6.4] - 2026-06-22
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
|
|
49
|
+
- **Agents no longer run `sogni-agent doctor` as a routine preflight before every generation.** `SKILL.md` now
|
|
50
|
+
scopes `doctor` explicitly to install/upgrade verification and failure troubleshooting, and tells agents to go
|
|
51
|
+
straight to the generate command (which validates credentials, ffmpeg, and balance itself and returns a fix hint
|
|
52
|
+
on failure). The previous wording — featuring `doctor` prominently in Setup, Install Policy, and Troubleshooting
|
|
53
|
+
without a "not a preflight" caveat — led agents to run it before each render. Inside sandboxed runtimes like Codex
|
|
54
|
+
this was especially costly: `doctor` makes a live network/auth call, which the sandbox blocks on the first
|
|
55
|
+
attempt, forcing a network-approval prompt and a second `doctor` run before any work happened. The
|
|
56
|
+
memory/personality preflight bullet also now notes it is memory + personality only — no `doctor` call.
|
|
57
|
+
|
|
8
58
|
## [3.6.3] - 2026-06-22
|
|
9
59
|
|
|
10
60
|
### Added
|
package/README.md
CHANGED
|
@@ -315,8 +315,8 @@ sogni-agent --video 'A narrator says "welcome to the story" as ocean waves crash
|
|
|
315
315
|
sogni-agent --video --target-resolution 768 \
|
|
316
316
|
"A calm cinematic shot of lanterns drifting across a night lake"
|
|
317
317
|
|
|
318
|
-
# Seedance 2.0 (4-15s vendor video path with native audio)
|
|
319
|
-
sogni-agent --video -m seedance2 --duration 8 \
|
|
318
|
+
# Seedance 2.0 4K (4-15s vendor video path with native audio)
|
|
319
|
+
sogni-agent --video -m seedance2 --target-resolution 2160 --duration 8 \
|
|
320
320
|
"A polished product reveal with native ambient sound"
|
|
321
321
|
|
|
322
322
|
# Seedance multimodal context with public HTTPS references
|
|
@@ -473,13 +473,13 @@ Prefer `-Q fast|hq|pro` for images and automatic workflow routing for video. Pas
|
|
|
473
473
|
| Highest-quality images | `flux2_dev_fp8` (or `-Q pro`) |
|
|
474
474
|
| Image editing | `qwen_image_edit_2511_fp8_lightning` |
|
|
475
475
|
| Photobooth face transfer | `coreml-sogniXLturbo_alpha1_ad` |
|
|
476
|
-
| Direct music generation | `ace_step_1.
|
|
477
|
-
| Music with stronger lyric handling | `ace_step_1.
|
|
476
|
+
| Direct music generation | `ace_step_1.5_xl_turbo` (or `--music-model turbo`) |
|
|
477
|
+
| Music with stronger lyric handling | `ace_step_1.5_xl_sft` (or `--music-model sft`) |
|
|
478
478
|
| Text-to-video with native dialogue/audio | `ltx23-22b-fp8_t2v_distilled` |
|
|
479
479
|
| Image+audio-to-video | `ltx23-22b-fp8_ia2v_distilled` |
|
|
480
480
|
| Audio-to-video | `ltx23-22b-fp8_a2v_distilled` |
|
|
481
481
|
| Video-to-video with ControlNet | `ltx23-22b-fp8_v2v_distilled` |
|
|
482
|
-
| Seedance text-to-video | `seedance2`
|
|
482
|
+
| Seedance text-to-video | `seedance2` for up to native 4K; `seedance2-fast` for the lower-resolution fast path |
|
|
483
483
|
| Seedance video-to-video without ControlNet | `seedance2-v2v` |
|
|
484
484
|
| Face lip-sync with uploaded audio | `wan_v2.2-14b-fp8_s2v_lightx2v` |
|
|
485
485
|
|
|
@@ -493,16 +493,19 @@ Music generation uses `--music` and outputs `mp3` by default. `--audio` remains
|
|
|
493
493
|
|
|
494
494
|
- **WAN models** use dimensions divisible by 16, min 480 px, max 1536 px.
|
|
495
495
|
- **LTX family** (`ltx2-*`, `ltx23-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
|
|
496
|
-
- **Seedance** runs at fixed 24 fps and supports 4–15 s durations. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
|
|
496
|
+
- **Seedance** runs at fixed 24 fps and supports 4–15 s durations. Full `seedance2` supports native 4K via `--target-resolution 2160`; `seedance2-fast` remains capped to the fast lower-resolution path. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
|
|
497
497
|
- 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.
|
|
498
498
|
- The script auto-normalizes video sizes to satisfy these constraints.
|
|
499
499
|
- Use `--target-resolution <px>` for bare resolution requests like "720p" — it targets the short side and preserves the inherited aspect ratio.
|
|
500
500
|
- 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.
|
|
501
501
|
- 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.
|
|
502
|
+
- **LTX-2.3 two-keyframe morph:** when the LTX-2.3 i2v model `ltx23-22b-fp8_i2v_distilled` gets **both** a start frame (`--ref`) and an end frame (`--ref-end`), it auto-applies the ValiantCat transition/morph LoRA (lora id `transition`, trigger word `zhuanchang`, strength ~1.0) and morphs the first image into the last in a single render — no bridge clip or `--concat-videos` needed. The sogni-client SDK example feeds the two frames as its `image` / `end-image` arguments and additionally exposes manual `transition` / `transition-strength` SDK arguments.
|
|
502
503
|
- Pass `--strict-size` to fail instead — the script will print a suggested size.
|
|
503
504
|
|
|
504
505
|
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.
|
|
505
506
|
|
|
507
|
+
The LTX-2.3 v2v model `ltx23-22b-fp8_v2v_distilled` also 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). The hosted `video_to_video` tool selects these with `controlMode` `outpaint`/`inpaint`; the sogni-client SDK example exposes them via its `control-type` argument (`canny|pose|depth|detailer|outpaint|inpaint`) with `outpaint-position` for outpaint and `mask` for inpaint. See `references/video-editing.md` for details.
|
|
508
|
+
|
|
506
509
|
---
|
|
507
510
|
|
|
508
511
|
## LTX-2.3 Prompting Guide
|
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 personas (named people with saved reference photos and voice clips), persistent memories, custom personality, style transfer, angle synthesis, Seedance/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\", \"make music\", \"apply a style\", or \"generate me as a superhero\"."
|
|
4
4
|
metadata:
|
|
5
|
-
version: "3.6.
|
|
5
|
+
version: "3.6.4"
|
|
6
6
|
homepage: https://sogni.ai
|
|
7
7
|
openclaw:
|
|
8
8
|
emoji: "🎨"
|
|
@@ -50,6 +50,8 @@ sogni-agent doctor
|
|
|
50
50
|
|
|
51
51
|
Agents should run `sogni-agent doctor --json` and confirm `"success": true` before reporting the install as working.
|
|
52
52
|
|
|
53
|
+
**`doctor` is an install/upgrade-verification and failure-troubleshooting check only — never a routine preflight.** Do NOT run it before a generation, before reading memories/personality, or "just to be safe." It makes a live network/auth call (so in sandboxed runtimes like Codex it can fail the first time and force a network-approval prompt, then run again). Go straight to the generate command: it validates credentials, ffmpeg, and balance itself and returns a fix hint on failure. Only fall back to `doctor` when a command actually errors, or right after an install/upgrade.
|
|
54
|
+
|
|
53
55
|
Always invoke the globally installed `sogni-agent` command. Do not call `node {{skillDir}}/sogni-agent.mjs` or `node sogni-agent.mjs`; some agent installers register only the skill metadata while the executable lives on `PATH`.
|
|
54
56
|
|
|
55
57
|
For upgrades, prefer `sogni-agent self-update`, package-manager updates, or direct operations on an existing checkout (`git -C "$DEST" pull --ff-only && npm --prefix "$DEST" install`). Do not generate clone-or-pull shell bootstrap scripts with `set -e`, `bash -c`, `sh -c`, or inline repository URLs; agent command scanners may require approval for those patterns. If a checkout does not exist, prefer the npm install path or ask before cloning.
|
|
@@ -152,8 +154,8 @@ sogni-agent --video --ref-audio song.mp3 "abstract audio-reactive visualizer"
|
|
|
152
154
|
sogni-agent -q --music --duration 30 -o ./music.mp3 "uplifting cinematic synthwave theme"
|
|
153
155
|
sogni-agent --music --lyrics "Rise with the morning light" --bpm 128 --keyscale "C major" "bright indie pop chorus"
|
|
154
156
|
|
|
155
|
-
# Seedance 2.0 (4-15s vendor video with native audio)
|
|
156
|
-
sogni-agent --video -m seedance2 --duration 8 "A polished product reveal with native ambient sound"
|
|
157
|
+
# Seedance 2.0 4K (4-15s vendor video with native audio)
|
|
158
|
+
sogni-agent --video -m seedance2 --target-resolution 2160 --duration 8 "A polished product reveal with native ambient sound"
|
|
157
159
|
|
|
158
160
|
# Balances / last render / inbound media / health (no prompt required)
|
|
159
161
|
sogni-agent --json --balance
|
|
@@ -178,7 +180,7 @@ sogni-agent doctor --json
|
|
|
178
180
|
| `--workflow <t>` | Force `t2v\|i2v\|s2v\|ia2v\|a2v\|v2v\|animate-move\|animate-replace` | inferred |
|
|
179
181
|
| `--ref`, `--ref-end`, `--ref-audio`, `--ref-video` | Start frame / end frame / audio / video references | - |
|
|
180
182
|
| `--duration <sec>` | Video or music length | video 5, music 30 |
|
|
181
|
-
| `--target-resolution <px>` | Short-side target preserving aspect ratio (use for
|
|
183
|
+
| `--target-resolution <px>` | Short-side target preserving aspect ratio (use `2160` for Seedance 4K) | - |
|
|
182
184
|
| `--photobooth` | Face transfer mode (with `--ref`) | - |
|
|
183
185
|
| `--persona <name>` | Use a saved persona (photo + voice auto-attach) | - |
|
|
184
186
|
| `--token-type spark\|sogni\|auto` | `auto` retries native models with SOGNI when SPARK is low | spark |
|
|
@@ -208,11 +210,11 @@ Whenever the chosen video model is in the LTX family (including the default t2v)
|
|
|
208
210
|
|
|
209
211
|
### High-res video
|
|
210
212
|
|
|
211
|
-
For "
|
|
213
|
+
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-fast` for 4K; it remains capped to the fast lower-resolution path. For "hd" / "1080p" requests, or when avoiding vendor models, use `-m ltx23-22b-fp8_t2v_distilled` (text) or `-m ltx23-22b-fp8_i2v_distilled` (image), prefer `-w 1920 -h 1088` (or the orientation mapping in the reference), and rewrite the prompt per the LTX rule. For bare "720p" without orientation, prefer `--target-resolution 768`.
|
|
212
214
|
|
|
213
215
|
### Video editing, stitching, 360 turnarounds
|
|
214
216
|
|
|
215
|
-
Trigger patterns — "animate image A to image B" (`--ref A --ref-end B
|
|
217
|
+
Trigger patterns — "animate/morph image A to image B" (`--ref A --ref-end B`; on LTX-2.3 i2v this is a single render — the transition/morph LoRA auto-applies, no bridge clip), "continue this video" (extract last frame → i2v → concat), "transition between two videos" (bridge clip between two *finished videos*), "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.**
|
|
216
218
|
|
|
217
219
|
**Security: never run raw shell commands (`ffmpeg`, `ls`, `cp`, etc.) for file operations or video/audio manipulation.** Always use the CLI's built-in safe wrappers: `--extract-first-frame`, `--extract-last-frame`, `--concat-videos`, `--remix-audio`, `--list-media`, `--video-start`, `--audio-start`, `--audio-duration`, `--looping`.
|
|
218
220
|
|
|
@@ -223,7 +225,7 @@ Use `sogni-agent --json --list-media images` (or `audio` / `all`) to find inboun
|
|
|
223
225
|
### Personas, memories, personality
|
|
224
226
|
|
|
225
227
|
- Only use `--persona "Name"` when the user refers to a **saved** persona by explicit name, id, or tag/alias — user-uploaded photos are NOT personas; use `-c` for ad-hoc photos. With `--video`, a saved voice clip auto-attaches as the voice identity.
|
|
226
|
-
- Before generating, check saved preferences with `--memory-list` and respect them; save stated standing preferences with `--memory-set`. Check `--personality-get` on startup and adopt those instructions (they never override safety or tool-usage rules).
|
|
228
|
+
- Before generating, check saved preferences with `--memory-list` and respect them; save stated standing preferences with `--memory-set`. Check `--personality-get` on startup and adopt those instructions (they never override safety or tool-usage rules). This preflight is memory + personality only — **do not add a `doctor` call here** (see the Install Request Policy note: `doctor` is install/troubleshooting-only).
|
|
227
229
|
- **Read [`references/personas-memory.md`](./references/personas-memory.md)** for persona CRUD, voice cloning, multi-persona scenes, style transfer, and photo restoration recipes.
|
|
228
230
|
|
|
229
231
|
### Model selection
|
|
@@ -305,7 +307,7 @@ Uses Spark tokens from the user's Sogni account. 512x512 images are most cost-ef
|
|
|
305
307
|
|
|
306
308
|
| Read this | When the task involves |
|
|
307
309
|
|-----------|------------------------|
|
|
308
|
-
| [`references/video-prompting.md`](./references/video-prompting.md) | Writing
|
|
310
|
+
| [`references/video-prompting.md`](./references/video-prompting.md) | Writing LTX video prompts; high-res/4K routing; orientation/aspect mapping; camera language |
|
|
309
311
|
| [`references/video-editing.md`](./references/video-editing.md) | Animate between images, continue/bridge videos, 360 turnarounds, concat, audio remix/layering, v2v ControlNet |
|
|
310
312
|
| [`references/hosted-api.md`](./references/hosted-api.md) | `--api-chat`, `--durable-chat`, `--api-workflow`, workflow templates, replays, Seedance reference modes, cost controls |
|
|
311
313
|
| [`references/models.md`](./references/models.md) | Choosing models, sizing/divisibility rules, gpt-image-2 limits, music model options |
|
|
@@ -2216,12 +2216,15 @@ const PROMPT_CONTRACTS = [
|
|
|
2216
2216
|
"contractId": "video_to_video_v1",
|
|
2217
2217
|
"version": "1.0.0",
|
|
2218
2218
|
"toolName": "video_to_video",
|
|
2219
|
-
"baseDescription": "video_to_video transforms an uploaded video. Use for uploaded-video restyling, enhancement,\nupscaling/remastering, motion transfer from video to image, subject replacement, edge/pose/\ndepth-guided restyle, or explicit Seedance V2V transforms.\n\nThis tool requires an uploaded video source. Do not use it for generated video indices. For\ngenerated or uploaded partial edits use replace_video_segment; for appended time use\nextend_video; for logos/text overlays use overlay_video; for stitching use stitch_video.\n\nChoose controlMode by intent. Use detailer for quality-only enhancement without restyling.\nUse seedance-v2v only when the user asks to transform/enhance/remaster an uploaded video\nwith Seedance, including Seedance-fast uploaded-video upscale/remaster requests. For detailer,\ndescribe the original scene plus quality terms, not new content.",
|
|
2219
|
+
"baseDescription": "video_to_video transforms an uploaded video. Use for uploaded-video restyling, enhancement,\nupscaling/remastering, motion transfer from video to image, subject replacement, edge/pose/\ndepth-guided restyle, or explicit Seedance V2V transforms.\n\nThis tool requires an uploaded video source. Do not use it for generated video indices. For\ngenerated or uploaded partial edits use replace_video_segment; for appended time use\nextend_video; for logos/text overlays use overlay_video; for stitching use stitch_video.\n\nChoose controlMode by intent. Use detailer for quality-only enhancement without restyling.\nUse seedance-v2v only when the user asks to transform/enhance/remaster an uploaded video\nwith Seedance, including Seedance-fast uploaded-video upscale/remaster requests. For detailer,\ndescribe the original scene plus quality terms, not new content.\nUse outpaint to extend/expand the frame or change aspect ratio (positional, mask-free); set\noutpaintPosition and optionally outpaintAspectRatio. Use inpaint to regenerate a region\nwhile preserving the rest. If the user supplied a mask, set maskImageIndex; otherwise\nomit maskImageIndex so execution derives one from the source video and prompt.",
|
|
2220
2220
|
"parameterDocs": {
|
|
2221
|
-
"prompt": "Describe the target appearance in present tense. For detailer, describe the original content plus quality qualifiers only.",
|
|
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/pose for control-net restyles, animate-move/replace for WAN Animate.",
|
|
2224
|
-
"sourceImageIndex": "Required for animate-move and animate-replace. Ignored by canny, depth, and
|
|
2223
|
+
"controlMode": "Pick from intent: detailer for enhance, seedance-v2v for explicit Seedance V2V, canny/depth/pose for control-net restyles, animate-move/replace for WAN Animate, outpaint to extend/expand the canvas, inpaint to regenerate a masked region.",
|
|
2224
|
+
"sourceImageIndex": "Required for animate-move and animate-replace. Ignored by canny, depth, detailer, outpaint, and inpaint.",
|
|
2225
|
+
"outpaintPosition": "outpaint only. Where the original frame sits in the expanded canvas (center/top/bottom/left/right); determines grow direction. Default center.",
|
|
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
|
+
"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.",
|
|
2225
2228
|
"duration": "Set only when the user requests a different output length; otherwise let the tool match/cap the source duration."
|
|
2226
2229
|
}
|
|
2227
2230
|
},
|
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.6.
|
|
5
|
+
"version": "3.6.4",
|
|
6
6
|
"skills": [
|
|
7
7
|
"."
|
|
8
8
|
],
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"defaultMusicModel": {
|
|
29
29
|
"type": "string",
|
|
30
|
-
"default": "ace_step_1.
|
|
30
|
+
"default": "ace_step_1.5_xl_turbo",
|
|
31
31
|
"description": "Default model for direct music/audio generation."
|
|
32
32
|
},
|
|
33
33
|
"videoModels": {
|
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.7.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",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"sogni-agent.mjs"
|
|
75
75
|
],
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@sogni-ai/sogni-intelligence-client": "^3.
|
|
77
|
+
"@sogni-ai/sogni-intelligence-client": "^3.2.3",
|
|
78
78
|
"execa": "^9.6.1",
|
|
79
79
|
"json5": "^2.2.3",
|
|
80
80
|
"sharp": "^0.34.5"
|
package/references/models.md
CHANGED
|
@@ -40,11 +40,16 @@ support up to 3).
|
|
|
40
40
|
|
|
41
41
|
| Model | Use Case |
|
|
42
42
|
|-------|----------|
|
|
43
|
-
| `ace_step_1.
|
|
44
|
-
| `ace_step_1.
|
|
43
|
+
| `ace_step_1.5_xl_turbo` | Default direct music generation model (ACE-Step 1.5 XL Turbo) |
|
|
44
|
+
| `ace_step_1.5_xl_sft` | Quality variant (ACE-Step 1.5 XL SFT) with stronger lyric handling |
|
|
45
|
+
|
|
46
|
+
The `--music-model` keys are unchanged — `turbo` (default) and `sft` — but they
|
|
47
|
+
now map to the ACE-Step XL ids (`turbo` → `ace_step_1.5_xl_turbo`, `sft` →
|
|
48
|
+
`ace_step_1.5_xl_sft`). The legacy `ace_step_1.5_turbo` / `ace_step_1.5_sft`
|
|
49
|
+
models are no longer the default.
|
|
45
50
|
|
|
46
51
|
Use `--music` for direct audio-only generation. Defaults: 30 seconds, `mp3`,
|
|
47
|
-
`ace_step_1.
|
|
52
|
+
`ace_step_1.5_xl_turbo`, 8 steps, `euler` sampler, `simple` scheduler. Keep
|
|
48
53
|
`--audio` for video reference audio (`--ref-audio` alias); do not use it for
|
|
49
54
|
direct music generation. Music controls: `--lyrics`, `--language`, `--bpm`
|
|
50
55
|
(30-300), `--keyscale`, `--timesig` (2|3|4|6), `--composer-mode`,
|
|
@@ -59,9 +64,9 @@ direct music generation. Music controls: `--lyrics`, `--language`, `--bpm`
|
|
|
59
64
|
| `ltx23-22b-fp8_i2v_distilled` | Fast (~2-3min) | Image-to-video with native dialogue/audio |
|
|
60
65
|
| `ltx23-22b-fp8_ia2v_distilled` | Fast (~2-3min) | Image+audio-to-video |
|
|
61
66
|
| `ltx23-22b-fp8_a2v_distilled` | Fast (~2-3min) | Audio-to-video |
|
|
62
|
-
| `ltx23-22b-fp8_v2v_distilled` | Fast (~3min) | Video-to-video with ControlNet |
|
|
63
|
-
| `seedance2` | Variable | Seedance 2.0 text-to-video, 4-15s, native audio |
|
|
64
|
-
| `seedance2-fast` | Variable | Fast Seedance 2.0 text-to-video |
|
|
67
|
+
| `ltx23-22b-fp8_v2v_distilled` | Fast (~3min) | Video-to-video with ControlNet, plus canvas outpaint and masked inpaint |
|
|
68
|
+
| `seedance2` | Variable | Seedance 2.0 text-to-video, 4-15s, native audio, up to native 4K |
|
|
69
|
+
| `seedance2-fast` | Variable | Fast Seedance 2.0 text-to-video, lower-resolution fast path |
|
|
65
70
|
| `seedance2-ia2v` | Variable | Seedance 2.0 image+audio-to-video |
|
|
66
71
|
| `seedance2-v2v` | Variable | Seedance 2.0 video-to-video, no ControlNet |
|
|
67
72
|
| `wan_v2.2-14b-fp8_i2v_lightx2v` | Fast | Simple image-to-video |
|
|
@@ -93,8 +98,8 @@ direct music generation. Music controls: `--lyrics`, `--language`, `--bpm`
|
|
|
93
98
|
| Highest-quality images | `flux2_dev_fp8` (or `-Q pro`) |
|
|
94
99
|
| Image editing | `qwen_image_edit_2511_fp8_lightning` |
|
|
95
100
|
| Photobooth face transfer | `coreml-sogniXLturbo_alpha1_ad` |
|
|
96
|
-
| Direct music generation | `ace_step_1.
|
|
97
|
-
| Music with stronger lyric handling | `ace_step_1.
|
|
101
|
+
| Direct music generation | `ace_step_1.5_xl_turbo` (or `--music-model turbo`) |
|
|
102
|
+
| Music with stronger lyric handling | `ace_step_1.5_xl_sft` (or `--music-model sft`) |
|
|
98
103
|
| Text-to-video with native dialogue/audio | `ltx23-22b-fp8_t2v_distilled` |
|
|
99
104
|
| Image+audio-to-video | `ltx23-22b-fp8_ia2v_distilled` |
|
|
100
105
|
| Audio-to-video | `ltx23-22b-fp8_a2v_distilled` |
|
|
@@ -107,7 +112,7 @@ direct music generation. Music controls: `--lyrics`, `--language`, `--bpm`
|
|
|
107
112
|
|
|
108
113
|
- **WAN models** use dimensions divisible by 16, min 480 px, max 1536 px.
|
|
109
114
|
- **LTX family** (`ltx2-*`, `ltx23-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
|
|
110
|
-
- **Seedance** runs at fixed 24 fps and supports 4–15 s durations. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
|
|
115
|
+
- **Seedance** runs at fixed 24 fps and supports 4–15 s durations. Full `seedance2` supports native 4K via `--target-resolution 2160`; `seedance2-fast` remains capped to the fast lower-resolution path. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
|
|
111
116
|
- For spoken dialogue, budget roughly 3 words per second plus about 1 second per meaningful acting beat or pause.
|
|
112
117
|
- The CLI auto-normalizes video sizes to satisfy these constraints.
|
|
113
118
|
- Use `--target-resolution <px>` for bare resolution requests like "720p" — it targets the short side and preserves the inherited aspect ratio.
|
|
@@ -21,7 +21,7 @@ CLI defaults are 512×512 images, count 1, spark tokens, prompt-hash seeds):
|
|
|
21
21
|
"defaultImageModel": "z_image_turbo_bf16",
|
|
22
22
|
"defaultEditModel": "qwen_image_edit_2511_fp8_lightning",
|
|
23
23
|
"defaultPhotoboothModel": "coreml-sogniXLturbo_alpha1_ad",
|
|
24
|
-
"defaultMusicModel": "ace_step_1.
|
|
24
|
+
"defaultMusicModel": "ace_step_1.5_xl_turbo",
|
|
25
25
|
"videoModels": {
|
|
26
26
|
"t2v": "ltx23-22b-fp8_t2v_distilled",
|
|
27
27
|
"i2v": "wan_v2.2-14b-fp8_i2v_lightx2v",
|
|
@@ -23,6 +23,20 @@ sogni-agent -q --video --ref ./imageA.png --ref-end ./imageB.png -o ./transition
|
|
|
23
23
|
- User says "animate this video to this image" → extract last frame, use as `--ref`, target image as `--ref-end`, then stitch
|
|
24
24
|
- User says "continue this video" with a target image → same as above
|
|
25
25
|
|
|
26
|
+
> **LTX-2.3 transition / morph LoRA (auto-applied).** When an LTX-2.3
|
|
27
|
+
> image-to-video render (`ltx23-22b-fp8_i2v_distilled`) is given **both** a start
|
|
28
|
+
> image (`--ref`) and an end image (`--ref-end`) — two keyframes — it
|
|
29
|
+
> automatically applies the ValiantCat transition/morph LoRA (lora id
|
|
30
|
+
> `transition`, trigger word `zhuanchang`, strength ~1.0), morphing the first
|
|
31
|
+
> image smoothly into the end image. This is a **single model-level render**, not
|
|
32
|
+
> a stitch — no extra flags are required for the two-frame LTX i2v path. The
|
|
33
|
+
> sogni-client SDK example uses `image <first>` and `end-image <last>` to supply
|
|
34
|
+
> the two frames (the morph LoRA engages automatically), and additionally exposes
|
|
35
|
+
> manual `transition` / `transition-strength` SDK arguments for the SDK path. Do
|
|
36
|
+
> **not** confuse this single-render morph with the manual "Transition Between Two
|
|
37
|
+
> Videos (Bridge Clip)" recipe below, which bridges two *finished videos* with a
|
|
38
|
+
> separately generated clip and `--concat-videos`.
|
|
39
|
+
|
|
26
40
|
## Animate a Video to an Image (Scene Continuation)
|
|
27
41
|
|
|
28
42
|
1. **Extract the last frame** of the existing video:
|
|
@@ -44,6 +58,11 @@ When the final stitched output needs a single external soundtrack, add `--concat
|
|
|
44
58
|
|
|
45
59
|
## Transition Between Two Videos (Bridge Clip)
|
|
46
60
|
|
|
61
|
+
This recipe transitions between two **finished videos**. To morph between two
|
|
62
|
+
**still images** in a single render, use the LTX-2.3 two-keyframe i2v path with
|
|
63
|
+
its auto-applied transition/morph LoRA (see "Animate Between Two Images" above) —
|
|
64
|
+
do not build a bridge clip for that case.
|
|
65
|
+
|
|
47
66
|
To **create a transition between two existing videos** (A → B), bridge them with a generated clip anchored on both boundary frames:
|
|
48
67
|
|
|
49
68
|
1. Extract the boundary frames:
|
|
@@ -160,6 +179,34 @@ sogni-agent --video --workflow v2v -m seedance2-v2v \
|
|
|
160
179
|
|
|
161
180
|
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.
|
|
162
181
|
|
|
182
|
+
### V2V Outpaint (Canvas Extension) and Inpaint (Masked Region)
|
|
183
|
+
|
|
184
|
+
The LTX-2.3 v2v model `ltx23-22b-fp8_v2v_distilled` adds two control modes
|
|
185
|
+
beyond `canny`/`pose`/`depth`/`detailer`:
|
|
186
|
+
|
|
187
|
+
- **`outpaint`** — extend/expand the video canvas (for example, make a vertical
|
|
188
|
+
clip widescreen, or add space in one direction). Outpaint is **positional and
|
|
189
|
+
mask-free**: it anchors the original frame inside a larger canvas. The anchor
|
|
190
|
+
position is `center`, `top`, `bottom`, `left`, or `right` (where the original
|
|
191
|
+
frame sits in the expanded canvas — `left` keeps the original on the left and
|
|
192
|
+
grows to the right; `center` expands all sides). An optional target aspect
|
|
193
|
+
ratio (`16:9`, `9:16`, `1:1`, `4:3`, `3:4`, `21:9`) shapes the expanded
|
|
194
|
+
canvas. The canvas only grows — it never crops. **No mask is needed.**
|
|
195
|
+
- **`inpaint`** — regenerate a masked region of the source video (for example,
|
|
196
|
+
"replace what's behind the subject"). Inpaint **requires a mask image** where
|
|
197
|
+
**white pixels mark the region to regenerate**.
|
|
198
|
+
|
|
199
|
+
These modes run as Sogni Projects on the v2v surface. In the hosted
|
|
200
|
+
`video_to_video` tool the control mode is selected with `controlMode` set to
|
|
201
|
+
`outpaint` or `inpaint` (with `outpaintPosition` / optional
|
|
202
|
+
`outpaintAspectRatio` for outpaint, or `maskImageIndex` for inpaint). The
|
|
203
|
+
underlying sogni-client SDK example exposes them as `control-type`
|
|
204
|
+
(`canny|pose|depth|detailer|outpaint|inpaint`), with `mask <image>` for inpaint
|
|
205
|
+
(white = region to regenerate) and `outpaint-position`
|
|
206
|
+
(`center|top|bottom|left|right`, required for outpaint — outpaint is positional
|
|
207
|
+
and takes no mask, inpaint requires the mask). These extension/inpaint controls
|
|
208
|
+
are video-only.
|
|
209
|
+
|
|
163
210
|
## Music-to-Video Pipeline
|
|
164
211
|
|
|
165
212
|
1. Use the provided/generated audio file as `--ref-audio`
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Read this before writing any text-to-video or image-to-video prompt for LTX
|
|
4
4
|
models, and whenever the user asks for "hd", "1080p", "4k", "uhd", or
|
|
5
|
-
"high-res" video.
|
|
5
|
+
"high-res" video so you can choose between the LTX and Seedance paths.
|
|
6
6
|
|
|
7
7
|
## LTX-2.3 Prompt Rule
|
|
8
8
|
|
|
@@ -63,28 +63,31 @@ Use this shape instead: "A medium cinematic shot frames a woman in her 30s stand
|
|
|
63
63
|
|
|
64
64
|
When the user asks for video in **"hd"**, **"1080p"**, **"4k"**, **"uhd"**, or **"high-res"**, do not use the default WAN video models.
|
|
65
65
|
|
|
66
|
-
- For **
|
|
67
|
-
- For **
|
|
68
|
-
-
|
|
66
|
+
- 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-fast` for 4K.
|
|
67
|
+
- For **non-vendor HD / 1080p text-to-video**, use `-m ltx23-22b-fp8_t2v_distilled`.
|
|
68
|
+
- For **non-vendor HD / 1080p image-to-video**, use `-m ltx23-22b-fp8_i2v_distilled`.
|
|
69
|
+
- Prefer LTX-sized dimensions such as `-w 1920 -h 1088` when the chosen model is LTX.
|
|
69
70
|
- 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.
|
|
70
71
|
- 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.
|
|
71
72
|
- 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.
|
|
72
|
-
- Rewrite the user's request using the **LTX-2.3 Prompt Rule**
|
|
73
|
-
- Treat "4k" as a signal to use the highest practical LTX path exposed by this skill, even though the current wrapper caps non-WAN video dimensions at 2048px on the long side.
|
|
73
|
+
- Rewrite the user's request using the **LTX-2.3 Prompt Rule** only when invoking an LTX model. Do not send short slogan-style prompts to LTX.
|
|
74
74
|
|
|
75
75
|
## Agent-ready command shapes
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
|
-
#
|
|
78
|
+
# Native Seedance 4K / UHD text-to-video
|
|
79
|
+
sogni-agent -q --video -m seedance2 --target-resolution 2160 -o ./video.mp4 "A polished cinematic product reveal with native ambient sound"
|
|
80
|
+
|
|
81
|
+
# HD / 1080p text-to-video without the Seedance vendor path: prefer LTX-2.3
|
|
79
82
|
sogni-agent -q --video -m ltx23-22b-fp8_t2v_distilled -w 1920 -h 1088 -o ./video.mp4 "<LTX-rewritten paragraph>"
|
|
80
83
|
|
|
81
|
-
# HD /
|
|
84
|
+
# HD / 1080p image-to-video without the Seedance vendor path: prefer LTX i2v
|
|
82
85
|
sogni-agent -q --video --ref /path/to/image.png -m ltx23-22b-fp8_i2v_distilled -w 1920 -h 1088 -o ./video.mp4 "<LTX-rewritten paragraph>"
|
|
83
86
|
|
|
84
87
|
# LTX-2.3 voice identity / persona
|
|
85
88
|
sogni-agent --video --reference-audio-identity voice.webm 'NARRATOR: "This is my voice."'
|
|
86
89
|
|
|
87
|
-
# Seedance 2.0 (4-15s vendor video path with native audio)
|
|
90
|
+
# Seedance 2.0 standard (4-15s vendor video path with native audio)
|
|
88
91
|
sogni-agent --video -m seedance2 --duration 8 "A polished product reveal with native ambient sound"
|
|
89
92
|
```
|
|
90
93
|
|
package/skill-package.json
CHANGED
package/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = '3.6.
|
|
1
|
+
export const PACKAGE_VERSION = '3.6.4';
|