ElevenLabs Swift Compatibility

OutspeedSDK is fully compatible with Elevenlabs Swift SDK specifications (with exception of some features.) If you are migrating from ElevenLabsSDK, follow these steps:

1. Replace Imports and Configs

Replace all occurrences of ElevenLabsSDK with OutspeedSDK. For example:
import ElevenLabsSDK

let config = ElevenLabsSDK.SessionConfig( agentId : "testagent")
becomes
import OutspeedSDK

let config = OutspeedSDK.SessionConfig( agentId : "testagent")

2. Add Your Outspeed API Key

Update your startSession call to include your Outspeed API key:
let conversation = try await ElevenLabsSDK.Conversation.startSession(
    config: config,
    callbacks: callbacks
)
becomes
let conversation = try await OutspeedSDK.Conversation.startSession(
    config: config,
    callbacks: callbacks
    apiKey: "<YOUR_OUTSPEED_API_KEY>"
)
Refer to a working example on GitHub.