@interware/content-generator 0.6.0 → 0.6.1
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/dist/server/index.js +1 -1
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
package/dist/server/index.js
CHANGED
|
@@ -302,7 +302,7 @@ const inlinePart = (bytes, mimeType) => ({ inlineData: { mimeType, data: bytes.t
|
|
|
302
302
|
const RATIOS = ["1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"];
|
|
303
303
|
const FLASH_RATIOS = [...RATIOS, "1:4", "4:1", "1:8", "8:1"];
|
|
304
304
|
const FLASH = { maxReferences: 6, sizes: ["512", "1K", "2K", "4K"], aspectRatios: FLASH_RATIOS, canEdit: true, grounding: true };
|
|
305
|
-
const FLASH_LITE = { maxReferences: 6, sizes: ["
|
|
305
|
+
const FLASH_LITE = { maxReferences: 6, sizes: ["1K"], aspectRatios: RATIOS, canEdit: true, grounding: false };
|
|
306
306
|
const PRO = { maxReferences: 6, sizes: ["1K", "2K", "4K"], aspectRatios: RATIOS, canEdit: true, grounding: false };
|
|
307
307
|
const IMAGE_MODELS = [
|
|
308
308
|
{ id: "gemini-3.1-flash-image", label: "Nano Banana 2", ...FLASH },
|
package/dist/server/index.mjs
CHANGED
|
@@ -284,7 +284,7 @@ const inlinePart = (bytes, mimeType) => ({ inlineData: { mimeType, data: bytes.t
|
|
|
284
284
|
const RATIOS = ["1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"];
|
|
285
285
|
const FLASH_RATIOS = [...RATIOS, "1:4", "4:1", "1:8", "8:1"];
|
|
286
286
|
const FLASH = { maxReferences: 6, sizes: ["512", "1K", "2K", "4K"], aspectRatios: FLASH_RATIOS, canEdit: true, grounding: true };
|
|
287
|
-
const FLASH_LITE = { maxReferences: 6, sizes: ["
|
|
287
|
+
const FLASH_LITE = { maxReferences: 6, sizes: ["1K"], aspectRatios: RATIOS, canEdit: true, grounding: false };
|
|
288
288
|
const PRO = { maxReferences: 6, sizes: ["1K", "2K", "4K"], aspectRatios: RATIOS, canEdit: true, grounding: false };
|
|
289
289
|
const IMAGE_MODELS = [
|
|
290
290
|
{ id: "gemini-3.1-flash-image", label: "Nano Banana 2", ...FLASH },
|
package/package.json
CHANGED