@teinai/cli 1.1.37 → 1.1.38
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/index.js +110 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -216,6 +216,7 @@ var de,
|
|
|
216
216
|
'claude-haiku-4-5',
|
|
217
217
|
],
|
|
218
218
|
},
|
|
219
|
+
{ slug: 'gemini-omni', name: 'Gemini Omni', models: ['gemini-omni-1.2-flash'] },
|
|
219
220
|
{ slug: 'kling', name: 'Kling', models: ['kling-v4', 'kling-v4-flash', 'kling-v3-video'] },
|
|
220
221
|
{ slug: 'ltx', name: 'LTX', models: ['ltx-2.3-pro'] },
|
|
221
222
|
{ slug: 'vidu', name: 'Vidu', models: ['vidu-q4-preview'] },
|
|
@@ -5716,6 +5717,47 @@ var de,
|
|
|
5716
5717
|
defaultEndpoint: 'cheap',
|
|
5717
5718
|
from: { variant: 'cheap-input' },
|
|
5718
5719
|
},
|
|
5720
|
+
{
|
|
5721
|
+
slug: 'gemini-omni-1.2-flash',
|
|
5722
|
+
name: 'Gemini Omni 1.2 Flash',
|
|
5723
|
+
family: 'gemini-omni',
|
|
5724
|
+
vendor: 'Google',
|
|
5725
|
+
desc: "Google's Gemini Omni 1.2 Flash \u2014 video with native sound from text, a start frame (with an optional end frame) or up to 6 reference images, plus edits and extensions of your own clips, at 360p to 4K for 3 to 15 seconds.",
|
|
5726
|
+
kind: 'video',
|
|
5727
|
+
unit: '/sec',
|
|
5728
|
+
api: { model: 'gemini-omni-1.2-flash' },
|
|
5729
|
+
variants: [
|
|
5730
|
+
{
|
|
5731
|
+
id: '360p',
|
|
5732
|
+
price: { starter: 0.0194, plus: 0.0176, scale: 0.0176 },
|
|
5733
|
+
label: '360p',
|
|
5734
|
+
resolution: '360p',
|
|
5735
|
+
},
|
|
5736
|
+
{
|
|
5737
|
+
id: '720p',
|
|
5738
|
+
price: { starter: 0.0436, plus: 0.0396, scale: 0.037 },
|
|
5739
|
+
label: '720p',
|
|
5740
|
+
resolution: '720p',
|
|
5741
|
+
},
|
|
5742
|
+
{
|
|
5743
|
+
id: '1080p',
|
|
5744
|
+
price: { starter: 0.0485, plus: 0.044, scale: 0.0412 },
|
|
5745
|
+
label: '1080p',
|
|
5746
|
+
resolution: '1080p',
|
|
5747
|
+
},
|
|
5748
|
+
{
|
|
5749
|
+
id: '4k',
|
|
5750
|
+
price: { starter: 0.1067, plus: 0.0969, scale: 0.0906 },
|
|
5751
|
+
label: '4K',
|
|
5752
|
+
resolution: '4k',
|
|
5753
|
+
},
|
|
5754
|
+
],
|
|
5755
|
+
unfiltered: null,
|
|
5756
|
+
priority: null,
|
|
5757
|
+
draft: null,
|
|
5758
|
+
axes: { resolution: ['360p', '720p', '1080p', '4k'] },
|
|
5759
|
+
from: { variant: '720p' },
|
|
5760
|
+
},
|
|
5719
5761
|
{
|
|
5720
5762
|
slug: 'kling-v4',
|
|
5721
5763
|
name: 'Kling Video 4.0',
|
|
@@ -8000,6 +8042,66 @@ function Ha(e) {
|
|
|
8000
8042
|
maxSec: 15,
|
|
8001
8043
|
references: t === 'happy-horse-1-0' ? ['images', 'videos'] : ['images'],
|
|
8002
8044
|
});
|
|
8045
|
+
case 'gemini-omni-1.2-flash':
|
|
8046
|
+
return [
|
|
8047
|
+
C(
|
|
8048
|
+
'Describe the video and its sound (dialogue, effects, music), or for video_edit / video_extend the change or what happens next (up to 20000 characters).',
|
|
8049
|
+
),
|
|
8050
|
+
{
|
|
8051
|
+
name: 'mode',
|
|
8052
|
+
type: 'select',
|
|
8053
|
+
required: !0,
|
|
8054
|
+
options: [
|
|
8055
|
+
'text_to_video',
|
|
8056
|
+
'image_to_video',
|
|
8057
|
+
'multi_reference',
|
|
8058
|
+
'video_edit',
|
|
8059
|
+
'video_extend',
|
|
8060
|
+
],
|
|
8061
|
+
description:
|
|
8062
|
+
'text_to_video; image_to_video (first_frame_image, optional last_frame_image); multi_reference (1-6 images); video_edit (video, optional up to 5 images; keeps its length); video_extend (video, adds duration seconds).',
|
|
8063
|
+
},
|
|
8064
|
+
{
|
|
8065
|
+
name: 'duration',
|
|
8066
|
+
type: 'slider',
|
|
8067
|
+
default: 5,
|
|
8068
|
+
min: 3,
|
|
8069
|
+
max: 15,
|
|
8070
|
+
description:
|
|
8071
|
+
'Video length in seconds (3 to 15). With a last frame 3 to 10; for video_extend the seconds added (3 to 10). Not taken by video_edit, which bills the input video length.',
|
|
8072
|
+
},
|
|
8073
|
+
{ ...A(e, '1080p and 4k are upscaled. Sound is always included.'), default: '720p' },
|
|
8074
|
+
{
|
|
8075
|
+
name: 'aspect_ratio',
|
|
8076
|
+
type: 'select',
|
|
8077
|
+
options: ['16:9', '9:16'],
|
|
8078
|
+
description:
|
|
8079
|
+
'text_to_video and multi_reference only (left out: 16:9). Leave it out for image_to_video, video_edit and video_extend: they keep the frame of their image or video and refuse it.',
|
|
8080
|
+
},
|
|
8081
|
+
{
|
|
8082
|
+
name: 'first_frame_image',
|
|
8083
|
+
type: 'string',
|
|
8084
|
+
description:
|
|
8085
|
+
'image_to_video: the start frame, as a public http(s) URL or data URI. The Tein CLI and local MCP client read a file path on your machine and upload it before the request is sent.',
|
|
8086
|
+
},
|
|
8087
|
+
{
|
|
8088
|
+
name: 'last_frame_image',
|
|
8089
|
+
type: 'string',
|
|
8090
|
+
description: 'image_to_video: an optional end frame (duration then 3 to 10 s).',
|
|
8091
|
+
},
|
|
8092
|
+
{
|
|
8093
|
+
name: 'images',
|
|
8094
|
+
type: 'string[]',
|
|
8095
|
+
description:
|
|
8096
|
+
'multi_reference: 1-6 reference images; video_edit: up to 5 optional images. Public http(s) URLs or data URIs.',
|
|
8097
|
+
},
|
|
8098
|
+
{
|
|
8099
|
+
name: 'video',
|
|
8100
|
+
type: 'string',
|
|
8101
|
+
description:
|
|
8102
|
+
'video_edit / video_extend: the video to change (MP4, MOV or WebM, with a video track): 3 to 15 s for video_edit, 15 s or less for video_extend. A public http(s) URL or data URI.',
|
|
8103
|
+
},
|
|
8104
|
+
];
|
|
8003
8105
|
case 'minimax-h3':
|
|
8004
8106
|
return Ge(e, {
|
|
8005
8107
|
modes: ['text_to_video', 'first_n_last_frames', 'multi_reference'],
|
|
@@ -8122,7 +8224,12 @@ function H(e) {
|
|
|
8122
8224
|
return ke[e] ?? null;
|
|
8123
8225
|
}
|
|
8124
8226
|
function Xa(e, t, i) {
|
|
8125
|
-
if (
|
|
8227
|
+
if (
|
|
8228
|
+
e.startsWith('enhancor-skin-fix-') ||
|
|
8229
|
+
e === he ||
|
|
8230
|
+
(e === 'gemini-omni-1.2-flash' && (t === 'aspect_ratio' || t === 'duration'))
|
|
8231
|
+
)
|
|
8232
|
+
return !1;
|
|
8126
8233
|
if ((e === 'seedance-2-5' || e === 'seedance-2-5-lite' || ni(e)) && t === 'duration') {
|
|
8127
8234
|
let n = (s) => (typeof s == 'string' ? s.trim().toLowerCase() : '');
|
|
8128
8235
|
if (n(i.mode) === 'edit' || n(i.omni_reference_task_type) === 'edit') return !1;
|
|
@@ -8978,9 +9085,9 @@ function Er() {
|
|
|
8978
9085
|
},
|
|
8979
9086
|
resolution: {
|
|
8980
9087
|
type: 'string',
|
|
8981
|
-
enum: ['480p', '720p', '768p', '1080p', '2k', '4k'],
|
|
9088
|
+
enum: ['360p', '480p', '540p', '720p', '768p', '1080p', '1440p', '2k', '4k'],
|
|
8982
9089
|
description:
|
|
8983
|
-
"Video resolution, where the model takes it (see each model tool). Left out: the model's own default,
|
|
9090
|
+
"Video resolution, where the model takes it (see each model tool). Left out: the model's own default, which that model's tool shows.",
|
|
8984
9091
|
},
|
|
8985
9092
|
creative_mode: { type: 'boolean', description: Mi('video') },
|
|
8986
9093
|
priority: {
|