@sogni-ai/sogni-intelligence-client 4.36.1 → 4.37.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.
@@ -1 +1 @@
1
- {"version":3,"file":"loraGuidance.d.ts","sourceRoot":"","sources":["../../../src/tools/shared/loraGuidance.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,4BAA4B,QAYwW,CAAC;AAGlZ,eAAO,MAAM,uBAAuB,QAUuD,CAAC;AAG5F,eAAO,MAAM,sBAAsB,QAGsC,CAAC;AAG1E,eAAO,MAAM,6BAA6B,QAGwC,CAAC;AAanF,eAAO,MAAM,+BAA+B,QAmBgP,CAAC;AAG7R,eAAO,MAAM,gCAAgC,QAe5B,CAAC;AAQlB,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAMxE"}
1
+ {"version":3,"file":"loraGuidance.d.ts","sourceRoot":"","sources":["../../../src/tools/shared/loraGuidance.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,4BAA4B,QAewW,CAAC;AAGlZ,eAAO,MAAM,uBAAuB,QAUuD,CAAC;AAG5F,eAAO,MAAM,sBAAsB,QAGsC,CAAC;AAG1E,eAAO,MAAM,6BAA6B,QAGwC,CAAC;AAanF,eAAO,MAAM,+BAA+B,QAoBgP,CAAC;AAG7R,eAAO,MAAM,gCAAgC,QAe5B,CAAC;AAQlB,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAMxE"}
@@ -5,13 +5,16 @@ exports.h3LoraModelSentence = h3LoraModelSentence;
5
5
  exports.KREA2_LORA_CATALOG_REFERENCE = 'Bipolar sliders — each id names its POSITIVE direction, a negative strength applies the ' +
6
6
  'opposite, and 0 disables it: krea2-detail-enhancer, krea2-scene-complexity, krea2-realism ' +
7
7
  '(+ = photoreal), krea2-amateur, krea2-candid, krea2-zoom (+ = zoomed in), krea2-skin-detail, ' +
8
- 'krea2-wetness, krea2-age, krea2-height, krea2-weight, krea2-hourglass-figure, krea2-breast, ' +
8
+ 'krea2-wetness, krea2-age, krea2-height, krea2-weight, krea2-hourglass-figure, krea2-breast-v2, ' +
9
9
  'krea2-chest-firmness, krea2-nipple-projection, krea2-warm-light, krea2-afterlight ' +
10
- '(+ = golden), krea2-skin-tone (+ = darker), krea2-purple-grainy (+ = grainy and muted). ' +
10
+ '(+ = golden), krea2-skin-tone-v2 (+ = darker), krea2-purple-grainy-v2 (+ = grainy and muted). ' +
11
11
  'Positive-only fine-tunes: krea2-realism-engine (photographic realism), krea2-bloomgirls ' +
12
- '(polished influencer look), krea2-mystic-x (uncensored adult), krea2-aberrant (industrial ' +
12
+ '(polished influencer look), krea2-mystic-x-v4 (uncensored adult), krea2-aberrant (industrial ' +
13
13
  'body horror), krea2-filter-bypass-2 and krea2-filter-bypass-3 (restore expressions, anatomy ' +
14
14
  'and poses the base model flattens; try the 2-vector first). ' +
15
+ 'Earlier versions (krea2-breast, krea2-skin-tone, krea2-purple-grainy, krea2-mystic-x) still ' +
16
+ 'work by id, and the catalog marks each with supersededBy; pick the newer id unless the user ' +
17
+ 'asks for the earlier one. ' +
15
18
  'Exact per-LoRA ranges, maturity flags and the full contract: ' +
16
19
  'GET /v1/loras/comfy?modelId=<model>. Personal imports use authenticated GET /v1/loras/personal/catalog: use an owned ready personal- id, its modelIds, strength range and requirements. Compatible Personal LoRAs also work with FLUX 3 Image Klein and both MOSS presets; a MOSS 8-step personal adapter stacks after its built-in DMD adapter. Never invent ids or silently omit a requested personal LoRA.';
17
20
  exports.LORA_STRENGTHS_GUIDANCE = 'Strength for each LoRA in loras, in the same order. Omitting the array uses 1.0 for every ' +
@@ -38,10 +41,11 @@ exports.H3_VIDEO_LORA_CATALOG_REFERENCE = 'Public MiniMax H3 LoRAs differ by mod
38
41
  + 'close-up. It is the only one gated on a trigger word — put r34l1sm near the FRONT of the '
39
42
  + 'prompt, or the render comes back as ordinary H3 with no error. h3-vbvr-video-reasoning is a '
40
43
  + 'prompt-adherence pass that holds the model to what was asked instead of improvising. '
41
- + 'h3-natural-face-speech (AdaptiveVision) makes people talking on camera look and sound more '
44
+ + 'h3-natural-face-speech-v2 (AdaptiveVision) makes people talking on camera look and sound more '
42
45
  + 'natural: cheeks, brows, jaw and lips move together as in real speech, and spoken English comes '
43
46
  + 'through clearer; use it for talking-head shots such as vlogs, podcasts, interviews and '
44
- + 'presenters. h3-better-motion (AdaptiveVision) gives people more natural, consistent body '
47
+ + 'presenters; v2 adds male and female voices, and h3-natural-face-speech (v1) still works by id. '
48
+ + 'h3-better-motion (AdaptiveVision) gives people more natural, consistent body '
45
49
  + 'movement — weight shifts, strides, turns and gestures that follow through — for dance, '
46
50
  + 'sport, walking and other full-body shots. Both AdaptiveVision LoRAs work best with short, '
47
51
  + 'simple prompt sentences and are not validated on reference-to-video. h3-mystic-xxx-v5 is an '
@@ -62,7 +66,7 @@ exports.H3_VIDEO_LORA_STRENGTHS_GUIDANCE = 'Strength for each LoRA in loras, in
62
66
  + 'the default when they supplied a first or last frame. h3-vbvr-video-reasoning takes 0-1 '
63
67
  + 'and defaults to 1.0, with a usable band of 0.7-1. Mystic X v4 and v5 take 0-1; their catalog '
64
68
  + 'default is 0.5 and recommended band is 0.2-0.6. V5 is stronger at the same strength. '
65
- + 'h3-natural-face-speech and h3-better-motion take 0-1.5 and default to 0.6; their usable band '
69
+ + 'h3-natural-face-speech-v2 and h3-better-motion take 0-1.5 and default to 0.6; their usable band '
66
70
  + 'is 0.4-0.8.';
67
71
  function h3LoraModelSentence(selectors) {
68
72
  return (`Accepted only when videoModel is one of ${selectors.map(selector => `"${selector}"`).join(', ')}. `
@@ -1 +1 @@
1
- {"version":3,"file":"loraGuidance.js","sourceRoot":"","sources":["../../../src/tools/shared/loraGuidance.ts"],"names":[],"mappings":";;;AA2HA,kDAMC;AArGY,QAAA,4BAA4B,GACvC,0FAA0F;IAC1F,4FAA4F;IAC5F,+FAA+F;IAC/F,8F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C1F,+FAA+F;MAC/F,uFAAuF;MACvF,kGAAkG;MAClG,aAAa,CAAC;AAQlB,SAAgB,mBAAmB,CAAC,SAA4B;IAC9D,OAAO,CACL,2CAA2C,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,QAAQ,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;UAClG,gGAAgG;UAChG,uEAAuE,CAC1E,CAAC;AACJ,CAAC"}
@@ -1,13 +1,16 @@
1
1
  export const KREA2_LORA_CATALOG_REFERENCE = 'Bipolar sliders — each id names its POSITIVE direction, a negative strength applies the ' +
2
2
  'opposite, and 0 disables it: krea2-detail-enhancer, krea2-scene-complexity, krea2-realism ' +
3
3
  '(+ = photoreal), krea2-amateur, krea2-candid, krea2-zoom (+ = zoomed in), krea2-skin-detail, ' +
4
- 'krea2-wetness, krea2-age, krea2-height, krea2-weight, krea2-hourglass-figure, krea2-breast, ' +
4
+ 'krea2-wetness, krea2-age, krea2-height, krea2-weight, krea2-hourglass-figure, krea2-breast-v2, ' +
5
5
  'krea2-chest-firmness, krea2-nipple-projection, krea2-warm-light, krea2-afterlight ' +
6
- '(+ = golden), krea2-skin-tone (+ = darker), krea2-purple-grainy (+ = grainy and muted). ' +
6
+ '(+ = golden), krea2-skin-tone-v2 (+ = darker), krea2-purple-grainy-v2 (+ = grainy and muted). ' +
7
7
  'Positive-only fine-tunes: krea2-realism-engine (photographic realism), krea2-bloomgirls ' +
8
- '(polished influencer look), krea2-mystic-x (uncensored adult), krea2-aberrant (industrial ' +
8
+ '(polished influencer look), krea2-mystic-x-v4 (uncensored adult), krea2-aberrant (industrial ' +
9
9
  'body horror), krea2-filter-bypass-2 and krea2-filter-bypass-3 (restore expressions, anatomy ' +
10
10
  'and poses the base model flattens; try the 2-vector first). ' +
11
+ 'Earlier versions (krea2-breast, krea2-skin-tone, krea2-purple-grainy, krea2-mystic-x) still ' +
12
+ 'work by id, and the catalog marks each with supersededBy; pick the newer id unless the user ' +
13
+ 'asks for the earlier one. ' +
11
14
  'Exact per-LoRA ranges, maturity flags and the full contract: ' +
12
15
  'GET /v1/loras/comfy?modelId=<model>. Personal imports use authenticated GET /v1/loras/personal/catalog: use an owned ready personal- id, its modelIds, strength range and requirements. Compatible Personal LoRAs also work with FLUX 3 Image Klein and both MOSS presets; a MOSS 8-step personal adapter stacks after its built-in DMD adapter. Never invent ids or silently omit a requested personal LoRA.';
13
16
  export const LORA_STRENGTHS_GUIDANCE = 'Strength for each LoRA in loras, in the same order. Omitting the array uses 1.0 for every ' +
@@ -34,10 +37,11 @@ export const H3_VIDEO_LORA_CATALOG_REFERENCE = 'Public MiniMax H3 LoRAs differ b
34
37
  + 'close-up. It is the only one gated on a trigger word — put r34l1sm near the FRONT of the '
35
38
  + 'prompt, or the render comes back as ordinary H3 with no error. h3-vbvr-video-reasoning is a '
36
39
  + 'prompt-adherence pass that holds the model to what was asked instead of improvising. '
37
- + 'h3-natural-face-speech (AdaptiveVision) makes people talking on camera look and sound more '
40
+ + 'h3-natural-face-speech-v2 (AdaptiveVision) makes people talking on camera look and sound more '
38
41
  + 'natural: cheeks, brows, jaw and lips move together as in real speech, and spoken English comes '
39
42
  + 'through clearer; use it for talking-head shots such as vlogs, podcasts, interviews and '
40
- + 'presenters. h3-better-motion (AdaptiveVision) gives people more natural, consistent body '
43
+ + 'presenters; v2 adds male and female voices, and h3-natural-face-speech (v1) still works by id. '
44
+ + 'h3-better-motion (AdaptiveVision) gives people more natural, consistent body '
41
45
  + 'movement — weight shifts, strides, turns and gestures that follow through — for dance, '
42
46
  + 'sport, walking and other full-body shots. Both AdaptiveVision LoRAs work best with short, '
43
47
  + 'simple prompt sentences and are not validated on reference-to-video. h3-mystic-xxx-v5 is an '
@@ -58,7 +62,7 @@ export const H3_VIDEO_LORA_STRENGTHS_GUIDANCE = 'Strength for each LoRA in loras
58
62
  + 'the default when they supplied a first or last frame. h3-vbvr-video-reasoning takes 0-1 '
59
63
  + 'and defaults to 1.0, with a usable band of 0.7-1. Mystic X v4 and v5 take 0-1; their catalog '
60
64
  + 'default is 0.5 and recommended band is 0.2-0.6. V5 is stronger at the same strength. '
61
- + 'h3-natural-face-speech and h3-better-motion take 0-1.5 and default to 0.6; their usable band '
65
+ + 'h3-natural-face-speech-v2 and h3-better-motion take 0-1.5 and default to 0.6; their usable band '
62
66
  + 'is 0.4-0.8.';
63
67
  export function h3LoraModelSentence(selectors) {
64
68
  return (`Accepted only when videoModel is one of ${selectors.map(selector => `"${selector}"`).join(', ')}. `
@@ -1 +1 @@
1
- {"version":3,"file":"loraGuidance.js","sourceRoot":"","sources":["../../../src/tools/shared/loraGuidance.ts"],"names":[],"mappings":"AA4BA,MAAM,CAAC,MAAM,4BAA4B,GACvC,0FAA0F;IAC1F,4FAA4F;IAC5F,+FAA+F;IAC/F,8FAA8F;IAC9F,oFAAoF;IACpF,0FAA0F;IAC1F,0FAA0F;IAC1F,4FAA4F;IAC5F,8FAA8F;IAC9F,8DAA8D;IAC9D,+DAA+D;IAC/D,+YAA+Y,CAAC;AAGlZ,MAAM,CAAC,MAAM,uBAAuB,GAClC,4FAA4F;IAC5F,0EAA0E;IAC1E,yFAAyF;IACzF,4FAA4F;IAC5F,gFAAgF;IAChF,uFAAuF;IACvF,6FAA6F;IAC7F,oFAAoF;IACpF,yFAAyF;IACzF,yFAAyF,CAAC;AAG5F,MAAM,CAAC,MAAM,sBAAsB,GACjC,4FAA4F;IAC5F,8FAA8F;IAC9F,uEAAuE,CAAC;AAG1E,MAAM,CAAC,MAAM,6BAA6B,GACxC,0FAA0F;IAC1F,6FAA6F;IAC7F,gFAAgF,CAAC;AAanF,MAAM,CAAC,MAAM,+BAA+B,GAC1C,6CAA6C;MAC3C,8FAA8F;MAC9F,6FAA6F;MAC7F,2FAA2F;MAC3F,gGAAgG;MAChG,2FAA2F;MAC3F,8FAA8F;MAC9F,uFAAuF;MACvF,6FAA6F;MAC7F,iGAAiG;MACjG,yFAAyF;MACzF,2FAA2F;MAC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,CAAC;AAG1E,MAAM,CAAC,MAAM,6BAA6B,GACxC,0FAA0F;IAC1F,6FAA6F;IAC7F,gFAAgF,CAAC;AAanF,MAAM,CAAC,MAAM,+BAA+B,GAC1C,6CAA6C;MAC3C,8FAA8F;MAC9F,6FAA6F;MAC7F,2FAA2F;MAC3F,gGAAgG;MAChG,2FAA2F;MAC3F,8FAA8F;MAC9F,uFAAuF;MACvF,gGAAgG;MAChG,iGAAiG;MACjG,yFAAyF;MACzF,iGAAiG;MACjG,+EAA+E;MAC/E,yFAAyF;MACzF,4FAA4F;MAC5F,8FAA8F;MAC9F,8FAA8F;MAC9F,8FAA8F;MAC9F,6FAA6F;MAC7F,wRAAwR,CAAC;AAG7R,MAAM,CAAC,MAAM,gCAAgC,GAC3C,8FAA8F;MAC5F,+FAA+F;MAC/F,kFAAkF;MAClF,yFAAyF;MACzF,4FAA4F;MAC5F,oHAAoH;MACpH,+CAA+C;MAC/C,4FAA4F;MAC5F,gGAAgG;MAChG,gGAAgG;MAChG,0FAA0F;MAC1F,+FAA+F;MAC/F,uFAAuF;MACvF,kGAAkG;MAClG,aAAa,CAAC;AAQlB,MAAM,UAAU,mBAAmB,CAAC,SAA4B;IAC9D,OAAO,CACL,2CAA2C,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,QAAQ,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;UAClG,gGAAgG;UAChG,uEAAuE,CAC1E,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sogni-ai/sogni-intelligence-client",
3
- "version": "4.36.1",
3
+ "version": "4.37.0",
4
4
  "description": "Public Sogni Intelligence client — Node.js convenience wrapper for the Sogni SDK plus the public-safe subset of @sogni/creative-agent contracts (ContractRegistry, AssetManifest, RunRecord, tool envelopes). For agent builders, third-party integrations, and downstream SDKs.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",