本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
modal-soft
/
mio-ai
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
Add elevenlabs platform
Define common types for elevenlabs.
master
TheoryOfNekomata
1 年之前
父節點
5a7d0fd4d1
當前提交
1405d432ef
共有
5 個檔案被更改
,包括
23 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
README.md
+9
-0
src/platforms/elevenlabs/common.ts
+0
-0
src/platforms/elevenlabs/events.ts
+10
-0
src/platforms/elevenlabs/index.ts
+1
-1
src/platforms/openai/common.ts
+ 3
- 0
README.md
查看文件
@@ -20,3 +20,6 @@ Many-in-one AI client.
- [ ] files
- [ ] fine-tunes
- [ ] moderations
* ElevenLabs
- [ ] TTS (stream)
- [ ] get voices
+ 9
- 0
src/platforms/elevenlabs/common.ts
查看文件
@@ -0,0 +1,9 @@
export const enum ApiVersion {
V1 = 'v1',
}
export interface Configuration {
apiKey: string;
apiVersion: ApiVersion;
baseUrl?: string;
}
+ 0
- 0
src/platforms/elevenlabs/events.ts
查看文件
+ 10
- 0
src/platforms/elevenlabs/index.ts
查看文件
@@ -0,0 +1,10 @@
import { Configuration } from './common';
export * from './common';
export const PLATFORM_ID = 'elevenlabs' as const;
export interface PlatformConfig {
platform: typeof PLATFORM_ID;
platformConfiguration: Configuration;
}
+ 1
- 1
src/platforms/openai/common.ts
查看文件
@@ -38,7 +38,7 @@ export class PlatformError extends Error {
}
}
export enum ApiVersion {
export
const
enum ApiVersion {
V1 = 'v1',
}
Write
Preview
Loading…
取消
儲存