@sogni-ai/sogni-creative-agent-skill 3.40.1 → 3.42.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 +4 -1
- package/.agents/skills/sogni-creative-agent-skill/references/hosted-api.md +11 -2
- package/.agents/skills/sogni-creative-agent-skill/references/models.md +21 -0
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +24 -0
- package/README.md +29 -3
- package/SKILL.md +13 -3
- package/attribution.mjs +3 -0
- package/desktop-extension/README.md +14 -5
- package/desktop-extension/manifest.json +1 -1
- package/desktop-extension/server/index.mjs +0 -0
- package/desktop-extension/server/resolve.mjs +10 -2
- package/generated/creative-agent-runtime.mjs +132 -3
- package/host-launchers/goose.mjs +4 -0
- package/llm.txt +10 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +8 -5
- package/references/hosted-api.md +11 -2
- package/references/models.md +21 -0
- package/scripts/build-mcpb.mjs +44 -0
- package/skill-package.json +1 -1
- package/skills/README.md +1 -1
- package/skills/video_editing.md +4 -1
- package/sogni-agent.mjs +290 -9
- package/version.mjs +1 -1
|
@@ -3,7 +3,7 @@ name: sogni-creative-agent-skill
|
|
|
3
3
|
description: "Generate and edit images, upscale images, create video and music, animate image folders into seamless reels, and manage reusable personas with Sogni AI. Use when a Hermes user asks to draw, render, upscale, edit or restyle an image, animate an image, make a video, create music or lyrics, build a media workflow, apply a saved identity, or refine an earlier Sogni result."
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
version: "3.
|
|
6
|
+
version: "3.42.0"
|
|
7
7
|
author: Sogni AI
|
|
8
8
|
hermes:
|
|
9
9
|
category: creative
|
|
@@ -80,6 +80,9 @@ sogni-agent-hermes -c ./source.png -o ./edited.png "make it night; add fireflies
|
|
|
80
80
|
# Promptless RTX VSR upscale
|
|
81
81
|
sogni-agent-hermes --upscale ./source.png -o ./upscaled.png
|
|
82
82
|
|
|
83
|
+
# Promptless FlashVSR video upscale to 1440p (or --upscale-resolution 1080)
|
|
84
|
+
sogni-agent-hermes --upscale-video ./clip.mp4 -o ./clip-1440p.mp4
|
|
85
|
+
|
|
83
86
|
# Generate or animate video
|
|
84
87
|
sogni-agent-hermes --video -o ./video.mp4 "a paper dragon takes flight"
|
|
85
88
|
sogni-agent-hermes --video --ref ./start.png -o ./animated.mp4 "slow camera push-in"
|
|
@@ -61,7 +61,8 @@ whenever latency or cost rules out an LLM round-trip.
|
|
|
61
61
|
- Preserve exact image prompts, visible lettering, chosen models, source
|
|
62
62
|
selection, aspect ratio, and the latest requested duration. New tasks do not
|
|
63
63
|
inherit settings from unrelated previous renders. A pure size increase uses
|
|
64
|
-
`upscale_image
|
|
64
|
+
`upscale_image` for images and `upscale_video` for videos; editing requires
|
|
65
|
+
an actual source reference.
|
|
65
66
|
- Separate image variations need `numberOfVariations` and a complete Dynamic
|
|
66
67
|
Prompt branch per output. Repeat shared text, branding, dialogue, and loop
|
|
67
68
|
motion in every affected branch. A single storyboard sheet instead needs all
|
|
@@ -123,7 +124,7 @@ requests keep their existing timeouts.
|
|
|
123
124
|
|
|
124
125
|
- `creative-tools` — the public API default when `sogni_tools` is omitted or
|
|
125
126
|
true. Generation/editing tools (`generate_image`, `generate_video`,
|
|
126
|
-
`generate_music`, `generate_speech`, `edit_image`, `upscale_image`, `apply_style`, `restore_photo`,
|
|
127
|
+
`generate_music`, `generate_speech`, `edit_image`, `upscale_image`, `upscale_video`, `apply_style`, `restore_photo`,
|
|
127
128
|
`refine_result`, `animate_photo`, `change_angle`, `video_to_video`,
|
|
128
129
|
`stitch_video`, `orbit_video`, `dance_montage`, `sound_to_video`,
|
|
129
130
|
`extend_video`, `replace_video_segment`, `overlay_video`, `add_subtitles`),
|
|
@@ -147,6 +148,14 @@ either `scale: 2|3|4` or `targetLongestEdge`. Use `7680` for 8K or `15360` for
|
|
|
147
148
|
16K. The promptless NVIDIA RTX VSR path preserves the source aspect ratio,
|
|
148
149
|
aligns both output edges to 8px, and returns JPG when the target exceeds 8K.
|
|
149
150
|
|
|
151
|
+
For a pure resolution increase of a video, call `upscale_video` with
|
|
152
|
+
`sourceVideoIndex` (generated results are 0-based; -1 is the first upload) and
|
|
153
|
+
an optional `targetResolution` of 1080 or 1440. The promptless FlashVSR path
|
|
154
|
+
keeps every frame, the frame rate, the aspect ratio, and the audio; the server
|
|
155
|
+
reads the source metadata itself, so the model never supplies frames or fps.
|
|
156
|
+
It cannot produce 4K, and it is not a substitute for `video_to_video` when the
|
|
157
|
+
user asks a generative model such as Seedance to re-render the clip.
|
|
158
|
+
|
|
150
159
|
## --durable-chat (`POST /v1/chat/runs`)
|
|
151
160
|
|
|
152
161
|
Long-running, LLM-in-the-loop turns persisted as chat-run records instead of a
|
|
@@ -73,6 +73,27 @@ fits the result inside the requested box without cropping or stretching. Both
|
|
|
73
73
|
16K; targets above 7680px return JPG. If a scale leaves the short edge below
|
|
74
74
|
512px, use the minimum target longest edge reported by the CLI/tool.
|
|
75
75
|
|
|
76
|
+
### Video upscaling
|
|
77
|
+
|
|
78
|
+
| Model | Kind | Use Case |
|
|
79
|
+
|-------|------|----------|
|
|
80
|
+
| `flashvsr_v1.1_tiny_long_bf16` | Video job | Promptless FlashVSR v1.1 upscale of one finished video to 1080p or 1440p |
|
|
81
|
+
|
|
82
|
+
FlashVSR is not a generation model. Invoke it with
|
|
83
|
+
`sogni-agent --upscale-video <path|url>` (optionally
|
|
84
|
+
`--upscale-resolution 1080|1440`), or use the hosted `upscale_video` tool with
|
|
85
|
+
`sourceVideoIndex` and an optional `targetResolution`. The output short edge
|
|
86
|
+
becomes 1080 or 1440 (default 1440; 1080 when the source is below 720p) while
|
|
87
|
+
the aspect ratio, every frame, the exact frame rate, and the original audio are
|
|
88
|
+
kept; nothing is trimmed, cropped, restyled, or interpolated. Sources must be
|
|
89
|
+
at most 768px on the short edge and about 1344x768 pixels overall (768x1344 in
|
|
90
|
+
portrait), 1-60 fps,
|
|
91
|
+
SDR with square pixels, and 100 MB or less; 1440p needs a source short edge of
|
|
92
|
+
at least 720px and 1080p at least 540px. 4K is not available. The direct CLI
|
|
93
|
+
reads the exact frame count and rate with a local ffprobe. The server sets the
|
|
94
|
+
maximum clip length; do not quote a fixed limit. Relay a server rejection if
|
|
95
|
+
the source is too long, without trimming it or switching to a generative tool.
|
|
96
|
+
|
|
76
97
|
For Krea 2 Turbo, hosted/chat planning may use the creative-agent selector
|
|
77
98
|
`krea-2-turbo`; direct CLI `-m` uses the worker model ID
|
|
78
99
|
`krea2_turbo_fp8_scaled`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sogni-creative-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.42.0",
|
|
4
4
|
"description": "Sogni Creative Agent: image, video, and music generation via Sogni AI's decentralized GPU network. Supports personas, persistent memories, style transfer, and multi-step creative workflows.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Sogni AI",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## [3.42.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.41.0...v3.42.0) (2026-09-10)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* Add a Goose host launcher and document skill and MCP extension installation.
|
|
6
|
+
* Publish `sogni-agent-mcp` as a standalone command that uses the CLI bundled in the same npm package, with a global-install fallback for desktop extension bundles.
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* Include the shared attribution and version modules in the standalone Claude Desktop bundle, with a startup check that runs outside the repository.
|
|
11
|
+
* Align the public runtime dependencies with Intelligence Client 3.29.1 and Sogni Client 5.39.1.
|
|
12
|
+
* Let the server decide FlashVSR's maximum clip length, preserving the exact source timing and relaying any length rejection to the user.
|
|
13
|
+
|
|
14
|
+
## [3.41.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.40.1...v3.41.0) (2026-09-10)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* Add `--upscale-video <path|url>` with `--upscale-resolution 1080|1440` for promptless FlashVSR v1.1 video upscaling. The CLI reads the source's exact size, frame count and frame rate with local ffprobe, checks the public limits (short edge up to 768px and area up to about 1344x768, 1-362 frames and about 15 seconds, 1-60 fps, SDR with square pixels, 100 MB), and saves the MP4 with the original audio. Prompts, more than one output, timing or size overrides, and other media are rejected.
|
|
19
|
+
* Route pure video upscales to `--upscale-video` or the hosted `upscale_video` tool rather than `video_to_video`, and carry the `upscale_video` contracts in the public runtime.
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* Align the public runtime dependencies with Intelligence Client 3.29.0 and Sogni Client 5.38.0.
|
|
24
|
+
|
|
1
25
|
## [3.40.1](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.40.0...v3.40.1) (2026-09-10)
|
|
2
26
|
|
|
3
27
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
-
**Sogni Creative Agent Skill** plugs into the agent runtime you already use — Claude Code, [OpenClaw](https://github.com/OpenClaw/OpenClaw), [Hermes Agent](https://hermes-agent.nousresearch.com/), [Manus AI](https://manus.im), and others — and gives it production-quality image, video, and music generation through a single CLI: `sogni-agent`.
|
|
18
|
+
**Sogni Creative Agent Skill** plugs into the agent runtime you already use — Claude Code, [goose](https://goose-docs.ai/), [OpenClaw](https://github.com/OpenClaw/OpenClaw), [Hermes Agent](https://hermes-agent.nousresearch.com/), [Manus AI](https://manus.im), and others — and gives it production-quality image, video, and music generation through a single CLI: `sogni-agent`.
|
|
19
19
|
|
|
20
|
-
It ships
|
|
20
|
+
It ships four ways:
|
|
21
21
|
|
|
22
22
|
- a standalone Node.js CLI (`sogni-agent`)
|
|
23
23
|
- a skill source that any [`SKILL.md`](./SKILL.md)-aware agent can load
|
|
24
|
+
- a local MCP stdio server (`sogni-agent-mcp`) for goose, Claude Desktop, Codex, and other MCP clients
|
|
24
25
|
- a published [OpenClaw](https://github.com/OpenClaw/OpenClaw) plugin
|
|
25
26
|
|
|
26
27
|
With this skill, an agent can:
|
|
@@ -46,6 +47,7 @@ With this skill, an agent can:
|
|
|
46
47
|
- [Claude Code plugin](#claude-code-plugin)
|
|
47
48
|
- [OpenAI Codex CLI](#openai-codex-cli)
|
|
48
49
|
- [Hermes Agent](#hermes-agent)
|
|
50
|
+
- [goose](#goose)
|
|
49
51
|
- [OpenClaw plugin](#openclaw-plugin)
|
|
50
52
|
- [ChatGPT (Custom GPT)](#chatgpt-custom-gpt)
|
|
51
53
|
- [Manus / other SKILL.md frameworks](#manus--other-skillmd-frameworks)
|
|
@@ -209,6 +211,28 @@ npx setup-sogni-agent-skill --only=hermes
|
|
|
209
211
|
Start Hermes once before running the installer so `~/.hermes/` exists. If the
|
|
210
212
|
selected local runtime is not detected, setup exits before installing anything.
|
|
211
213
|
|
|
214
|
+
### goose
|
|
215
|
+
|
|
216
|
+
[goose](https://goose-docs.ai/) supports both Agent Skills and MCP extensions. Pick one integration per installation so goose does not receive duplicate Sogni instructions and tools.
|
|
217
|
+
|
|
218
|
+
To install the skill globally:
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
npx skills add Sogni-AI/sogni-creative-agent-skill --global --agent goose --skill sogni-creative-agent-skill --yes
|
|
222
|
+
npm install -g @sogni-ai/sogni-creative-agent-skill@latest
|
|
223
|
+
sogni-agent-goose doctor
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
The skill is discovered from goose's global skill directories and uses the `sogni-agent-goose` launcher for host attribution.
|
|
227
|
+
|
|
228
|
+
To run the MCP extension directly instead:
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
goose session --with-extension "npx -y --package @sogni-ai/sogni-creative-agent-skill@latest sogni-agent-mcp"
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
The same command can be added permanently from `goose configure` as a Command-line Extension. Once the public listing is accepted, it can also be installed from the [goose Extensions directory](https://goose-docs.ai/extensions/). The MCP package is self-contained; it reads `SOGNI_API_KEY` from the extension environment or the existing `~/.config/sogni/credentials` file.
|
|
235
|
+
|
|
212
236
|
### OpenClaw plugin
|
|
213
237
|
|
|
214
238
|
The skill is published on ClawHub, so the simplest install is:
|
|
@@ -278,12 +302,13 @@ The package installs one launcher shim per host alongside `sogni-agent`. Each sh
|
|
|
278
302
|
| Host | Command | Reported framework |
|
|
279
303
|
| --- | --- | --- |
|
|
280
304
|
| Hermes | `sogni-agent-hermes` | `hermes-agent` |
|
|
305
|
+
| goose | `sogni-agent-goose` | `goose` |
|
|
281
306
|
| OpenAI Codex CLI | `sogni-agent-codex` | `codex` |
|
|
282
307
|
| Claude Code | `sogni-agent-claude-code` | `claude-code` |
|
|
283
308
|
| OpenClaw | `sogni-agent` | `openclaw` (detected from `OPENCLAW_PLUGIN_CONFIG`) |
|
|
284
309
|
| Anything else | `sogni-agent` | `unknown` |
|
|
285
310
|
|
|
286
|
-
The Claude Code and Codex plugin surfaces already pin their launcher, and OpenClaw is detected automatically
|
|
311
|
+
The Claude Code and Codex plugin surfaces already pin their launcher, and OpenClaw is detected automatically. Goose and Hermes skill installs should use their matching launchers wherever the docs say `sogni-agent`. Everything works normally through bare `sogni-agent` — the render is just attributed to `unknown`. Falling back to `sogni-agent` is always safe if a shim is not on `PATH`.
|
|
287
312
|
|
|
288
313
|
### Verify your install
|
|
289
314
|
|
|
@@ -644,6 +669,7 @@ Prefer `-Q fast|hq|pro` for images and automatic workflow routing for video. Pas
|
|
|
644
669
|
| Highest-quality images | `qwen_image_2512_fp8` (or `-Q pro`) |
|
|
645
670
|
| Image editing | `qwen_image_edit_2511_fp8_lightning` |
|
|
646
671
|
| Deterministic image upscaling through 16K | `rtx_vsr_pro` via `--upscale` |
|
|
672
|
+
| Promptless video upscaling to 1080p/1440p | `flashvsr_v1.1_tiny_long_bf16` via `--upscale-video` |
|
|
647
673
|
| Dark Beast Krea 2 images | `dark_beast_krea2_fp8` |
|
|
648
674
|
| Identity-preserving Krea image edits | `krea2_identity_edit_v1_2` |
|
|
649
675
|
| Uncensored identity-preserving Krea edits | `dark_beast_krea2_identity_edit_v1_2` |
|
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 promptless RTX VSR image upscaling through 16K, 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\", \"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 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.42.0"
|
|
6
6
|
homepage: https://sogni.ai
|
|
7
7
|
openclaw:
|
|
8
8
|
emoji: "🎨"
|
|
@@ -40,7 +40,9 @@ 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 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` auto-detects Claude Code, Codex CLI, and Hermes (it does not configure Goose or OpenClaw).
|
|
44
|
+
|
|
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.
|
|
44
46
|
|
|
45
47
|
After any install or upgrade, verify with:
|
|
46
48
|
|
|
@@ -59,6 +61,7 @@ Always invoke the globally installed `sogni-agent` command. Do not call `node {{
|
|
|
59
61
|
| Host | Command |
|
|
60
62
|
| --- | --- |
|
|
61
63
|
| Hermes | `sogni-agent-hermes` |
|
|
64
|
+
| Goose | `sogni-agent-goose` |
|
|
62
65
|
| Codex CLI | `sogni-agent-codex` |
|
|
63
66
|
| Claude Code | `sogni-agent-claude-code` |
|
|
64
67
|
| OpenClaw | `sogni-agent` (detected automatically from `OPENCLAW_PLUGIN_CONFIG`) |
|
|
@@ -173,6 +176,10 @@ sogni-agent -q --upscale /path/to/input.jpg --target-longest-edge 4096 -o ./upsc
|
|
|
173
176
|
sogni-agent -q --upscale /path/to/input.jpg --target-longest-edge 7680 -o ./upscaled-8k.png
|
|
174
177
|
sogni-agent -q --upscale /path/to/input.jpg --target-longest-edge 15360 -o ./upscaled-16k.jpg
|
|
175
178
|
|
|
179
|
+
# FlashVSR video upscale (promptless; 1440p by default, 1080p below 720p sources; keeps every frame, fps, audio)
|
|
180
|
+
sogni-agent -q --upscale-video /path/to/clip.mp4 -o ./clip-1440p.mp4
|
|
181
|
+
sogni-agent -q --upscale-video /path/to/clip.mp4 --upscale-resolution 1080 -o ./clip-1080p.mp4
|
|
182
|
+
|
|
176
183
|
# Photobooth (face transfer — new portrait from a face photo)
|
|
177
184
|
sogni-agent -q --photobooth --ref /path/to/face.jpg -o ./stylized.png "80s fashion portrait"
|
|
178
185
|
|
|
@@ -274,6 +281,8 @@ sogni-agent doctor --json
|
|
|
274
281
|
| `--upscale <path\|url>` | Promptless deterministic RTX VSR upscale | - |
|
|
275
282
|
| `--upscale-scale 2\|3\|4` | Upscale factor when no explicit target is supplied | 2 |
|
|
276
283
|
| `--target-longest-edge <px>` | RTX VSR target longest edge, preserving aspect ratio | 512–15360 box |
|
|
284
|
+
| `--upscale-video <path\|url>` | Promptless FlashVSR video upscale (needs local ffprobe) | - |
|
|
285
|
+
| `--upscale-resolution 1080\|1440` | FlashVSR output short edge | 1440 (1080 below 720p) |
|
|
277
286
|
| `-m <id>` | Explicit model | `z_image_turbo_bf16` |
|
|
278
287
|
| `-w` / `-h` | Width / height | 512×512 |
|
|
279
288
|
| `-n <num>` | Output count (`{a\|b\|c}` prompt variations cycle); capped at 16, raise with `SOGNI_MAX_COUNT` | 1 |
|
|
@@ -309,6 +318,7 @@ sogni-agent doctor --json
|
|
|
309
318
|
### Upscaling vs. generative editing
|
|
310
319
|
|
|
311
320
|
- For a pure resolution increase that must preserve the source composition, use `--upscale` in direct CLI mode or `upscale_image` on hosted tool surfaces. RTX VSR is deterministic and promptless: never invent a prompt, and never route this request through `restore_photo`, `refine_result`, or `edit_image`.
|
|
321
|
+
- For a pure resolution increase of an existing video (upscale, sharpen, HD/1080p/1440p/2K copy), use `--upscale-video` in direct CLI mode or `upscale_video` on hosted tool surfaces. FlashVSR is promptless and keeps every frame, the frame rate, the aspect ratio, and the audio. Never route it through `video_to_video` or `generate_video` unless the user names a generative model such as Seedance for a re-render. Output is 1080p or 1440p only — say so if the user asks for 4K. Sources must be ≤768px on the short edge (1440p needs ≥720px, 1080p ≥540px) and at most about 1344×768 pixels (768×1344 portrait), 1–60 fps, and ≤100 MB. The server sets the maximum clip length; relay its error if a source is too long, without quoting a fixed limit.
|
|
312
322
|
- `--upscale-scale` accepts 2, 3, or 4; `--target-longest-edge` overrides it. The CLI derives an aspect-preserving target box and aligns both edges to the worker's 8-pixel step. Both output edges must remain within 512–15360px. Targets above 7680px use JPG so 16K results remain practical to transfer and display. If a scale would make the short edge smaller than 512px, the CLI reports the minimum valid `--target-longest-edge` instead of stretching the image; aspect ratios that cannot fit the box are rejected.
|
|
313
323
|
|
|
314
324
|
### Segmentation and 3D reconstruction
|
package/attribution.mjs
CHANGED
|
@@ -12,6 +12,9 @@ const FRAMEWORK_ALIASES = new Map([
|
|
|
12
12
|
['claude-ai', 'claude-desktop'],
|
|
13
13
|
['hermes', 'hermes-agent'],
|
|
14
14
|
['hermes-agent', 'hermes-agent'],
|
|
15
|
+
['goose', 'goose'],
|
|
16
|
+
['goose-cli', 'goose'],
|
|
17
|
+
['goose-desktop', 'goose'],
|
|
15
18
|
['openclaw', 'openclaw'],
|
|
16
19
|
['clawdbot', 'openclaw'],
|
|
17
20
|
]);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
# Sogni Creative Agent —
|
|
1
|
+
# Sogni Creative Agent — MCP extension
|
|
2
2
|
|
|
3
|
-
A dependency-free MCP stdio server that wraps the
|
|
4
|
-
|
|
3
|
+
A dependency-free MCP stdio server that wraps the `sogni-agent` CLI bundled in
|
|
4
|
+
the same npm package, with global-install fallback for standalone MCPB installs.
|
|
5
|
+
`manifest.json` follows the MCPB spec (v0.3).
|
|
5
6
|
|
|
6
7
|
## Layout
|
|
7
8
|
|
|
@@ -46,6 +47,10 @@ The text block always keeps the full-resolution URL / saved path. Set
|
|
|
46
47
|
|
|
47
48
|
npm run build:mcpb # → dist/sogni-creative-agent.mcpb
|
|
48
49
|
|
|
50
|
+
The bundle preserves `desktop-extension/server/` and includes the shared
|
|
51
|
+
attribution and version modules. Its root manifest points to that nested
|
|
52
|
+
server so every relative import resolves after a standalone install.
|
|
53
|
+
|
|
49
54
|
## Install paths
|
|
50
55
|
|
|
51
56
|
1. `npx setup-sogni-agent-skill` writes a `claude_desktop_config.json` entry
|
|
@@ -55,9 +60,13 @@ The text block always keeps the full-resolution URL / saved path. Set
|
|
|
55
60
|
3. OpenAI Codex uses the same server:
|
|
56
61
|
`codex mcp add sogni-creative-agent -- node <abs path to server/index.mjs>`
|
|
57
62
|
(the Codex CLI and IDE extension read `~/.codex/config.toml`).
|
|
63
|
+
4. goose can launch the published server directly:
|
|
64
|
+
`goose session --with-extension "npx -y --package @sogni-ai/sogni-creative-agent-skill@latest sogni-agent-mcp"`.
|
|
58
65
|
|
|
59
|
-
The
|
|
60
|
-
|
|
66
|
+
The packaged `sogni-agent-mcp` command runs the CLI bundled beside it. MCPB
|
|
67
|
+
installs do not contain that sibling CLI, so they fall back to the global
|
|
68
|
+
installation (`npm i -g @sogni-ai/sogni-creative-agent-skill`); when missing,
|
|
69
|
+
every tool returns a setup hint.
|
|
61
70
|
|
|
62
71
|
## Testing
|
|
63
72
|
|
|
@@ -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.42.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",
|
|
File without changes
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
import { existsSync, readdirSync } from 'node:fs';
|
|
6
6
|
import { homedir } from 'node:os';
|
|
7
7
|
import { delimiter, dirname, join } from 'node:path';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
8
9
|
|
|
9
10
|
const PKG_REL = join('@sogni-ai', 'sogni-creative-agent-skill');
|
|
11
|
+
const BUNDLED_AGENT_PATH = fileURLToPath(new URL('../../sogni-agent.mjs', import.meta.url));
|
|
10
12
|
|
|
11
13
|
// System-wide npm global roots. Injectable (`roots`) so tests on machines that
|
|
12
14
|
// really have the skill installed globally can sandbox resolution.
|
|
@@ -30,17 +32,23 @@ function nvmCandidates(home) {
|
|
|
30
32
|
.map((v) => join(base, v, 'lib', 'node_modules', PKG_REL, 'sogni-agent.mjs'));
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
export function resolveAgentPath({
|
|
35
|
+
export function resolveAgentPath({
|
|
36
|
+
env = process.env,
|
|
37
|
+
home = homedir(),
|
|
38
|
+
roots = DEFAULT_GLOBAL_ROOTS,
|
|
39
|
+
bundledAgentPath = BUNDLED_AGENT_PATH,
|
|
40
|
+
} = {}) {
|
|
34
41
|
if (env.SOGNI_AGENT_PATH) {
|
|
35
42
|
return existsSync(env.SOGNI_AGENT_PATH) ? env.SOGNI_AGENT_PATH : null;
|
|
36
43
|
}
|
|
37
44
|
const candidates = [
|
|
45
|
+
bundledAgentPath,
|
|
38
46
|
...roots.map((root) => join(root, PKG_REL, 'sogni-agent.mjs')),
|
|
39
47
|
join(home, '.npm-global', 'lib', 'node_modules', PKG_REL, 'sogni-agent.mjs'),
|
|
40
48
|
...(env.APPDATA ? [join(env.APPDATA, 'npm', 'node_modules', PKG_REL, 'sogni-agent.mjs')] : []),
|
|
41
49
|
...nvmCandidates(home),
|
|
42
50
|
];
|
|
43
|
-
return candidates.find((p) => existsSync(p)) ?? null;
|
|
51
|
+
return candidates.find((p) => p && existsSync(p)) ?? null;
|
|
44
52
|
}
|
|
45
53
|
|
|
46
54
|
export function resolveFfmpegPath({ env = process.env } = {}) {
|
|
@@ -34,6 +34,7 @@ const GATING_POLICIES = [
|
|
|
34
34
|
"generate_video",
|
|
35
35
|
"sound_to_video",
|
|
36
36
|
"video_to_video",
|
|
37
|
+
"upscale_video",
|
|
37
38
|
"generate_music",
|
|
38
39
|
"generate_speech",
|
|
39
40
|
"extend_video",
|
|
@@ -69,6 +70,7 @@ const GATING_POLICIES = [
|
|
|
69
70
|
"generate_video",
|
|
70
71
|
"sound_to_video",
|
|
71
72
|
"video_to_video",
|
|
73
|
+
"upscale_video",
|
|
72
74
|
"generate_music",
|
|
73
75
|
"generate_speech",
|
|
74
76
|
"extend_video",
|
|
@@ -103,6 +105,7 @@ const GATING_POLICIES = [
|
|
|
103
105
|
"generate_video",
|
|
104
106
|
"sound_to_video",
|
|
105
107
|
"video_to_video",
|
|
108
|
+
"upscale_video",
|
|
106
109
|
"generate_music",
|
|
107
110
|
"generate_speech",
|
|
108
111
|
"extend_video",
|
|
@@ -138,6 +141,7 @@ const GATING_POLICIES = [
|
|
|
138
141
|
"generate_video",
|
|
139
142
|
"sound_to_video",
|
|
140
143
|
"video_to_video",
|
|
144
|
+
"upscale_video",
|
|
141
145
|
"generate_music",
|
|
142
146
|
"generate_speech",
|
|
143
147
|
"extend_video",
|
|
@@ -316,6 +320,31 @@ const GATING_POLICIES = [
|
|
|
316
320
|
},
|
|
317
321
|
"rationale": "The planner identified uploaded-video stitching. Use stitch_video with the uploaded clips instead of rendering a fresh clip."
|
|
318
322
|
},
|
|
323
|
+
{
|
|
324
|
+
"policyId": "UPLOADED_BASE_VIDEO_UPSCALE",
|
|
325
|
+
"version": "1.0.0",
|
|
326
|
+
"trigger": {
|
|
327
|
+
"allOf": [
|
|
328
|
+
"has_uploaded_video",
|
|
329
|
+
"video_modification:upscale"
|
|
330
|
+
],
|
|
331
|
+
"sources": {
|
|
332
|
+
"has_uploaded_video": "session_state",
|
|
333
|
+
"video_modification:upscale": "planner"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"effect": {
|
|
337
|
+
"forbid": [
|
|
338
|
+
"generate_video",
|
|
339
|
+
"animate_photo",
|
|
340
|
+
"video_to_video"
|
|
341
|
+
],
|
|
342
|
+
"require": [
|
|
343
|
+
"upscale_video"
|
|
344
|
+
]
|
|
345
|
+
},
|
|
346
|
+
"rationale": "The planner identified a pure resolution upscale of the uploaded video. Use the promptless upscale_video tool; do not re-render the clip with a generative model."
|
|
347
|
+
},
|
|
319
348
|
{
|
|
320
349
|
"policyId": "HAS_PERSONA_AND_REQUESTS_VIDEO",
|
|
321
350
|
"version": "1.0.0",
|
|
@@ -494,6 +523,15 @@ const REPAIR_RECIPES = [
|
|
|
494
523
|
"maxRetries": 0,
|
|
495
524
|
"repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}"
|
|
496
525
|
},
|
|
526
|
+
{
|
|
527
|
+
"recipeId": "upscale_video.user_input_incomplete",
|
|
528
|
+
"version": "1.0.0",
|
|
529
|
+
"toolName": "upscale_video",
|
|
530
|
+
"errorCode": "USER_INPUT_INCOMPLETE",
|
|
531
|
+
"mode": "stopAndAsk",
|
|
532
|
+
"maxRetries": 0,
|
|
533
|
+
"repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}"
|
|
534
|
+
},
|
|
497
535
|
{
|
|
498
536
|
"recipeId": "generate_music.user_input_incomplete",
|
|
499
537
|
"version": "1.0.0",
|
|
@@ -674,6 +712,15 @@ const REPAIR_RECIPES = [
|
|
|
674
712
|
"maxRetries": 0,
|
|
675
713
|
"repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs"
|
|
676
714
|
},
|
|
715
|
+
{
|
|
716
|
+
"recipeId": "upscale_video.cost_limit_exceeded",
|
|
717
|
+
"version": "1.0.0",
|
|
718
|
+
"toolName": "upscale_video",
|
|
719
|
+
"errorCode": "COST_LIMIT_EXCEEDED",
|
|
720
|
+
"mode": "stopAndAsk",
|
|
721
|
+
"maxRetries": 0,
|
|
722
|
+
"repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs"
|
|
723
|
+
},
|
|
677
724
|
{
|
|
678
725
|
"recipeId": "generate_music.cost_limit_exceeded",
|
|
679
726
|
"version": "1.0.0",
|
|
@@ -854,6 +901,15 @@ const REPAIR_RECIPES = [
|
|
|
854
901
|
"maxRetries": 0,
|
|
855
902
|
"repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?"
|
|
856
903
|
},
|
|
904
|
+
{
|
|
905
|
+
"recipeId": "upscale_video.asset_not_found",
|
|
906
|
+
"version": "1.0.0",
|
|
907
|
+
"toolName": "upscale_video",
|
|
908
|
+
"errorCode": "ASSET_NOT_FOUND",
|
|
909
|
+
"mode": "stopAndAsk",
|
|
910
|
+
"maxRetries": 0,
|
|
911
|
+
"repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?"
|
|
912
|
+
},
|
|
857
913
|
{
|
|
858
914
|
"recipeId": "generate_music.asset_not_found",
|
|
859
915
|
"version": "1.0.0",
|
|
@@ -1061,6 +1117,15 @@ const REPAIR_RECIPES = [
|
|
|
1061
1117
|
"maxRetries": 0,
|
|
1062
1118
|
"repairNoteTemplate": "{{toolName}} could not run: {{message}}"
|
|
1063
1119
|
},
|
|
1120
|
+
{
|
|
1121
|
+
"recipeId": "upscale_video.workflow_validation_failed",
|
|
1122
|
+
"version": "1.0.0",
|
|
1123
|
+
"toolName": "upscale_video",
|
|
1124
|
+
"errorCode": "WORKFLOW_VALIDATION_FAILED",
|
|
1125
|
+
"mode": "stopAndAsk",
|
|
1126
|
+
"maxRetries": 0,
|
|
1127
|
+
"repairNoteTemplate": "{{toolName}} could not run: {{message}}"
|
|
1128
|
+
},
|
|
1064
1129
|
{
|
|
1065
1130
|
"recipeId": "generate_music.workflow_validation_failed",
|
|
1066
1131
|
"version": "1.0.0",
|
|
@@ -1241,6 +1306,15 @@ const REPAIR_RECIPES = [
|
|
|
1241
1306
|
"maxRetries": 0,
|
|
1242
1307
|
"repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}"
|
|
1243
1308
|
},
|
|
1309
|
+
{
|
|
1310
|
+
"recipeId": "upscale_video.parameter_invalid",
|
|
1311
|
+
"version": "1.0.0",
|
|
1312
|
+
"toolName": "upscale_video",
|
|
1313
|
+
"errorCode": "PARAMETER_INVALID",
|
|
1314
|
+
"mode": "stopAndAsk",
|
|
1315
|
+
"maxRetries": 0,
|
|
1316
|
+
"repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}"
|
|
1317
|
+
},
|
|
1244
1318
|
{
|
|
1245
1319
|
"recipeId": "generate_music.parameter_invalid",
|
|
1246
1320
|
"version": "1.0.0",
|
|
@@ -1394,6 +1468,15 @@ const REPAIR_RECIPES = [
|
|
|
1394
1468
|
"maxRetries": 0,
|
|
1395
1469
|
"repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?"
|
|
1396
1470
|
},
|
|
1471
|
+
{
|
|
1472
|
+
"recipeId": "upscale_video.gpu_worker_failed",
|
|
1473
|
+
"version": "1.0.0",
|
|
1474
|
+
"toolName": "upscale_video",
|
|
1475
|
+
"errorCode": "GPU_WORKER_FAILED",
|
|
1476
|
+
"mode": "stopAndAsk",
|
|
1477
|
+
"maxRetries": 0,
|
|
1478
|
+
"repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?"
|
|
1479
|
+
},
|
|
1397
1480
|
{
|
|
1398
1481
|
"recipeId": "generate_music.gpu_worker_failed",
|
|
1399
1482
|
"version": "1.0.0",
|
|
@@ -1574,6 +1657,15 @@ const REPAIR_RECIPES = [
|
|
|
1574
1657
|
"maxRetries": 0,
|
|
1575
1658
|
"repairNoteTemplate": "The model {{toolName}} wanted is offline. {{message}} Pick a different model or try again later."
|
|
1576
1659
|
},
|
|
1660
|
+
{
|
|
1661
|
+
"recipeId": "upscale_video.model_unavailable",
|
|
1662
|
+
"version": "1.0.0",
|
|
1663
|
+
"toolName": "upscale_video",
|
|
1664
|
+
"errorCode": "MODEL_UNAVAILABLE",
|
|
1665
|
+
"mode": "stopAndAsk",
|
|
1666
|
+
"maxRetries": 0,
|
|
1667
|
+
"repairNoteTemplate": "The model {{toolName}} wanted is offline. {{message}} Pick a different model or try again later."
|
|
1668
|
+
},
|
|
1577
1669
|
{
|
|
1578
1670
|
"recipeId": "generate_music.model_unavailable",
|
|
1579
1671
|
"version": "1.0.0",
|
|
@@ -1754,6 +1846,15 @@ const REPAIR_RECIPES = [
|
|
|
1754
1846
|
"maxRetries": 0,
|
|
1755
1847
|
"repairNoteTemplate": "{{toolName}} needs permission you have not granted yet. {{message}}"
|
|
1756
1848
|
},
|
|
1849
|
+
{
|
|
1850
|
+
"recipeId": "upscale_video.permission_required",
|
|
1851
|
+
"version": "1.0.0",
|
|
1852
|
+
"toolName": "upscale_video",
|
|
1853
|
+
"errorCode": "PERMISSION_REQUIRED",
|
|
1854
|
+
"mode": "stopAndAsk",
|
|
1855
|
+
"maxRetries": 0,
|
|
1856
|
+
"repairNoteTemplate": "{{toolName}} needs permission you have not granted yet. {{message}}"
|
|
1857
|
+
},
|
|
1757
1858
|
{
|
|
1758
1859
|
"recipeId": "generate_music.permission_required",
|
|
1759
1860
|
"version": "1.0.0",
|
|
@@ -2044,6 +2145,15 @@ const REPAIR_RECIPES = [
|
|
|
2044
2145
|
"maxRetries": 0,
|
|
2045
2146
|
"repairNoteTemplate": "{{toolName}} timed out. {{message}} Want me to retry, or simplify the request?"
|
|
2046
2147
|
},
|
|
2148
|
+
{
|
|
2149
|
+
"recipeId": "upscale_video.provider_timeout",
|
|
2150
|
+
"version": "1.0.0",
|
|
2151
|
+
"toolName": "upscale_video",
|
|
2152
|
+
"errorCode": "PROVIDER_TIMEOUT",
|
|
2153
|
+
"mode": "stopAndAsk",
|
|
2154
|
+
"maxRetries": 0,
|
|
2155
|
+
"repairNoteTemplate": "{{toolName}} timed out. {{message}} Want me to retry, or simplify the request?"
|
|
2156
|
+
},
|
|
2047
2157
|
{
|
|
2048
2158
|
"recipeId": "generate_music.provider_timeout",
|
|
2049
2159
|
"version": "1.0.0",
|
|
@@ -2224,6 +2334,15 @@ const REPAIR_RECIPES = [
|
|
|
2224
2334
|
"maxRetries": 0,
|
|
2225
2335
|
"repairNoteTemplate": "The {{toolName}} run was cancelled by the user. I will stop here unless you ask me to try again."
|
|
2226
2336
|
},
|
|
2337
|
+
{
|
|
2338
|
+
"recipeId": "upscale_video.user_cancelled",
|
|
2339
|
+
"version": "1.0.0",
|
|
2340
|
+
"toolName": "upscale_video",
|
|
2341
|
+
"errorCode": "USER_CANCELLED",
|
|
2342
|
+
"mode": "stopAndAsk",
|
|
2343
|
+
"maxRetries": 0,
|
|
2344
|
+
"repairNoteTemplate": "The {{toolName}} run was cancelled by the user. I will stop here unless you ask me to try again."
|
|
2345
|
+
},
|
|
2227
2346
|
{
|
|
2228
2347
|
"recipeId": "generate_music.user_cancelled",
|
|
2229
2348
|
"version": "1.0.0",
|
|
@@ -2330,6 +2449,16 @@ const PROMPT_CONTRACTS = [
|
|
|
2330
2449
|
"targetLongestEdge": "Explicit output longest edge in pixels, 512-15360. Use 7680 for 8K or 15360 for the 16K maximum. It must be larger than the source, and large enough that the other 8px-aligned edge remains at least 512px; aspect ratio is preserved."
|
|
2331
2450
|
}
|
|
2332
2451
|
},
|
|
2452
|
+
{
|
|
2453
|
+
"contractId": "upscale_video_v1",
|
|
2454
|
+
"version": "1.0.0",
|
|
2455
|
+
"toolName": "upscale_video",
|
|
2456
|
+
"baseDescription": "upscale_video performs promptless, deterministic FlashVSR super-resolution of exactly one\nuploaded or generated video. Use it when the user asks to upscale, enlarge, sharpen, or increase\nthe resolution of an existing video, or wants a 1080p, 1440p, 2K, or HD copy of it. The output\nkeeps every source frame, the exact frame rate, the full aspect ratio, and the original audio.\n\nDo not invent a prompt and do not route a pure video upscale through video_to_video,\ngenerate_video, extend_video, or replace_video_segment; those tools re-render or edit content.\nUse video_to_video only when the user explicitly names a generative model such as Seedance for\nthe re-render. Do not use upscale_image for videos.\n\nOmit sourceVideoIndex to use the latest generated video, falling back to the most recent upload.\nUse zero-based non-negative indices for generated videos; -1 selects the first uploaded video\nand -2 the second. targetResolution is the output short edge: omit it for 1440p (or 1080p when\nthe source is too small for 1440p), and set 1080 when the user asks for 1080p or Full HD.\nThe output is at most twice the source size, so 1440p needs a source short edge of 720-768px\nand 1080p needs 540-768px. Sources must also be at most about 1344x768 pixels (768x1344 in\nportrait), 1-60 fps, and 100 MB. The server sets the maximum clip length and rejects a source\nthat is too long; never quote a length limit yourself. If the tool reports that the source is too\nlong or outside these limits, relay that error to the user instead of switching to a generative\nvideo tool. It cannot produce 4K or any size above 1440p: when the user asks for one, say so and\noffer 1440p instead of silently delivering less.",
|
|
2457
|
+
"parameterDocs": {
|
|
2458
|
+
"sourceVideoIndex": "Omit for the latest generated video, then the most recent upload. Generated videos are zero-based; -1/-2 select uploaded videos.",
|
|
2459
|
+
"targetResolution": "Output short edge in pixels: 1440 or 1080. Omit for the default (1440, or 1080 for sources under 720px); set 1080 when the user asks for 1080p or Full HD."
|
|
2460
|
+
}
|
|
2461
|
+
},
|
|
2333
2462
|
{
|
|
2334
2463
|
"contractId": "apply_style_v1",
|
|
2335
2464
|
"version": "1.0.0",
|
|
@@ -2423,13 +2552,13 @@ const PROMPT_CONTRACTS = [
|
|
|
2423
2552
|
},
|
|
2424
2553
|
{
|
|
2425
2554
|
"contractId": "video_to_video_v1",
|
|
2426
|
-
"version": "1.
|
|
2555
|
+
"version": "1.1.0",
|
|
2427
2556
|
"toolName": "video_to_video",
|
|
2428
|
-
"baseDescription": "video_to_video transforms an uploaded video. Use for uploaded-video restyling,
|
|
2557
|
+
"baseDescription": "video_to_video transforms an uploaded video. Use for uploaded-video restyling, generative\nenhancement or remastering, motion transfer from video to image, subject replacement, edge/pose/\ndepth-guided restyle, or explicit Seedance V2V transforms. Wan 3 is not a V2V model;\nits video inputs are loose references for new generation through generate_video.\nFor a pure resolution upscale (a sharper 1080p, 1440p, 2K, or HD copy of the same video),\nuse upscale_video instead; it is promptless and keeps every frame, the frame rate, and the audio.\n\nThis tool requires an uploaded video source. Do not use it for generated video indices. For\ngenerated or uploaded partial edits use replace_video_segment; for appended time use\nextend_video; for logos/text overlays use overlay_video; for stitching use stitch_video.\n\nChoose controlMode by intent. Use detailer for generative detail enhancement without restyling\nwhen the user wants the content re-rendered rather than only more resolution.\nUse seedance-v2v only when the user asks to transform/enhance/remaster an uploaded video\nwith Seedance, including uploaded-video upscale/remaster requests that name Seedance. For detailer,\ndescribe the original scene plus quality terms, not new content.\nUse outpaint to extend/expand the frame or change aspect ratio (positional, mask-free); set\noutpaintPosition and optionally outpaintAspectRatio. Use inpaint to regenerate a region\nwhile preserving the rest. If the user supplied a mask, set maskImageIndex; otherwise\nomit maskImageIndex so execution derives one from the source video and prompt.",
|
|
2429
2558
|
"parameterDocs": {
|
|
2430
2559
|
"prompt": "Describe the target appearance in present tense. For detailer, describe the original content plus quality qualifiers only. For outpaint, describe what fills the new area; for inpaint, describe only the masked region.",
|
|
2431
2560
|
"videoSourceIndex": "Uploaded video index. Omit when there is one uploaded video; use 0 for first uploaded video or -1 if using negative upload notation.",
|
|
2432
|
-
"controlMode": "Pick from intent: detailer for
|
|
2561
|
+
"controlMode": "Pick from intent: detailer for generative enhancement, seedance-v2v for explicit Seedance V2V, canny/depth for video-only control restyles, pose for motion transfer onto a reference-image subject, animate-move/replace for WAN Animate, outpaint to extend/expand the canvas, inpaint to regenerate a masked region.",
|
|
2433
2562
|
"sourceImageIndex": "Required for animate-move, animate-replace, and pose when more than one image is available; the sole reference image may be auto-selected. LTX pose always needs a reference image. Ignored by canny, depth, detailer, outpaint, and inpaint.",
|
|
2434
2563
|
"outpaintPosition": "outpaint only. Where the original frame sits in the expanded canvas (center/top/bottom/left/right); determines grow direction. Default center.",
|
|
2435
2564
|
"outpaintAspectRatio": "outpaint only, optional. Target aspect ratio (e.g. 16:9) for the expanded canvas; the canvas only grows, never crops. Set only when the user names a target shape/orientation.",
|