@sogni-ai/sogni-creative-agent-skill 3.46.0 → 3.49.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/.agents/skills/sogni-creative-agent-skill/SKILL.md +27 -2
- package/.agents/skills/sogni-creative-agent-skill/references/interactive-worlds.md +81 -3
- package/.agents/skills/sogni-creative-agent-skill/references/models.md +175 -44
- package/.agents/skills/sogni-creative-agent-skill/references/video-prompting.md +22 -5
- package/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +3 -3
- package/CHANGELOG.md +39 -0
- package/README.md +35 -12
- package/SKILL.md +14 -13
- package/desktop-extension/README.md +1 -1
- package/desktop-extension/manifest.json +1 -1
- package/generated/creative-agent-runtime.mjs +5 -5
- package/llm.txt +16 -4
- package/media-utilities.mjs +131 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +6 -5
- package/plugin-skills/sogni-creative-agent/SKILL.md +19 -1
- package/references/interactive-worlds.md +9 -3
- package/references/models.md +175 -44
- package/references/video-prompting.md +22 -5
- package/scripts/sync-hermes-skill.mjs +1 -0
- package/skill-package.json +1 -1
- package/skills/sogni-creative-agent/SKILL.md +1 -1
- package/sogni-agent.mjs +408 -50
- package/version.mjs +1 -1
|
@@ -123,6 +123,20 @@ This guidance follows MiniMax's official H3 prompt-writing skill from
|
|
|
123
123
|
off-grid explicit `--frames` is a hard error.
|
|
124
124
|
- **Dimensions divisible by 32**, total pixels ≤ **1,032,192**. Use
|
|
125
125
|
`-w 1344 -h 768` (landscape) or `-w 768 -h 1344` (portrait).
|
|
126
|
+
- **1080p and 2K output is the FastH3 Two-Stage model, not a canvas.**
|
|
127
|
+
`-m minimax-h3-fasth3-turbo-2stage` (or `minimax-h3-fasth3-t2v-turbo-2stage`,
|
|
128
|
+
`minimax-h3-fasth3-i2v-turbo-2stage`, `minimax-h3-fasth3-flf2v-turbo-2stage`)
|
|
129
|
+
renders FastH3 on a half-size canvas and delivers the clip at exactly twice
|
|
130
|
+
it with the same length and audio; no other H3 tier delivers above 768p.
|
|
131
|
+
`--target-resolution` names the delivered size: `2K` (or `1440`, the default)
|
|
132
|
+
renders 1344×768 → 2688×1536, `1080` renders 960×544 → 1920×1088, and `720`
|
|
133
|
+
renders 672×384 → 1344×768, in the prompt's or reference's aspect; any other
|
|
134
|
+
value is refused. Do not enlarge `-w`/`-h` to reach 2K — the pixel budget
|
|
135
|
+
still applies to the canvas. 1080p costs 10 Spark per second (FastH3's 4 plus
|
|
136
|
+
6), 2K costs 16 (plus 12), and 720p costs the FastH3 rate of 4. Use it
|
|
137
|
+
when the user asks for 1080p, 1440p or 2K H3 output, two-stage, or the
|
|
138
|
+
sharpest H3 output; ordinary 768p stays on the regular FastH3 selectors. The
|
|
139
|
+
prompt contract is FastH3's.
|
|
126
140
|
- **20 steps for Standard; 8 for Balanced; 4 for both Turbo engines; guidance/CFG 1.** Do not
|
|
127
141
|
send steps, guidance, scheduler, or a **negative prompt**. Standard and
|
|
128
142
|
Balanced accept no sampler override; Balanced is fixed to Euler/simple.
|
|
@@ -147,8 +161,10 @@ This guidance follows MiniMax's official H3 prompt-writing skill from
|
|
|
147
161
|
sound — dialogue, foley, ambience, score — exists only because the prompt
|
|
148
162
|
asked for it. `generateAudio=false` strips that generated track from the
|
|
149
163
|
delivered file; it does not skip audio generation.
|
|
150
|
-
- **Sogni's H3
|
|
151
|
-
2K
|
|
164
|
+
- **Sogni's H3 tiers render the 768p-class open-weights release.** Only FastH3
|
|
165
|
+
Two-Stage delivers 1080p or 2K (Sogni's own latent enlargement); do not claim
|
|
166
|
+
either for any other H3 selector. MiniMax's hosted 2K stage is not part of
|
|
167
|
+
the open release.
|
|
152
168
|
- The Sogni CLI does not truncate H3 prompts. If another surface has a shorter
|
|
153
169
|
cap, flag it explicitly instead of silently removing required fields.
|
|
154
170
|
- FL2VA/Balanced/Turbo and image-only R2V are routed to 32 GB-class workers;
|
|
@@ -654,11 +670,12 @@ audio references keep their existing handling.
|
|
|
654
670
|
|
|
655
671
|
When the user asks for video in **"hd"**, **"1080p"**, **"4k"**, **"uhd"**, or **"high-res"**, do not use the default WAN video models.
|
|
656
672
|
|
|
657
|
-
- 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
|
|
673
|
+
- 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 up to 1080p.
|
|
674
|
+
- For **Seedance 2.5 HD / 1080p**, preserve the requested model with `-m seedance2-5 --target-resolution 1080`. Its frame, loose-reference, edit, and extend workflows also accept 1080p; edit/extend inherit the source video's aspect ratio.
|
|
658
675
|
- For **non-vendor HD / 1080p text-to-video**, use `-m ltx25`.
|
|
659
676
|
- For **non-vendor HD / 1080p image-to-video**, use `-m ltx25-i2v`.
|
|
660
677
|
- Prefer LTX-sized dimensions such as `-w 1920 -h 1088` when the chosen model is LTX.
|
|
661
|
-
- For bare
|
|
678
|
+
- For bare "720p" on LTX/WAN 2.2 without orientation or exact pixels, prefer `--target-resolution 768` instead of forcing landscape dimensions. Seedance uses `--target-resolution 720`; honor the selected model's supported tiers.
|
|
662
679
|
- 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.
|
|
663
680
|
- 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.
|
|
664
681
|
- 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.
|
|
@@ -681,7 +698,7 @@ sogni-agent --video --reference-audio-identity voice.webm 'NARRATOR: "This is my
|
|
|
681
698
|
# Seedance 2.0 standard (4-15s vendor video path with native audio)
|
|
682
699
|
sogni-agent --video -m seedance2 --duration 8 "A polished product reveal with native ambient sound"
|
|
683
700
|
|
|
684
|
-
# Seedance 2.5 (4-30s single clips, 480p/720p
|
|
701
|
+
# Seedance 2.5 (4-30s single clips, 480p/720p/1080p — the one Seedance that renders past 15s in one call)
|
|
685
702
|
sogni-agent --video -m seedance2-5 --duration 24 "A continuous one-take product story with native ambient sound"
|
|
686
703
|
|
|
687
704
|
# Seedance 2.5 edit (duration must match @Video1; aspect ratio is inherited)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sogni-creative-agent",
|
|
3
|
-
"version": "3.
|
|
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.",
|
|
3
|
+
"version": "3.49.0",
|
|
4
|
+
"description": "Sogni Creative Agent: image, 3D, speech, video, and music generation via Sogni AI's decentralized GPU network. Supports personas, persistent memories, style transfer, and multi-step creative workflows.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Sogni AI",
|
|
7
7
|
"url": "https://sogni.ai"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sogni-creative-agent",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"description": "Create images, generative video, music, and
|
|
3
|
+
"version": "3.49.0",
|
|
4
|
+
"description": "Create images, 3D models, speech, generative video, music, and image-folder loops with Sogni AI.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Sogni AI",
|
|
7
7
|
"url": "https://sogni.ai"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"interface": {
|
|
21
21
|
"displayName": "Sogni Creative Agent",
|
|
22
22
|
"shortDescription": "Create images, video, music, and seamless loops",
|
|
23
|
-
"longDescription": "Generate and edit images,
|
|
23
|
+
"longDescription": "Generate and edit images, reconstruct Pixal3D models, remove backgrounds, create Qwen3-TTS speech and Music 3 tracks, animate video, and turn image folders into seamless reels using Sogni AI.",
|
|
24
24
|
"developerName": "Sogni AI",
|
|
25
25
|
"category": "Creativity",
|
|
26
26
|
"capabilities": [
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,42 @@
|
|
|
1
|
+
## [3.49.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.47.0...v3.49.0) (2026-09-14)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* Add promptless Pixal3D image-to-GLB generation with `--image-to-3d`, original-image uploads, mesh/texture controls, 1024 or 1536 shape resolution, binary downloads, and model result metadata.
|
|
6
|
+
* Add BiRefNet background removal with `--remove-background`: transparent PNG cutouts by default, or soft foreground masks with `--matte`, preserving source dimensions.
|
|
7
|
+
* Add direct MiniMax Music 3 through `--music -m music3`, using the shared SDK defaults and model-specific duration and control validation.
|
|
8
|
+
* Add Qwen3-TTS studio speech, voice cloning, and voice design through `--speech`, with exact scripts, preset voices, written voice directions, original reference recordings, and WAV/MP3/FLAC output. Audio batches save every result to a separate file.
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* Include 3D artifacts in live model discovery and add `--model-media model` filtering.
|
|
13
|
+
* Refresh model guidance and Codex, Claude, and Hermes entrypoints, including Seedance 2.5 1080p edit/extend support, current utility contracts, and current installation commands. Keep the Hermes interactive-worlds reference synchronized.
|
|
14
|
+
* Check result download status and GLB headers before saving successful output metadata.
|
|
15
|
+
|
|
16
|
+
## [3.48.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.47.0...v3.48.0) (2026-09-13)
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* Add MiniMax H3 FastH3 Two-Stage for 720p, 1080p and 2K video: `-m minimax-h3-fasth3-turbo-2stage` picks text-to-video, image-to-video or first/last-frame from the frames you pass (like `minimax-h3-fasth3-turbo`, no R2V), and `minimax-h3-fasth3-t2v-turbo-2stage`, `-i2v-turbo-2stage`, `-flf2v-turbo-2stage` and the `minimax-h3-fastvideo-int8_*_turbo_2stage` ids name a mode directly. FastH3 renders a half-size canvas and the clip is delivered at twice it with the same length and audio. `--target-resolution` names the delivered size: `2K` or `1440` (the default) renders 1344x768 and delivers 2688x1536, `1080` renders 960x544 and delivers 1920x1088, and `720` renders 672x384 and delivers 1344x768, in the prompt's or the `--ref`/`--ref-end` image's aspect; any other value is refused, and `2K` is refused on other models. 1080p costs 10 Spark per second (FastH3 plus 6), 2K costs 16 (plus 12), and 720p costs the FastH3 rate of 4. The summary line and `--json` output (`deliveredWidth`, `deliveredHeight`) report the delivered size, and a server refusal of two-stage (such as its "available soon" notice) is printed word for word. The `minimax-h3-fastvideo-int8_*_turbo_2stage_720p` ids the Socket records 720p work under are recognized when named directly.
|
|
21
|
+
* Seedance 2.5 renders 1080p as well as 480p and 720p (`--target-resolution 1080`), exports MOV with `--output-format mov`, and returns the clip's final frame as an image with `--return-last-frame`, for the first frame of a following clip. With `-o` the frame is saved next to the video as `<name>-last-frame.<ext>`; `--json` reports `lastFrameUrls` and `lastFramePaths`. Both flags are refused on every other model.
|
|
22
|
+
* `--2k` and `--output-scale`, added in 3.47.0, are removed. Sogni now refuses the `outputScale` request option, so neither flag can render; the CLI fails on either one and points at `-m minimax-h3-fasth3-turbo-2stage` (with `--target-resolution 1080` or `720`).
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* Align the public runtime with Sogni Client 5.48.0 and Intelligence Client 4.0.0 (Sogni Protocol 1.0.0-alpha.40), moving the exact pin, `skill-package.json` and the sogni-client override together. Intelligence Client 4.0.0 carries the two-stage sizing helpers the CLI uses.
|
|
27
|
+
* The bundled creative-agent runtime is regenerated from 2.0.0: `generate_video` and `animate_photo` drop `outputScale` and offer the FastH3 Two-Stage selectors, whose `targetResolution` names the delivered class, 720, 1080 or 2K, at the GPU-time prices above.
|
|
28
|
+
|
|
29
|
+
## [3.47.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.46.0...v3.47.0) (2026-09-12)
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* Add `--output-scale 2` (alias `--2k`) for MiniMax H3 2K delivery: the clip renders on the requested canvas and comes back at twice its width and height (1344x768 becomes 2688x1536) with the same length and audio, for +10 Spark per second at 544/768p-class sizes and +6 at 480p. Other models refuse the flag by name. While Sogni holds 2K behind its "available soon" message, the CLI reports that refusal as `MODEL_UNAVAILABLE` with a hint to retry at the standard size.
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
|
|
37
|
+
* Align the public runtime with Sogni Client 5.46.0 and Intelligence Client 3.33.0, moving the exact pin, `skill-package.json` and the sogni-client override together. 5.46.0 stops the SDK cancelling a project after its render moves to another worker, which killed the live retry.
|
|
38
|
+
* The bundled creative-agent runtime is regenerated from 1.65.0; its public contracts are unchanged.
|
|
39
|
+
|
|
1
40
|
## [3.46.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.43.0...v3.46.0) (2026-09-11)
|
|
2
41
|
|
|
3
42
|
3.44.0 and 3.45.0 were prepared but never published to npm; this release carries their changes too, so 3.43.0 is the last version npm actually shipped.
|
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ With this skill, an agent can:
|
|
|
85
85
|
2. Install (one command):
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
|
-
npx setup-sogni-agent-skill
|
|
88
|
+
npx setup-sogni-agent-skill --version=latest
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
This auto-detects Claude Code, OpenAI Codex CLI, and Hermes Agent; installs the
|
|
@@ -154,7 +154,7 @@ The Claude Code plugin shells out to the `sogni-agent` CLI installed above, so b
|
|
|
154
154
|
|
|
155
155
|
The first command registers a `sogni` marketplace with one plugin entry (`sogni-creative-agent`) backed by a lean Claude-Code-focused [`plugin-skills/sogni-creative-agent/SKILL.md`](./plugin-skills/sogni-creative-agent/SKILL.md); the second installs the plugin into Claude Code. The full skill spec still lives at the repository root [`SKILL.md`](./SKILL.md).
|
|
156
156
|
|
|
157
|
-
> **Pick one registration per machine.** Install either this plugin **or** the personal skill that `npx setup-sogni-agent-skill` writes to `~/.claude/skills/` — not both. With both installed, Claude Code lists two near-identical skills, which wastes context and makes skill selection ambiguous.
|
|
157
|
+
> **Pick one registration per machine.** Install either this plugin **or** the personal skill that `npx setup-sogni-agent-skill --version=latest` writes to `~/.claude/skills/` — not both. With both installed, Claude Code lists two near-identical skills, which wastes context and makes skill selection ambiguous.
|
|
158
158
|
|
|
159
159
|
### OpenAI Codex CLI
|
|
160
160
|
|
|
@@ -178,7 +178,7 @@ For local development, replace the GitHub shorthand in `codex plugin marketplace
|
|
|
178
178
|
Alternatively, the `npx` installer writes the full monolithic skill to `~/.codex/skills/sogni-creative-agent-skill/`, which Codex discovers automatically:
|
|
179
179
|
|
|
180
180
|
```bash
|
|
181
|
-
npx setup-sogni-agent-skill --only=codex
|
|
181
|
+
npx setup-sogni-agent-skill --version=latest --only=codex
|
|
182
182
|
```
|
|
183
183
|
|
|
184
184
|
Start Codex once before running the installer so `~/.codex/` exists. If the selected local runtime is not detected, setup exits before installing anything.
|
|
@@ -206,7 +206,7 @@ For a combined CLI + personal-skill setup, the `npx` installer still places the
|
|
|
206
206
|
skill at `~/.hermes/skills/media/sogni-creative-agent-skill/`:
|
|
207
207
|
|
|
208
208
|
```bash
|
|
209
|
-
npx setup-sogni-agent-skill --only=hermes
|
|
209
|
+
npx setup-sogni-agent-skill --version=latest --only=hermes
|
|
210
210
|
```
|
|
211
211
|
|
|
212
212
|
Start Hermes once before running the installer so `~/.hermes/` exists. If the
|
|
@@ -248,7 +248,7 @@ To install as a code plugin instead, use OpenClaw's `npm:` source prefix (the np
|
|
|
248
248
|
openclaw plugins install npm:@sogni-ai/sogni-creative-agent-skill
|
|
249
249
|
```
|
|
250
250
|
|
|
251
|
-
The installed plugin loads its behavior from [`SKILL.md`](./SKILL.md) via [`openclaw.plugin.json`](./openclaw.plugin.json). The `npx setup-sogni-agent-skill` installer does **not** configure OpenClaw — use the command above (or the local-link flow below) instead.
|
|
251
|
+
The installed plugin loads its behavior from [`SKILL.md`](./SKILL.md) via [`openclaw.plugin.json`](./openclaw.plugin.json). The `npx setup-sogni-agent-skill --version=latest` installer does **not** configure OpenClaw — use the command above (or the local-link flow below) instead.
|
|
252
252
|
|
|
253
253
|
> **API key under OpenClaw:** the plugin config holds non-secret defaults only (models, timeouts, paths) — it does **not** carry your API key. Provide `SOGNI_API_KEY` via the environment the OpenClaw gateway passes to the CLI, or save it to `~/.config/sogni/credentials` (`SOGNI_API_KEY=<your-key>`). This keeps your key out of plugin config files.
|
|
254
254
|
|
|
@@ -282,7 +282,7 @@ When loaded through OpenClaw, this skill reads plugin defaults from OpenClaw con
|
|
|
282
282
|
|
|
283
283
|
### ChatGPT (Custom GPT)
|
|
284
284
|
|
|
285
|
-
Run `npx setup-sogni-agent-skill --only=chatgpt` to print step-by-step instructions for creating a ChatGPT Custom GPT whose Instructions embed this skill. Note that ChatGPT cannot run the local CLI; the Custom GPT path covers prompt-side behavior only.
|
|
285
|
+
Run `npx setup-sogni-agent-skill --only=chatgpt --version=latest` to print step-by-step instructions for creating a ChatGPT Custom GPT whose Instructions embed this skill. Note that ChatGPT cannot run the local CLI; the Custom GPT path covers prompt-side behavior only.
|
|
286
286
|
|
|
287
287
|
### Manus / other SKILL.md frameworks
|
|
288
288
|
|
|
@@ -350,7 +350,7 @@ Claude Desktop can't run skills against your local files, so Sogni ships as a lo
|
|
|
350
350
|
|
|
351
351
|
**Recommended — one command (also installs the CLI, saves your API key, and offers to install ffmpeg):**
|
|
352
352
|
|
|
353
|
-
npx setup-sogni-agent-skill
|
|
353
|
+
npx setup-sogni-agent-skill --version=latest
|
|
354
354
|
|
|
355
355
|
This registers the Sogni tools in `claude_desktop_config.json`. Fully quit and reopen Claude Desktop afterwards. Generated images display inline in the chat automatically.
|
|
356
356
|
|
|
@@ -482,7 +482,7 @@ sogni-agent --video -m wan3-enhanced --target-resolution 1080 --duration 8 \
|
|
|
482
482
|
sogni-agent --video -m wan3-enhanced --workflow i2v --ref first.png --ref-end last.png \
|
|
483
483
|
-c wardrobe.png "Keep the endpoint frames and use Image 1 for wardrobe detail"
|
|
484
484
|
|
|
485
|
-
# MiniMax H3 Standard, 8-step Balanced, 4-step LightX2V Turbo, and FastH3
|
|
485
|
+
# MiniMax H3 Standard, 8-step Balanced, 4-step LightX2V Turbo, FastH3 Turbo, and FastH3 Two-Stage (1080p/2K) video
|
|
486
486
|
sogni-agent --video -m minimax-h3 --duration 10 "<three-field H3 prompt>"
|
|
487
487
|
sogni-agent --video -m minimax-h3-i2v --ref first.png --duration 8 "<I2V preamble plus three-field H3 prompt>"
|
|
488
488
|
sogni-agent --video -m minimax-h3-r2v --ref identity.png -c wardrobe.png \
|
|
@@ -496,6 +496,8 @@ sogni-agent --video -m minimax-h3-flf2v-turbo --ref first.png --ref-end last.png
|
|
|
496
496
|
sogni-agent --video -m minimax-h3-fasth3-turbo --duration 8 "<three-field H3 prompt>"
|
|
497
497
|
sogni-agent --video -m minimax-h3-fasth3-i2v-turbo --ref first.png --duration 8 "<I2V preamble plus three-field H3 prompt>"
|
|
498
498
|
sogni-agent --video -m minimax-h3-fasth3-flf2v-turbo --ref first.png --ref-end last.png --duration 8 "<FLF2V preamble plus three-field H3 prompt>"
|
|
499
|
+
sogni-agent --video -m minimax-h3-fasth3-turbo-2stage --duration 8 "<three-field H3 prompt>" # 2K: FastH3 Two-Stage, delivered at 2x the canvas
|
|
500
|
+
sogni-agent --video -m minimax-h3-fasth3-turbo-2stage --target-resolution 1080 --duration 8 "<three-field H3 prompt>" # 1080p: 960x544 delivered at 1920x1088
|
|
499
501
|
|
|
500
502
|
# Image-to-video (i2v; defaults to wan_v2.2-14b-fp8_i2v_lightx2v)
|
|
501
503
|
sogni-agent --video --ref cat.jpg "gentle camera pan"
|
|
@@ -509,6 +511,20 @@ sogni-agent --video --ref first.png --ref-end last.png \
|
|
|
509
511
|
sogni-agent --video --ref cover.jpg --ref-audio song.mp3 \
|
|
510
512
|
"music video with synchronized motion"
|
|
511
513
|
|
|
514
|
+
# Pixal3D textured GLB from one original image (no prompt)
|
|
515
|
+
sogni-agent --image-to-3d object.png --mesh-faces 30000 -o object.glb
|
|
516
|
+
|
|
517
|
+
# BiRefNet transparent PNG (add --matte for the soft mask)
|
|
518
|
+
sogni-agent --remove-background original.png -o cutout.png
|
|
519
|
+
|
|
520
|
+
# MiniMax Music 3 and Qwen3-TTS studio speech
|
|
521
|
+
sogni-agent --music -m music3 --duration 30 -o score.mp3 "instrumental orchestral theme"
|
|
522
|
+
sogni-agent --speech --speech-voice ryan -o speech.wav "Welcome to the story."
|
|
523
|
+
|
|
524
|
+
# Voice cloning from a 3–30s recording, or voice design from a description
|
|
525
|
+
sogni-agent --speech --speech-mode clone --voice-reference voice.wav -o clone.wav "A new line in this voice."
|
|
526
|
+
sogni-agent --speech --speech-mode design --voice-description "Warm, low-pitched storyteller" -o designed.wav "The journey begins."
|
|
527
|
+
|
|
512
528
|
# Direct music generation
|
|
513
529
|
sogni-agent --music --duration 30 \
|
|
514
530
|
"uplifting cinematic synthwave theme for a product launch"
|
|
@@ -608,9 +624,13 @@ Run `sogni-agent --help` for the full CLI. Below are the options and tables most
|
|
|
608
624
|
| `-c <path>` | Provide image context for edits |
|
|
609
625
|
| `--video` | Generate video instead of image |
|
|
610
626
|
| `--music` | Generate music/audio instead of image |
|
|
611
|
-
| `--lyrics`, `--bpm`, `--keyscale`, `--timesig` |
|
|
627
|
+
| `--lyrics`, `--bpm`, `--keyscale`, `--timesig` | ACE-Step music controls; for Music 3 put tempo/key in the prompt |
|
|
628
|
+
| `--music -m music3` | MiniMax Music 3, 10–300s (60s default) |
|
|
629
|
+
| `--speech`, `--speech-mode` | Qwen3-TTS voice, clone, or design |
|
|
630
|
+
| `--image-to-3d <image>` | Pixal3D binary GLB from one original image |
|
|
631
|
+
| `--remove-background <image>`, `--matte` | BiRefNet transparent PNG or soft mask |
|
|
612
632
|
| `--ref`, `-c`, `--ref-audio`, `--ref-video` | Frame/loose image/audio/video references; audio/video repeat for H3 r2v and Seedance loose refs |
|
|
613
|
-
| `--target-resolution <px>` | Target the short side, preserving aspect ratio |
|
|
633
|
+
| `--target-resolution <px>` | Target the short side, preserving aspect ratio; on MiniMax H3 FastH3 Two-Stage, the delivered size `720`, `1080`, or `2K` (default 2K) |
|
|
614
634
|
| `--workflow <type>` | Force `t2v`, `i2v`, `r2v`, `s2v`, `ia2v`, `a2v`, `v2v`, or animate workflows |
|
|
615
635
|
| `--wan3-ratio`, `--smart-duration`, `--reference-file-url`, `--reference-link-url`, `--watermark` | Wan 3 adaptive/fixed ratio, smart timing, document/web context, and watermark controls |
|
|
616
636
|
| `--expand-prompt`, `--no-expand-prompt` | Enable provider prompt expansion for direct Wan 3 video, or preserve the exact submitted prompt |
|
|
@@ -693,6 +713,7 @@ Prefer `-Q fast|hq|pro` for images and automatic workflow routing for video. Pas
|
|
|
693
713
|
| MiniMax H3 FastH3 Turbo text-to-video | `minimax-h3-fasth3-turbo` or `minimax-h3-fasth3-t2v-turbo` |
|
|
694
714
|
| MiniMax H3 FastH3 Turbo image-to-video | `minimax-h3-fasth3-i2v-turbo` with `--ref` |
|
|
695
715
|
| MiniMax H3 FastH3 Turbo first-frame → last-frame video | `minimax-h3-fasth3-flf2v-turbo` with `--ref A --ref-end B`; FastH3 has no R2V mode |
|
|
716
|
+
| MiniMax H3 1080p or 2K video (FastH3 Two-Stage, delivered at twice the canvas) | `minimax-h3-fasth3-turbo-2stage` (infers the frame mode; 2K default, `--target-resolution 1080` or `720`), or `minimax-h3-fasth3-t2v-turbo-2stage` / `-i2v-turbo-2stage` / `-flf2v-turbo-2stage`; no R2V |
|
|
696
717
|
| Text-to-video with native dialogue/audio | `ltx25` (Distilled) or `ltx25-22b-int8_t2v_dev` (Dev/HQ) |
|
|
697
718
|
| Explicit uncensored image-to-video on 30GB+ GPUs | `ltx23-eros` with `--no-filter` |
|
|
698
719
|
| Image or first/last frames to video | `ltx25-i2v` (FLF shares the I2V model ID) |
|
|
@@ -701,13 +722,15 @@ Prefer `-Q fast|hq|pro` for images and automatic workflow routing for video. Pas
|
|
|
701
722
|
| Video-to-video with ControlNet/edit templates | `ltx25-v2v` |
|
|
702
723
|
| 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 |
|
|
703
724
|
| Seedance video-to-video without ControlNet | `seedance2-v2v` |
|
|
704
|
-
| Seedance 2.5 single clip up to 30s (480p/720p
|
|
725
|
+
| Seedance 2.5 single clip up to 30s (480p/720p/1080p, MP4/MOV and last-frame export) | `seedance2-5` (`seedance2-5-ia2v` / `seedance2-5-v2v` for image+audio and v2v/editing) |
|
|
705
726
|
| Wan 3 unified text, frame, reference, audio, or video generation | `wan3` / `wan3.0-video` |
|
|
706
727
|
| Wan 3.0 Enhanced text, frame, reference, audio, or video generation | `wan3-enhanced` / `wan3.0-spicy-video` |
|
|
707
728
|
| Face lip-sync with uploaded audio | `wan_v2.2-14b-fp8_s2v_lightx2v` |
|
|
708
729
|
|
|
709
730
|
`gpt-image-2` supports flexible OpenAI image sizes up to 3840 px on either edge, max 3:1 aspect ratio, and total pixels from 655,360 to 8,294,400; the API snaps dimensions to valid multiples of 16. For image editing with `gpt-image-2`, you can pass up to 16 context images. For likeness-preserving edits of a referenced person or character, agents default to Krea 2 Identity Edit (`krea2_identity_edit_v1_2`) unless you explicitly choose another model. It and Dark Beast Krea 2 Identity Edit (`dark_beast_krea2_identity_edit_v1_2`) use `-c/--context`, accept 1-2 references at 512-2048 px, and leave execution defaults to the current model tier.
|
|
710
731
|
|
|
732
|
+
For Pixal3D mesh budgets, BiRefNet cutouts/mattes, Music 3 section tags, and all Qwen3-TTS modes, read [the model guide](references/models.md). Speech uses exact scripts without music duration or sampler controls; clone mode checks 3–30s recordings with `ffprobe`. Audio batches save every output with numbered filenames.
|
|
733
|
+
|
|
711
734
|
Music generation uses `--music` and outputs `mp3` by default. `--audio` remains the video-reference alias for `--ref-audio`; use `--music` or `--generate-music` for direct audio-only generation.
|
|
712
735
|
|
|
713
736
|
Seedance 2.5 loose-reference operations use an explicit task contract. `reference` accepts any loose image/video/audio set (including audio-only); `edit` and `extend` require `@Video1` through `--ref-video` and reject first/last-frame anchors. Edit inherits the source aspect ratio and requires its source duration, while extend inherits the ratio and uses the requested continuation duration:
|
|
@@ -727,7 +750,7 @@ sogni-agent --video -m seedance2-5-v2v --seedance-task-type extend --ref-video s
|
|
|
727
750
|
- **Wan 3.0 Enhanced** (`wan3.0-spicy-video`; MuleRouter provider ID `w3.0-video`; aliases `wan3-enhanced`, `wan3-spicy`) runs at fixed 30 fps with fixed or smart 2–30 s output, native audio, prompt expansion, 480P/720P/1080P, and `adaptive`, `16:9`, `9:16`, `1:1`, `4:3`, or `3:4`. It accepts either first/last-frame anchors or up to 10 image, 5 video, and 5 audio loose references; the two modes cannot be mixed. It has no document/web context, watermark, negative prompt, source-video edit, or extend mode. Standard PAYG is $0.08/$0.16/$0.32 per output second at 480P/720P/1080P (as of 2026-09). Existing paid subscribers receive a one-time $10 Unlimited / $20 Unlimited Pro model credit through September 1, 2026 00:00 UTC (August 31 at 5:00 PM PT); this is a launch credit, not subscription coverage.
|
|
728
751
|
- **MiniMax H3 Standard, Balanced, LightX2V Turbo, and FastH3 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. Standard, Balanced, LightX2V FL2VA Turbo, and FastH3 normally default to 1344×768 or 768×1344; Ref2VA Turbo defaults to 960×544. Standard uses 20 steps; Balanced uses fixed 8-step Euler/simple acceleration, with LightX2V for FL2VA and Larry v4 for Ref2VA; both Turbo engines use 4 steps. FL2VA H3 Turbo defaults to `er_sde` on Socket and permits `euler`, `er_sde`, or `sa_solver`; Ref2VA Turbo and the separate FastVideo VSA FastH3 engine use Euler/simple only. The CLI omits the sampler unless `--sampler` is passed. FastH3 is about 2x faster than LightX2V Turbo and up to 6x faster than Standard for comparable 768p, 15-second requests; it supports T2V/I2V/FLF2V, never R2V. Guidance 1 is fixed and there is no negative-prompt input. Every Ref2VA tier accepts up to 9 images, 3 videos, and 3 audios, capped at 12 files; at least one visual reference is required. FastH3 keeps the FastVideo engine when an H3 LoRA is attached: base jobs require 23 GB and jobs with an H3 LoRA require 32 GB. The other FL2VA/Balanced/Turbo and image-only R2V paths require 32 GB-class workers, while video-conditioned R2V requires above 40 GB. See `references/video-prompting.md` § MiniMax H3 Prompting for the exact contracts.
|
|
729
752
|
- **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.
|
|
730
|
-
- **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
|
|
753
|
+
- **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 at 480p/720p/1080p (no 4K), with `--output-format mov` and `--return-last-frame` for the final frame as an image. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
|
|
731
754
|
- 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.
|
|
732
755
|
- The script auto-normalizes video sizes to satisfy these constraints.
|
|
733
756
|
- Use `--target-resolution <px>` for bare resolution requests like "720p" — it targets the short side and preserves the inherited aspect ratio.
|
package/SKILL.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sogni-creative-agent-skill
|
|
3
|
-
description: "Sogni Creative Agent Skill: agent skill and CLI for image, video, and music generation using Sogni AI's decentralized GPU network. Supports SAM 3 object selection, promptless RTX VSR image upscaling through 16K, promptless FlashVSR video upscaling to 1080p/1440p, 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 Balanced/LightX2V Turbo/FastH3 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\", \"upscale an image\", \"upscale a video\", \"make a video/animate\", \"turn this image folder into a loop\", \"make music\", \"apply a style\", or \"generate me as a superhero\"."
|
|
3
|
+
description: "Sogni Creative Agent Skill: agent skill and CLI for image, video, and music generation using Sogni AI's decentralized GPU network. Supports Pixal3D image-to-GLB, BiRefNet background removal, Qwen3-TTS speech/voice cloning/design, MiniMax Music 3, SAM 3 object selection, promptless RTX VSR image upscaling through 16K, promptless FlashVSR video upscaling to 1080p/1440p, 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 Balanced/LightX2V Turbo/FastH3 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\", \"upscale an image\", \"upscale a video\", \"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.49.0"
|
|
6
6
|
homepage: https://sogni.ai
|
|
7
7
|
openclaw:
|
|
8
8
|
emoji: "🎨"
|
|
@@ -40,7 +40,7 @@ npm install -g @sogni-ai/sogni-creative-agent-skill@latest
|
|
|
40
40
|
sogni-agent --version
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
Then configure the agent/runtime to use this `SKILL.md` and invoke the `sogni-agent` CLI. The one-command alternative `npx setup-sogni-agent-skill` auto-detects Claude Code, Codex CLI, and Hermes (it does not configure Goose or OpenClaw).
|
|
43
|
+
Then configure the agent/runtime to use this `SKILL.md` and invoke the `sogni-agent` CLI. The one-command alternative `npx setup-sogni-agent-skill --version=latest` auto-detects Claude Code, Codex CLI, and Hermes (it does not configure Goose or OpenClaw).
|
|
44
44
|
|
|
45
45
|
For Goose, install this skill with `npx skills add Sogni-AI/sogni-creative-agent-skill --global --agent goose --skill sogni-creative-agent-skill --yes`, install the CLI above, then run `sogni-agent-goose doctor --json`. The [README](./README.md#goose) also covers the MCP extension.
|
|
46
46
|
|
|
@@ -205,10 +205,10 @@ sogni-agent --music --lyrics "Rise with the morning light" --bpm 128 --keyscale
|
|
|
205
205
|
# Seedance 2.0 4K (4-15s vendor video with native audio)
|
|
206
206
|
sogni-agent --video -m seedance2 --target-resolution 2160 --duration 8 "A polished product reveal with native ambient sound"
|
|
207
207
|
|
|
208
|
-
# Seedance 2.5 loose-reference operations (fixed 24fps, 480p/720p).
|
|
208
|
+
# Seedance 2.5 loose-reference operations (fixed 24fps, 480p/720p/1080p).
|
|
209
209
|
# Edit inherits @Video1's ratio and uses its source duration; extend inherits
|
|
210
210
|
# the ratio but uses the requested continuation duration.
|
|
211
|
-
sogni-agent --video -m seedance2-5 --seedance-task-type reference --ref-audio voice.m4a "Use @Audio1 to guide a new performance"
|
|
211
|
+
sogni-agent --video -m seedance2-5 --target-resolution 1080 --seedance-task-type reference --ref-audio voice.m4a "Use @Audio1 to guide a new performance"
|
|
212
212
|
sogni-agent --video -m seedance2-5-v2v --seedance-task-type edit --ref-video source.mp4 --duration 8 --target-resolution 720 "Edit @Video1; preserve its subject and timing"
|
|
213
213
|
sogni-agent --video -m seedance2-5-v2v --seedance-task-type extend --ref-video source.mp4 --duration 8 --target-resolution 720 "Extend @Video1 after its ending"
|
|
214
214
|
|
|
@@ -234,6 +234,7 @@ sogni-agent --video -m minimax-h3-r2v-turbo -w 960 -h 544 --ref identity.png -c
|
|
|
234
234
|
sogni-agent --video -m minimax-h3-fasth3-turbo --duration 8 "<three-field H3 prompt>"
|
|
235
235
|
sogni-agent --video -m minimax-h3-fasth3-i2v-turbo --ref first.png --duration 8 "<I2V preamble plus three-field H3 prompt>"
|
|
236
236
|
sogni-agent --video -m minimax-h3-fasth3-flf2v-turbo --ref first.png --ref-end last.png --duration 8 "<FLF2V preamble plus three-field H3 prompt>"
|
|
237
|
+
sogni-agent --video -m minimax-h3-fasth3-turbo-2stage --duration 8 "<three-field H3 prompt>" # 2K by default; --target-resolution 1080 or 720 for 1080p or 720p
|
|
237
238
|
|
|
238
239
|
# HappyHorse 1.1 (3-15s vendor video, fixed 24fps, native audio). t2v default;
|
|
239
240
|
# i2v from one first-frame image (--ref); r2v from 1-9 reference images (-c).
|
|
@@ -297,7 +298,7 @@ sogni-agent doctor --json
|
|
|
297
298
|
| `--sampler <name>` | Image/music sampler; LightX2V FL2VA H3 Turbo: `euler\|er_sde\|sa_solver`; Ref2VA Turbo and FastH3 Turbo: `euler` only | LightX2V FL2VA H3 Turbo defaults to `er_sde` on Socket; CLI omits unless set |
|
|
298
299
|
| `--control-type`, `--outpaint-position`, `--outpaint-aspect-ratio` | LTX v2v control mode and outpaint canvas controls (`ltx25-v2v` default) | - |
|
|
299
300
|
| `--duration <sec>` | Video or music length | video 5, music 30 |
|
|
300
|
-
| `--target-resolution <px>` | Short-side target preserving aspect ratio (use `2160` for Seedance 4K) | - |
|
|
301
|
+
| `--target-resolution <px>` | Short-side target preserving aspect ratio (use `2160` for Seedance 4K); on FastH3 Two-Stage the delivered size `720`, `1080`, or `2K` | - (Two-Stage: 2K) |
|
|
301
302
|
| `--photobooth` | Face transfer mode (with `--ref`) | - |
|
|
302
303
|
| `--persona <name>` | Use a saved persona (photo + voice auto-attach) | - |
|
|
303
304
|
| `--token-type spark\|sogni\|auto` | `auto` retries native models with SOGNI when SPARK is low | spark |
|
|
@@ -324,10 +325,10 @@ sogni-agent doctor --json
|
|
|
324
325
|
### Segmentation and 3D reconstruction
|
|
325
326
|
|
|
326
327
|
- To isolate an object in an image — a mask, or the subject cut out on transparency — use `sam3_image_segment_bf16` with a `sam3Prompt`. In direct CLI mode that is `--segment <original> --segment-point x,y` (repeat; `--segment-exclude` refines) or `--segment-text "<object>"` with optional `--segment-box x0,y0,x1,y1`, returning one binary PNG mask — read [`references/object-selection.md`](./references/object-selection.md) first. It is promptless in the ordinary sense: the selection comes from `text`, click `points`, or `boxes`, never from `positivePrompt`. Never route a "remove the background" or "select the X" request through `edit_image` or `refine_result`, which regenerate pixels instead of selecting them.
|
|
327
|
-
- SDK callers:
|
|
328
|
-
-
|
|
329
|
-
- `birefnet_image_background_removal_fp16`
|
|
330
|
-
-
|
|
328
|
+
- SDK callers: SAM 3 takes `sam3Prompt.applyMask: true` for a cutout; leave it off for the binary mask. If text matches too many instances, inspect `maskSelections` and refine with `maxInstances: 1` or points. BiRefNet uses top-level `applyMask` instead.
|
|
329
|
+
- Pixal3D (`pixal3d_int8_i23d`) reconstructs one `startingImage` into a textured GLB. Its supported graph is promptless: omit `templateVariant` or use `i23d-birefnet`; the old prompted `i23d` variant is removed. Shape resolution defaults to 1024, with 1536 available at a higher price. Set `meshTargetFaces` below the 700000 maximum for a real-time asset. Discovery supports `--search-models pixal3d` and `--model-media model`; generate with `--image-to-3d object.png --mesh-faces 30000 -o object.glb`. Save the binary result as `.glb`, never process it as an image.
|
|
330
|
+
- `birefnet_image_background_removal_fp16` is available on Supernet for promptless soft-matte background removal. SDK callers pass `startingImage` and top-level `applyMask: true` for an RGBA cutout. Use `--remove-background original.png -o cutout.png`; add `--matte` for a soft mask. Preserve original bytes and dimensions.
|
|
331
|
+
- SAM 3 and BiRefNet are flat-priced; Pixal3D pricing changes with `shapeResolution`. Use `--music -m music3` for MiniMax Music 3 and `--speech --speech-mode voice|clone|design` for Qwen3-TTS. Read [`references/models.md`](./references/models.md) before these modes: it covers promptless mesh/cutout controls, Music 3 section tags, exact speech scripts, studio voices, and 3–30s clone recordings. Speech never accepts music duration or diffusion controls.
|
|
331
332
|
|
|
332
333
|
### Photobooth vs. context editing
|
|
333
334
|
|
|
@@ -360,9 +361,9 @@ tokens in that scoped reference rather than ordinary model recommendations.
|
|
|
360
361
|
|
|
361
362
|
### High-res video
|
|
362
363
|
|
|
363
|
-
MiniMax H3 is an explicit model choice, not a universal default.
|
|
364
|
+
MiniMax H3 is an explicit model choice, not a universal default. Eighteen hosted workflow selectors expose **twenty-three prompt/input shapes**: T2VA, I2VA, L2VA, FL2VA, and Ref2VA in Standard, Balanced, and LightX2V Turbo form, plus T2VA/I2VA/L2VA/FL2VA on the separate FastH3 Turbo engine and again on FastH3 Two-Stage. L2VA deliberately reuses each engine's I2V selector: `-m minimax-h3-i2v --ref-end B`, `minimax-h3-i2v-balanced`, `minimax-h3-i2v-turbo`, or `minimax-h3-fasth3-i2v-turbo` supplies only the closing frame; never invent an `minimax-h3-l2v` model key. Use the matching I2V selector for one endpoint and FLF2V selector for both. Standard, Balanced, and LightX2V Turbo have explicit `minimax-h3-r2v*` selectors for loose references. `minimax-h3-fasth3-turbo`, `minimax-h3-fasth3-t2v-turbo`, `minimax-h3-fasth3-i2v-turbo`, and `minimax-h3-fasth3-flf2v-turbo` are FastVideo VSA routes and FastH3 has no R2V mode. Standard uses 20 steps; Balanced uses fixed 8-step Euler/simple acceleration, with LightX2V for FL2VA and Larry v4 for Ref2VA; both Turbo engines use 4 steps. The qualified FastH3 recipe is Euler/simple only and is about 2x faster than LightX2V Turbo and up to 6x faster than Standard for comparable 768p, 15-second requests; keep the existing `minimax-h3-*-turbo` selectors on LightX2V.
|
|
364
365
|
|
|
365
|
-
H3 r2v accepts up to **9 images** (`--ref` then repeatable `-c`), **3 videos** (repeat `--ref-video`), and **3 audio clips** (repeat `--ref-audio`), with **12 files total** and at least one visual reference (image or video); it is never inferred. A video can be the only visual input, while audio alone is invalid. Address references as `<Picture 1>`, `<Video 1>`, and `<Audio 1>` in per-type submission order, give every reference one job, and never use `--ref-end` for r2v. Reference videos must themselves be exactly 24 fps; normalize other rates without changing duration or audio timing before submission. H3 generates picture and **native 32 kHz stereo audio jointly** at fixed 24 fps, so dialogue, foley, and score must be described in the prompt. `--no-generate-audio` strips that generated track from the delivered file; it does not skip audio generation. Frames snap to the `124 + n×17` grid (5.17-15.08 s). Standard, Balanced, LightX2V FL2VA Turbo, and FastH3 default to `1344x768`; Ref2VA Turbo defaults to `960x544`. Send no steps, guidance, scheduler, or negative prompt. Standard and Balanced accept no sampler override. LightX2V FL2VA H3 Turbo defaults to `er_sde` on Socket and permits explicit `euler`, `er_sde`, or `sa_solver` A/B variants; the CLI omits the sampler unless `--sampler` is passed. Ref2VA Turbo and FastH3 use Euler/simple only.
|
|
366
|
+
H3 r2v accepts up to **9 images** (`--ref` then repeatable `-c`), **3 videos** (repeat `--ref-video`), and **3 audio clips** (repeat `--ref-audio`), with **12 files total** and at least one visual reference (image or video); it is never inferred. A video can be the only visual input, while audio alone is invalid. Address references as `<Picture 1>`, `<Video 1>`, and `<Audio 1>` in per-type submission order, give every reference one job, and never use `--ref-end` for r2v. Reference videos must themselves be exactly 24 fps; normalize other rates without changing duration or audio timing before submission. H3 generates picture and **native 32 kHz stereo audio jointly** at fixed 24 fps, so dialogue, foley, and score must be described in the prompt. `--no-generate-audio` strips that generated track from the delivered file; it does not skip audio generation. Frames snap to the `124 + n×17` grid (5.17-15.08 s). Standard, Balanced, LightX2V FL2VA Turbo, and FastH3 default to `1344x768`; Ref2VA Turbo defaults to `960x544`. Send no steps, guidance, scheduler, or negative prompt. Standard and Balanced accept no sampler override. LightX2V FL2VA H3 Turbo defaults to `er_sde` on Socket and permits explicit `euler`, `er_sde`, or `sa_solver` A/B variants; the CLI omits the sampler unless `--sampler` is passed. Ref2VA Turbo and FastH3 use Euler/simple only. Every H3 tier delivers the 768p-class canvas it renders — do not claim 2K for them. 1080p and 2K are only FastH3 Two-Stage: `minimax-h3-fasth3-turbo-2stage` (infers the frame mode like `minimax-h3-fasth3-turbo`) or `minimax-h3-fasth3-t2v-turbo-2stage` / `minimax-h3-fasth3-i2v-turbo-2stage` / `minimax-h3-fasth3-flf2v-turbo-2stage` renders FastH3 on a half-size canvas and delivers exactly twice it with the same frames and audio. `--target-resolution` names the delivered size: `2K` (default) renders 1344x768 → 2688x1536, `1080` renders 960x544 → 1920x1088, `720` renders 672x384 → 1344x768, in the prompt's or reference's aspect; any other value is refused. 1080p costs 10 Spark per second (FastH3 plus 6), 2K costs 16 (plus 12), 720p costs the FastH3 rate of 4, and it has no R2V. Use it when the user asks for 1080p, 1440p or 2K, two-stage, or the sharpest H3 output; keep ordinary 768p on the regular FastH3 selectors. If the server is not serving two-stage it refuses before charging, and the CLI prints that message unchanged. FastH3 keeps the FastVideo engine when an H3 LoRA is attached: base jobs require 23 GB and jobs with an H3 LoRA require 32 GB. The other FL2VA/Balanced/Turbo modes and image-only R2V require 32 GB-class workers, while video-conditioned R2V is reserved for workers above 40 GB.
|
|
366
367
|
|
|
367
368
|
**Music-locked video is immutable.** When the user asks for the same/specific/original/trending song or choreography tied to it, never invent, imitate, recompose, remix, replace, or add a copyright-avoidance mutation. For H3 Ref2VA use `audio reuse`, `<Audio N>: fully_copy`, and explicit source action times; then stream-copy/remux the original soundtrack into the final deliverable. `audio reference` means a newly generated signal and is allowed only when explicitly requested. Ref2VA is loose conditioning: if edit-level choreography timing is mandatory, use a pose/edit-controlled workflow or stop before spending compute rather than promise exact sync.
|
|
368
369
|
|
|
@@ -372,7 +373,7 @@ H3 r2v accepts up to **9 images** (`--ref` then repeatable `-c`), **3 videos** (
|
|
|
372
373
|
|
|
373
374
|
For an H3 prompt-only request, the general prompt-authoring rule above requires returning only the applicable ordered-field contract. The fields themselves are the directly runnable deliverable; do not wrap them in commentary.
|
|
374
375
|
|
|
375
|
-
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
|
|
376
|
+
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 up to 1080p. When the user requests Seedance 2.5 at 1080p, keep `-m seedance2-5 --target-resolution 1080`, including its frame, reference, edit, and extend workflows. For "hd" / "1080p" requests with no model selected, 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" on LTX/WAN 2.2 without orientation, prefer `--target-resolution 768`; Seedance uses `720`.
|
|
376
377
|
|
|
377
378
|
### Video editing, stitching, 360 turnarounds
|
|
378
379
|
|
|
@@ -53,7 +53,7 @@ server so every relative import resolves after a standalone install.
|
|
|
53
53
|
|
|
54
54
|
## Install paths
|
|
55
55
|
|
|
56
|
-
1. `npx setup-sogni-agent-skill` writes a `claude_desktop_config.json` entry
|
|
56
|
+
1. `npx setup-sogni-agent-skill --version=latest` writes a `claude_desktop_config.json` entry
|
|
57
57
|
pointing at this server inside the global npm package (preferred).
|
|
58
58
|
2. The packed `.mcpb` is the manual drag-and-drop alternative
|
|
59
59
|
(Claude Desktop → Settings → Extensions).
|
|
@@ -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.49.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",
|
|
@@ -2499,9 +2499,9 @@ const PROMPT_CONTRACTS = [
|
|
|
2499
2499
|
},
|
|
2500
2500
|
{
|
|
2501
2501
|
"contractId": "animate_photo_v1",
|
|
2502
|
-
"version": "1.
|
|
2502
|
+
"version": "1.2.0",
|
|
2503
2503
|
"toolName": "animate_photo",
|
|
2504
|
-
"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.\nUse videoModel=\"wan3.0-video\" when the user explicitly requests Wan 3 first-frame or\nfirst-and-last-frame generation. Wan 3 accepts one start frame and at most one end frame,\nrenders 2-30 seconds at fixed 30 fps, and supports 480P/720P/1080P output with native audio.\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.",
|
|
2504
|
+
"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.\nUse videoModel=\"wan3.0-video\" when the user explicitly requests Wan 3 first-frame or\nfirst-and-last-frame generation. Wan 3 accepts one start frame and at most one end frame,\nrenders 2-30 seconds at fixed 30 fps, and supports 480P/720P/1080P output with native audio.\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.\n\nMINIMAX H3 TWO-STAGE OUTPUT: 1080p and 2K MiniMax H3 delivery is its own selector, not an option.\n\"minimax-h3-fasth3-i2v-turbo-2stage\" (first frame) and \"minimax-h3-fasth3-flf2v-turbo-2stage\"\n(first and last frame, frameRole=\"both\" with an end frame) are the two-stage FastH3 engine: FastH3\nrenders the canvas, then the worker enlarges it 2x and refines it, so the clip is delivered at\ntwice the canvas width and height with the same length and audio. targetResolution names the\ndelivered class: 1080 renders a 544px short-edge canvas (960x544 becomes 1920x1088) for 10 Spark\nper second, 1440 or omitted renders the 768p canvas for 2K (1344x768 becomes 2688x1536) for 16\nSpark per second, and 720 renders a 384px canvas (672x384 becomes 1344x768) for the regular\nFastH3 price of 4 Spark per second. The estimate prices every request. The source aspect is kept\n(a portrait source at 1080 renders 544x960 and is delivered at 1088x1920). They take the same\nprompt contract, durations and LoRAs as their FastH3 selectors. Choose them when the user asks for\n1080p, 1440p or 2K MiniMax H3 output, for two-stage output, or for the sharpest/best H3 quality;\nfor ordinary 768p FastH3 output keep the regular FastH3 selector at targetResolution 768. Never\nset 4K for H3.",
|
|
2505
2505
|
"parameterDocs": {
|
|
2506
2506
|
"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.",
|
|
2507
2507
|
"prompts": "Per-clip prompt array. Length MUST equal sourceImageIndices.length when both are set.",
|
|
@@ -2523,9 +2523,9 @@ const PROMPT_CONTRACTS = [
|
|
|
2523
2523
|
},
|
|
2524
2524
|
{
|
|
2525
2525
|
"contractId": "generate_video_v1",
|
|
2526
|
-
"version": "1.
|
|
2526
|
+
"version": "1.4.0",
|
|
2527
2527
|
"toolName": "generate_video",
|
|
2528
|
-
"baseDescription": "generate_video produces text-to-video clips and multimodal reference videos.\nUse for text-only video generation with no source image input. For Seedance and Wan 3, also\nuse this tool when uploaded/generated images, videos, or audio are loose references. Use\nanimate_photo when a source image must become the first frame of an LTX/WAN animation.\n\nWAN 3: Use videoModel=\"wan3.0-video\" for explicit Wan 3 requests. The same canonical model\nsupports text, up to 10 reference images, 5 reference videos, and 5 reference audios. Refer\nto loose assets in English prompts as Image 1, Video 1, and Audio 1, numbered independently\nby type. Do not bracket or @-prefix these identifiers. Wan 3 renders 2-30 seconds at fixed\n30 fps, offers 480P/720P/1080P and 16:9/4:3/1:1/3:4/9:16, and can toggle native audio.\n\nMINIMAX H3 SOURCE AUDIO: Every H3 R2V call with a reference video or audio must set\nsourceAudioPolicy. A specific/original/trending song is immutable: use reuse_exact, author\nthe official audio reuse task plus fully_copy, keep choreography on explicit source times,\nand stream-copy/remux the original soundtrack after rendering. Never substitute, recompose,\nremix, or add a copyright-avoidance mutation. H3 reference videos must themselves be exactly\n24 fps; normalize other rates without changing duration/audio timing before submission.\nRef2VA cannot guarantee edit-level beat sync.\n\nSEEDANCE UPLOADED STORYBOARD DEFAULT: When the user uploads a storyboard, shot sheet,\nmood board, or trailer concept image and asks to make a movie trailer/video/clip from it,\ndefault to one Seedance generate_video call with referenceImageIndices=[-1]. Do not first\nextract panels with edit_image, do not generate replacement keyframes, and do not make four\nseparate LTX animate_photo clips unless the user explicitly asks for separate clips or LTX.\nUse seedance2 when premium Spark access is available; if premium access is unavailable,\nexplain the limitation or use the best non-Seedance fallback the user accepts.\n\nEXACT / INCLUDED VIDEO PROMPTS: If the user asks for a Seedance video using uploaded or\ngenerated references and says to use a prompt exactly, pass only that literal quoted prompt\nto generate_video and set skipPromptProcessing=true plus expandPrompt=false. Do not treat\nwords inside the literal prompt, such as storyboard, script, thumbnails, or panels, as a\nrequest to create a storyboard image. If the user includes a timecoded script inside a\nvideo request, keep it in the generate_video prompt. Explicit constraints like no storyboard\npanels, no subtitles, or no captions are constraints on the video render, not instructions\nto call edit_image or generate_image.\n\nSTORYTELLING / COMMERCIAL / TRAILER PROMPTS: For creative video requests, turn the brief\ninto timed, causally connected visual beats before writing the final prompt. Default social\nvideo is 15s 9:16 with a strong first 1-2s, visible escalation, payoff, and brand/CTA/final\nimage. Commercials should show audience desire/problem, transformation, proof/benefit, and\nCTA. Trailers should follow hook → world → disruption → escalation → reveal → title/CTA.\nEvery beat must be generatable: subject, setting, action, camera, lighting, audio, and text\nrole where relevant. Avoid vague \"cinematic\" filler, feature dumps, and beautiful images with\nno visible change.\n\nVIDEO PROMPT QUOTING: ONLY use double quotes for spoken dialogue in video prompts. Never\nquote on-screen text, titles, captions, or visual text elements — describe them without\nquotes. Quotes signal speech to the model and confuse audio generation.\n\nSTORYBOARD TEXT: Structural headings, section numbers, slide titles, panel titles, and\ncaptions in storyboard references may become short audio-only narration/VO or\nkey-message beats, but they are not subtitles, title cards, lower thirds, or visible\noverlays unless the user explicitly asks for visible text, on-screen text, a title\ncard, subtitle, lower third, signage, or CTA. Keep narration as separate brief phrases\nwith pauses; do not concatenate storyboard labels into run-on voiceover.\n\nDIALOGUE DURATION: Spoken dialogue must fit the clip. Estimate 3 words per second\nnatural delivery plus ~1s per acting beat. Hard maximum 3.75 words/second.\nCheck: dialogue words ÷ 3 + beats ≤ duration. Do not submit oversized dialogue.\n\nLATEST USER DURATION WINS: In follow-up turns, use the newest duration the user states,\neven if a previous assistant message mentioned a longer script/runtime. For example, if\nhistory says \"the full script is 66 seconds\" but the user now says \"do a 30 second version\",\ngenerate the 30 second version. Do not ask a clarification question just because history\ncontains another duration; treat the latest user request as the override.\n\nSEEDANCE SHORT-DURATION LIMIT: Seedance supports 4-15s clips. If the user explicitly asks\nfor Seedance below 4s, do not silently round up. Ask whether they prefer a 4s Seedance clip\nor an exact-duration LTX clip. If the user did not explicitly ask for Seedance, choose the\nmodel/tool that can satisfy the requested duration exactly.",
|
|
2528
|
+
"baseDescription": "generate_video produces text-to-video clips and multimodal reference videos.\nUse for text-only video generation with no source image input. For Seedance and Wan 3, also\nuse this tool when uploaded/generated images, videos, or audio are loose references. Use\nanimate_photo when a source image must become the first frame of an LTX/WAN animation.\n\nWAN 3: Use videoModel=\"wan3.0-video\" for explicit Wan 3 requests. The same canonical model\nsupports text, up to 10 reference images, 5 reference videos, and 5 reference audios. Refer\nto loose assets in English prompts as Image 1, Video 1, and Audio 1, numbered independently\nby type. Do not bracket or @-prefix these identifiers. Wan 3 renders 2-30 seconds at fixed\n30 fps, offers 480P/720P/1080P and 16:9/4:3/1:1/3:4/9:16, and can toggle native audio.\n\nMINIMAX H3 SOURCE AUDIO: Every H3 R2V call with a reference video or audio must set\nsourceAudioPolicy. A specific/original/trending song is immutable: use reuse_exact, author\nthe official audio reuse task plus fully_copy, keep choreography on explicit source times,\nand stream-copy/remux the original soundtrack after rendering. Never substitute, recompose,\nremix, or add a copyright-avoidance mutation. H3 reference videos must themselves be exactly\n24 fps; normalize other rates without changing duration/audio timing before submission.\nRef2VA cannot guarantee edit-level beat sync.\n\nSEEDANCE UPLOADED STORYBOARD DEFAULT: When the user uploads a storyboard, shot sheet,\nmood board, or trailer concept image and asks to make a movie trailer/video/clip from it,\ndefault to one Seedance generate_video call with referenceImageIndices=[-1]. Do not first\nextract panels with edit_image, do not generate replacement keyframes, and do not make four\nseparate LTX animate_photo clips unless the user explicitly asks for separate clips or LTX.\nUse seedance2 when premium Spark access is available; if premium access is unavailable,\nexplain the limitation or use the best non-Seedance fallback the user accepts.\n\nEXACT / INCLUDED VIDEO PROMPTS: If the user asks for a Seedance video using uploaded or\ngenerated references and says to use a prompt exactly, pass only that literal quoted prompt\nto generate_video and set skipPromptProcessing=true plus expandPrompt=false. Do not treat\nwords inside the literal prompt, such as storyboard, script, thumbnails, or panels, as a\nrequest to create a storyboard image. If the user includes a timecoded script inside a\nvideo request, keep it in the generate_video prompt. Explicit constraints like no storyboard\npanels, no subtitles, or no captions are constraints on the video render, not instructions\nto call edit_image or generate_image.\n\nSTORYTELLING / COMMERCIAL / TRAILER PROMPTS: For creative video requests, turn the brief\ninto timed, causally connected visual beats before writing the final prompt. Default social\nvideo is 15s 9:16 with a strong first 1-2s, visible escalation, payoff, and brand/CTA/final\nimage. Commercials should show audience desire/problem, transformation, proof/benefit, and\nCTA. Trailers should follow hook → world → disruption → escalation → reveal → title/CTA.\nEvery beat must be generatable: subject, setting, action, camera, lighting, audio, and text\nrole where relevant. Avoid vague \"cinematic\" filler, feature dumps, and beautiful images with\nno visible change.\n\nVIDEO PROMPT QUOTING: ONLY use double quotes for spoken dialogue in video prompts. Never\nquote on-screen text, titles, captions, or visual text elements — describe them without\nquotes. Quotes signal speech to the model and confuse audio generation.\n\nSTORYBOARD TEXT: Structural headings, section numbers, slide titles, panel titles, and\ncaptions in storyboard references may become short audio-only narration/VO or\nkey-message beats, but they are not subtitles, title cards, lower thirds, or visible\noverlays unless the user explicitly asks for visible text, on-screen text, a title\ncard, subtitle, lower third, signage, or CTA. Keep narration as separate brief phrases\nwith pauses; do not concatenate storyboard labels into run-on voiceover.\n\nDIALOGUE DURATION: Spoken dialogue must fit the clip. Estimate 3 words per second\nnatural delivery plus ~1s per acting beat. Hard maximum 3.75 words/second.\nCheck: dialogue words ÷ 3 + beats ≤ duration. Do not submit oversized dialogue.\n\nLATEST USER DURATION WINS: In follow-up turns, use the newest duration the user states,\neven if a previous assistant message mentioned a longer script/runtime. For example, if\nhistory says \"the full script is 66 seconds\" but the user now says \"do a 30 second version\",\ngenerate the 30 second version. Do not ask a clarification question just because history\ncontains another duration; treat the latest user request as the override.\n\nSEEDANCE SHORT-DURATION LIMIT: Seedance supports 4-15s clips. If the user explicitly asks\nfor Seedance below 4s, do not silently round up. Ask whether they prefer a 4s Seedance clip\nor an exact-duration LTX clip. If the user did not explicitly ask for Seedance, choose the\nmodel/tool that can satisfy the requested duration exactly.\n\nMINIMAX H3 TWO-STAGE OUTPUT: 1080p and 2K MiniMax H3 delivery is its own selector, not an option.\n\"minimax-h3-fasth3-t2v-turbo-2stage\" is the two-stage FastH3 engine: FastH3 renders the canvas,\nthen the worker enlarges it 2x and refines it, so the clip is delivered at twice the canvas width\nand height with the same length and audio. targetResolution names the delivered class: 1080\nrenders a 544px short-edge canvas (960x544 becomes 1920x1088) for 10 Spark per second, 1440 or\nomitted renders the 768p canvas for 2K (1344x768 becomes 2688x1536) for 16 Spark per second, and\n720 renders a 384px canvas (672x384 becomes 1344x768) for the regular FastH3 price of 4\nSpark per second. The estimate prices every request. It takes the same prompt contract, durations\nand LoRAs as \"minimax-h3-fasth3-t2v-turbo\". Choose it when the user asks for 1080p, 1440p or 2K\nMiniMax H3 output, for two-stage output, or for the sharpest/best H3 quality; for ordinary 768p\nFastH3 output keep the regular FastH3 selector at targetResolution 768. Never set 4K for H3.",
|
|
2529
2529
|
"parameterDocs": {
|
|
2530
2530
|
"prompt": "Video prompt. Use double quotes ONLY for spoken dialogue. Describe visual text without quotes.",
|
|
2531
2531
|
"duration": "Clip duration in seconds. Plan dialogue word count against the 3.75 words/second ceiling."
|
|
@@ -2658,7 +2658,7 @@ const PROMPT_CONTRACTS = [
|
|
|
2658
2658
|
"parameterDocs": {
|
|
2659
2659
|
"prompt": "The literal words to speak, verbatim. Not a description of the audio.",
|
|
2660
2660
|
"voiceDescription": "Delivery direction for model=\"voice\"; the speaker to invent for model=\"design\". Never sent with model=\"clone\".",
|
|
2661
|
-
"voiceSourceIndex": "
|
|
2661
|
+
"voiceSourceIndex": "Which audio holds the voice to clone, same numbering as other tools use for audio: -1 is the first upload, -2 the second, and 0-based non-negative indices address audio generated earlier. Required for model=\"clone\".",
|
|
2662
2662
|
"voiceTranscript": "What the uploaded clip says. Optional, but it makes the clone markedly closer to the source."
|
|
2663
2663
|
}
|
|
2664
2664
|
},
|
package/llm.txt
CHANGED
|
@@ -4,16 +4,28 @@ Agent skill and CLI for Sogni AI image, video, and music generation. Works as
|
|
|
4
4
|
a skill source for Claude Code, OpenAI Codex CLI, Goose, Hermes Agent, OpenClaw,
|
|
5
5
|
Manus AI, and other SKILL.md-aware agent runtimes.
|
|
6
6
|
|
|
7
|
+
Current capabilities and limits: read `references/models.md` before answering
|
|
8
|
+
model-selection questions. Seedance 2.5 supports 1080p with
|
|
9
|
+
`--video -m seedance2-5 --target-resolution 1080`, 4–30s clips, MOV export,
|
|
10
|
+
and optional last-frame images. Other recent additions include FastH3
|
|
11
|
+
Two-Stage delivered 720p/1080p/2K, GPT Image 2.5 Sunburst/Flare, SAM 3 object
|
|
12
|
+
masks, and promptless FlashVSR video upscaling to 1080p/1440p.
|
|
13
|
+
Direct CLI: Pixal3D uses `--image-to-3d original.png -o object.glb`; BiRefNet
|
|
14
|
+
uses `--remove-background original.png -o cutout.png` (add `--matte` for a mask).
|
|
15
|
+
MiniMax Music 3 uses `--music -m music3`; Qwen3-TTS uses `--speech` with
|
|
16
|
+
`--speech-mode voice|clone|design`. Read the model reference for required inputs,
|
|
17
|
+
allowed controls, and hosted alternatives.
|
|
18
|
+
|
|
7
19
|
## Install (pick the integration that matches your environment)
|
|
8
20
|
|
|
9
21
|
```bash
|
|
10
22
|
# One-command install: detects Claude Code, Codex CLI, and Hermes; installs the
|
|
11
23
|
# CLI globally; prompts for the API key; points to ChatGPT Custom-GPT setup.
|
|
12
24
|
# (Does NOT configure OpenClaw — see below.)
|
|
13
|
-
npx setup-sogni-agent-skill
|
|
25
|
+
npx setup-sogni-agent-skill --version=latest
|
|
14
26
|
|
|
15
27
|
# Print ChatGPT Custom-GPT instructions explicitly.
|
|
16
|
-
npx setup-sogni-agent-skill --only=chatgpt
|
|
28
|
+
npx setup-sogni-agent-skill --only=chatgpt --version=latest
|
|
17
29
|
|
|
18
30
|
# Agent-safe manual CLI install or upgrade
|
|
19
31
|
npm install -g @sogni-ai/sogni-creative-agent-skill@latest
|
|
@@ -27,11 +39,11 @@ sogni-agent --version
|
|
|
27
39
|
# from the npx installer — not both.
|
|
28
40
|
|
|
29
41
|
# OpenAI Codex CLI (start Codex once first so ~/.codex/ exists)
|
|
30
|
-
npx setup-sogni-agent-skill --only=codex
|
|
42
|
+
npx setup-sogni-agent-skill --version=latest --only=codex
|
|
31
43
|
|
|
32
44
|
# Hermes Agent (start Hermes once first so ~/.hermes/ exists), then /reset the
|
|
33
45
|
# Hermes session
|
|
34
|
-
npx setup-sogni-agent-skill --only=hermes
|
|
46
|
+
npx setup-sogni-agent-skill --version=latest --only=hermes
|
|
35
47
|
|
|
36
48
|
# Hermes Skills Hub (install the narrow skill bundle plus the global CLI), then
|
|
37
49
|
# /reset the Hermes session
|