@sogni-ai/sogni-creative-agent-skill 3.31.0 → 3.32.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 +110 -0
- package/.agents/skills/sogni-creative-agent-skill/references/hosted-api.md +227 -0
- package/.agents/skills/sogni-creative-agent-skill/references/krea2-loras.md +178 -0
- package/.agents/skills/sogni-creative-agent-skill/references/loop-maker.md +192 -0
- package/.agents/skills/sogni-creative-agent-skill/references/models.md +632 -0
- package/.agents/skills/sogni-creative-agent-skill/references/personas-memory.md +124 -0
- package/.agents/skills/sogni-creative-agent-skill/references/private-mature-video.md +118 -0
- package/.agents/skills/sogni-creative-agent-skill/references/seamless-tiling.md +108 -0
- package/.agents/skills/sogni-creative-agent-skill/references/video-editing.md +262 -0
- package/.agents/skills/sogni-creative-agent-skill/references/video-prompting.md +457 -0
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +29 -0
- package/README.md +27 -5
- package/SKILL.md +9 -6
- package/desktop-extension/manifest.json +1 -1
- package/generated/creative-agent-runtime.mjs +3 -3
- package/llm.txt +5 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +6 -3
- package/references/hosted-api.md +5 -0
- package/references/krea2-loras.md +178 -0
- package/references/models.md +17 -3
- package/scripts/check-version-sync.mjs +4 -0
- package/scripts/sync-hermes-skill.mjs +35 -0
- package/scripts/sync-version.mjs +11 -1
- package/skill-package.json +1 -1
- package/skills/image_editing.md +2 -2
- package/sogni-agent.mjs +239 -13
- package/version.mjs +1 -1
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
# Video Prompting Guide (LTX-2.x, MiniMax H3, pacing, orientation, camera language)
|
|
2
|
+
|
|
3
|
+
Read this before writing any text-to-video or image-to-video prompt for LTX
|
|
4
|
+
models, before writing any MiniMax H3 prompt, and whenever the user asks for
|
|
5
|
+
"hd", "1080p", "4k", "uhd", or "high-res" video so you can choose between the
|
|
6
|
+
LTX and Seedance paths.
|
|
7
|
+
|
|
8
|
+
The families require different prompt **shapes**. LTX wants one unbroken prose
|
|
9
|
+
paragraph with no line breaks and no negative phrasing. MiniMax H3 requires the
|
|
10
|
+
official ordered-field rewrite contract, shot notation, speaker IDs, dialogue
|
|
11
|
+
tags, and mode-specific alignment preamble. Do not carry LTX's
|
|
12
|
+
single-paragraph, positive-only, no-markup rule into an H3 prompt. Pick the
|
|
13
|
+
section that matches the model you are about to invoke.
|
|
14
|
+
|
|
15
|
+
## LTX-2.x Prompt Rule
|
|
16
|
+
|
|
17
|
+
Whenever the chosen video model is LTX-2.5 (or an LTX-2.3 rollback model), do
|
|
18
|
+
not pass the user's short request through unchanged. Rewrite it into an
|
|
19
|
+
LTX-safe prompt before calling `sogni-agent`.
|
|
20
|
+
|
|
21
|
+
- Output one single paragraph only. No line breaks, bullet points, section labels, tag lists, or screenplay formatting.
|
|
22
|
+
- Use 4-8 flowing present-tense sentences describing one continuous shot. No cuts, montage, or unrelated scene jumps.
|
|
23
|
+
- Start with shot scale plus the scene's visual identity, then describe environment, time of day, atmosphere, textures, and specific light sources.
|
|
24
|
+
- Keep people, clothing, props, and locations concrete and stable across the whole paragraph.
|
|
25
|
+
- Give the scene one main action thread from start to finish. Use connectors like `as`, `while`, and `then` so motion reads as a continuous filmed moment.
|
|
26
|
+
- Be specific and literal about motion. Describe what moves, where it moves,
|
|
27
|
+
what it contacts, and what happens next in chronological order. Do not replace
|
|
28
|
+
visible actions with euphemisms or broad summaries. For example, replace "a
|
|
29
|
+
ball bouncing around" with "A red ball moves right, bounces off the wall,
|
|
30
|
+
and returns to the center"; replace "fluid pouring" with "Water flows from
|
|
31
|
+
the left container through the connecting tube into the right container
|
|
32
|
+
until both levels are equal."
|
|
33
|
+
- Treat native audio as part of the scene design. Integrate relevant dialogue,
|
|
34
|
+
voice delivery, foley, environmental sound, and music with the actions that
|
|
35
|
+
produce or accompany them.
|
|
36
|
+
- Write dialogue out verbatim in double quotes and identify the speaker and
|
|
37
|
+
delivery. Never merely suggest dialogue with phrases such as "they talk,"
|
|
38
|
+
"she says something," or "the couple discusses the scene."
|
|
39
|
+
- Budget spoken dialogue at about 3 words per second, plus about 1 second for each meaningful acting beat or pause.
|
|
40
|
+
- Express emotion through visible physical cues such as posture, grip, jaw tension, breathing, or pacing. Ambient sound can be woven into the prose naturally.
|
|
41
|
+
- Use positive phrasing only. Do not add negative prompts, "no ..." clauses, on-screen text/logo requests, vague filler words like `beautiful` or `nice`, or structural markup such as `[DIALOGUE]`. **This positive-only, no-markup rule is scoped to the LTX family only.** MiniMax H3 has no separate negative-prompt input and instead requires its ordered fields, `[Shot N]` notation, `(Sx)` speaker IDs, and `<d>` dialogue tags; see [MiniMax H3 Prompting](#minimax-h3-prompting).
|
|
42
|
+
- Keep action density proportional to duration. For short clips, describe one main beat rather than several separate events.
|
|
43
|
+
- Preserve the user's request, but expand it into cinematic prose. Do not invent a different story just to make the prompt longer.
|
|
44
|
+
|
|
45
|
+
### Duration-Aware Pacing
|
|
46
|
+
|
|
47
|
+
Match scene density to clip length so prompts stay filmable:
|
|
48
|
+
|
|
49
|
+
- About `1-4s`: describe exactly 1 action or moment.
|
|
50
|
+
- About `5-8s`: describe about 2 sequential actions.
|
|
51
|
+
- About `9-12s`: describe about 3 sequential actions.
|
|
52
|
+
- Longer clips: add only a small number of additional sequential beats. Do not turn the prompt into a montage or a full story arc unless the duration clearly supports it.
|
|
53
|
+
|
|
54
|
+
### Orientation Mapping
|
|
55
|
+
|
|
56
|
+
When the user explicitly asks for an orientation or aspect ratio, map it to safe LTX dimensions:
|
|
57
|
+
|
|
58
|
+
- `vertical`, `portrait`, `story`, `reel`, `tiktok` -> `-w 1088 -h 1920`
|
|
59
|
+
- `landscape`, `horizontal`, `widescreen`, `youtube`, `16:9` -> `-w 1920 -h 1088`
|
|
60
|
+
- `square`, `1:1` -> `-w 1088 -h 1088`
|
|
61
|
+
- `4:3 portrait` -> `-w 832 -h 1088`
|
|
62
|
+
- `4:3 landscape` -> `-w 1088 -h 832`
|
|
63
|
+
|
|
64
|
+
### Camera Language Normalization
|
|
65
|
+
|
|
66
|
+
When the user uses loose camera language, translate it into concrete motion phrasing inside the prose prompt:
|
|
67
|
+
|
|
68
|
+
- `zoom in` -> `slow push-in`
|
|
69
|
+
- `zoom out` -> `slow pull-back`
|
|
70
|
+
- `pan left` / `pan right` -> `smooth pan left` / `smooth pan right`
|
|
71
|
+
- `orbit` / `circle around` -> `slow arc left` or `slow arc right`
|
|
72
|
+
- `follow` -> `tracking follow`
|
|
73
|
+
|
|
74
|
+
### Example rewrite
|
|
75
|
+
|
|
76
|
+
```text
|
|
77
|
+
User ask: "4k video of a woman in a neon alley"
|
|
78
|
+
|
|
79
|
+
Use this shape instead: "A medium cinematic shot frames a woman in her 30s standing in a rain-soaked neon alley at night, violet and amber signs reflecting across the wet pavement while warm steam drifts from street vents. She wears a dark trench coat with damp strands of black hair clinging near her cheek as light glances across the fabric texture and the brick walls behind her. She turns toward the camera and steps forward with measured focus, one hand tightening around the strap of her bag while rain taps softly on the metal fire escape and a distant train hum rolls through the block. The camera performs a slow push-in as her jaw sets and her breathing steadies, maintaining smooth stabilized motion and a tense urban-thriller mood."
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## MiniMax H3 Prompting
|
|
83
|
+
|
|
84
|
+
Write every H3 prompt using MiniMax's official structured rewrite contract. Do
|
|
85
|
+
not substitute an unstructured prompt for the required fields. The field names,
|
|
86
|
+
order, shot notation, alignment preamble, reference labels, and dialogue markup
|
|
87
|
+
are part of the model contract.
|
|
88
|
+
|
|
89
|
+
Applies to standard `minimax-h3` / `minimax-h3-t2v`, `minimax-h3-i2v`, and
|
|
90
|
+
`minimax-h3-flf2v`; their 4-step `minimax-h3-turbo`,
|
|
91
|
+
`minimax-h3-i2v-turbo`, and `minimax-h3-flf2v-turbo` variants; and—with its own
|
|
92
|
+
six-field contract—to standard `minimax-h3-r2v` and `minimax-h3-r2v-turbo`. The exact worker
|
|
93
|
+
ids are `minimax-h3-fl2va-fp8_{t2v,i2v,flf2v}` with an optional `_turbo`
|
|
94
|
+
suffix, plus `minimax-h3-ref2va-fp8_r2v` and `minimax-h3-ref2va-fp8_r2v_turbo`. See
|
|
95
|
+
[MiniMax H3 reference-to-video (r2v)](#minimax-h3-reference-to-video-r2v) below
|
|
96
|
+
before writing an r2v prompt.
|
|
97
|
+
|
|
98
|
+
This guidance follows MiniMax's official H3 prompt-writing skill from
|
|
99
|
+
[MiniMax-H3 commit 35491cd](https://github.com/MiniMax-AI/MiniMax-H3/tree/35491cdba2adfe62a510f725e8619f8e58783ea2/skills/h3-prompt-writing).
|
|
100
|
+
|
|
101
|
+
### Fixed model facts
|
|
102
|
+
|
|
103
|
+
- **24 fps, always.** Do not pass an fps override.
|
|
104
|
+
- **Frame counts sit on the `124 + n×17` grid**, from `124` through `362` —
|
|
105
|
+
i.e. **5.17 s to 15.08 s**. The CLI snaps `--duration` onto that grid; an
|
|
106
|
+
off-grid explicit `--frames` is a hard error.
|
|
107
|
+
- **Dimensions divisible by 32**, total pixels ≤ **1,032,192**. Use
|
|
108
|
+
`-w 1344 -h 768` (landscape) or `-w 768 -h 1344` (portrait).
|
|
109
|
+
- **20 steps for standard H3; 4 steps for H3 Turbo; guidance/CFG 1.** Do not
|
|
110
|
+
send steps, guidance, scheduler, or a **negative prompt**. Standard H3 and
|
|
111
|
+
R2V accept no sampler override. FL2VA H3 Turbo defaults to `er_sde` on Socket, and
|
|
112
|
+
the CLI omits the sampler unless `--sampler` is passed. Direct FL2VA CLI A/B tests
|
|
113
|
+
may pass exactly `--sampler euler`, `--sampler er_sde`, or
|
|
114
|
+
`--sampler sa_solver`. Ref2VA Turbo uses the exact upstream Euler/simple recipe,
|
|
115
|
+
defaults to 960×544, and accepts only `--sampler euler`. The checkpoint is CFG-distilled with
|
|
116
|
+
guidance locked at 1, so there is no negative branch at all: a
|
|
117
|
+
`negativePrompt` parameter is ignored wherever it is accepted. Negative
|
|
118
|
+
direction goes in the prompt text instead.
|
|
119
|
+
- **Turbo uses the same prompt contract as standard H3.** Its execution path is
|
|
120
|
+
fixed at 4 steps with the `simple` scheduler; only the sampler has the three
|
|
121
|
+
explicit variants above.
|
|
122
|
+
- **Native 32 kHz stereo audio is generated jointly with the picture.** Every
|
|
123
|
+
sound — dialogue, foley, ambience, score — exists only because the prompt
|
|
124
|
+
asked for it. `generateAudio=false` strips that generated track from the
|
|
125
|
+
delivered file; it does not skip audio generation.
|
|
126
|
+
- **Sogni's H3 is the 768p-class open-weights release.** Do not offer or claim
|
|
127
|
+
2K; MiniMax's 2K stage is hosted-only and is not part of the open release.
|
|
128
|
+
- The Sogni CLI does not truncate H3 prompts. If another surface has a shorter
|
|
129
|
+
cap, flag it explicitly instead of silently removing required fields.
|
|
130
|
+
- FL2VA/Turbo and image-only R2V are routed to 32 GB-class workers;
|
|
131
|
+
video-conditioned R2V requires a worker above 40 GB.
|
|
132
|
+
|
|
133
|
+
Because `--duration` snaps to the frame grid, the delivered length is rarely the
|
|
134
|
+
integer the user asked for:
|
|
135
|
+
|
|
136
|
+
| `--duration` | Frames | Actual length |
|
|
137
|
+
|---|---|---|
|
|
138
|
+
| 5 | 124 | 5.17 s |
|
|
139
|
+
| 6 | 141 | 5.88 s |
|
|
140
|
+
| 8 | 192 | 8.00 s |
|
|
141
|
+
| 10 | 243 | 10.13 s |
|
|
142
|
+
| 12 | 294 | 12.25 s |
|
|
143
|
+
| 15 | 362 | 15.08 s |
|
|
144
|
+
|
|
145
|
+
### Base and Turbo contract: T2V, I2V, and FLF2V
|
|
146
|
+
|
|
147
|
+
After the mode-specific preamble described below, write exactly these three
|
|
148
|
+
fields in this order:
|
|
149
|
+
|
|
150
|
+
```text
|
|
151
|
+
integrated_multimodal_description: [Shot 1] ...
|
|
152
|
+
|
|
153
|
+
overall_soundscape: ...
|
|
154
|
+
|
|
155
|
+
non_diegetic_music: ...
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
`integrated_multimodal_description` carries the complete visual and diegetic
|
|
159
|
+
audio timeline. `[Shot 1]` has no timestamp; each later cut begins with a
|
|
160
|
+
strictly increasing marker such as `[Shot 2] At 00:03.500, the camera cuts
|
|
161
|
+
to...`. Describe camera movement as part of the shot. Use
|
|
162
|
+
`overall_soundscape` for ambience, physical action sounds, and non-verbal human
|
|
163
|
+
sound, without repeating dialogue, singing, or diegetic music. Use
|
|
164
|
+
`non_diegetic_music` only for audience-only score, or `N/A` when there is none.
|
|
165
|
+
|
|
166
|
+
Assign speaking or singing subjects stable `(S1)`, `(S2)`, ... IDs in order of
|
|
167
|
+
their first vocal event and reuse each ID across all shots. Keep the speaker,
|
|
168
|
+
action, and delivery outside the dialogue tag. Inside the tag, preserve only
|
|
169
|
+
the language and exact words:
|
|
170
|
+
|
|
171
|
+
```text
|
|
172
|
+
The record-store owner with a warm, gravelly voice (S1) says: <d>[English] I kept this one behind the counter for you.</d>
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
Do not translate, paraphrase, or clean up the user's dialogue. Use a compound
|
|
176
|
+
ID such as `(S1,S2)` only when already-numbered speakers vocalize together.
|
|
177
|
+
|
|
178
|
+
### Worked example — text-to-video
|
|
179
|
+
|
|
180
|
+
```text
|
|
181
|
+
User ask: "10 second video of a barista and a customer arguing about oat milk"
|
|
182
|
+
|
|
183
|
+
sogni-agent -q --video -m minimax-h3 --duration 10 -w 1344 -h 768 -o ./cafe.mp4 "<prompt below>"
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
```text
|
|
187
|
+
integrated_multimodal_description: [Shot 1] Live-action, cinematic, slightly desaturated, a medium two-shot frames a narrow espresso bar on a weekday morning. Soft window light rakes across the brushed-steel machine and pastry case. A barista in her late twenties slides a white cup across the counter. A customer in a grey overcoat with a quiet, clipped voice (S1) stops the saucer with two fingers and says: <d>[English] I asked for oat milk.</d> [Shot 2] At 00:03.000, the camera cuts to a static close-up over the customer's shoulder. The barista with a flat, even voice (S2) lifts the oat carton, turns it upside down, sets it on the wood, and says: <d>[English] We ran out at six this morning.</d> [Shot 3] At 00:07.000, the camera cuts back to the two-shot. The customer tightens his jaw and pulls the cup toward himself while steam curls past his face and the barista turns to the next ticket.
|
|
188
|
+
|
|
189
|
+
overall_soundscape: Low cafe room tone continues under the scene. A steam wand hisses, ceramic clinks against the saucer, the empty carton knocks against wood, and a chair leg scrapes in the background.
|
|
190
|
+
|
|
191
|
+
non_diegetic_music: N/A
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### Worked example — image-to-video
|
|
195
|
+
|
|
196
|
+
```text
|
|
197
|
+
User ask (with an uploaded portrait): "have her look up and say she's not going back"
|
|
198
|
+
|
|
199
|
+
sogni-agent -q --video -m minimax-h3-i2v --ref ./portrait.png --duration 6 -w 768 -h 1344 -o ./reply.mp4 "<prompt below>"
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
```text
|
|
203
|
+
For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced.
|
|
204
|
+
|
|
205
|
+
integrated_multimodal_description: [Shot 1] Live-action, cinematic, a static medium close-up begins exactly from <Picture 1>, preserving the woman's dark chin-length hair, olive canvas jacket, red vinyl seatback, and the rain-streaked night-bus window. She lowers her phone into her lap and lifts her gaze toward the window as sodium streetlights slide across her cheek. The woman with a low, unhurried voice (S1) says: <d>[English] I'm not going back.</d> She turns slightly toward the aisle, sets her jaw, and closes one hand around her bag strap while the camera remains static.
|
|
206
|
+
|
|
207
|
+
overall_soundscape: A steady diesel drone and the bus-frame rattle continue throughout. Rain ticks against the glass, canvas shifts as she moves, and an air brake hisses near the end.
|
|
208
|
+
|
|
209
|
+
non_diegetic_music: Two widely spaced piano notes over sustained low strings, fading before the final second.
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
`--duration 6` renders 141 frames (5.88 s) and `--duration 10` renders 243
|
|
213
|
+
frames (10.13 s). Keep every `[Shot N] At MM:SS.mmm` cut time within the actual
|
|
214
|
+
snapped duration.
|
|
215
|
+
|
|
216
|
+
### Required dialogue and shot markup
|
|
217
|
+
|
|
218
|
+
The structured field document and its dialogue, speaker, and shot notation are
|
|
219
|
+
the default H3 rewrite format. Preserve valid markup a user supplied, and repair
|
|
220
|
+
free-form input into this contract before submission.
|
|
221
|
+
|
|
222
|
+
**Dialogue tags.** Only the language tag and the spoken words go inside
|
|
223
|
+
`<d>…</d>`. The speaker's identifying phrase, ID, action, and delivery all stay
|
|
224
|
+
outside it:
|
|
225
|
+
|
|
226
|
+
```text
|
|
227
|
+
The young woman with a quiet, breathy voice (S1) says: <d>[English] I get off at the next station.</d>
|
|
228
|
+
The two children (S1,S2) shout together, <d>[English] Wait for us!</d>
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
- Speaker IDs are `(S1)`, `(S2)`, … assigned in order of first vocal event and
|
|
232
|
+
kept stable across every shot. A character who never vocalizes gets no ID. Two
|
|
233
|
+
or more already-numbered speakers vocalizing together use a compound ID such
|
|
234
|
+
as `(S1,S2)`.
|
|
235
|
+
- Supported dialogue languages: Arabic, Chinese, English, French, German,
|
|
236
|
+
Italian, Japanese, Korean, Portuguese, Russian, Spanish. The tag is the
|
|
237
|
+
English language name in square brackets, e.g. `<d>[Japanese] …</d>`.
|
|
238
|
+
- **Voiceover** uses the exact phrase `says in an off-screen voiceover`, and the
|
|
239
|
+
`<d>` block is followed by a statement that the on-screen character's lips
|
|
240
|
+
stay closed:
|
|
241
|
+
|
|
242
|
+
```text
|
|
243
|
+
The man (S1) says in an off-screen voiceover: <d>[English] I still remember that road.</d> while his lips remain completely closed.
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
- `<scenetrans>` marks one line of dialogue or lyrics that crosses a cut: place
|
|
247
|
+
it at the connecting point in **both** parts, and state explicitly that the
|
|
248
|
+
audio continues across the cut (`continues seamlessly across the cut`,
|
|
249
|
+
`continues uninterrupted into the next shot`, `carries over from the previous
|
|
250
|
+
shot`, `remains audible across the transition`).
|
|
251
|
+
- `<cutoff>` marks speech that is truncated by the end of the video.
|
|
252
|
+
|
|
253
|
+
**Shot markers and the camera vocabulary.** In the IR format, `[Shot 1]` opens
|
|
254
|
+
with the overall style and initial composition and takes no timestamp; every
|
|
255
|
+
later shot opens with a strictly increasing cut time — `[Shot 2] At 00:03.500,
|
|
256
|
+
the camera cuts to …` (also `the shot cuts to` / `transitions to` / `changes
|
|
257
|
+
to` / `switches to`). The IR's camera motion types are `Zoom In/Out`, `Push
|
|
258
|
+
In/Pull Out`, `Pan Left/Right`, `Truck Left/Right`, `Tilt Up/Down`, `Pedestal
|
|
259
|
+
Up/Down`, `Arc Shot`, `Tracking Shot`, `Static Shot`, `Shake
|
|
260
|
+
Slightly/Strongly`, `POV`, and `Roll Clockwise/Counterclockwise`, optionally
|
|
261
|
+
qualified `with small amplitude` / `with large amplitude` and `at slow speed` /
|
|
262
|
+
`at fast speed`.
|
|
263
|
+
|
|
264
|
+
**The three-field document.** MiniMax's rewriter emits the required alignment
|
|
265
|
+
line when applicable, a blank line, then exactly three labelled fields in this
|
|
266
|
+
order:
|
|
267
|
+
|
|
268
|
+
```text
|
|
269
|
+
integrated_multimodal_description: [Shot 1] ...
|
|
270
|
+
|
|
271
|
+
overall_soundscape: ...
|
|
272
|
+
|
|
273
|
+
non_diegetic_music: ...
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
`integrated_multimodal_description` is the whole audiovisual timeline;
|
|
277
|
+
`overall_soundscape` is 1-4 sentences of ambience, physical action sound, and
|
|
278
|
+
non-verbal human sound (no dialogue, singing, or diegetic music);
|
|
279
|
+
`non_diegetic_music` is 1-3 sentences of score-only instrumentation, tempo, and
|
|
280
|
+
dynamics. `N/A` is the schema's token for "nothing here" — used in
|
|
281
|
+
`non_diegetic_music` for no score, and in `overall_soundscape` only for a
|
|
282
|
+
deliberately silent video.
|
|
283
|
+
|
|
284
|
+
**Alignment instruction lines (i2v / flf2v only).** These exact preambles pin
|
|
285
|
+
reference images to the target timeline. They are mandatory for those modes and
|
|
286
|
+
must be the first line, followed by one blank line. T2V has no preamble.
|
|
287
|
+
|
|
288
|
+
Image-to-video (`minimax-h3-i2v` or `minimax-h3-i2v-turbo`, one `--ref`):
|
|
289
|
+
|
|
290
|
+
```text
|
|
291
|
+
For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced.
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
First frame → last frame (`minimax-h3-flf2v` or
|
|
295
|
+
`minimax-h3-flf2v-turbo`, `--ref` plus `--ref-end`). Note the bare `Picture 1`
|
|
296
|
+
and `Shot 1` with **no** angle or square brackets, and the em dash (`—`) with a
|
|
297
|
+
space on each side:
|
|
298
|
+
|
|
299
|
+
```text
|
|
300
|
+
How the reference pictures align with the target video — Picture 1 (from Shot 1) aligns with the 0.00-second mark of the target video; Picture 2 (from Shot N) aligns with the S.SS-second mark of the target video.
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
`N` is the index of the actual final shot (`Shot 1` for the usual single-shot
|
|
304
|
+
transition), and `S.SS` is the effective duration to exactly two decimal places
|
|
305
|
+
— `10.13` for 243 frames at 24 fps (243 ÷ 24 = 10.125, rounded up).
|
|
306
|
+
|
|
307
|
+
### MiniMax H3 reference-to-video (r2v)
|
|
308
|
+
|
|
309
|
+
`minimax-h3-r2v` conditions on a whole **reference set** rather than one or two
|
|
310
|
+
locked frames: up to **9 reference images**,
|
|
311
|
+
**3 reference videos** (24 fps, 2–15 s, each with an optional soundtrack) and
|
|
312
|
+
**3 standalone audio clips**, **12 files maximum in total**. It runs a separate
|
|
313
|
+
ref2va checkpoint, so it is never inferred — it must be chosen by name with
|
|
314
|
+
direct CLI `-m minimax-h3-r2v` or the `generate_video` tool's
|
|
315
|
+
`videoModel="minimax-h3-r2v"` (including callers such as Sogni Chat). Direct CLI
|
|
316
|
+
uses `--ref` then repeatable `-c` for images, plus repeatable `--ref-video` and
|
|
317
|
+
`--ref-audio` for those modalities. At least one visual reference (image or
|
|
318
|
+
video) is required. A reference video can be the only visual input; audio alone
|
|
319
|
+
is invalid. r2v
|
|
320
|
+
has no frame anchors at all—for
|
|
321
|
+
a locked opening frame use `minimax-h3-i2v`, and for a first-to-last-frame
|
|
322
|
+
transition use `minimax-h3-flf2v`.
|
|
323
|
+
|
|
324
|
+
Ref2VA does not use the three-field Base contract. Write exactly these six
|
|
325
|
+
fields, in this order:
|
|
326
|
+
|
|
327
|
+
```text
|
|
328
|
+
subject_definitions:
|
|
329
|
+
|
|
330
|
+
summary:
|
|
331
|
+
|
|
332
|
+
retention_analysis:
|
|
333
|
+
|
|
334
|
+
detailed_description:
|
|
335
|
+
|
|
336
|
+
overall_soundscape:
|
|
337
|
+
|
|
338
|
+
non_diegetic_music:
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
`subject_definitions` assigns stable labels and roles to every reused subject or
|
|
342
|
+
asset. `summary` begins with the applicable bracketed task type, such as
|
|
343
|
+
`[reference generation + audio reference]`. `retention_analysis` gives one line
|
|
344
|
+
per label using the official relationship values, such as `fully_preserved`,
|
|
345
|
+
`partially_preserved`, `attribute_transfer`, or `weak_reference` for visual
|
|
346
|
+
content and `fully_copy`, `partially_copy`, `reference`, or `weak_reference` for
|
|
347
|
+
audio. `detailed_description` is the shot-by-shot target-video timeline and
|
|
348
|
+
uses the same `[Shot N]`, `(Sx)`, and `<d>[Language] ...</d>` rules as Base H3.
|
|
349
|
+
|
|
350
|
+
**Reference grammar.** Reference assets are numbered from 1 independently per
|
|
351
|
+
type. Use the exact angle-bracket labels:
|
|
352
|
+
|
|
353
|
+
- `<Picture 1>` … `<Picture 9>` for images
|
|
354
|
+
- `<Video 1>` … `<Video 3>` for videos
|
|
355
|
+
- `<Audio 1>` … for audio
|
|
356
|
+
|
|
357
|
+
Visible people, objects, scenes, or effects reused from an image or video become
|
|
358
|
+
`<Subject N>` entries whose definitions cite their source asset. Reserve
|
|
359
|
+
`<Picture N>` for a concrete frame or storyboard relationship, `<Video N>` for
|
|
360
|
+
a whole-video edit, continuation, camera, cut, rhythm, or temporal relationship,
|
|
361
|
+
and `<Audio N>` for a standalone audio asset or an explicitly enabled audio
|
|
362
|
+
track. A video file does not automatically create an `<Audio N>` label merely
|
|
363
|
+
because it contains sound.
|
|
364
|
+
|
|
365
|
+
Rewrite aliases such as "image 2", `@Image2`, or `[Image 2]` to the correct H3
|
|
366
|
+
label. Seedance's `@Image1` / `@Video1` / `@Audio1` grammar must not leak into an
|
|
367
|
+
H3 prompt. Never invent, drop, or renumber references after the prompt is
|
|
368
|
+
written. Give every asset one explicit role and state the winner when sources
|
|
369
|
+
conflict.
|
|
370
|
+
|
|
371
|
+
Compact format example:
|
|
372
|
+
|
|
373
|
+
```text
|
|
374
|
+
subject_definitions:
|
|
375
|
+
<Subject 1> is the woman in <Picture 1>; preserve her face, hairstyle, and dark-red jacket.
|
|
376
|
+
<Video 1> is the camera-motion reference for the target video's slow handheld push-in.
|
|
377
|
+
<Audio 1> is the voice-timbre reference for <Subject 1> (S1).
|
|
378
|
+
|
|
379
|
+
summary:
|
|
380
|
+
[reference generation + audio reference] The target video shows <Subject 1> walking through a rain-slicked street while following <Video 1>'s camera movement and <Audio 1>'s voice timbre.
|
|
381
|
+
|
|
382
|
+
retention_analysis:
|
|
383
|
+
<Subject 1> (appears in [Shot 1]): fully_preserved - her identity, hairstyle, and jacket are retained.
|
|
384
|
+
<Video 1> (camera movement): weak_reference - its slow handheld push-in guides the new shot.
|
|
385
|
+
<Audio 1>: reference - its vocal timbre guides <Subject 1>'s dialogue without copying the source signal.
|
|
386
|
+
|
|
387
|
+
detailed_description:
|
|
388
|
+
The target video uses a live-action cinematic style with wet neon street lighting. [Shot 1] <Subject 1> (S1) walks toward the camera while the camera performs the slow handheld push-in referenced from <Video 1>. She stops beneath a streetlight, looks over her shoulder, and says with the dry, low timbre referenced from <Audio 1>: <d>[English] It was never going to be the last train.</d>
|
|
389
|
+
|
|
390
|
+
overall_soundscape:
|
|
391
|
+
Steady rain falls on asphalt while tyres hiss through standing water and a bus engine passes from left to right.
|
|
392
|
+
|
|
393
|
+
non_diegetic_music:
|
|
394
|
+
N/A
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
Trim definitions for references that were not attached; unresolved labels are
|
|
398
|
+
invalid.
|
|
399
|
+
|
|
400
|
+
### Agent-ready H3 command shapes
|
|
401
|
+
|
|
402
|
+
```bash
|
|
403
|
+
# Text-to-video (landscape)
|
|
404
|
+
sogni-agent -q --video -m minimax-h3 --duration 10 -w 1344 -h 768 -o ./video.mp4 "<three-field H3 prompt>"
|
|
405
|
+
|
|
406
|
+
# Image-to-video from one first frame (portrait)
|
|
407
|
+
sogni-agent -q --video -m minimax-h3-i2v --ref ./first.png --duration 8 -w 768 -h 1344 -o ./video.mp4 "<I2V preamble plus three-field H3 prompt>"
|
|
408
|
+
|
|
409
|
+
# First frame -> last frame transition
|
|
410
|
+
sogni-agent -q --video -m minimax-h3-flf2v --ref ./first.png --ref-end ./last.png --duration 8 -w 1344 -h 768 -o ./video.mp4 "<FLF2V preamble plus three-field H3 prompt>"
|
|
411
|
+
|
|
412
|
+
# Turbo uses the same T2V/I2V/FLF2V prompt contracts
|
|
413
|
+
sogni-agent -q --video -m minimax-h3-turbo --duration 8 -w 1344 -h 768 -o ./video.mp4 "<three-field H3 prompt>"
|
|
414
|
+
sogni-agent -q --video -m minimax-h3-i2v-turbo --ref ./first.png --duration 8 -w 768 -h 1344 -o ./video.mp4 "<I2V preamble plus three-field H3 prompt>"
|
|
415
|
+
sogni-agent -q --video -m minimax-h3-flf2v-turbo --ref ./first.png --ref-end ./last.png --duration 8 -w 1344 -h 768 -o ./video.mp4 "<FLF2V preamble plus three-field H3 prompt>"
|
|
416
|
+
|
|
417
|
+
# Reference-to-video (reference order defines the prompt ordinals)
|
|
418
|
+
sogni-agent -q --video -m minimax-h3-r2v --ref ./identity.png -c ./wardrobe.png --ref-video ./motion.mp4 --ref-audio ./voice.m4a --duration 8 -w 1344 -h 768 -o ./video.mp4 "<six-field Ref2VA prompt>"
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
## High-Res Video Routing
|
|
422
|
+
|
|
423
|
+
When the user asks for video in **"hd"**, **"1080p"**, **"4k"**, **"uhd"**, or **"high-res"**, do not use the default WAN video models.
|
|
424
|
+
|
|
425
|
+
- 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 480p/720p only.
|
|
426
|
+
- For **non-vendor HD / 1080p text-to-video**, use `-m ltx25`.
|
|
427
|
+
- For **non-vendor HD / 1080p image-to-video**, use `-m ltx25-i2v`.
|
|
428
|
+
- Prefer LTX-sized dimensions such as `-w 1920 -h 1088` when the chosen model is LTX.
|
|
429
|
+
- For bare named resolutions such as "720p" without orientation or exact pixels, prefer `--target-resolution 768` or the closest requested short side instead of forcing landscape dimensions.
|
|
430
|
+
- 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.
|
|
431
|
+
- 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.
|
|
432
|
+
- 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.
|
|
433
|
+
|
|
434
|
+
## Agent-ready command shapes
|
|
435
|
+
|
|
436
|
+
```bash
|
|
437
|
+
# Native Seedance 4K / UHD text-to-video
|
|
438
|
+
sogni-agent -q --video -m seedance2 --target-resolution 2160 -o ./video.mp4 "A polished cinematic product reveal with native ambient sound"
|
|
439
|
+
|
|
440
|
+
# HD / 1080p text-to-video without the Seedance vendor path: prefer LTX-2.5
|
|
441
|
+
sogni-agent -q --video -m ltx25 -w 1920 -h 1088 -o ./video.mp4 "<LTX-rewritten paragraph>"
|
|
442
|
+
|
|
443
|
+
# HD / 1080p image-to-video without the Seedance vendor path: prefer LTX i2v
|
|
444
|
+
sogni-agent -q --video --ref /path/to/image.png -m ltx25-i2v -w 1920 -h 1088 -o ./video.mp4 "<LTX-rewritten paragraph>"
|
|
445
|
+
|
|
446
|
+
# LTX-2.3 voice identity / persona
|
|
447
|
+
sogni-agent --video --reference-audio-identity voice.webm 'NARRATOR: "This is my voice."'
|
|
448
|
+
|
|
449
|
+
# Seedance 2.0 standard (4-15s vendor video path with native audio)
|
|
450
|
+
sogni-agent --video -m seedance2 --duration 8 "A polished product reveal with native ambient sound"
|
|
451
|
+
|
|
452
|
+
# Seedance 2.5 (4-30s single clips, 480p/720p only — the one Seedance that renders past 15s in one call)
|
|
453
|
+
sogni-agent --video -m seedance2-5 --duration 24 "A continuous one-take product story with native ambient sound"
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
Prefer `.webm`, `.m4a`, or `.mp3` voice clips. Local `.wav` clips are normalized
|
|
457
|
+
to `.m4a` before upload when `ffmpeg` is available.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sogni-creative-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.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,32 @@
|
|
|
1
|
+
# [3.32.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.31.0...v3.32.0) (2026-08-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** align shared media releases ([e1a3bed](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/e1a3bed4ae688c7497c0690126e78102cd24d758))
|
|
7
|
+
* **deps:** bump intelligence-client to 3.19.0 to enable LoRA discovery ([25cd43e](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/25cd43ee298cbee00097f156b29a9a038125da07))
|
|
8
|
+
* **hermes:** ship the LoRA reference in the Hub bundle ([d615a59](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/d615a59063899d9d609947f044d44eba8d0ccf36))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add Hermes Skills Hub distribution ([#30](https://github.com/Sogni-AI/sogni-creative-agent-skill/issues/30)) ([52329e8](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/52329e81f5f89660fe71bb88e5a8a13f24ef789a))
|
|
14
|
+
* **loras:** add LoRA catalog discovery to the CLI ([8c50259](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/8c502597145ec9a261f2e1a8d03ea2688df35505))
|
|
15
|
+
* **upscale:** support NVIDIA RTX VSR through 16K ([d6ae213](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/d6ae2138833dccb88b5eac53a4878e7f1117e9eb))
|
|
16
|
+
|
|
17
|
+
## Unreleased
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* **upscale:** support NVIDIA RTX VSR output through a 15,360px longest edge (16K profile), with JPG output above 8K
|
|
22
|
+
|
|
23
|
+
# [3.31.1](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.31.0...v3.31.1) (2026-08-14)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* **deps:** align shared media releases ([e1a3bed](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/e1a3bed4ae688c7497c0690126e78102cd24d758))
|
|
29
|
+
|
|
1
30
|
# [3.31.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.30.0...v3.31.0) (2026-08-14)
|
|
2
31
|
|
|
3
32
|
|
package/README.md
CHANGED
|
@@ -184,15 +184,30 @@ Restart Codex (or start a new session) and ask it to "generate an image of a sun
|
|
|
184
184
|
|
|
185
185
|
### Hermes Agent
|
|
186
186
|
|
|
187
|
-
[Hermes Agent](https://hermes-agent.nousresearch.com/)
|
|
187
|
+
[Hermes Agent](https://hermes-agent.nousresearch.com/) can install the dedicated,
|
|
188
|
+
security-scannable bundle directly from its Skills Hub (via skills.sh):
|
|
188
189
|
|
|
189
190
|
```bash
|
|
190
|
-
|
|
191
|
+
hermes skills install skills-sh/sogni-ai/sogni-creative-agent-skill/sogni-creative-agent-skill
|
|
192
|
+
npm install -g @sogni-ai/sogni-creative-agent-skill@latest
|
|
193
|
+
sogni-agent-hermes doctor
|
|
191
194
|
```
|
|
192
195
|
|
|
193
|
-
|
|
196
|
+
Then `/reset` the Hermes session so it picks up the new skill. The Hub bundle
|
|
197
|
+
lives at
|
|
198
|
+
[`.agents/skills/sogni-creative-agent-skill/`](./.agents/skills/sogni-creative-agent-skill/)
|
|
199
|
+
and contains only the agent instructions and the references they load, keeping
|
|
200
|
+
the CLI runtime and development files outside Hermes' skill security scan.
|
|
201
|
+
|
|
202
|
+
For a combined CLI + personal-skill setup, the `npx` installer still places the
|
|
203
|
+
skill at `~/.hermes/skills/media/sogni-creative-agent-skill/`:
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
npx setup-sogni-agent-skill --only=hermes
|
|
207
|
+
```
|
|
194
208
|
|
|
195
|
-
|
|
209
|
+
Start Hermes once before running the installer so `~/.hermes/` exists. If the
|
|
210
|
+
selected local runtime is not detected, setup exits before installing anything.
|
|
196
211
|
|
|
197
212
|
### OpenClaw plugin
|
|
198
213
|
|
|
@@ -474,6 +489,11 @@ sogni-agent --list-models
|
|
|
474
489
|
sogni-agent --search-models spicy
|
|
475
490
|
sogni-agent --list-models --model-media image --model-tag uncensored
|
|
476
491
|
|
|
492
|
+
# Live LoRA catalog discovery (IDs, strength ranges, bipolar directions)
|
|
493
|
+
sogni-agent --list-loras --lora-catalog-model krea2_turbo_fp8_scaled
|
|
494
|
+
sogni-agent --search-loras lighting
|
|
495
|
+
sogni-agent --json --list-loras --lora-category character
|
|
496
|
+
|
|
477
497
|
# Durable hosted chat run with SSE progress events
|
|
478
498
|
SOGNI_SKILL_USE_SDK_TRANSPORT=1 sogni-agent --durable-chat \
|
|
479
499
|
"Create a product launch storyboard and render the first hero image"
|
|
@@ -556,6 +576,8 @@ Run `sogni-agent --help` for the full CLI. Below are the options and tables most
|
|
|
556
576
|
| `--list-models [query]`, `--search-models <query>` | List or search currently available Supernet image, video, and audio models |
|
|
557
577
|
| `--model-media <type>`, `--model-network <network>` | Filter live model discovery by media or Fast/Relaxed network |
|
|
558
578
|
| `--model-tag <tag>` | Filter by an official catalog tag such as `spicy` or `uncensored`; repeat for AND matching |
|
|
579
|
+
| `--list-loras [query]`, `--search-loras <query>` | List or search the live LoRA catalog with each LoRA's hard range, recommended range, default, and slider direction |
|
|
580
|
+
| `--lora-catalog-model <id>`, `--lora-category <category>` | Filter LoRA discovery to one model's compatible LoRAs or one catalog category |
|
|
559
581
|
| `--list-replays [n]`, `--get-replay <id>`, `--ingest-replay <json\|@path>` | Manage Sogni Intelligence replay records (use `@path` to load JSON from a file) |
|
|
560
582
|
| `--persona <name>` | Use a saved persona |
|
|
561
583
|
| `--concat-videos <out> <clips...>` | Stitch clips locally with FFmpeg |
|
|
@@ -595,7 +617,7 @@ Prefer `-Q fast|hq|pro` for images and automatic workflow routing for video. Pas
|
|
|
595
617
|
| OpenAI GPT Image generation, editing, or strong text rendering | `gpt-image-2` |
|
|
596
618
|
| Highest-quality images | `qwen_image_2512_fp8` (or `-Q pro`) |
|
|
597
619
|
| Image editing | `qwen_image_edit_2511_fp8_lightning` |
|
|
598
|
-
| Deterministic image upscaling | `rtx_vsr_pro` via `--upscale` |
|
|
620
|
+
| Deterministic image upscaling through 16K | `rtx_vsr_pro` via `--upscale` |
|
|
599
621
|
| Dark Beast Krea 2 images | `dark_beast_krea2_fp8` |
|
|
600
622
|
| Identity-preserving Krea image edits | `krea2_identity_edit_v1_2` |
|
|
601
623
|
| 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, 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 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, 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 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\"."
|
|
4
4
|
metadata:
|
|
5
|
-
version: "3.
|
|
5
|
+
version: "3.32.0"
|
|
6
6
|
homepage: https://sogni.ai
|
|
7
7
|
openclaw:
|
|
8
8
|
emoji: "🎨"
|
|
@@ -153,9 +153,11 @@ sogni-agent -q -n 3 -o ./cars.png "a {red|blue|green} sports car"
|
|
|
153
153
|
# Edit an existing image (source-preserving)
|
|
154
154
|
sogni-agent -q -c /path/to/input.jpg -o ./edited.png "make it pop art style"
|
|
155
155
|
|
|
156
|
-
# Deterministic RTX VSR upscale (promptless; 2x by default, up to
|
|
156
|
+
# Deterministic RTX VSR upscale (promptless; 2x by default, up to a 15,360px/16K longest edge)
|
|
157
157
|
sogni-agent -q --upscale /path/to/input.jpg -o ./upscaled.png
|
|
158
158
|
sogni-agent -q --upscale /path/to/input.jpg --target-longest-edge 4096 -o ./upscaled-4k.png
|
|
159
|
+
sogni-agent -q --upscale /path/to/input.jpg --target-longest-edge 7680 -o ./upscaled-8k.png
|
|
160
|
+
sogni-agent -q --upscale /path/to/input.jpg --target-longest-edge 15360 -o ./upscaled-16k.jpg
|
|
159
161
|
|
|
160
162
|
# Photobooth (face transfer — new portrait from a face photo)
|
|
161
163
|
sogni-agent -q --photobooth --ref /path/to/face.jpg -o ./stylized.png "80s fashion portrait"
|
|
@@ -223,7 +225,7 @@ sogni-agent doctor --json
|
|
|
223
225
|
| `-c <path>` | Context image for editing (repeatable) | - |
|
|
224
226
|
| `--upscale <path\|url>` | Promptless deterministic RTX VSR upscale | - |
|
|
225
227
|
| `--upscale-scale 2\|3\|4` | Upscale factor when no explicit target is supplied | 2 |
|
|
226
|
-
| `--target-longest-edge <px>` | RTX VSR target longest edge, preserving aspect ratio | 512–
|
|
228
|
+
| `--target-longest-edge <px>` | RTX VSR target longest edge, preserving aspect ratio | 512–15360 box |
|
|
227
229
|
| `-m <id>` | Explicit model | `z_image_turbo_bf16` |
|
|
228
230
|
| `-w` / `-h` | Width / height | 512×512 |
|
|
229
231
|
| `-n <num>` | Output count (`{a\|b\|c}` prompt variations cycle); capped at 16, raise with `SOGNI_MAX_COUNT` | 1 |
|
|
@@ -255,7 +257,7 @@ sogni-agent doctor --json
|
|
|
255
257
|
### Upscaling vs. generative editing
|
|
256
258
|
|
|
257
259
|
- 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`.
|
|
258
|
-
- `--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–
|
|
260
|
+
- `--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.
|
|
259
261
|
|
|
260
262
|
### Photobooth vs. context editing
|
|
261
263
|
|
|
@@ -267,7 +269,7 @@ sogni-agent -c photo.jpg -m qwen_image_edit_2511_fp8 "turn this into anime style
|
|
|
267
269
|
```
|
|
268
270
|
|
|
269
271
|
- For an edit of a referenced person or character that must preserve likeness or character identity while changing clothing, hair or makeup, pose or position, face/head/body, background, lighting, or visual style, default to `-m krea2_identity_edit_v1_2` with `-c`. Infer that semantic intent in any language; never route from keyword or regex matching. Also use it for a single-character sheet unless Pro/detail-critical layout requirements favor GPT Image 2. An explicitly requested model always wins; use `-m dark_beast_krea2_identity_edit_v1_2` only when the creator explicitly requests that community/uncensored variant. Both accept 1-2 references at 512-2048 px. For two references, pass the base scene first and the person/detail/outfit/pose/style reference second. Write a concise 1-4 sentence delta instruction, do not send a negative prompt, and leave steps, guidance, sampler, and scheduler unset so the current model tier and worker choose their optimized defaults.
|
|
270
|
-
- For Krea 2 style/control LoRAs, use the base text-to-image model `-m krea2_turbo_fp8_scaled` with repeatable ordered `--lora <id> --lora-strength <n>` arguments (or comma-separated `--loras` / `--lora-strengths`). Up to 8 LoRAs may be stacked. Order matters, strengths are positional, omitted strengths default to 1, and many Krea 2 LoRAs are bipolar sliders whose negative values apply the inverse effect. Do not clamp them to 0-2. The first use of an uncached LoRA may pause while the worker downloads it.
|
|
272
|
+
- For Krea 2 style/control LoRAs, use the base text-to-image model `-m krea2_turbo_fp8_scaled` with repeatable ordered `--lora <id> --lora-strength <n>` arguments (or comma-separated `--loras` / `--lora-strengths`). Up to 8 LoRAs may be stacked. Order matters, strengths are positional, omitted strengths default to 1, and many Krea 2 LoRAs are bipolar sliders whose negative values apply the inverse effect. Do not clamp them to 0-2. The first use of an uncached LoRA may pause while the worker downloads it. All 25 published Krea 2 LoRAs work on every Krea 2 based model, including the identity-edit and Dark Beast variants, so a context edit with `-m krea2_identity_edit_v1_2 -c` can stack LoRAs to shift age, build, skin, or lighting while the identity LoRA holds the likeness. Never combine a negative `krea2-age` with `krea2-mystic-x` or `krea2-realism-engine`; the platform rejects that outright. Read [`references/krea2-loras.md`](./references/krea2-loras.md) for the IDs and per-LoRA ranges, and run `--list-loras` / `--search-loras` for the live catalog before relying on an exact range.
|
|
271
273
|
- Do not route to `--photobooth` merely because the user asks to preserve a face in a style edit — face-preserving full-image edits use `-c` with Krea 2 Identity Edit by the semantic rule above. The bare CLI still defaults context edits without `-m` to `qwen_image_edit_2511_fp8_lightning`, so agents must pass the Krea model explicitly for identity-sensitive edits. Select `-m gpt-image-2` for up to 16 reference images and OpenAI-backed editing (Qwen supports up to 3; Krea identity edit supports up to 2).
|
|
272
274
|
|
|
273
275
|
### LTX video prompts
|
|
@@ -405,6 +407,7 @@ Eligible Sogni-hosted renders use Unlimited coverage when active; otherwise rend
|
|
|
405
407
|
| [`references/hosted-api.md`](./references/hosted-api.md) | `--api-chat`, `--durable-chat`, `--api-workflow`, workflow templates, replays, Seedance reference modes, cost controls |
|
|
406
408
|
| [`references/seamless-tiling.md`](./references/seamless-tiling.md) | Seamless repeating patterns, wallpapers, tiling textures, Escher tessellations |
|
|
407
409
|
| [`references/models.md`](./references/models.md) | Choosing models, sizing/divisibility rules, image edit reference limits, music model options |
|
|
410
|
+
| [`references/krea2-loras.md`](./references/krea2-loras.md) | The 25 Krea 2 LoRAs: IDs, strength ranges, bipolar directions, community fine-tunes, live `--list-loras` discovery |
|
|
408
411
|
| [`references/personas-memory.md`](./references/personas-memory.md) | Persona CRUD/voice cloning, multi-persona scenes, memories, personality, style transfer, photo restoration |
|
|
409
412
|
| [`references/openclaw-config.md`](./references/openclaw-config.md) | OpenClaw plugin config defaults and overrides |
|
|
410
413
|
| [`skills/README.md`](./skills/README.md) | Hosted per-skill tool surface (for hosts that load focused capability subsets) |
|
|
@@ -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.32.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",
|