@sogni-ai/sogni-client 3.0.0-alpha.10 → 3.0.0-alpha.11

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [3.0.0-alpha.11](https://github.com/Sogni-AI/sogni-client/compare/v3.0.0-alpha.10...v3.0.0-alpha.11) (2025-04-20)
2
+
3
+
4
+ ### Features
5
+
6
+ * Add support for InstantID ControlNet ([2b032a8](https://github.com/Sogni-AI/sogni-client/commit/dbaa1e464d15635dc5e7db6c785bf25b0e8788a7))
7
+
1
8
  # [3.0.0-alpha.10](https://github.com/Sogni-AI/sogni-client/compare/v3.0.0-alpha.9...v3.0.0-alpha.10) (2025-04-11)
2
9
 
3
10
 
package/README.md CHANGED
@@ -308,6 +308,7 @@ To use ControlNet in your project you need to provide `controlNet` object with t
308
308
  - `shuffle`
309
309
  - `softedge`
310
310
  - `tile`
311
+ - `instantid`
311
312
  - `image` - input image. Image size should match the size of the generated image. Can be [File](https://developer.mozilla.org/en-US/docs/Web/API/File), [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) or [Buffer](https://nodejs.org/api/buffer.html)
312
313
  - `strength` - ControlNet strength 0 to 1. 0 full control to prompt, 1 full control to ControlNet
313
314
  - `mode` - How control and prompt should be weighted. Can be:
@@ -349,7 +350,8 @@ export type ControlNetName =
349
350
  | 'segmentation'
350
351
  | 'shuffle'
351
352
  | 'softedge'
352
- | 'tile';
353
+ | 'tile'
354
+ | 'instantid';
353
355
 
354
356
  export type ControlNetMode = 'balanced' | 'prompt_priority' | 'cn_priority';
355
357
  export interface ControlNetParams {
@@ -2,7 +2,7 @@
2
2
  * ControlNet model names
3
3
  * @inline
4
4
  */
5
- export type ControlNetName = 'canny' | 'depth' | 'inpaint' | 'instrp2p' | 'lineart' | 'lineartanime' | 'mlsd' | 'normalbae' | 'openpose' | 'scribble' | 'segmentation' | 'shuffle' | 'softedge' | 'tile';
5
+ export type ControlNetName = 'canny' | 'depth' | 'inpaint' | 'instrp2p' | 'lineart' | 'lineartanime' | 'mlsd' | 'normalbae' | 'openpose' | 'scribble' | 'segmentation' | 'shuffle' | 'softedge' | 'tile' | 'instantid';
6
6
  /**
7
7
  * Raw ControlNet parameters passed to the API
8
8
  */
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.0.0-alpha.10",
6
+ "version": "3.0.0-alpha.11",
7
7
  "description": "Sogni Supernet Client",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -16,7 +16,8 @@ export type ControlNetName =
16
16
  | 'segmentation'
17
17
  | 'shuffle'
18
18
  | 'softedge'
19
- | 'tile';
19
+ | 'tile'
20
+ | 'instantid';
20
21
 
21
22
  /**
22
23
  * Raw ControlNet parameters passed to the API