← カタログ

moonshine-small-streaming-en production first-party

english-streaming-stt · 100.0 MB · MIT

モデルカード

提供元
moonshine-ai
タスク
english-streaming-stt
ライセンス
MIT
バージョン
1.0
フォーマット
onnx
プラットフォーム
ios
SHA-256
df4dbfc9ba36149f04fcec4dab48bce5301f31001563985cecf9e3fe9c5844c0

組み込み

Swift

// Package.swift
.package(url: "https://github.com/Nozium/manashiki-models-swift", branch: "main"),

// In your app:
import Manashiki

let client = ManashikiClient(apiKey: ProcessInfo.processInfo.environment["MANASHIKI_API_KEY"] ?? "")
let model = try await client.downloadModel("moonshine-small-streaming-en") { progress in
    print("\(progress.bytesWritten) / \(progress.totalBytes)")
}
print(model.localURL)

TypeScript

// npm i @manashiki/sdk
import { ManashikiClient } from "@manashiki/sdk";

const client = new ManashikiClient({ apiKey: process.env.MANASHIKI_API_KEY! });
const dl = await client.downloadModel("moonshine-small-streaming-en");
console.log(dl);

Kotlin / Android

// build.gradle.kts
implementation("com.manashiki:manashiki-models:0.1.0")

// Kotlin
val client = ManashikiClient(apiKey = BuildConfig.MANASHIKI_API_KEY)
val model = client.downloadModel("moonshine-small-streaming-en")
println(model.localPath)

mk_test_* API キーは manashiki keys create --env staging で取得できます。 5 分で試せる手順ははじめにをご覧ください。