@sogni-ai/sogni-creative-agent-skill 3.66.0 → 3.66.1
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 +2 -1
- package/.agents/skills/sogni-creative-agent-skill/references/image-prompting.md +1 -1
- package/.agents/skills/sogni-creative-agent-skill/references/models.md +5 -0
- package/.agents/skills/sogni-creative-agent-skill/references/object-selection.md +64 -0
- package/.agents/skills/sogni-creative-agent-skill/references/video-prompting.md +8 -8
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +5 -0
- package/SKILL.md +2 -2
- package/desktop-extension/manifest.json +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +3 -3
- package/references/image-prompting.md +1 -1
- package/references/models.md +5 -0
- package/references/object-selection.md +64 -0
- package/references/video-prompting.md +8 -8
- package/skill-package.json +2 -2
- package/version.mjs +1 -1
|
@@ -3,7 +3,7 @@ name: sogni-creative-agent-skill
|
|
|
3
3
|
description: "Generate and edit images, create Pixal3D 3D models, remove backgrounds with BiRefNet, synthesize Qwen3-TTS speech, 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, build a playable world, apply a saved identity, or refine an earlier Sogni result."
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
version: "3.66.
|
|
6
|
+
version: "3.66.1"
|
|
7
7
|
author: Sogni AI
|
|
8
8
|
hermes:
|
|
9
9
|
category: creative
|
|
@@ -23,6 +23,7 @@ Generate images, video, and music through Sogni AI's decentralized GPU network.
|
|
|
23
23
|
For SAM 3 object masks, read [references/object-selection.md](references/object-selection.md).
|
|
24
24
|
Use `--segment` with an original still and normalized points or an object description.
|
|
25
25
|
Use `--segment-video` with a video and `--segment-frame` for the selection's source frame; the result is a lossless mask MP4 with the source's dimensions and timing.
|
|
26
|
+
Drawn regions, several objects in one mask, several prompt frames and tracking memory are JavaScript and Python SDK fields (5.80.0 or later) with no CLI flags; the reference shows them.
|
|
26
27
|
|
|
27
28
|
Invoke `sogni-agent-hermes` for every command in this skill. Fall back to
|
|
28
29
|
`sogni-agent` only when the Hermes launcher is not on `PATH`. The two commands
|
|
@@ -64,7 +64,7 @@ Prompt-only families return the directly runnable prompt with no label,
|
|
|
64
64
|
Markdown fence, preamble, explanation, or render offer.
|
|
65
65
|
|
|
66
66
|
<!-- BEGIN GENERATED PROMPT GUIDE: image-models -->
|
|
67
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
67
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
68
68
|
|
|
69
69
|
## Per-model rules from Sogni's image prompt writer
|
|
70
70
|
|
|
@@ -298,6 +298,11 @@ and `sam3VideoPrompt`, with normalized points/boxes or a short object descriptio
|
|
|
298
298
|
`frameIndex` is zero-based and tracking runs in both directions from it.
|
|
299
299
|
Inputs are constant-frame-rate SDR video, up to 30 seconds, 900 frames,
|
|
300
300
|
2560 pixels on either edge and 100 MB. See [object selection](object-selection.md).
|
|
301
|
+
SDK callers can also send the optional `mask` (a drawn region), `objects`
|
|
302
|
+
(2 to 16 things merged into one mask), `frames` (the same selection on 2 to 8
|
|
303
|
+
frames, such as frame 0 and the last frame of a loop) and `memory` fields; the
|
|
304
|
+
CLI has no flags for them. The object-selection reference has examples and
|
|
305
|
+
limits.
|
|
301
306
|
|
|
302
307
|
### SAM 3 segmentation (`sam3_image_segment_bf16`)
|
|
303
308
|
|
|
@@ -20,6 +20,70 @@ Video selection accepts a constant-frame-rate SDR source up to 30 seconds,
|
|
|
20
20
|
original video at native size, including chunk boundaries and occlusions,
|
|
21
21
|
before using it for compositing or moving hotspot outlines.
|
|
22
22
|
|
|
23
|
+
### Video selection options (SDK only)
|
|
24
|
+
|
|
25
|
+
`sam3VideoPrompt` has four optional fields. The CLI has no flags for them: do
|
|
26
|
+
not invent any. Send them through the JavaScript or Python SDK (5.80.0 or
|
|
27
|
+
later) in `sam3VideoPrompt`. A prompt without them runs and is priced exactly as before.
|
|
28
|
+
|
|
29
|
+
- `mask` selects a drawn region instead of text, points or boxes. `polygons`
|
|
30
|
+
holds 1 to 64 rings of normalized `[x, y]` points (3 to 2048 per ring, 4096
|
|
31
|
+
per region); a ring inside another ring is a hole. The region starts the
|
|
32
|
+
tracker on its prompt frame, as a click does, so that frame's mask is the
|
|
33
|
+
tracker's shape of the region, not the exact drawing. Draw it tight: any
|
|
34
|
+
background or foreground object inside it stays in the mask for several
|
|
35
|
+
frames. It cannot be combined with `text`, `points`, `boxes`, `threshold` or
|
|
36
|
+
`multimask`, and `objectIndex` must be 0 or left out.
|
|
37
|
+
|
|
38
|
+
```json
|
|
39
|
+
{ "frameIndex": 0, "mask": { "polygons": [[[0.42, 0.18], [0.58, 0.18], [0.61, 0.55], [0.39, 0.55]]] } }
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
- `objects` tracks 2 to 16 things together, one selection each, and requires
|
|
43
|
+
`combine: "union"`. Every output frame is the union of their masks, all
|
|
44
|
+
selected on the top-level `frameIndex`. Use it for a crowd or several
|
|
45
|
+
separate things: one selection that covers several similar things settles on
|
|
46
|
+
just one of them. Top-level selection fields are refused alongside it.
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{ "combine": "union", "objects": [
|
|
50
|
+
{ "points": [{ "x": 0.21, "y": 0.48, "label": "positive" }] },
|
|
51
|
+
{ "points": [{ "x": 0.52, "y": 0.45, "label": "positive" }] }
|
|
52
|
+
] }
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
- `frames` gives the same selection on 2 to 8 different frames, each entry
|
|
56
|
+
with its own `frameIndex`. Each output frame follows the nearest prompted
|
|
57
|
+
frame (ties go to the earlier one). For a loop whose first and last frames
|
|
58
|
+
are the same still, select the same thing on frame 0 and on the last frame.
|
|
59
|
+
It cannot be combined with `objects` or with a top-level `frameIndex` or
|
|
60
|
+
selection.
|
|
61
|
+
|
|
62
|
+
```json
|
|
63
|
+
{ "frames": [
|
|
64
|
+
{ "frameIndex": 0, "points": [{ "x": 0.47, "y": 0.62, "label": "positive" }] },
|
|
65
|
+
{ "frameIndex": 120, "points": [{ "x": 0.47, "y": 0.62, "label": "positive" }] }
|
|
66
|
+
] }
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
- `memory` sets how tracking carries between 32-frame chunks. `"chunk"`, the
|
|
70
|
+
default, starts each chunk from the previous chunk's last mask; an object
|
|
71
|
+
lost at the end of a chunk is not found again. `"anchor"` starts each chunk
|
|
72
|
+
again from the prompt frame: errors do not carry over and a lost object can
|
|
73
|
+
be found again, but the mask can shift where a chunk starts.
|
|
74
|
+
|
|
75
|
+
```json
|
|
76
|
+
{ "text": "unicorn horn", "frameIndex": 127, "memory": "anchor" }
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
A prompt holds at most 4096 region points across all its objects and frames.
|
|
80
|
+
Each object after the first adds 8% of a one-object job's price; anchor memory
|
|
81
|
+
adds 1/31; `frames` and `mask` add nothing. Pass the job's `sam3VideoPrompt`
|
|
82
|
+
to `estimateVideoCost()` (Python: `sam3_video_prompt` to
|
|
83
|
+
`estimate_video_cost()`) for the quote. These options run on Comfy worker
|
|
84
|
+
1.0.253 or newer; when none is online the request is refused at once with
|
|
85
|
+
error 4044, before any charge.
|
|
86
|
+
|
|
23
87
|
## Still-image selection
|
|
24
88
|
|
|
25
89
|
Use SAM 3 when a task needs an object mask from an existing still, for example
|
|
@@ -124,7 +124,7 @@ LTX-2.5 text-to-video, one shot, so one sentence: "A medium shot frames a woman
|
|
|
124
124
|
```
|
|
125
125
|
|
|
126
126
|
<!-- BEGIN GENERATED PROMPT GUIDE: ltx-2.5 -->
|
|
127
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
127
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
128
128
|
|
|
129
129
|
### Sogni's prompt rules: ltx-2.5
|
|
130
130
|
|
|
@@ -179,7 +179,7 @@ Preserve requested visual style and production value without adding new objects,
|
|
|
179
179
|
<!-- END GENERATED PROMPT GUIDE: ltx-2.5 -->
|
|
180
180
|
|
|
181
181
|
<!-- BEGIN GENERATED PROMPT GUIDE: ltx-2.3 -->
|
|
182
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
182
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
183
183
|
|
|
184
184
|
### Sogni's prompt rules: ltx-2.3
|
|
185
185
|
|
|
@@ -973,7 +973,7 @@ the exact waveform-conditioned lip-sync input. Remote audio URLs and additional
|
|
|
973
973
|
audio references keep their existing handling.
|
|
974
974
|
|
|
975
975
|
<!-- BEGIN GENERATED PROMPT GUIDE: minimax-h3 -->
|
|
976
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
976
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
977
977
|
|
|
978
978
|
### Sogni's prompt rules: minimax-h3
|
|
979
979
|
|
|
@@ -1191,7 +1191,7 @@ A low tracking shot races alongside a teal 1960s convertible down a sunlit coast
|
|
|
1191
1191
|
```
|
|
1192
1192
|
|
|
1193
1193
|
<!-- BEGIN GENERATED PROMPT GUIDE: seedance-2.5 -->
|
|
1194
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1194
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
1195
1195
|
|
|
1196
1196
|
### Sogni's prompt rules: seedance-2.5
|
|
1197
1197
|
|
|
@@ -1265,7 +1265,7 @@ TARGET CAPABILITIES: Seedance 2.5 uses the same director-style prompt grammar an
|
|
|
1265
1265
|
<!-- END GENERATED PROMPT GUIDE: seedance-2.5 -->
|
|
1266
1266
|
|
|
1267
1267
|
<!-- BEGIN GENERATED PROMPT GUIDE: seedance-2.0 -->
|
|
1268
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1268
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
1269
1269
|
|
|
1270
1270
|
### Sogni's prompt rules: seedance-2.0
|
|
1271
1271
|
|
|
@@ -1374,7 +1374,7 @@ writer uses close this section.
|
|
|
1374
1374
|
motion timing, camera path, framing, and background.
|
|
1375
1375
|
|
|
1376
1376
|
<!-- BEGIN GENERATED PROMPT GUIDE: wan-2.2 -->
|
|
1377
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1377
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
1378
1378
|
|
|
1379
1379
|
### Sogni's prompt rules: wan-2.2
|
|
1380
1380
|
|
|
@@ -1464,7 +1464,7 @@ The rules Sogni's own prompt writer uses close this section.
|
|
|
1464
1464
|
- Prompts may run to 20,000 characters.
|
|
1465
1465
|
|
|
1466
1466
|
<!-- BEGIN GENERATED PROMPT GUIDE: wan-3 -->
|
|
1467
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1467
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
1468
1468
|
|
|
1469
1469
|
### Sogni's prompt rules: wan-3
|
|
1470
1470
|
|
|
@@ -1519,7 +1519,7 @@ audio that is always on. What it renders well and the reference limits are in
|
|
|
1519
1519
|
[models.md § HappyHorse 1.1](./models.md#happyhorse-11-prompting-tips).
|
|
1520
1520
|
|
|
1521
1521
|
<!-- BEGIN GENERATED PROMPT GUIDE: happyhorse-1.1 -->
|
|
1522
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1522
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
1523
1523
|
|
|
1524
1524
|
### Sogni's prompt rules: happyhorse-1.1
|
|
1525
1525
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sogni-creative-agent",
|
|
3
|
-
"version": "3.66.
|
|
3
|
+
"version": "3.66.1",
|
|
4
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",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [3.66.1] - 2026-11-10
|
|
2
|
+
|
|
3
|
+
- Document the SAM 3.1 video selection options for SDK callers: a drawn region, 2 to 16 objects tracked together, the same selection on several frames, and how tracking carries between 32-frame chunks. They need the JavaScript or Python SDK 5.80.0 or later; the CLI has no flags for them.
|
|
4
|
+
- Use Sogni SDK 5.80.0 and intelligence-client 4.26.0.
|
|
5
|
+
|
|
1
6
|
## [3.66.0] - 2026-11-07
|
|
2
7
|
|
|
3
8
|
- Select an object across a video from a point, box or text description and download its animated mask with the source frame count and timing. Existing image selection stays available.
|
package/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: sogni-creative-agent-skill
|
|
3
3
|
description: "CLI and agent skill for personal LoRAs, image, video, and music generation using Sogni AI's decentralized GPU network. Supports Pixal3D single- and multi-view 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 (people with saved photos and voices), persistent memories, custom personality, style transfer, angle synthesis, MiniMax H3/H3 Balanced/LightX2V Turbo/FastH3 Turbo (including audio-to-video from an uploaded track)/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\", \"build a playable world\", \"apply a style\", or \"generate me as a superhero\"."
|
|
4
4
|
metadata:
|
|
5
|
-
version: "3.66.
|
|
5
|
+
version: "3.66.1"
|
|
6
6
|
homepage: https://sogni.ai
|
|
7
7
|
openclaw:
|
|
8
8
|
emoji: "🎨"
|
|
@@ -313,7 +313,7 @@ sogni-agent doctor --json
|
|
|
313
313
|
|
|
314
314
|
### Segmentation and 3D reconstruction
|
|
315
315
|
|
|
316
|
-
- To track a selected object through a video, use `--segment-video clip.mp4` with the existing selection text, points or boxes. `--segment-frame` identifies the zero-based prompt frame; tracking runs both ways. Save the frame-aligned mask as MP4. Read [`references/object-selection.md`](./references/object-selection.md) for limits and examples.
|
|
316
|
+
- To track a selected object through a video, use `--segment-video clip.mp4` with the existing selection text, points or boxes. `--segment-frame` identifies the zero-based prompt frame; tracking runs both ways. Save the frame-aligned mask as MP4. Read [`references/object-selection.md`](./references/object-selection.md) for limits and examples. A drawn region (`mask`), several objects in one mask (`objects`), the same selection on several frames for a loop (`frames`) and `memory` are `sam3VideoPrompt` fields in the JavaScript and Python SDKs (5.80.0 or later) with no CLI flags; the reference shows them.
|
|
317
317
|
- 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.
|
|
318
318
|
- 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.
|
|
319
319
|
- Pixal3D (`pixal3d_int8_i23d`) reconstructs one `startingImage` into a textured GLB. When the user has more photos of the same object, add any of `--left-view`, `--back-view` and `--right-view` to `--image-to-3d front.png`; the CLI then uses `pixal3d_multiview_int8_i23d` (SDK `leftViewImage` / `backViewImage` / `rightViewImage`) at the same options and price. Views are named by the subject's own sides, not the viewer's: left = the subject turned so its own left side faces the camera (it faces screen-left), right = its own right side (it faces screen-right), back = seen from behind. Never follow turnaround templates that label the subject's right side "left" — swapped sides build a model turned 180 degrees. 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.
|
|
@@ -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.66.
|
|
5
|
+
"version": "3.66.1",
|
|
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",
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "sogni-creative-agent-skill",
|
|
3
3
|
"name": "Sogni Creative Agent Skill — Image, Video & Music Generation",
|
|
4
4
|
"description": "Agent skill and CLI for Sogni AI image, video, and music generation.",
|
|
5
|
-
"version": "3.66.
|
|
5
|
+
"version": "3.66.1",
|
|
6
6
|
"skills": [
|
|
7
7
|
"."
|
|
8
8
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sogni-ai/sogni-creative-agent-skill",
|
|
3
|
-
"version": "3.66.
|
|
3
|
+
"version": "3.66.1",
|
|
4
4
|
"description": "Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image, 3D, speech, video, and music generation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "sogni-agent.mjs",
|
|
@@ -106,13 +106,13 @@
|
|
|
106
106
|
"account-personas.mjs"
|
|
107
107
|
],
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"@sogni-ai/sogni-intelligence-client": "4.
|
|
109
|
+
"@sogni-ai/sogni-intelligence-client": "4.26.0",
|
|
110
110
|
"execa": "^10.0.1",
|
|
111
111
|
"json5": "^2.2.3",
|
|
112
112
|
"sharp": "0.35.5"
|
|
113
113
|
},
|
|
114
114
|
"overrides": {
|
|
115
|
-
"@sogni-ai/sogni-client": "5.
|
|
115
|
+
"@sogni-ai/sogni-client": "5.80.0",
|
|
116
116
|
"undici@7": "7.30.1"
|
|
117
117
|
},
|
|
118
118
|
"openclaw": {
|
|
@@ -64,7 +64,7 @@ Prompt-only families return the directly runnable prompt with no label,
|
|
|
64
64
|
Markdown fence, preamble, explanation, or render offer.
|
|
65
65
|
|
|
66
66
|
<!-- BEGIN GENERATED PROMPT GUIDE: image-models -->
|
|
67
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
67
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
68
68
|
|
|
69
69
|
## Per-model rules from Sogni's image prompt writer
|
|
70
70
|
|
package/references/models.md
CHANGED
|
@@ -298,6 +298,11 @@ and `sam3VideoPrompt`, with normalized points/boxes or a short object descriptio
|
|
|
298
298
|
`frameIndex` is zero-based and tracking runs in both directions from it.
|
|
299
299
|
Inputs are constant-frame-rate SDR video, up to 30 seconds, 900 frames,
|
|
300
300
|
2560 pixels on either edge and 100 MB. See [object selection](object-selection.md).
|
|
301
|
+
SDK callers can also send the optional `mask` (a drawn region), `objects`
|
|
302
|
+
(2 to 16 things merged into one mask), `frames` (the same selection on 2 to 8
|
|
303
|
+
frames, such as frame 0 and the last frame of a loop) and `memory` fields; the
|
|
304
|
+
CLI has no flags for them. The object-selection reference has examples and
|
|
305
|
+
limits.
|
|
301
306
|
|
|
302
307
|
### SAM 3 segmentation (`sam3_image_segment_bf16`)
|
|
303
308
|
|
|
@@ -20,6 +20,70 @@ Video selection accepts a constant-frame-rate SDR source up to 30 seconds,
|
|
|
20
20
|
original video at native size, including chunk boundaries and occlusions,
|
|
21
21
|
before using it for compositing or moving hotspot outlines.
|
|
22
22
|
|
|
23
|
+
### Video selection options (SDK only)
|
|
24
|
+
|
|
25
|
+
`sam3VideoPrompt` has four optional fields. The CLI has no flags for them: do
|
|
26
|
+
not invent any. Send them through the JavaScript or Python SDK (5.80.0 or
|
|
27
|
+
later) in `sam3VideoPrompt`. A prompt without them runs and is priced exactly as before.
|
|
28
|
+
|
|
29
|
+
- `mask` selects a drawn region instead of text, points or boxes. `polygons`
|
|
30
|
+
holds 1 to 64 rings of normalized `[x, y]` points (3 to 2048 per ring, 4096
|
|
31
|
+
per region); a ring inside another ring is a hole. The region starts the
|
|
32
|
+
tracker on its prompt frame, as a click does, so that frame's mask is the
|
|
33
|
+
tracker's shape of the region, not the exact drawing. Draw it tight: any
|
|
34
|
+
background or foreground object inside it stays in the mask for several
|
|
35
|
+
frames. It cannot be combined with `text`, `points`, `boxes`, `threshold` or
|
|
36
|
+
`multimask`, and `objectIndex` must be 0 or left out.
|
|
37
|
+
|
|
38
|
+
```json
|
|
39
|
+
{ "frameIndex": 0, "mask": { "polygons": [[[0.42, 0.18], [0.58, 0.18], [0.61, 0.55], [0.39, 0.55]]] } }
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
- `objects` tracks 2 to 16 things together, one selection each, and requires
|
|
43
|
+
`combine: "union"`. Every output frame is the union of their masks, all
|
|
44
|
+
selected on the top-level `frameIndex`. Use it for a crowd or several
|
|
45
|
+
separate things: one selection that covers several similar things settles on
|
|
46
|
+
just one of them. Top-level selection fields are refused alongside it.
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{ "combine": "union", "objects": [
|
|
50
|
+
{ "points": [{ "x": 0.21, "y": 0.48, "label": "positive" }] },
|
|
51
|
+
{ "points": [{ "x": 0.52, "y": 0.45, "label": "positive" }] }
|
|
52
|
+
] }
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
- `frames` gives the same selection on 2 to 8 different frames, each entry
|
|
56
|
+
with its own `frameIndex`. Each output frame follows the nearest prompted
|
|
57
|
+
frame (ties go to the earlier one). For a loop whose first and last frames
|
|
58
|
+
are the same still, select the same thing on frame 0 and on the last frame.
|
|
59
|
+
It cannot be combined with `objects` or with a top-level `frameIndex` or
|
|
60
|
+
selection.
|
|
61
|
+
|
|
62
|
+
```json
|
|
63
|
+
{ "frames": [
|
|
64
|
+
{ "frameIndex": 0, "points": [{ "x": 0.47, "y": 0.62, "label": "positive" }] },
|
|
65
|
+
{ "frameIndex": 120, "points": [{ "x": 0.47, "y": 0.62, "label": "positive" }] }
|
|
66
|
+
] }
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
- `memory` sets how tracking carries between 32-frame chunks. `"chunk"`, the
|
|
70
|
+
default, starts each chunk from the previous chunk's last mask; an object
|
|
71
|
+
lost at the end of a chunk is not found again. `"anchor"` starts each chunk
|
|
72
|
+
again from the prompt frame: errors do not carry over and a lost object can
|
|
73
|
+
be found again, but the mask can shift where a chunk starts.
|
|
74
|
+
|
|
75
|
+
```json
|
|
76
|
+
{ "text": "unicorn horn", "frameIndex": 127, "memory": "anchor" }
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
A prompt holds at most 4096 region points across all its objects and frames.
|
|
80
|
+
Each object after the first adds 8% of a one-object job's price; anchor memory
|
|
81
|
+
adds 1/31; `frames` and `mask` add nothing. Pass the job's `sam3VideoPrompt`
|
|
82
|
+
to `estimateVideoCost()` (Python: `sam3_video_prompt` to
|
|
83
|
+
`estimate_video_cost()`) for the quote. These options run on Comfy worker
|
|
84
|
+
1.0.253 or newer; when none is online the request is refused at once with
|
|
85
|
+
error 4044, before any charge.
|
|
86
|
+
|
|
23
87
|
## Still-image selection
|
|
24
88
|
|
|
25
89
|
Use SAM 3 when a task needs an object mask from an existing still, for example
|
|
@@ -124,7 +124,7 @@ LTX-2.5 text-to-video, one shot, so one sentence: "A medium shot frames a woman
|
|
|
124
124
|
```
|
|
125
125
|
|
|
126
126
|
<!-- BEGIN GENERATED PROMPT GUIDE: ltx-2.5 -->
|
|
127
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
127
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
128
128
|
|
|
129
129
|
### Sogni's prompt rules: ltx-2.5
|
|
130
130
|
|
|
@@ -179,7 +179,7 @@ Preserve requested visual style and production value without adding new objects,
|
|
|
179
179
|
<!-- END GENERATED PROMPT GUIDE: ltx-2.5 -->
|
|
180
180
|
|
|
181
181
|
<!-- BEGIN GENERATED PROMPT GUIDE: ltx-2.3 -->
|
|
182
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
182
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
183
183
|
|
|
184
184
|
### Sogni's prompt rules: ltx-2.3
|
|
185
185
|
|
|
@@ -973,7 +973,7 @@ the exact waveform-conditioned lip-sync input. Remote audio URLs and additional
|
|
|
973
973
|
audio references keep their existing handling.
|
|
974
974
|
|
|
975
975
|
<!-- BEGIN GENERATED PROMPT GUIDE: minimax-h3 -->
|
|
976
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
976
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
977
977
|
|
|
978
978
|
### Sogni's prompt rules: minimax-h3
|
|
979
979
|
|
|
@@ -1191,7 +1191,7 @@ A low tracking shot races alongside a teal 1960s convertible down a sunlit coast
|
|
|
1191
1191
|
```
|
|
1192
1192
|
|
|
1193
1193
|
<!-- BEGIN GENERATED PROMPT GUIDE: seedance-2.5 -->
|
|
1194
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1194
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
1195
1195
|
|
|
1196
1196
|
### Sogni's prompt rules: seedance-2.5
|
|
1197
1197
|
|
|
@@ -1265,7 +1265,7 @@ TARGET CAPABILITIES: Seedance 2.5 uses the same director-style prompt grammar an
|
|
|
1265
1265
|
<!-- END GENERATED PROMPT GUIDE: seedance-2.5 -->
|
|
1266
1266
|
|
|
1267
1267
|
<!-- BEGIN GENERATED PROMPT GUIDE: seedance-2.0 -->
|
|
1268
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1268
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
1269
1269
|
|
|
1270
1270
|
### Sogni's prompt rules: seedance-2.0
|
|
1271
1271
|
|
|
@@ -1374,7 +1374,7 @@ writer uses close this section.
|
|
|
1374
1374
|
motion timing, camera path, framing, and background.
|
|
1375
1375
|
|
|
1376
1376
|
<!-- BEGIN GENERATED PROMPT GUIDE: wan-2.2 -->
|
|
1377
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1377
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
1378
1378
|
|
|
1379
1379
|
### Sogni's prompt rules: wan-2.2
|
|
1380
1380
|
|
|
@@ -1464,7 +1464,7 @@ The rules Sogni's own prompt writer uses close this section.
|
|
|
1464
1464
|
- Prompts may run to 20,000 characters.
|
|
1465
1465
|
|
|
1466
1466
|
<!-- BEGIN GENERATED PROMPT GUIDE: wan-3 -->
|
|
1467
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1467
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
1468
1468
|
|
|
1469
1469
|
### Sogni's prompt rules: wan-3
|
|
1470
1470
|
|
|
@@ -1519,7 +1519,7 @@ audio that is always on. What it renders well and the reference limits are in
|
|
|
1519
1519
|
[models.md § HappyHorse 1.1](./models.md#happyhorse-11-prompting-tips).
|
|
1520
1520
|
|
|
1521
1521
|
<!-- BEGIN GENERATED PROMPT GUIDE: happyhorse-1.1 -->
|
|
1522
|
-
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.
|
|
1522
|
+
<!-- Generated by npm run sync:prompt-guides from @sogni-ai/sogni-intelligence-client 4.26.0; edit the rules there, not here. -->
|
|
1523
1523
|
|
|
1524
1524
|
### Sogni's prompt rules: happyhorse-1.1
|
|
1525
1525
|
|
package/skill-package.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@sogni-ai/sogni-intelligence-client": "4.
|
|
6
|
+
"@sogni-ai/sogni-intelligence-client": "4.26.0",
|
|
7
7
|
"execa": "^10.0.1",
|
|
8
8
|
"json5": "^2.2.3",
|
|
9
9
|
"sharp": "0.35.5"
|
|
10
10
|
},
|
|
11
11
|
"overrides": {
|
|
12
|
-
"@sogni-ai/sogni-client": "5.
|
|
12
|
+
"@sogni-ai/sogni-client": "5.80.0"
|
|
13
13
|
}
|
|
14
14
|
}
|
package/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = '3.66.
|
|
1
|
+
export const PACKAGE_VERSION = '3.66.1';
|