Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 2 additions & 0 deletions Sources/DecartSDK/Models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Sources/DecartSDK/Realtime/RealtimeConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading