@zodic/shared 0.0.89 → 0.0.90

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.
@@ -5,6 +5,7 @@ import { v4 as uuidv4 } from 'uuid';
5
5
  import { schema } from '../..';
6
6
  import { Languages } from '../../types';
7
7
  import { KVConcept, sizes } from '../../types/scopes/legacy';
8
+ import { leonardoInitImages } from '../../utils/initImages';
8
9
  import { buildConceptKVKey } from '../../utils/KVKeysBuilders';
9
10
  import { AppContext } from '../base/AppContext';
10
11
 
@@ -253,6 +254,14 @@ export class ConceptService {
253
254
  prompt: concept.leonardoPrompt,
254
255
  width,
255
256
  height,
257
+ controlNets: [
258
+ {
259
+ "initImageId": leonardoInitImages.concetps.crown.imageId,
260
+ "initImageType": "UPLOADED",
261
+ "preprocessorId": 100, // content reference
262
+ "strengthType": "Low",
263
+ },
264
+ ]
256
265
  });
257
266
 
258
267
  const generationId = leonardoResponse?.sdGenerationJob?.generationId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.89",
3
+ "version": "0.0.90",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {