@crewdle/web-sdk-types 1.0.47 → 1.0.48

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.
@@ -19,6 +19,7 @@ export declare enum GenerativeAIModelOutputType {
19
19
  Text = "text",
20
20
  Audio = "audio",
21
21
  Image = "image",
22
+ Video = "video",
22
23
  Vector = "vector",
23
24
  Entity = "entity"
24
25
  }
@@ -55,7 +56,9 @@ export declare enum GenerativeAITaskType {
55
56
  ZeroShotImageClassification = "zero-shot-image-classification",
56
57
  ZeroShotObjectDetection = "zero-shot-object-detection",
57
58
  SpeechToSpeech = "speech-to-speech",
58
- SpeechToText = "speech-to-text"
59
+ SpeechToText = "speech-to-text",
60
+ ImageGeneration = "image-generation",
61
+ VideoGeneration = "video-generation"
59
62
  }
60
63
  /**
61
64
  * The generative AI engine types.
@@ -68,7 +71,8 @@ export declare enum GenerativeAIEngineType {
68
71
  Anthropic = "anthropic",
69
72
  VertexAI = "vertexai",
70
73
  ElevenLabs = "elevenlabs",
71
- OpenRouter = "openrouter"
74
+ OpenRouter = "openrouter",
75
+ RunwayML = "runwayml"
72
76
  }
73
77
  /**
74
78
  * The generative AI model interface.
@@ -17,6 +17,7 @@ export var GenerativeAIModelOutputType;
17
17
  GenerativeAIModelOutputType["Text"] = "text";
18
18
  GenerativeAIModelOutputType["Audio"] = "audio";
19
19
  GenerativeAIModelOutputType["Image"] = "image";
20
+ GenerativeAIModelOutputType["Video"] = "video";
20
21
  GenerativeAIModelOutputType["Vector"] = "vector";
21
22
  GenerativeAIModelOutputType["Entity"] = "entity";
22
23
  })(GenerativeAIModelOutputType || (GenerativeAIModelOutputType = {}));
@@ -55,6 +56,8 @@ export var GenerativeAITaskType;
55
56
  GenerativeAITaskType["ZeroShotObjectDetection"] = "zero-shot-object-detection";
56
57
  GenerativeAITaskType["SpeechToSpeech"] = "speech-to-speech";
57
58
  GenerativeAITaskType["SpeechToText"] = "speech-to-text";
59
+ GenerativeAITaskType["ImageGeneration"] = "image-generation";
60
+ GenerativeAITaskType["VideoGeneration"] = "video-generation";
58
61
  })(GenerativeAITaskType || (GenerativeAITaskType = {}));
59
62
  /**
60
63
  * The generative AI engine types.
@@ -69,4 +72,5 @@ export var GenerativeAIEngineType;
69
72
  GenerativeAIEngineType["VertexAI"] = "vertexai";
70
73
  GenerativeAIEngineType["ElevenLabs"] = "elevenlabs";
71
74
  GenerativeAIEngineType["OpenRouter"] = "openrouter";
75
+ GenerativeAIEngineType["RunwayML"] = "runwayml";
72
76
  })(GenerativeAIEngineType || (GenerativeAIEngineType = {}));
@@ -17,6 +17,10 @@ export interface IGenerativeAISpeechCreateCreateJobParameters extends IGenerativ
17
17
  * The voice to use.
18
18
  */
19
19
  voice: string;
20
+ /**
21
+ * The format to use.
22
+ */
23
+ format: string;
20
24
  /**
21
25
  * The model to use.
22
26
  */
@@ -13,6 +13,10 @@ export interface IGenerativeAISpeechCreateJob extends IGenerativeAIJob {
13
13
  * The voice to use.
14
14
  */
15
15
  voice: string;
16
+ /**
17
+ * The format to use.
18
+ */
19
+ format: string;
16
20
  /**
17
21
  * The model to use.
18
22
  */
@@ -17,6 +17,10 @@ export interface IGenerativeAISpeechCreateWorkerParameters extends IGenerativeAI
17
17
  * The voice to use.
18
18
  */
19
19
  voice: string;
20
+ /**
21
+ * The format to use.
22
+ */
23
+ format: string;
20
24
  /**
21
25
  * The model to use.
22
26
  */
@@ -10,7 +10,7 @@ export interface IGenerativeAISpeechConnector {
10
10
  * @param voice The voice to use.
11
11
  * @param instructions Optional instructions for the speech.
12
12
  */
13
- speak(model: string, text: string, voice: string, instructions?: string): Promise<ReadableStream>;
13
+ speak(model: string, text: string, voice: string, format: string, instructions?: string): Promise<ReadableStream>;
14
14
  /**
15
15
  * Get the engine type.
16
16
  * @returns The engine type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewdle/web-sdk-types",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "The Crewdle Mist Web SDK public types and interfaces",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",