Skip to main content

AI Services Overview

The AIBuds AI framework provides a common entry point for AI chat, audio recording, streaming speech recognition, text-to-speech, summaries, text translation, simultaneous interpretation, conversation translation, image generation, and AI asking services.

Each AI service is supplied by a registered provider SDK that conforms to AIConnectSDK. Your app initializes AIBudsAISDK with the provider SDKs it includes, selects an AIServiceVendor, and then calls the service-specific APIs exposed by AIBudsAISDK.

Available Features

Integration Flow

  1. Install the AI framework and the provider SDKs required by your application.
  2. Register the provider SDK implementations when initializing AIBudsAISDK.
  3. After a device is connected, provide its AI device information to the AI framework.
  4. Select .starBurst or .mltcloud with setAIServiceVendor.
  5. Complete provider authentication when its authentication mode is app initiated.
  6. Start the required AI service and handle its callbacks or session events.

Service Providers

The public SDK currently defines two selectable service providers:

Enum CaseService Provider
.starBurstStarBurst AI (ByteDance)
.mltcloudMltCloud AI (Meilc)

.none means that no provider has been selected. It is the default value and is not a usable AI service provider.

Provider registration and provider selection are separate operations. Registration makes a provider implementation available to the framework; selection determines which registered provider receives subsequent AI service requests.

Service Availability

An installed provider may not implement every service or support the same languages as another provider. Use the provider metadata exposed by AIBudsAISDK, including allSupportedLanguages, and handle unsupported-service errors returned by individual operations.

Prerequisites

  • Initialize the base AIBuds SDK and AIBudsAISDK before using AI services.
  • Connect a supported device and configure its AI device information.
  • Select a registered AI service provider.
  • Complete authentication when required by that provider.
  • Maintain network connectivity for cloud-backed services.

See Select AI Provider for provider initialization, selection, and authentication checks.