@sogni-ai/sogni-creative-agent-skill 3.31.1 → 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 +22 -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
|
@@ -2217,13 +2217,13 @@ const PROMPT_CONTRACTS = [
|
|
|
2217
2217
|
},
|
|
2218
2218
|
{
|
|
2219
2219
|
"contractId": "upscale_image_v1",
|
|
2220
|
-
"version": "1.
|
|
2220
|
+
"version": "1.1.0",
|
|
2221
2221
|
"toolName": "upscale_image",
|
|
2222
|
-
"baseDescription": "upscale_image performs promptless, deterministic NVIDIA RTX VSR enlargement of exactly one\nuploaded or generated image. Use it when the user asks for a larger copy, higher resolution,\n2x/3x/4x enlargement, 4K/8K output, or more pixels while preserving the source composition.\n\nDo not invent a prompt and do not route a pure upscale through restore_photo, refine_result,\nedit_image, or apply_style. Those tools are generative and can change image content.\n\nOmit sourceImageIndex to use the latest generated image, falling back to the first upload.\nUse zero-based non-negative indices for generated results; -1 selects the first upload and\n-2 the second upload. Set either scale (2, 3, or 4) or targetLongestEdge (512-
|
|
2222
|
+
"baseDescription": "upscale_image performs promptless, deterministic NVIDIA RTX VSR enlargement of exactly one\nuploaded or generated image. Use it when the user asks for a larger copy, higher resolution,\n2x/3x/4x enlargement, 4K/8K/16K output, or more pixels while preserving the source composition.\n\nDo not invent a prompt and do not route a pure upscale through restore_photo, refine_result,\nedit_image, or apply_style. Those tools are generative and can change image content.\n\nOmit sourceImageIndex to use the latest generated image, falling back to the first upload.\nUse zero-based non-negative indices for generated results; -1 selects the first upload and\n-2 the second upload. Set either scale (2, 3, or 4) or targetLongestEdge (512-15360).\ntargetLongestEdge takes precedence. Never request a target at or below the source size.\nBoth 8px-aligned output edges must remain between 512 and 15360px. If a wide or tall source\nneeds a larger target to preserve its aspect ratio, use the minimum target returned by the tool.",
|
|
2223
2223
|
"parameterDocs": {
|
|
2224
2224
|
"sourceImageIndex": "Omit for the latest generated image, then first upload. Generated results are zero-based; -1/-2 select uploaded images.",
|
|
2225
2225
|
"scale": "Integer enlargement factor 2, 3, or 4. Defaults to 2 and is ignored when targetLongestEdge is set. A too-small result is rejected rather than stretched to the 512px edge minimum.",
|
|
2226
|
-
"targetLongestEdge": "Explicit output longest edge in pixels, 512-
|
|
2226
|
+
"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."
|
|
2227
2227
|
}
|
|
2228
2228
|
},
|
|
2229
2229
|
{
|
package/llm.txt
CHANGED
|
@@ -33,6 +33,11 @@ npx setup-sogni-agent-skill --only=codex
|
|
|
33
33
|
# Hermes session
|
|
34
34
|
npx setup-sogni-agent-skill --only=hermes
|
|
35
35
|
|
|
36
|
+
# Hermes Skills Hub (install the narrow skill bundle plus the global CLI), then
|
|
37
|
+
# /reset the Hermes session
|
|
38
|
+
hermes skills install skills-sh/sogni-ai/sogni-creative-agent-skill/sogni-creative-agent-skill
|
|
39
|
+
npm install -g @sogni-ai/sogni-creative-agent-skill@latest
|
|
40
|
+
|
|
36
41
|
# OpenClaw plugin (the npm package is scoped — use the npm: source prefix)
|
|
37
42
|
openclaw plugins install npm:@sogni-ai/sogni-creative-agent-skill
|
|
38
43
|
|
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.
|
|
5
|
+
"version": "3.32.0",
|
|
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.
|
|
3
|
+
"version": "3.32.0",
|
|
4
4
|
"description": "Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image, video, and music generation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "sogni-agent.mjs",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"openclaw:sync": "node scripts/sync-openclaw-plugin.mjs",
|
|
15
|
+
"sync:hermes-skill": "node scripts/sync-hermes-skill.mjs",
|
|
15
16
|
"sync:version": "node scripts/sync-version.mjs",
|
|
16
17
|
"check:version-sync": "node scripts/check-version-sync.mjs",
|
|
17
18
|
"sync:creative-agent-runtime": "node scripts/sync-creative-agent-runtime.mjs",
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
"CHANGELOG.md",
|
|
65
66
|
".claude-plugin/",
|
|
66
67
|
".codex-plugin/",
|
|
68
|
+
".agents/skills/sogni-creative-agent-skill/",
|
|
67
69
|
"plugin-skills/",
|
|
68
70
|
"SKILL.md",
|
|
69
71
|
"references/",
|
|
@@ -73,6 +75,7 @@
|
|
|
73
75
|
"skill-package.json",
|
|
74
76
|
"host-launchers/",
|
|
75
77
|
"scripts/sync-version.mjs",
|
|
78
|
+
"scripts/sync-hermes-skill.mjs",
|
|
76
79
|
"scripts/check-version-sync.mjs",
|
|
77
80
|
"scripts/check-creative-agent-runtime.mjs",
|
|
78
81
|
"scripts/check-creative-agent-source.mjs",
|
|
@@ -92,13 +95,13 @@
|
|
|
92
95
|
"sogni-agent.mjs"
|
|
93
96
|
],
|
|
94
97
|
"dependencies": {
|
|
95
|
-
"@sogni-ai/sogni-intelligence-client": "3.
|
|
98
|
+
"@sogni-ai/sogni-intelligence-client": "3.19.0",
|
|
96
99
|
"execa": "^9.6.1",
|
|
97
100
|
"json5": "^2.2.3",
|
|
98
101
|
"sharp": "^0.34.5"
|
|
99
102
|
},
|
|
100
103
|
"overrides": {
|
|
101
|
-
"@sogni-ai/sogni-client": "5.
|
|
104
|
+
"@sogni-ai/sogni-client": "5.17.0"
|
|
102
105
|
},
|
|
103
106
|
"openclaw": {
|
|
104
107
|
"extensions": [
|
package/references/hosted-api.md
CHANGED
|
@@ -90,6 +90,11 @@ server-side, so do not rely on `--no-thinking` as a hard suppression switch).
|
|
|
90
90
|
tools on raw API/SDK requests. In the CLI, combine with
|
|
91
91
|
`--no-api-tool-execution` for text-only planning.
|
|
92
92
|
|
|
93
|
+
For a pure resolution increase, call `upscale_image` with one source image and
|
|
94
|
+
either `scale: 2|3|4` or `targetLongestEdge`. Use `7680` for 8K or `15360` for
|
|
95
|
+
16K. The promptless NVIDIA RTX VSR path preserves the source aspect ratio,
|
|
96
|
+
aligns both output edges to 8px, and returns JPG when the target exceeds 8K.
|
|
97
|
+
|
|
93
98
|
## --durable-chat (`POST /v1/chat/runs`)
|
|
94
99
|
|
|
95
100
|
Long-running, LLM-in-the-loop turns persisted as chat-run records instead of a
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# Krea 2 LoRA catalog
|
|
2
|
+
|
|
3
|
+
The 25 LoRAs Sogni publishes for the Krea 2 family. Every one of them works on
|
|
4
|
+
every Krea 2 based model:
|
|
5
|
+
|
|
6
|
+
- `krea2_turbo_fp8_scaled` — Krea 2 Turbo text-to-image
|
|
7
|
+
- `krea2_identity_edit_v1_2` — Krea 2 Identity Edit v1.2
|
|
8
|
+
- `krea2_identity_edit_sogni_v0_3_alpha` — Sogni identity edit alpha
|
|
9
|
+
- `dark_beast_krea2_fp8` — Dark Beast community text-to-image fine-tune
|
|
10
|
+
- `dark_beast_krea2_identity_edit_v1_2` — Dark Beast community identity edit
|
|
11
|
+
|
|
12
|
+
No other model family accepts these IDs.
|
|
13
|
+
|
|
14
|
+
## Live catalog is the source of truth
|
|
15
|
+
|
|
16
|
+
This page is a snapshot. Sogni publishes, retunes, and retires LoRAs without a
|
|
17
|
+
skill release, so read the live catalog before you rely on an exact range:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
sogni-agent --list-loras --lora-catalog-model krea2_turbo_fp8_scaled
|
|
21
|
+
sogni-agent --search-loras skin
|
|
22
|
+
sogni-agent --list-loras --lora-category lighting
|
|
23
|
+
sogni-agent --json --list-loras # full contracts, incl. descriptions
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
`--list-loras` goes through the SDK's `projects.availableLoras({ modelId })`,
|
|
27
|
+
which reads the same public catalog the web app renders its LoRA browser from
|
|
28
|
+
and applies the model filter server-side. Each row carries the hard range, the
|
|
29
|
+
recommended range, the default, the step, the bipolar direction labels, and the
|
|
30
|
+
creator and license. Results are cached for five minutes.
|
|
31
|
+
|
|
32
|
+
From code, use the SDK directly — the catalog is public, so this needs no
|
|
33
|
+
credentials and no socket:
|
|
34
|
+
|
|
35
|
+
```js
|
|
36
|
+
const { loras, models, constraints } = await sogni.projects.availableLoras({
|
|
37
|
+
modelId: 'krea2_turbo_fp8_scaled'
|
|
38
|
+
});
|
|
39
|
+
// loras[] — loraId, name, description, modelIds, ui{min,max,default,step,
|
|
40
|
+
// recommendedMin, recommendedMax, rangeLabels, category,
|
|
41
|
+
// section, nsfw, sexual, creator, sourceUrl, license, examples}
|
|
42
|
+
// models[] — every model id that accepts LoRAs, ignoring the filter
|
|
43
|
+
// constraints — { maxPerRequest: 8, minStrength: -100, maxStrength: 100 }
|
|
44
|
+
|
|
45
|
+
const warmLight = await sogni.projects.getLora('krea2-warm-light');
|
|
46
|
+
if (await sogni.projects.supportsLoras(modelId)) { /* offer a LoRA control */ }
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Never hard-code which models take LoRAs or how many stack — `models` and
|
|
50
|
+
`constraints.maxPerRequest` are served so that list stays correct when a LoRA
|
|
51
|
+
ships for a new model.
|
|
52
|
+
|
|
53
|
+
## Applying them
|
|
54
|
+
|
|
55
|
+
Order is significant and strengths are positional — `loraStrengths[i]` applies
|
|
56
|
+
to `loras[i]`:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
sogni-agent -m krea2_turbo_fp8_scaled \
|
|
60
|
+
--lora krea2-detail-enhancer --lora-strength 3 \
|
|
61
|
+
--lora krea2-amateur --lora-strength -2 \
|
|
62
|
+
"candid editorial street portrait at dusk"
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
`--loras a,b,c` and `--lora-strengths 1,2,3` are the comma-separated equivalents.
|
|
66
|
+
|
|
67
|
+
They apply to identity edits too — stack a LoRA on a context edit to shift age,
|
|
68
|
+
build, skin, or lighting while the identity LoRA holds the likeness:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
sogni-agent -m krea2_identity_edit_v1_2 -c ./portrait.jpg \
|
|
72
|
+
--lora krea2-age --lora-strength -3 \
|
|
73
|
+
"same person, same outfit and background"
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The hosted `generate_image` and `edit_image` tools take the same two arrays under
|
|
77
|
+
`loras` and `loraStrengths`. On `edit_image` they apply only when the model is
|
|
78
|
+
`krea-identity-edit` or `dark-beast-krea2-identity-edit`; Qwen, Flux.2, and GPT
|
|
79
|
+
Image 2 load no LoRAs and the ids are dropped.
|
|
80
|
+
|
|
81
|
+
- Up to 8 LoRAs per render — read `constraints.maxPerRequest` rather than
|
|
82
|
+
assuming; the render pipeline rejects anything over it at submit.
|
|
83
|
+
- Omitted strengths default to 1, which is **not** every LoRA's own default —
|
|
84
|
+
`krea2-chest-firmness`, `krea2-nipple-projection`, and `krea2-height` default
|
|
85
|
+
to 0, and several community fine-tunes default below 1. Pass explicit
|
|
86
|
+
strengths rather than relying on the fallback.
|
|
87
|
+
- Most of these are **bipolar sliders**: negative values apply the inverse
|
|
88
|
+
effect and 0 disables it. Never clamp them to 0-2 — follow the range below.
|
|
89
|
+
- The first render with an uncached LoRA pauses while the worker downloads it.
|
|
90
|
+
|
|
91
|
+
**Safety rule the platform enforces:** `krea2-age` at a negative strength is
|
|
92
|
+
rejected outright when combined with `krea2-mystic-x` or `krea2-realism-engine`
|
|
93
|
+
(the two LoRAs flagged `sexual`). Keep Age at 0 or above in any adult context.
|
|
94
|
+
Only `krea2-aberrant`, `krea2-mystic-x`, and `krea2-realism-engine` are
|
|
95
|
+
mature-gated; the body sliders are not.
|
|
96
|
+
|
|
97
|
+
## Detail and composition
|
|
98
|
+
|
|
99
|
+
| LoRA ID | Name | Range | Recommended | Default | Direction |
|
|
100
|
+
|---------|------|-------|-------------|---------|-----------|
|
|
101
|
+
| `krea2-detail-enhancer` | Detail Enhancer | -5 to 5 | -2 to 5 | 1 | Less Detailed → More Detailed |
|
|
102
|
+
| `krea2-scene-complexity` | Scene Complexity | -10 to 10 | -4 to 4 | 1 | Simpler Scene → More Complex |
|
|
103
|
+
| `krea2-wetness` | Wetness | -3 to 3 | -3 to 3 | 1 | Drier → Wetter |
|
|
104
|
+
| `krea2-skin-detail` | Skin Detail | -10 to 10 | -0.5 to 3 | 1 | Smoother Skin → More Skin Detail |
|
|
105
|
+
| `krea2-zoom` | Zoom | -10 to 10 | -5 to 5 | 1 | Zoomed Out → Zoomed In |
|
|
106
|
+
|
|
107
|
+
## Art direction
|
|
108
|
+
|
|
109
|
+
| LoRA ID | Name | Range | Recommended | Default | Direction |
|
|
110
|
+
|---------|------|-------|-------------|---------|-----------|
|
|
111
|
+
| `krea2-realism` | Illustrated ↔ Realistic | -2 to 2 | -1 to 1 | 1 | More Illustrated → More Photoreal |
|
|
112
|
+
| `krea2-amateur` | Professional ↔ Amateur | -5 to 5 | -2 to 2 | 1 | More Professional → More Amateur |
|
|
113
|
+
| `krea2-candid` | Editorial ↔ Candid | -10 to 10 | 3 to 9 | 3 | More Editorial → More Candid |
|
|
114
|
+
| `krea2-purple-grainy` | Purple Grainy | -2 to 2 | -1 to 1.5 | 1 | Clean & Saturated → Grainy & Muted |
|
|
115
|
+
|
|
116
|
+
## Lighting
|
|
117
|
+
|
|
118
|
+
| LoRA ID | Name | Range | Recommended | Default | Direction |
|
|
119
|
+
|---------|------|-------|-------------|---------|-----------|
|
|
120
|
+
| `krea2-afterlight` | Afterlight | -1.2 to 1.2 | 0.25 to 1.2 | 0.75 | Cooler Light → Golden Afterlight |
|
|
121
|
+
| `krea2-warm-light` | Warm Light | -10 to 10 | -3 to 3 | 1 | Cooler & Darker → Warmer & Golden |
|
|
122
|
+
|
|
123
|
+
## Character
|
|
124
|
+
|
|
125
|
+
| LoRA ID | Name | Range | Recommended | Default | Direction |
|
|
126
|
+
|---------|------|-------|-------------|---------|-----------|
|
|
127
|
+
| `krea2-height` | Height | -5 to 5 | -3 to 3 | 0 | Shorter → Taller |
|
|
128
|
+
| `krea2-weight` | Weight | -3 to 3 | -3 to 3 | 1 | Leaner → Heavier |
|
|
129
|
+
| `krea2-age` | Age | -10 to 10 | -3 to 8 | 1 | Younger → Older |
|
|
130
|
+
| `krea2-skin-tone` | Skin Tone | -4 to 4 | -1.5 to 1.5 | 1 | Lighter Tone → Darker Tone |
|
|
131
|
+
| `krea2-hourglass-figure` | Figure | -1.5 to 1.5 | 0.7 to 1 | 0.8 | Less Hourglass → More Hourglass |
|
|
132
|
+
| `krea2-breast` | Chest Size | -5 to 5 | -2 to 4 | 1 | Smaller Chest → Larger Chest |
|
|
133
|
+
| `krea2-chest-firmness` | Natural Sag → Firm | -8 to 8 | -5 to 5 | 0 | Natural Sag → Firm |
|
|
134
|
+
| `krea2-nipple-projection` | Nipple Flat → Protruding | -10 to 10 | -5 to 5 | 0 | Flat → Protruding |
|
|
135
|
+
|
|
136
|
+
The three chest sliders are anatomy controls that the web app groups under one
|
|
137
|
+
"Chest" section. Apply them only when the creator asks for that adjustment.
|
|
138
|
+
|
|
139
|
+
## Prompt control
|
|
140
|
+
|
|
141
|
+
| LoRA ID | Name | Range | Recommended | Default |
|
|
142
|
+
|---------|------|-------|-------------|---------|
|
|
143
|
+
| `krea2-filter-bypass-2` | Krea2FilterBypass 2vector | 0 to 100 | 1 to 2 | 1 |
|
|
144
|
+
| `krea2-filter-bypass-3` | Krea2FilterBypass 3vector | 0 to 100 | 1 to 2 | 1 |
|
|
145
|
+
|
|
146
|
+
Both steer Krea 2 away from its normalized archetypes — the "resting Krea 2
|
|
147
|
+
face" problem — and improve prompt adherence, expressive emotion, and anatomy.
|
|
148
|
+
Reach for the 2-vector version first and the 3-vector version when it is not
|
|
149
|
+
enough. Use the lowest strength that works; 1, 2, and 100 are the common values,
|
|
150
|
+
and higher values trade image quality for control.
|
|
151
|
+
|
|
152
|
+
## Popular community fine-tunes
|
|
153
|
+
|
|
154
|
+
These are full concept fine-tunes, not sliders. Each carries its own subject and
|
|
155
|
+
style bias, so treat one as a look you build on rather than a finishing pass.
|
|
156
|
+
|
|
157
|
+
| LoRA ID | Name | Range | Recommended | Default | Creator |
|
|
158
|
+
|---------|------|-------|-------------|---------|---------|
|
|
159
|
+
| `krea2-realism-engine` | Realism Engine v3 | 0 to 2 | 0.5 to 1 | 0.8 | razzz |
|
|
160
|
+
| `krea2-bloomgirls` | BloomGirls UltraRealism | 0 to 2 | 0.4 to 1 | 0.8 | coolstrad |
|
|
161
|
+
| `krea2-mystic-x` | Mystic X | 0 to 2 | 0 to 1 | 1 | alcaitiff |
|
|
162
|
+
| `krea2-aberrant` | Aberrant | 0 to 2 | 0.2 to 1.5 | 0.75 | alcaitiff |
|
|
163
|
+
|
|
164
|
+
- **Realism Engine v3** pushes toward photographic realism and carries mature
|
|
165
|
+
subject knowledge the base model lacks. Above ~1.0 skin turns plastic. It
|
|
166
|
+
often pairs well with a filter-bypass LoRA.
|
|
167
|
+
- **BloomGirls** is the polished lifestyle/influencer look: soft bloom, richer
|
|
168
|
+
saturation, smooth skin, close phone-camera framing. It restyles face and hair
|
|
169
|
+
as well as the grade. Trained on the token `bl00m`, which only nudges the
|
|
170
|
+
result. Holds together to ~1.0 on Turbo at 8 steps; smears by 2.0.
|
|
171
|
+
- **Mystic X** is an all-round uncensored adult fine-tune; keep it at or below
|
|
172
|
+
1, and the author recommends euler/beta at 12 steps.
|
|
173
|
+
- **Aberrant** adds industrial body-horror: dirt, scars, and mechanical
|
|
174
|
+
undertones low; fused tissue and rusted metal high.
|
|
175
|
+
|
|
176
|
+
`krea2-mystic-x` and `krea2-realism-engine` are flagged NSFW and sexual in the
|
|
177
|
+
catalog; `krea2-aberrant` is flagged NSFW. Honor the creator's intent and the
|
|
178
|
+
usual mature-content handling when selecting them.
|
package/references/models.md
CHANGED
|
@@ -62,15 +62,16 @@ dimensions. "high quality" / "best quality" / "pro" → `-Q pro`; quick drafts
|
|
|
62
62
|
| `qwen_image_edit_2511_fp8` | Medium | Image editing with context (up to 3), strongest preservation |
|
|
63
63
|
| `qwen_image_edit_2511_fp8_lightning` | Fast | Quick image editing (default for `-c`) |
|
|
64
64
|
| `coreml-sogniXLturbo_alpha1_ad` | Fast | Photobooth face transfer (SDXL Turbo) |
|
|
65
|
-
| `rtx_vsr_pro` | Fast | Promptless, deterministic NVIDIA RTX VSR upscale from one starting image; 512-
|
|
65
|
+
| `rtx_vsr_pro` | Fast | Promptless, deterministic NVIDIA RTX VSR upscale from one starting image; 512-15360 target box, 8px step |
|
|
66
66
|
|
|
67
67
|
RTX VSR is not a text-to-image or restoration model. Invoke it with
|
|
68
68
|
`sogni-agent --upscale <path|url>` (optionally `--upscale-scale 2|3|4` or
|
|
69
69
|
`--target-longest-edge <px>`), or use the hosted `upscale_image` tool. The
|
|
70
70
|
source is sent through `startingImage`, the prompt stays empty, and the worker
|
|
71
71
|
fits the result inside the requested box without cropping or stretching. Both
|
|
72
|
-
8px-aligned output edges must be 512-
|
|
73
|
-
|
|
72
|
+
8px-aligned output edges must be 512-15360px. Use 7680 for 8K or 15360 for
|
|
73
|
+
16K; targets above 7680px return JPG. If a scale leaves the short edge below
|
|
74
|
+
512px, use the minimum target longest edge reported by the CLI/tool.
|
|
74
75
|
|
|
75
76
|
For Krea 2 Turbo, hosted/chat planning may use the creative-agent selector
|
|
76
77
|
`krea-2-turbo`; direct CLI `-m` uses the worker model ID
|
|
@@ -91,6 +92,19 @@ LoRAs are bipolar sliders, so negative values are valid and apply the inverse
|
|
|
91
92
|
effect. Follow the range documented for each LoRA rather than assuming 0-2.
|
|
92
93
|
The first render with an uncached LoRA can take longer while its asset downloads.
|
|
93
94
|
|
|
95
|
+
All 25 published Krea 2 LoRAs apply to every Krea 2 based model —
|
|
96
|
+
`krea2_turbo_fp8_scaled`, `krea2_identity_edit_v1_2`,
|
|
97
|
+
`krea2_identity_edit_sogni_v0_3_alpha`, `dark_beast_krea2_fp8`, and
|
|
98
|
+
`dark_beast_krea2_identity_edit_v1_2`. [`krea2-loras.md`](./krea2-loras.md) lists
|
|
99
|
+
every ID with its range, recommended range, default, and slider direction. The
|
|
100
|
+
catalog moves without a skill release, so read it live before relying on an
|
|
101
|
+
exact range:
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
sogni-agent --list-loras --lora-catalog-model krea2_turbo_fp8_scaled
|
|
105
|
+
sogni-agent --search-loras lighting
|
|
106
|
+
```
|
|
107
|
+
|
|
94
108
|
For an edit of a referenced person or character that must preserve likeness or
|
|
95
109
|
character identity while changing clothing, hair or makeup, pose or position,
|
|
96
110
|
face/head/body, background, lighting, or visual style, default to a context
|
|
@@ -44,6 +44,10 @@ export function checkVersionSync({ repoRoot = defaultRepoRoot } = {}) {
|
|
|
44
44
|
const skill = read(repoRoot, 'SKILL.md').match(/^\s*version:\s*"([^"]+)"/m);
|
|
45
45
|
expectVersion(problems, 'SKILL.md metadata.version', skill?.[1], version);
|
|
46
46
|
|
|
47
|
+
const hermesSkill = read(repoRoot, '.agents/skills/sogni-creative-agent-skill/SKILL.md')
|
|
48
|
+
.match(/^\s+version:\s*"([^"]+)"/m);
|
|
49
|
+
expectVersion(problems, 'Hermes Hub SKILL.md version', hermesSkill?.[1], version);
|
|
50
|
+
|
|
47
51
|
for (const manifest of [
|
|
48
52
|
'.claude-plugin/plugin.json',
|
|
49
53
|
'.codex-plugin/plugin.json',
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copy the canonical deep-dive references into the self-contained Hermes Hub
|
|
3
|
+
* skill bundle. SKILL.md stays Hermes-specific and is maintained separately.
|
|
4
|
+
*/
|
|
5
|
+
import { copyFileSync, mkdirSync } from 'node:fs';
|
|
6
|
+
import { dirname, join } from 'node:path';
|
|
7
|
+
import { fileURLToPath } from 'node:url';
|
|
8
|
+
|
|
9
|
+
const repoRoot = dirname(dirname(fileURLToPath(import.meta.url)));
|
|
10
|
+
const destination = join(
|
|
11
|
+
repoRoot,
|
|
12
|
+
'.agents',
|
|
13
|
+
'skills',
|
|
14
|
+
'sogni-creative-agent-skill',
|
|
15
|
+
'references',
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
const referenceFiles = [
|
|
19
|
+
'hosted-api.md',
|
|
20
|
+
'krea2-loras.md',
|
|
21
|
+
'loop-maker.md',
|
|
22
|
+
'models.md',
|
|
23
|
+
'personas-memory.md',
|
|
24
|
+
'private-mature-video.md',
|
|
25
|
+
'seamless-tiling.md',
|
|
26
|
+
'video-editing.md',
|
|
27
|
+
'video-prompting.md',
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
mkdirSync(destination, { recursive: true });
|
|
31
|
+
for (const filename of referenceFiles) {
|
|
32
|
+
copyFileSync(join(repoRoot, 'references', filename), join(destination, filename));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
console.log(`Synced ${referenceFiles.length} Hermes skill references.`);
|
package/scripts/sync-version.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Stamp the package.json version into every other manifest that carries it:
|
|
3
|
-
* version.mjs, SKILL.md frontmatter, .
|
|
3
|
+
* version.mjs, SKILL.md frontmatter, the Hermes Hub SKILL.md,
|
|
4
|
+
* .claude-plugin/plugin.json,
|
|
4
5
|
* .codex-plugin/plugin.json, openclaw.plugin.json,
|
|
5
6
|
* desktop-extension/manifest.json.
|
|
6
7
|
*
|
|
@@ -42,6 +43,15 @@ stamp('SKILL.md', (text) => {
|
|
|
42
43
|
return updated;
|
|
43
44
|
});
|
|
44
45
|
|
|
46
|
+
stamp('.agents/skills/sogni-creative-agent-skill/SKILL.md', (text) => {
|
|
47
|
+
const updated = text.replace(/^(\s+version:\s*)"[^"]+"/m, `$1"${version}"`);
|
|
48
|
+
if (!/^\s+version:\s*"/m.test(text)) {
|
|
49
|
+
console.error('Hermes Hub SKILL.md frontmatter has no version field to stamp.');
|
|
50
|
+
process.exit(1);
|
|
51
|
+
}
|
|
52
|
+
return updated;
|
|
53
|
+
});
|
|
54
|
+
|
|
45
55
|
for (const manifest of [
|
|
46
56
|
'.claude-plugin/plugin.json',
|
|
47
57
|
'.codex-plugin/plugin.json',
|
package/skill-package.json
CHANGED
package/skills/image_editing.md
CHANGED
|
@@ -19,7 +19,7 @@ Edit, restore, restyle, refine, upscale, or change the camera angle of an existi
|
|
|
19
19
|
|
|
20
20
|
- `edit_image` — instruction-based image editing including persona-reference flows.
|
|
21
21
|
- `restore_photo` — AI photo restoration (Qwen Image Edit).
|
|
22
|
-
- `upscale_image` — promptless deterministic NVIDIA RTX VSR enlargement.
|
|
22
|
+
- `upscale_image` — promptless deterministic NVIDIA RTX VSR enlargement through 16K.
|
|
23
23
|
- `apply_style` — artistic style transfer.
|
|
24
24
|
- `change_angle` — camera-angle synthesis over an existing subject.
|
|
25
25
|
- `refine_result` — iterative refinement of a prior result in the session.
|
|
@@ -30,6 +30,6 @@ Edit, restore, restyle, refine, upscale, or change the camera angle of an existi
|
|
|
30
30
|
- Use `-m krea2_identity_edit_v1_2` for identity-preserving Krea 2 edits with 1-2 context images; use `-m dark_beast_krea2_identity_edit_v1_2` for the Dark Beast Krea 2 identity edit LoRA. Both support 512-2048 px output, 8-12 steps, guidance 1, and default to 10 steps.
|
|
31
31
|
- Qwen Image Edit supports up to 3 context images, GPT Image 2 supports up to 16, and Krea identity edit models support up to 2.
|
|
32
32
|
- `refine_result` acts on a prior generation in the session; do not call it before any image has been produced or uploaded.
|
|
33
|
-
- Use `upscale_image` when the user only wants a larger, higher-resolution copy. It takes one source image plus an optional 2x/3x/4x scale or target longest edge. Both 8px-aligned output edges must remain within 512-
|
|
33
|
+
- Use `upscale_image` when the user only wants a larger, higher-resolution copy. It takes one source image plus an optional 2x/3x/4x scale or target longest edge. Both 8px-aligned output edges must remain within 512-15360px; use 7680 for 8K or 15360 for 16K. Targets above 7680px return JPG. If a scale leaves the short edge below 512px, retry with the minimum target longest edge reported by the tool. Never stretch the image, invent a prompt, or substitute `restore_photo`, `refine_result`, or `edit_image` for a pure upscale.
|
|
34
34
|
- For source-preserving style edits such as "anime version of this image", "keep everything the same", or requests that preserve pose, clothing, background, framing, or composition, use image editing with the provided image as context. Do not switch to photobooth/face-transfer just because the user asks to preserve the face.
|
|
35
35
|
- Photobooth/face-transfer is for generating a new portrait from a face reference. It is not full-image editing and may change pose, clothing, background, framing, and composition.
|