@runapi.ai/gemini-omni 0.2.5 → 0.2.6
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/index.d.mts +11 -7
- package/dist/index.d.ts +11 -7
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -21,14 +21,18 @@ interface CreateAudioResponse {
|
|
|
21
21
|
}
|
|
22
22
|
interface CreateCharacterParams {
|
|
23
23
|
descriptions: string;
|
|
24
|
-
|
|
24
|
+
reference_image_url: string;
|
|
25
25
|
audio_ids?: string[];
|
|
26
26
|
character_name?: string;
|
|
27
27
|
}
|
|
28
|
+
interface ImageMetadata {
|
|
29
|
+
url: string;
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}
|
|
28
32
|
interface GeminiOmniCharacter {
|
|
29
33
|
id: string;
|
|
30
34
|
name?: string;
|
|
31
|
-
|
|
35
|
+
images?: ImageMetadata[];
|
|
32
36
|
[key: string]: unknown;
|
|
33
37
|
}
|
|
34
38
|
interface CreateCharacterResponse {
|
|
@@ -37,7 +41,7 @@ interface CreateCharacterResponse {
|
|
|
37
41
|
error?: string;
|
|
38
42
|
[key: string]: unknown;
|
|
39
43
|
}
|
|
40
|
-
type GeminiOmniTextToVideoDuration =
|
|
44
|
+
type GeminiOmniTextToVideoDuration = 4 | 6 | 8 | 10;
|
|
41
45
|
type GeminiOmniTextToVideoAspectRatio = '16:9' | '9:16';
|
|
42
46
|
type GeminiOmniTextToVideoResolution = '720p' | '1080p' | '4k';
|
|
43
47
|
interface GeminiOmniTextToVideoClip {
|
|
@@ -47,14 +51,14 @@ interface GeminiOmniTextToVideoClip {
|
|
|
47
51
|
}
|
|
48
52
|
interface TextToVideoParams {
|
|
49
53
|
prompt: string;
|
|
50
|
-
|
|
54
|
+
duration_seconds: GeminiOmniTextToVideoDuration;
|
|
51
55
|
callback_url?: string;
|
|
52
|
-
|
|
56
|
+
reference_image_urls?: string[];
|
|
53
57
|
audio_ids?: string[];
|
|
54
58
|
video_list?: GeminiOmniTextToVideoClip[];
|
|
55
59
|
character_ids?: string[];
|
|
56
60
|
aspect_ratio?: GeminiOmniTextToVideoAspectRatio;
|
|
57
|
-
|
|
61
|
+
output_resolution?: GeminiOmniTextToVideoResolution;
|
|
58
62
|
seed?: number;
|
|
59
63
|
}
|
|
60
64
|
interface TaskCreateResponse {
|
|
@@ -103,4 +107,4 @@ declare class GeminiOmniClient {
|
|
|
103
107
|
constructor(options?: ClientOptions);
|
|
104
108
|
}
|
|
105
109
|
|
|
106
|
-
export { type CompletedTextToVideoResponse, type CreateAudioParams, type CreateAudioResponse, type CreateCharacterParams, type CreateCharacterResponse, type GeminiOmniAudio, type GeminiOmniAudioVoice, type GeminiOmniCharacter, GeminiOmniClient, type GeminiOmniTextToVideoAspectRatio, type GeminiOmniTextToVideoClip, type GeminiOmniTextToVideoDuration, type GeminiOmniTextToVideoResolution, type TaskCreateResponse, type TextToVideoParams, type TextToVideoResponse, type VideoMetadata };
|
|
110
|
+
export { type CompletedTextToVideoResponse, type CreateAudioParams, type CreateAudioResponse, type CreateCharacterParams, type CreateCharacterResponse, type GeminiOmniAudio, type GeminiOmniAudioVoice, type GeminiOmniCharacter, GeminiOmniClient, type GeminiOmniTextToVideoAspectRatio, type GeminiOmniTextToVideoClip, type GeminiOmniTextToVideoDuration, type GeminiOmniTextToVideoResolution, type ImageMetadata, type TaskCreateResponse, type TextToVideoParams, type TextToVideoResponse, type VideoMetadata };
|
package/dist/index.d.ts
CHANGED
|
@@ -21,14 +21,18 @@ interface CreateAudioResponse {
|
|
|
21
21
|
}
|
|
22
22
|
interface CreateCharacterParams {
|
|
23
23
|
descriptions: string;
|
|
24
|
-
|
|
24
|
+
reference_image_url: string;
|
|
25
25
|
audio_ids?: string[];
|
|
26
26
|
character_name?: string;
|
|
27
27
|
}
|
|
28
|
+
interface ImageMetadata {
|
|
29
|
+
url: string;
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}
|
|
28
32
|
interface GeminiOmniCharacter {
|
|
29
33
|
id: string;
|
|
30
34
|
name?: string;
|
|
31
|
-
|
|
35
|
+
images?: ImageMetadata[];
|
|
32
36
|
[key: string]: unknown;
|
|
33
37
|
}
|
|
34
38
|
interface CreateCharacterResponse {
|
|
@@ -37,7 +41,7 @@ interface CreateCharacterResponse {
|
|
|
37
41
|
error?: string;
|
|
38
42
|
[key: string]: unknown;
|
|
39
43
|
}
|
|
40
|
-
type GeminiOmniTextToVideoDuration =
|
|
44
|
+
type GeminiOmniTextToVideoDuration = 4 | 6 | 8 | 10;
|
|
41
45
|
type GeminiOmniTextToVideoAspectRatio = '16:9' | '9:16';
|
|
42
46
|
type GeminiOmniTextToVideoResolution = '720p' | '1080p' | '4k';
|
|
43
47
|
interface GeminiOmniTextToVideoClip {
|
|
@@ -47,14 +51,14 @@ interface GeminiOmniTextToVideoClip {
|
|
|
47
51
|
}
|
|
48
52
|
interface TextToVideoParams {
|
|
49
53
|
prompt: string;
|
|
50
|
-
|
|
54
|
+
duration_seconds: GeminiOmniTextToVideoDuration;
|
|
51
55
|
callback_url?: string;
|
|
52
|
-
|
|
56
|
+
reference_image_urls?: string[];
|
|
53
57
|
audio_ids?: string[];
|
|
54
58
|
video_list?: GeminiOmniTextToVideoClip[];
|
|
55
59
|
character_ids?: string[];
|
|
56
60
|
aspect_ratio?: GeminiOmniTextToVideoAspectRatio;
|
|
57
|
-
|
|
61
|
+
output_resolution?: GeminiOmniTextToVideoResolution;
|
|
58
62
|
seed?: number;
|
|
59
63
|
}
|
|
60
64
|
interface TaskCreateResponse {
|
|
@@ -103,4 +107,4 @@ declare class GeminiOmniClient {
|
|
|
103
107
|
constructor(options?: ClientOptions);
|
|
104
108
|
}
|
|
105
109
|
|
|
106
|
-
export { type CompletedTextToVideoResponse, type CreateAudioParams, type CreateAudioResponse, type CreateCharacterParams, type CreateCharacterResponse, type GeminiOmniAudio, type GeminiOmniAudioVoice, type GeminiOmniCharacter, GeminiOmniClient, type GeminiOmniTextToVideoAspectRatio, type GeminiOmniTextToVideoClip, type GeminiOmniTextToVideoDuration, type GeminiOmniTextToVideoResolution, type TaskCreateResponse, type TextToVideoParams, type TextToVideoResponse, type VideoMetadata };
|
|
110
|
+
export { type CompletedTextToVideoResponse, type CreateAudioParams, type CreateAudioResponse, type CreateCharacterParams, type CreateCharacterResponse, type GeminiOmniAudio, type GeminiOmniAudioVoice, type GeminiOmniCharacter, GeminiOmniClient, type GeminiOmniTextToVideoAspectRatio, type GeminiOmniTextToVideoClip, type GeminiOmniTextToVideoDuration, type GeminiOmniTextToVideoResolution, type ImageMetadata, type TaskCreateResponse, type TextToVideoParams, type TextToVideoResponse, type VideoMetadata };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runapi.ai/gemini-omni",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "RunAPI Gemini Omni SDK for audio, character, and video workflows in JavaScript, Ruby, and Go",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"clean": "rm -rf dist"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@runapi.ai/core": "^0.2.
|
|
31
|
+
"@runapi.ai/core": "^0.2.5"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^20.0.0",
|