@teinai/cli 1.1.43 → 1.1.44

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.
Files changed (2) hide show
  1. package/index.js +26 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1505,6 +1505,13 @@ var ue,
1505
1505
  resolution: '2K',
1506
1506
  unfiltered: { starter: 0.0294, plus: 0.0279, scale: 0.0249 },
1507
1507
  },
1508
+ {
1509
+ id: '4k',
1510
+ price: { starter: 0.0632, plus: 0.06, scale: 0.0537 },
1511
+ label: '4K',
1512
+ resolution: '4K',
1513
+ unfiltered: { starter: 0.0663, plus: 0.063, scale: 0.0563 },
1514
+ },
1508
1515
  ],
1509
1516
  unfiltered: 0.05,
1510
1517
  priority: null,
@@ -1518,7 +1525,7 @@ var ue,
1518
1525
  unfiltered: { starter: 0.0067, plus: 0.0063, scale: 0.0056 },
1519
1526
  },
1520
1527
  ],
1521
- axes: { resolution: ['1K', '1.5K', '2K'] },
1528
+ axes: { resolution: ['1K', '1.5K', '2K', '4K'] },
1522
1529
  from: { variant: '1k' },
1523
1530
  },
1524
1531
  {
@@ -5802,14 +5809,14 @@ var ue,
5802
5809
  },
5803
5810
  {
5804
5811
  id: '1080p',
5805
- price: { starter: 0.089, plus: 0.089, scale: 0.089 },
5812
+ price: { starter: 0.0897, plus: 0.0897, scale: 0.0897 },
5806
5813
  label: '1080p',
5807
5814
  resolution: '1080p',
5808
5815
  withVideo: !1,
5809
5816
  },
5810
5817
  {
5811
5818
  id: '1080p-with-video',
5812
- price: { starter: 0.089, plus: 0.089, scale: 0.089 },
5819
+ price: { starter: 0.0897, plus: 0.0897, scale: 0.0897 },
5813
5820
  label: '1080p \xB7 with reference video',
5814
5821
  resolution: '1080p',
5815
5822
  withVideo: !0,
@@ -7931,7 +7938,7 @@ function Ka(e) {
7931
7938
  },
7932
7939
  A(
7933
7940
  e,
7934
- '1K and 1.5K are one price, 2K the next. layer_decomposition also takes auto (keep the input size), billed at the 2K price.',
7941
+ '1K and 1.5K are one price, 2K the next, 4K (up to 3840x2160 or 2880x2880) the top. 4K needs an aspect_ratio other than adaptive, or exact pixels in size. layer_decomposition takes 1K, 1.5K, 2K or auto (keep the input size), billed at the 2K price.',
7935
7942
  ),
7936
7943
  {
7937
7944
  name: 'aspect_ratio',
@@ -7940,6 +7947,12 @@ function Ka(e) {
7940
7947
  options: ['1:1', '4:3', '3:4', '16:9', '9:16', '3:2', '2:3', '21:9', 'adaptive'],
7941
7948
  description: 'Not used by layer_decomposition. adaptive lets the prompt pick the shape.',
7942
7949
  },
7950
+ {
7951
+ name: 'size',
7952
+ type: 'string',
7953
+ description:
7954
+ 'Exact output pixels as <width>x<height>, e.g. 3840x2160, in place of resolution and aspect_ratio (the image comes back at exactly that size). 1280x720 up to 8,294,400 pixels (3840x2160 or 2880x2880), sides at most 16 to 1. Billed at the price its pixels reach: up to 2.61 MP the 1K / 1.5K price, up to 4.63 MP 2K, above that 4K. Not used by layer_decomposition.',
7955
+ },
7943
7956
  {
7944
7957
  name: 'background',
7945
7958
  type: 'select',
@@ -8300,13 +8313,19 @@ function Ka(e) {
8300
8313
  max: 30,
8301
8314
  description: 'Video length in whole seconds: 4 to 15 at 720p, 4 to 30 at 1080p.',
8302
8315
  },
8303
- { ...A(e, 'Sound is the same price on or off.'), default: '720p' },
8316
+ {
8317
+ ...A(
8318
+ e,
8319
+ 'Sound is the same price on or off. A 1080p run takes 5 to 15 minutes, sometimes longer.',
8320
+ ),
8321
+ default: '720p',
8322
+ },
8304
8323
  {
8305
8324
  name: 'aspect_ratio',
8306
8325
  type: 'select',
8307
8326
  options: ['16:9', '9:16', '1:1', '4:3', '3:4', '21:9'],
8308
8327
  description:
8309
- 'text_to_video and multi_reference (left out: 16:9). image_to_video: leave it out to follow the start image (21:9 not taken); a ratio that differs from the image crops it.',
8328
+ 'text_to_video and multi_reference only (left out: 16:9). image_to_video takes no ratio: the video follows the start image.',
8310
8329
  },
8311
8330
  {
8312
8331
  name: 'generate_audio',
@@ -8341,7 +8360,7 @@ function Ka(e) {
8341
8360
  name: 'audios',
8342
8361
  type: 'string[]',
8343
8362
  description:
8344
- 'multi_reference: reference audio, MP3 or WAV (up to 3 at 720p with an image or video; up to 5 at 1080p, where audio alone works).',
8363
+ 'multi_reference: reference audio, MP3 or WAV (up to 3 at 720p, 5 at 1080p), always with at least one reference image or video.',
8345
8364
  },
8346
8365
  ];
8347
8366
  case 'minimax-h3':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teinai/cli",
3
- "version": "1.1.43",
3
+ "version": "1.1.44",
4
4
  "description": "Official CLI for Tein AI models (Video, Image, Audio, LLM, 3D)",
5
5
  "main": "index.js",
6
6
  "bin": {