@sogni-ai/sogni-client 5.4.0 → 5.5.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.md +2 -0
- package/CHANGELOG.md +7 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist-esm/version.js +1 -1
- package/llms-full.txt +12 -2
- package/llms.txt +18 -4
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/AGENTS.md
CHANGED
|
@@ -73,6 +73,8 @@ Public chat and workflow media rules:
|
|
|
73
73
|
|
|
74
74
|
This is the **Sogni SDK for JavaScript/Node.js** - a TypeScript client library for the Sogni Supernet, a DePIN protocol for creative AI inference. The SDK supports image generation (Stable Diffusion, Flux, Flux.2, Z-Image / Z-Image Turbo, Krea 2 Turbo, Krea 2 Identity Edit, Chroma v.46 Flash / v.48 Detail / Chroma1-HD, Qwen image-edit models, GPT Image 2, plus community fine-tunes such as Dark Beast Z-Image Turbo v9, Dark Beast KREA 2, Dark Beast Krea 2 Identity Edit, and One Obsession v22), video generation (WAN 2.2, LTX-2.3, Seedance 2.0, HappyHorse 1.1), audio generation (ACE-Step 1.5), LLM chat with tool calling, hosted creative tools, durable creative workflows, replay records, and multimodal vision chat (Qwen3.6 35B VLM, default `qwen3.6-35b-a3b-gguf-iq4xs`). The model catalog is discovered dynamically at runtime (`sogni.projects.getAvailableModels()`); model ids listed here are illustrative.
|
|
75
75
|
|
|
76
|
+
Choosing an image-edit model: pick by what the edit has to preserve, not by step count or quality tier. When a person or character must stay recognisable through the edit — style transfer, makeover, clothing or person swap, face swap, new pose or expression, character sheet — use Krea 2 Identity Edit (`krea2_identity_edit_v1_2`, or `dark_beast_krea2_identity_edit_v1_2` uncensored) with 1-2 context images. For general-purpose editing — photo transforms, in-image text, multi-person changes, combining up to 3 references — use a Qwen image-edit model. A higher-step general-purpose editor does not beat the identity model at a likeness task; it reinterprets the subject instead of preserving it. See `llms.txt` for parameters.
|
|
77
|
+
|
|
76
78
|
Runtime and packaging:
|
|
77
79
|
|
|
78
80
|
- Node.js `>=22` is required by `package.json`.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [5.5.0](https://github.com/Sogni-AI/sogni-client/compare/v5.4.0...v5.5.0) (2026-08-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **docs:** guide image-edit model choice by intent ([d8903cd](https://github.com/Sogni-AI/sogni-client/commit/d8903cd23644847f27258aedee603c7a02e8fa3f))
|
|
7
|
+
|
|
1
8
|
# [5.4.0](https://github.com/Sogni-AI/sogni-client/compare/v5.3.3...v5.4.0) (2026-08-04)
|
|
2
9
|
|
|
3
10
|
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "5.
|
|
1
|
+
export declare const LIB_VERSION = "5.5.0";
|
package/dist/version.js
CHANGED
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.LIB_VERSION = void 0;
|
|
4
4
|
// AUTO-GENERATED by scripts/generate-version.mjs — do not edit.
|
|
5
5
|
// Source of truth: package.json version.
|
|
6
|
-
exports.LIB_VERSION = '5.
|
|
6
|
+
exports.LIB_VERSION = '5.5.0';
|
|
7
7
|
//# sourceMappingURL=version.js.map
|
package/dist-esm/version.js
CHANGED
package/llms-full.txt
CHANGED
|
@@ -434,12 +434,22 @@ RECOMMENDED MODELS:
|
|
|
434
434
|
| z_image_turbo_bf16 | Ultra-fast | 8 | 1 | Fastest generation |
|
|
435
435
|
| z_image_bf16 | Quality | 20 | 3 | High quality Z-Image generation |
|
|
436
436
|
| krea2_turbo_fp8_scaled | Fast | 8 | 1 | Distilled few-step, strong in-image text, up to 2K |
|
|
437
|
-
| krea2_identity_edit_v1_2 | Edit | 10 | 1 |
|
|
437
|
+
| krea2_identity_edit_v1_2 | Edit | 10 | 1 | Best for transforming a person/character while keeping their likeness; 1-2 context images |
|
|
438
438
|
| chroma1-hd_fp8_scaled | Quality | 26 | 3.8 | Final high-res Chroma (uncensored, LoRA-capable) |
|
|
439
439
|
| flux2_dev_fp8 | Quality | 20 | 4 | Pro quality + up to 6 context images (also image edit) |
|
|
440
|
-
| qwen_image_edit_2511_fp8_lightning | Edit | 4 | 1 |
|
|
440
|
+
| qwen_image_edit_2511_fp8_lightning | Edit | 4 | 1 | Fast general-purpose editing; multi-image context |
|
|
441
441
|
| coreml-cyberrealistic_v70_768 | SD 1.5 | 20-40 | 7.5 | Photorealistic |
|
|
442
442
|
|
|
443
|
+
CHOOSING AN IMAGE-EDIT MODEL: pick by what the edit has to preserve, not by step
|
|
444
|
+
count or quality tier. If a person or character has to stay recognisable through
|
|
445
|
+
the edit — style transfer, makeover, clothing or person swap, face swap, new pose
|
|
446
|
+
or expression, character sheet — use krea2_identity_edit_v1_2 (or
|
|
447
|
+
dark_beast_krea2_identity_edit_v1_2 for uncensored). For everything else — photo
|
|
448
|
+
transforms, in-image text edits, multi-person changes, combining up to 3
|
|
449
|
+
references — use a qwen_image_edit_2511 variant. A higher-step general-purpose
|
|
450
|
+
editor does not beat the identity model at a likeness task; it reinterprets the
|
|
451
|
+
subject instead of preserving it.
|
|
452
|
+
|
|
443
453
|
COMMUNITY FINE-TUNES (uncensored; discover with sogni.projects.getAvailableModels()):
|
|
444
454
|
| Model ID | Type | Steps | Guidance | Notes |
|
|
445
455
|
|----------|------|-------|----------|-------|
|
package/llms.txt
CHANGED
|
@@ -209,7 +209,7 @@ The full catalog is dynamic — enumerate it at runtime with
|
|
|
209
209
|
| `z_image_turbo_bf16` | Z-Image Turbo — ultra-fast 8-step (free-tier eligible) |
|
|
210
210
|
| `z_image_bf16` | Z-Image — high quality 20-50 step |
|
|
211
211
|
| `krea2_turbo_fp8_scaled` | Krea 2 Turbo — few-step, strong in-image text, up to 2K |
|
|
212
|
-
| `krea2_identity_edit_v1_2` | Krea 2 Identity Edit LoRA v1.2 —
|
|
212
|
+
| `krea2_identity_edit_v1_2` | Krea 2 Identity Edit LoRA v1.2 — best for transforming a person or character while keeping their likeness; 1-2 reference images |
|
|
213
213
|
| `chroma-v.46-flash_fp8` | Chroma v.46 Flash — fast, high quality |
|
|
214
214
|
| `chroma-v48-detail-svd_fp8` | Chroma v.48 Detail — high detail |
|
|
215
215
|
| `chroma1-hd_fp8_scaled` | Chroma1-HD — final high-res Chroma (uncensored, LoRA-capable) |
|
|
@@ -226,9 +226,23 @@ Community fine-tunes (uncensored; pass the id directly):
|
|
|
226
226
|
`dark_beast_krea2_identity_edit_v1_2` (Krea 2 identity edit LoRA),
|
|
227
227
|
`one_obsession_v22_fp16` (Illustrious/anime, LoRA-capable).
|
|
228
228
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
229
|
+
### Choosing an image-edit model
|
|
230
|
+
|
|
231
|
+
Pick by what the edit has to preserve, not by step count or quality tier.
|
|
232
|
+
|
|
233
|
+
- **A person or character whose likeness must survive the edit** — use
|
|
234
|
+
`krea2_identity_edit_v1_2` (or `dark_beast_krea2_identity_edit_v1_2` for
|
|
235
|
+
uncensored) with 1-2 `contextImages`, `steps: 10`, and `guidance: 1`. This is
|
|
236
|
+
the right model for style transfers, makeovers, clothing or person swaps, face
|
|
237
|
+
swaps, new poses or expressions, and character sheets.
|
|
238
|
+
- **Everything else** — use `qwen_image_edit_2511_fp8_lightning` (fast) or
|
|
239
|
+
`qwen_image_edit_2511_fp8`: general-purpose photo transforms, in-image text
|
|
240
|
+
edits, multi-person changes, and combining up to 3 reference images.
|
|
241
|
+
|
|
242
|
+
A higher-step general-purpose editor does not beat the identity model at a
|
|
243
|
+
likeness task — it reinterprets the subject instead of preserving it. When an
|
|
244
|
+
edit both preserves a likeness and needs general-purpose work, run the identity
|
|
245
|
+
model first, then edit its output.
|
|
232
246
|
|
|
233
247
|
---
|
|
234
248
|
|
package/package.json
CHANGED
package/src/version.ts
CHANGED