@vargai/gateway 0.1.7 → 0.2.0
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/client.d.ts +3 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +67 -0
- package/dist/provider.d.ts +2 -1
- package/dist/provider.d.ts.map +1 -1
- package/dist/schemas.d.ts +2 -2
- package/dist/schemas.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type FileUploadResponse, type ImageRequest, type JobResponse, type MusicRequest, type SpeechRequest, type VideoRequest } from "./schemas.ts";
|
|
1
|
+
import { type FileUploadResponse, type ImageRequest, type JobResponse, type MusicRequest, type SpeechRequest, type TranscriptionRequest, type VideoRequest } from "./schemas.ts";
|
|
2
2
|
export interface VargClientConfig {
|
|
3
3
|
apiKey: string;
|
|
4
4
|
baseUrl?: string;
|
|
@@ -7,6 +7,7 @@ export interface VargClientConfig {
|
|
|
7
7
|
elevenlabs?: string;
|
|
8
8
|
higgsfield?: string;
|
|
9
9
|
replicate?: string;
|
|
10
|
+
groq?: string;
|
|
10
11
|
};
|
|
11
12
|
}
|
|
12
13
|
export interface WaitForJobOptions {
|
|
@@ -63,6 +64,7 @@ export declare class VargClient {
|
|
|
63
64
|
createImage(params: ImageRequest): Promise<JobResponse>;
|
|
64
65
|
createSpeech(params: SpeechRequest): Promise<JobResponse>;
|
|
65
66
|
createMusic(params: MusicRequest): Promise<JobResponse>;
|
|
67
|
+
createTranscription(params: TranscriptionRequest): Promise<JobResponse>;
|
|
66
68
|
uploadFile(file: Blob | Buffer, mediaType: string): Promise<FileUploadResponse>;
|
|
67
69
|
listVoices(params?: VoiceSearchParams): Promise<VoiceListResponse>;
|
|
68
70
|
syncVoices(): Promise<{
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EAEvB,KAAK,YAAY,EAEjB,KAAK,WAAW,EAEhB,KAAK,YAAY,EAEjB,KAAK,aAAa,EAElB,KAAK,YAAY,EAElB,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EAEvB,KAAK,YAAY,EAEjB,KAAK,WAAW,EAEhB,KAAK,YAAY,EAEjB,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAEzB,KAAK,YAAY,EAElB,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,MAAM,WAAW,iBAAiB;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,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Params, } from "./client.ts";
|
|
3
3
|
export { createVarg, varg } from "./provider.ts";
|
|
4
4
|
export type { VargProvider } from "./provider.ts";
|
|
5
|
-
export { ErrorResponseSchema, FileInputSchema, FileUploadResponseSchema, ImageRequestSchema, JobResponseSchema, JobStatusSchema, MusicRequestSchema, SpeechRequestSchema, VideoRequestSchema, } from "./schemas.ts";
|
|
6
|
-
export type { ErrorResponse, FileInput, FileUploadResponse, ImageRequest, JobResponse, JobStatus, MusicRequest, SpeechRequest, VideoRequest, } from "./schemas.ts";
|
|
5
|
+
export { ErrorResponseSchema, FileInputSchema, FileUploadResponseSchema, ImageRequestSchema, JobResponseSchema, JobStatusSchema, MusicRequestSchema, SpeechRequestSchema, TranscriptionRequestSchema, VideoRequestSchema, } from "./schemas.ts";
|
|
6
|
+
export type { ErrorResponse, FileInput, FileUploadResponse, ImageRequest, JobResponse, JobStatus, MusicRequest, SpeechRequest, TranscriptionRequest, VideoRequest, } from "./schemas.ts";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3D,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,SAAS,EACT,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,wBAAwB,EACxB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,aAAa,EACb,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,WAAW,EACX,SAAS,EACT,YAAY,EACZ,aAAa,EACb,YAAY,GACb,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3D,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,SAAS,EACT,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,wBAAwB,EACxB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,aAAa,EACb,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,WAAW,EACX,SAAS,EACT,YAAY,EACZ,aAAa,EACb,oBAAoB,EACpB,YAAY,GACb,MAAM,cAAc,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -13668,6 +13668,9 @@ class VargClient {
|
|
|
13668
13668
|
if (this.providerKeys?.replicate) {
|
|
13669
13669
|
headers["X-Provider-Key-Replicate"] = this.providerKeys.replicate;
|
|
13670
13670
|
}
|
|
13671
|
+
if (this.providerKeys?.groq) {
|
|
13672
|
+
headers["X-Provider-Key-Groq"] = this.providerKeys.groq;
|
|
13673
|
+
}
|
|
13671
13674
|
return headers;
|
|
13672
13675
|
}
|
|
13673
13676
|
async handleResponse(response, schema) {
|
|
@@ -13715,6 +13718,15 @@ class VargClient {
|
|
|
13715
13718
|
});
|
|
13716
13719
|
return this.handleResponse(response, JobResponse);
|
|
13717
13720
|
}
|
|
13721
|
+
async createTranscription(params) {
|
|
13722
|
+
TranscriptionRequest.parse(params);
|
|
13723
|
+
const response = await fetch(`${this.baseUrl}/transcription`, {
|
|
13724
|
+
method: "POST",
|
|
13725
|
+
headers: this.getHeaders(),
|
|
13726
|
+
body: JSON.stringify(params)
|
|
13727
|
+
});
|
|
13728
|
+
return this.handleResponse(response, JobResponse);
|
|
13729
|
+
}
|
|
13718
13730
|
async uploadFile(file2, mediaType) {
|
|
13719
13731
|
const headers = {
|
|
13720
13732
|
Authorization: `Bearer ${this.apiKey}`,
|
|
@@ -13732,6 +13744,9 @@ class VargClient {
|
|
|
13732
13744
|
if (this.providerKeys?.replicate) {
|
|
13733
13745
|
headers["X-Provider-Key-Replicate"] = this.providerKeys.replicate;
|
|
13734
13746
|
}
|
|
13747
|
+
if (this.providerKeys?.groq) {
|
|
13748
|
+
headers["X-Provider-Key-Groq"] = this.providerKeys.groq;
|
|
13749
|
+
}
|
|
13735
13750
|
const response = await fetch(`${this.baseUrl}/files`, {
|
|
13736
13751
|
method: "POST",
|
|
13737
13752
|
headers,
|
|
@@ -14199,6 +14214,7 @@ function createVarg(config2) {
|
|
|
14199
14214
|
imageModel: (modelId) => new VargImageModel(modelId, client),
|
|
14200
14215
|
speechModel: (modelId) => new VargSpeechModel(modelId, client),
|
|
14201
14216
|
musicModel: (modelId) => new VargMusicModel(modelId, client),
|
|
14217
|
+
transcriptionModel: (modelId) => new VargTranscriptionModel(modelId, client),
|
|
14202
14218
|
languageModel(modelId) {
|
|
14203
14219
|
throw new NoSuchModelError({ modelId, modelType: "languageModel" });
|
|
14204
14220
|
},
|
|
@@ -14217,6 +14233,8 @@ async function submitJob(client, capability, params) {
|
|
|
14217
14233
|
return client.createSpeech(params);
|
|
14218
14234
|
case "music":
|
|
14219
14235
|
return client.createMusic(params);
|
|
14236
|
+
case "transcription":
|
|
14237
|
+
return client.createTranscription(params);
|
|
14220
14238
|
}
|
|
14221
14239
|
}
|
|
14222
14240
|
async function executeJob(client, capability, params) {
|
|
@@ -14415,12 +14433,61 @@ class VargMusicModel {
|
|
|
14415
14433
|
};
|
|
14416
14434
|
}
|
|
14417
14435
|
}
|
|
14436
|
+
|
|
14437
|
+
class VargTranscriptionModel {
|
|
14438
|
+
specificationVersion = "v3";
|
|
14439
|
+
provider = "varg";
|
|
14440
|
+
modelId;
|
|
14441
|
+
client;
|
|
14442
|
+
constructor(modelId, client) {
|
|
14443
|
+
this.modelId = modelId;
|
|
14444
|
+
this.client = client;
|
|
14445
|
+
}
|
|
14446
|
+
async doGenerate(options) {
|
|
14447
|
+
const warnings = [];
|
|
14448
|
+
const audioData = typeof options.audio === "string" ? Uint8Array.from(atob(options.audio), (c) => c.charCodeAt(0)) : options.audio;
|
|
14449
|
+
const uploaded = await this.client.uploadFile(new Blob([audioData], { type: options.mediaType }), options.mediaType);
|
|
14450
|
+
const job = await this.client.createTranscription({
|
|
14451
|
+
model: this.modelId,
|
|
14452
|
+
audio_url: uploaded.url,
|
|
14453
|
+
...options.providerOptions?.varg?.language ? { language: options.providerOptions.varg.language } : {},
|
|
14454
|
+
...options.providerOptions?.varg ? { provider_options: options.providerOptions.varg } : {}
|
|
14455
|
+
});
|
|
14456
|
+
const completed = await this.client.waitForJob(job.job_id);
|
|
14457
|
+
if (completed.status === "failed") {
|
|
14458
|
+
throw new Error(`[transcription] job ${completed.job_id} failed: ${completed.error || "unknown error"}`);
|
|
14459
|
+
}
|
|
14460
|
+
const metadata = completed.output?.metadata;
|
|
14461
|
+
const text = metadata?.text ?? "";
|
|
14462
|
+
const words = metadata?.words ?? [];
|
|
14463
|
+
const segments = (metadata?.segments ?? []).map((s) => ({
|
|
14464
|
+
text: s.text,
|
|
14465
|
+
startSecond: s.start,
|
|
14466
|
+
endSecond: s.end
|
|
14467
|
+
}));
|
|
14468
|
+
return {
|
|
14469
|
+
text,
|
|
14470
|
+
segments,
|
|
14471
|
+
language: metadata?.language,
|
|
14472
|
+
durationInSeconds: metadata?.duration,
|
|
14473
|
+
warnings,
|
|
14474
|
+
response: {
|
|
14475
|
+
timestamp: new Date,
|
|
14476
|
+
modelId: this.modelId,
|
|
14477
|
+
headers: undefined,
|
|
14478
|
+
body: metadata
|
|
14479
|
+
},
|
|
14480
|
+
providerMetadata: metadata?.words ? { varg: { words: metadata.words } } : undefined
|
|
14481
|
+
};
|
|
14482
|
+
}
|
|
14483
|
+
}
|
|
14418
14484
|
export {
|
|
14419
14485
|
varg_provider as varg,
|
|
14420
14486
|
createVarg,
|
|
14421
14487
|
VideoRequest as VideoRequestSchema,
|
|
14422
14488
|
VargGatewayError,
|
|
14423
14489
|
VargClient,
|
|
14490
|
+
TranscriptionRequest as TranscriptionRequestSchema,
|
|
14424
14491
|
SpeechRequest as SpeechRequestSchema,
|
|
14425
14492
|
MusicRequest as MusicRequestSchema,
|
|
14426
14493
|
JobStatus as JobStatusSchema,
|
package/dist/provider.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ImageModelV3, type ProviderV3, type SpeechModelV3 } from "@ai-sdk/provider";
|
|
1
|
+
import { type ImageModelV3, type ProviderV3, type SpeechModelV3, type TranscriptionModelV3 } from "@ai-sdk/provider";
|
|
2
2
|
import type { MusicModelV3, VideoModelV3 } from "vargai/ai";
|
|
3
3
|
import { type VargClientConfig } from "./client.ts";
|
|
4
4
|
export interface VargProvider extends ProviderV3 {
|
|
@@ -6,6 +6,7 @@ export interface VargProvider extends ProviderV3 {
|
|
|
6
6
|
imageModel(modelId: string): ImageModelV3;
|
|
7
7
|
speechModel(modelId: string): SpeechModelV3;
|
|
8
8
|
musicModel(modelId: string): MusicModelV3;
|
|
9
|
+
transcriptionModel(modelId: string): TranscriptionModelV3;
|
|
9
10
|
}
|
|
10
11
|
export declare function createVarg(config: VargClientConfig): VargProvider;
|
|
11
12
|
declare const varg_provider: VargProvider;
|
package/dist/provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EAIjB,KAAK,UAAU,EAEf,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EAIjB,KAAK,UAAU,EAEf,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAE1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EACV,YAAY,EAEZ,YAAY,EAEb,MAAM,WAAW,CAAC;AACnB,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEhE,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC9C,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC;IAC1C,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC;IAC1C,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,aAAa,CAAC;IAC5C,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC;IAC1C,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,oBAAoB,CAAC;CAC3D;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,gBAAgB,GAAG,YAAY,CAiBjE;AAwED,QAAA,MAAM,aAAa,cAAyD,CAAC;AAC7E,OAAO,EAAE,aAAa,IAAI,IAAI,EAAE,CAAC"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ErrorResponse as ErrorResponseSchema, FileInput as FileInputSchema, FileUploadResponse as FileUploadResponseSchema, ImageRequest as ImageRequestSchema, JobResponse as JobResponseSchema, JobStatus as JobStatusSchema, MusicRequest as MusicRequestSchema, SpeechRequest as SpeechRequestSchema, VideoRequest as VideoRequestSchema, } from "@vargai/schemas";
|
|
2
|
-
export type { ErrorResponse, FileInput, FileUploadResponse, ImageRequest, JobResponse, JobStatus, MusicRequest, SpeechRequest, VideoRequest, } from "@vargai/schemas";
|
|
1
|
+
export { ErrorResponse as ErrorResponseSchema, FileInput as FileInputSchema, FileUploadResponse as FileUploadResponseSchema, ImageRequest as ImageRequestSchema, JobResponse as JobResponseSchema, JobStatus as JobStatusSchema, MusicRequest as MusicRequestSchema, SpeechRequest as SpeechRequestSchema, TranscriptionRequest as TranscriptionRequestSchema, VideoRequest as VideoRequestSchema, } from "@vargai/schemas";
|
|
2
|
+
export type { ErrorResponse, FileInput, FileUploadResponse, ImageRequest, JobResponse, JobStatus, MusicRequest, SpeechRequest, TranscriptionRequest, VideoRequest, } from "@vargai/schemas";
|
|
3
3
|
//# sourceMappingURL=schemas.d.ts.map
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,IAAI,mBAAmB,EACpC,SAAS,IAAI,eAAe,EAC5B,kBAAkB,IAAI,wBAAwB,EAC9C,YAAY,IAAI,kBAAkB,EAClC,WAAW,IAAI,iBAAiB,EAChC,SAAS,IAAI,eAAe,EAC5B,YAAY,IAAI,kBAAkB,EAClC,aAAa,IAAI,mBAAmB,EACpC,YAAY,IAAI,kBAAkB,GACnC,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,aAAa,EACb,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,WAAW,EACX,SAAS,EACT,YAAY,EACZ,aAAa,EACb,YAAY,GACb,MAAM,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,IAAI,mBAAmB,EACpC,SAAS,IAAI,eAAe,EAC5B,kBAAkB,IAAI,wBAAwB,EAC9C,YAAY,IAAI,kBAAkB,EAClC,WAAW,IAAI,iBAAiB,EAChC,SAAS,IAAI,eAAe,EAC5B,YAAY,IAAI,kBAAkB,EAClC,aAAa,IAAI,mBAAmB,EACpC,oBAAoB,IAAI,0BAA0B,EAClD,YAAY,IAAI,kBAAkB,GACnC,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,aAAa,EACb,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,WAAW,EACX,SAAS,EACT,YAAY,EACZ,aAAa,EACb,oBAAoB,EACpB,YAAY,GACb,MAAM,iBAAiB,CAAC"}
|