@sogni-ai/sogni-creative-agent-skill 3.6.4 → 3.8.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 +60 -0
- package/README.md +13 -10
- package/SKILL.md +19 -13
- package/generated/creative-agent-runtime.mjs +7 -4
- package/llm.txt +5 -3
- package/openclaw.plugin.json +2 -2
- package/package.json +2 -2
- package/references/hosted-api.md +1 -1
- package/references/models.md +83 -10
- 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/skills/asset_reference_management.md +1 -1
- package/skills/image_generation.md +8 -2
- package/skills/video_editing.md +4 -3
- package/skills/video_generation.md +4 -3
- package/sogni-agent.mjs +329 -51
- package/version.mjs +1 -1
|
@@ -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-mini` or `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
|
@@ -26,7 +26,7 @@ Keep a session-level manifest of every uploaded or generated asset and translate
|
|
|
26
26
|
|
|
27
27
|
| Model id | Image | Video | Audio |
|
|
28
28
|
|---|---|---|---|
|
|
29
|
-
| `seedance` (incl. `seedance2`, `seedance2-fast`) | `@Image1` | `@Video1` | `@Audio1` |
|
|
29
|
+
| `seedance` (incl. `seedance2`, `seedance2-mini`, `seedance2-fast`) | `@Image1` | `@Video1` | `@Audio1` |
|
|
30
30
|
| `gpt-image-2`, `flux*` | `Image 1` | `Video 1` | `Audio 1` |
|
|
31
31
|
| `ltx23`, `wan`, `qwen-image-edit` | `context_image_0` (0-indexed) | `context_video_0` | `context_audio_0` |
|
|
32
32
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: image_generation
|
|
3
|
-
description: Text-to-image synthesis with Z-Image, Flux, Qwen, and GPT Image 2 models.
|
|
3
|
+
description: Text-to-image synthesis with Z-Image, Krea 2, Flux, Qwen, and GPT Image 2 models.
|
|
4
4
|
always_loaded: false
|
|
5
5
|
tool_names:
|
|
6
6
|
- generate_image
|
|
@@ -8,12 +8,18 @@ tool_names:
|
|
|
8
8
|
|
|
9
9
|
# Image generation
|
|
10
10
|
|
|
11
|
-
Text-to-image synthesis with the current Sogni image stack (Z-Image, Flux, Qwen, and GPT Image 2). Use when the user wants a new image generated from a prompt with no source asset.
|
|
11
|
+
Text-to-image synthesis with the current Sogni image stack (Z-Image, Krea 2, Flux, Qwen, and GPT Image 2). Use when the user wants a new image generated from a prompt with no source asset.
|
|
12
12
|
|
|
13
13
|
## Tools
|
|
14
14
|
|
|
15
15
|
- `generate_image {prompt, ...}` — produce one or more images from text.
|
|
16
16
|
|
|
17
|
+
## Prompting
|
|
18
|
+
|
|
19
|
+
- Use natural-language descriptions (subject, setting, composition, lighting, style) for the next-gen models (Krea 2, Z-Image, Flux, Qwen) rather than keyword lists.
|
|
20
|
+
- Krea 2 favors long, detailed prompts but also handles short ones; to render text in the image, wrap the exact words in quotes (e.g. a sign reading "OPEN").
|
|
21
|
+
- The app applies model-specific prompt-enhancement automatically — pass the user's intent faithfully and avoid empty quality-booster spam.
|
|
22
|
+
|
|
17
23
|
## Constraints
|
|
18
24
|
|
|
19
25
|
- For persona-driven requests, defer to `image_editing` — personas must be conditioned on reference photos, never generated from scratch.
|
package/skills/video_editing.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: video_editing
|
|
3
|
-
description: Source-conditioned video flows: animate a photo, audio-driven motion, video style transfer, Seedance references, stitching, orbits, dance-montage compositions, segment extend/replace, and pure-ffmpeg post-production (overlay, subtitles).
|
|
3
|
+
description: Source-conditioned video flows: animate a photo, audio-driven motion, video style transfer, Seedance/HappyHorse references, stitching, orbits, dance-montage compositions, segment extend/replace, and pure-ffmpeg post-production (overlay, subtitles).
|
|
4
4
|
always_loaded: false
|
|
5
5
|
tool_names:
|
|
6
6
|
- animate_photo
|
|
@@ -17,11 +17,11 @@ tool_names:
|
|
|
17
17
|
|
|
18
18
|
# Video editing
|
|
19
19
|
|
|
20
|
-
Convert a still image, audio track, or existing clip into video, plus Seedance multimodal references, stitching, orbits, dance-montage compositions, segment extend/replace, and pure-ffmpeg post-production (overlay, subtitles) over previously rendered or uploaded clips.
|
|
20
|
+
Convert a still image, audio track, or existing clip into video, plus Seedance multimodal references, HappyHorse image references, stitching, orbits, dance-montage compositions, segment extend/replace, and pure-ffmpeg post-production (overlay, subtitles) over previously rendered or uploaded clips.
|
|
21
21
|
|
|
22
22
|
## Tools
|
|
23
23
|
|
|
24
|
-
- `animate_photo` — photo-to-video animation with LTX/WAN/Seedance routing.
|
|
24
|
+
- `animate_photo` — photo-to-video animation with LTX/WAN/Seedance/HappyHorse routing.
|
|
25
25
|
- `sound_to_video` — audio-synced video generation.
|
|
26
26
|
- `video_to_video` — video style transfer with ControlNet.
|
|
27
27
|
- `stitch_video` — concatenate previously rendered clips.
|
|
@@ -38,3 +38,4 @@ Convert a still image, audio track, or existing clip into video, plus Seedance m
|
|
|
38
38
|
- `animate_photo` errors with `all_failed` must surface to the user; do not auto-retry from inside the chat loop.
|
|
39
39
|
- For multiple prompt-only takes from one fixed source/end image and shared settings, prefer one Dynamic Prompt request with `numberOfVariations`/`-n`, then stitch the returned clips if the user asked for a single final video.
|
|
40
40
|
- Keep per-clip prompt arrays and source/end image arrays when clips need different assets, durations, audio windows, or other per-output settings.
|
|
41
|
+
- HappyHorse i2v uses exactly one first-frame image and r2v uses 1-9 image references; do not attach reference audio, reference video, ControlNet, or negative prompts.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: video_generation
|
|
3
|
-
description: Text-to-video synthesis with LTX-2.3, WAN 2.2,
|
|
3
|
+
description: Text-to-video synthesis with LTX-2.3, WAN 2.2, Seedance 2.0, and HappyHorse 1.1.
|
|
4
4
|
always_loaded: false
|
|
5
5
|
tool_names:
|
|
6
6
|
- generate_video
|
|
@@ -8,13 +8,14 @@ tool_names:
|
|
|
8
8
|
|
|
9
9
|
# Video generation
|
|
10
10
|
|
|
11
|
-
Text-to-video synthesis with LTX-2.3, WAN 2.2,
|
|
11
|
+
Text-to-video synthesis with LTX-2.3, WAN 2.2, Seedance 2.0, and HappyHorse 1.1. Use when the user wants a new video clip generated from a prompt with no source image, audio, or clip.
|
|
12
12
|
|
|
13
13
|
## Tools
|
|
14
14
|
|
|
15
|
-
- `generate_video` — produce a video clip from text
|
|
15
|
+
- `generate_video` — produce a video clip from text, Seedance multimodal references, or HappyHorse image references.
|
|
16
16
|
|
|
17
17
|
## Constraints
|
|
18
18
|
|
|
19
19
|
- Persona-driven video requests must always go through `image_editing` first to produce a conditioned image; never go straight to text-to-video for personas.
|
|
20
20
|
- For prompt-only variants with the same model, duration, dimensions, and references, use one Dynamic Prompt branch with `numberOfVariations`/`-n` instead of serial video calls.
|
|
21
|
+
- HappyHorse 1.1 is a Premium Spark vendor path: t2v is prompt-only, i2v uses one first-frame image, and r2v uses 1-9 image references. It accepts no reference audio or video.
|