diff --git a/README.md b/README.md index 8cf5147..c1a1853 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ let realtimeManager = try client.createRealtimeManager( #### Fast mode -Fast mode (`speed: .fast`) serves the session from a higher-compute tier for lower latency and higher throughput; output quality is unchanged. It is currently available for `lucy-2.5` / `lucy-2.6` / `lucy-latest` and `lucy-vton-3.5` / `lucy-vton-3.6` / `lucy-vton-latest`, in the US region only, and is billed at 2x the standard realtime rate for those models. Other models ignore the option. Omit it (the default) for standard mode. +Fast mode (`speed: .fast`) serves the session from a higher-compute tier for lower latency and higher throughput; output quality is unchanged. It is currently available for `lucy-2.6` / `lucy-latest`, `lucy-2.5` and `lucy-vton-3.5` / `lucy-vton-3.6` / `lucy-vton-latest`, in the US region only, and is billed at 2x the standard realtime rate for those models. Other models ignore the option. Omit it (the default) for standard mode. Models that offer fast mode list it in `ModelDefinition.supportedSpeeds`; passing `speed` for any other model logs a warning and the server serves the session in standard mode. See the [platform docs](https://docs.platform.decart.ai/models) for details. diff --git a/Sources/DecartSDK/Models/Models.swift b/Sources/DecartSDK/Models/Models.swift index 103d510..145ec56 100644 --- a/Sources/DecartSDK/Models/Models.swift +++ b/Sources/DecartSDK/Models/Models.swift @@ -31,6 +31,7 @@ public enum RealtimeModel: String, CaseIterable { case lucyVton3_5 = "lucy-vton-3.5" case lucyVton3_6 = "lucy-vton-3.6" // Latest aliases (server-side resolution) + /// Server-side alias; currently resolves to `lucy-2.6`. case lucyLatest = "lucy-latest" /// Server-side alias; currently resolves to `lucy-vton-3.6`. case lucyVtonLatest = "lucy-vton-latest" @@ -65,6 +66,7 @@ public enum VideoModel: String, CaseIterable, Sendable { case lucyVton3_5 = "lucy-vton-3.5" case lucyVton3_6 = "lucy-vton-3.6" // Latest aliases (server-side resolution) + /// Server-side alias; currently resolves to `lucy-2.6`. case lucyLatest = "lucy-latest" /// Server-side alias; currently resolves to `lucy-vton-3.6`. case lucyVtonLatest = "lucy-vton-latest" diff --git a/Sources/DecartSDK/Realtime/RealtimeConfiguration.swift b/Sources/DecartSDK/Realtime/RealtimeConfiguration.swift index 8f62a1e..33ac93e 100644 --- a/Sources/DecartSDK/Realtime/RealtimeConfiguration.swift +++ b/Sources/DecartSDK/Realtime/RealtimeConfiguration.swift @@ -18,7 +18,7 @@ public enum Resolution: String, Sendable { /// /// Fast mode (`.fast`) serves the session from a higher-compute tier for lower /// latency and higher throughput; output quality is unchanged. It is currently -/// available for `lucy-2.5` / `lucy-2.6` / `lucy-latest` and `lucy-vton-3.5` / +/// available for `lucy-2.6` / `lucy-latest`, `lucy-2.5` and `lucy-vton-3.5` / /// `lucy-vton-3.6` / `lucy-vton-latest`, in the US region only, and is billed at /// 2x the standard realtime rate for those models. Other models ignore the /// option. Omit it (the default) for standard mode. See