Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,29 @@ public partial interface ISimliClient
/// <param name="videoStartingFrame">
/// Default Value: 0
/// </param>
/// <param name="disableSuperRes">
/// Turns off the face restoration pass on legacy faces.<br/>
/// Default Value: false
/// </param>
/// <param name="streamingWidth">
/// Width of the video in pixels, Trinity-2 faces only (the others keep their own frame size). At least 512, and with streaming_height one of 1:1, 16:9 or 9:16, otherwise a 422. A canvas larger than the avatar's frame is padded with its background; a smaller one crops a window out of it.<br/>
/// Default Value: 768
/// </param>
/// <param name="streamingHeight">
/// Height of the video in pixels. See streaming_width.<br/>
/// Default Value: 768
/// </param>
/// <param name="avatarPositionX">
/// Where the avatar sits across the canvas, from 0 (left) to 1 (right). Trinity-2 only.<br/>
/// Default Value: 0.5
/// </param>
/// <param name="avatarPositionY">
/// Where the avatar sits down the canvas, from 0 (top) to 1 (bottom). Trinity-2 only.<br/>
/// Default Value: 1.0
/// </param>
/// <param name="camera">
/// The camera the video starts with, on top of the avatar's own framing. Trinity-2 only. Leave it out to keep the avatar's framing.
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
Expand All @@ -56,6 +79,12 @@ public partial interface ISimliClient
int? audioSampleRate = default,
int? audioChannelCount = default,
int? videoStartingFrame = default,
bool? disableSuperRes = default,
int? streamingWidth = default,
int? streamingHeight = default,
double? avatarPositionX = default,
double? avatarPositionY = default,
global::Simli.CameraSetting? camera = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ public partial interface ISimliClient
/// <summary>
/// Generate Trinity Face
/// </summary>
/// <param name="targetRatio"></param>
/// <param name="gsVersion">
/// Default Value: GSA_1.0
/// </param>
Expand All @@ -17,16 +18,18 @@ public partial interface ISimliClient
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Simli.ApiException"></exception>
global::System.Threading.Tasks.Task<string> EnqueueGSAGenerationFacesGsCreatePostAsync(
global::System.Threading.Tasks.Task<global::Simli.EnqueueGSAGenerationFacesGsCreatePostResponse> EnqueueGSAGenerationFacesGsCreatePostAsync(

global::Simli.BodyEnqueueGSAGenerationFacesGsCreatePost request,
float? targetRatio = default,
global::Simli.TrinityVersion? gsVersion = default,
string? faceName = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Generate Trinity Face
/// </summary>
/// <param name="targetRatio"></param>
/// <param name="gsVersion">
/// Default Value: GSA_1.0
/// </param>
Expand All @@ -37,16 +40,18 @@ public partial interface ISimliClient
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Simli.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Simli.AutoSDKHttpResponse<string>> EnqueueGSAGenerationFacesGsCreatePostAsResponseAsync(
global::System.Threading.Tasks.Task<global::Simli.AutoSDKHttpResponse<global::Simli.EnqueueGSAGenerationFacesGsCreatePostResponse>> EnqueueGSAGenerationFacesGsCreatePostAsResponseAsync(

global::Simli.BodyEnqueueGSAGenerationFacesGsCreatePost request,
float? targetRatio = default,
global::Simli.TrinityVersion? gsVersion = default,
string? faceName = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Generate Trinity Face
/// </summary>
/// <param name="targetRatio"></param>
/// <param name="gsVersion">
/// Default Value: GSA_1.0
/// </param>
Expand All @@ -58,9 +63,10 @@ public partial interface ISimliClient
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<string> EnqueueGSAGenerationFacesGsCreatePostAsync(
global::System.Threading.Tasks.Task<global::Simli.EnqueueGSAGenerationFacesGsCreatePostResponse> EnqueueGSAGenerationFacesGsCreatePostAsync(
byte[] image,
string imagename,
float? targetRatio = default,
global::Simli.TrinityVersion? gsVersion = default,
string? faceName = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
Expand All @@ -69,6 +75,7 @@ public partial interface ISimliClient
/// <summary>
/// Generate Trinity Face
/// </summary>
/// <param name="targetRatio"></param>
/// <param name="gsVersion">
/// Default Value: GSA_1.0
/// </param>
Expand All @@ -82,16 +89,18 @@ public partial interface ISimliClient
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Simli.ApiException"></exception>
global::System.Threading.Tasks.Task<string> EnqueueGSAGenerationFacesGsCreatePostAsync(
global::System.Threading.Tasks.Task<global::Simli.EnqueueGSAGenerationFacesGsCreatePostResponse> EnqueueGSAGenerationFacesGsCreatePostAsync(
global::System.IO.Stream image,
string imagename,
float? targetRatio = default,
global::Simli.TrinityVersion? gsVersion = default,
string? faceName = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Generate Trinity Face
/// </summary>
/// <param name="targetRatio"></param>
/// <param name="gsVersion">
/// Default Value: GSA_1.0
/// </param>
Expand All @@ -105,9 +114,10 @@ public partial interface ISimliClient
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Simli.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Simli.AutoSDKHttpResponse<string>> EnqueueGSAGenerationFacesGsCreatePostAsResponseAsync(
global::System.Threading.Tasks.Task<global::Simli.AutoSDKHttpResponse<global::Simli.EnqueueGSAGenerationFacesGsCreatePostResponse>> EnqueueGSAGenerationFacesGsCreatePostAsResponseAsync(
global::System.IO.Stream image,
string imagename,
float? targetRatio = default,
global::Simli.TrinityVersion? gsVersion = default,
string? faceName = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,26 @@ namespace Simli
public partial interface ISimliClient
{
/// <summary>
/// Check Trinity Generation Status
/// Check Trinity Generation Status<br/>
/// Status of the caller's Trinity generations. `generations` lists every one still tracked, oldest first; the top-level status, queue_position and face_id describe the most recent of them. Accounts that generate in parallel should read `generations` - the top-level fields only ever describe one of several in flight.
/// </summary>
/// <param name="faceId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Simli.ApiException"></exception>
global::System.Threading.Tasks.Task<string> GetRequestStatusFacesGsStatusGetAsync(
global::System.Threading.Tasks.Task<global::Simli.TrinityGenerationStatus> GetRequestStatusFacesGsStatusGetAsync(
string? faceId = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Check Trinity Generation Status
/// Check Trinity Generation Status<br/>
/// Status of the caller's Trinity generations. `generations` lists every one still tracked, oldest first; the top-level status, queue_position and face_id describe the most recent of them. Accounts that generate in parallel should read `generations` - the top-level fields only ever describe one of several in flight.
/// </summary>
/// <param name="faceId"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Simli.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Simli.AutoSDKHttpResponse<string>> GetRequestStatusFacesGsStatusGetAsResponseAsync(
global::System.Threading.Tasks.Task<global::Simli.AutoSDKHttpResponse<global::Simli.TrinityGenerationStatus>> GetRequestStatusFacesGsStatusGetAsResponseAsync(
string? faceId = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,46 @@ public partial interface ISimliClient
/// <summary>
/// Start Livekit Agents Session
/// </summary>
/// <param name="sessionToken"></param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Simli.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Simli.InitIntegrationsLivekitAgentsPostResponse> InitIntegrationsLivekitAgentsPostAsync(

global::Simli.LiveKitInitializationRequest request,
string? sessionToken = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Start Livekit Agents Session
/// </summary>
/// <param name="sessionToken"></param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Simli.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Simli.AutoSDKHttpResponse<global::Simli.InitIntegrationsLivekitAgentsPostResponse>> InitIntegrationsLivekitAgentsPostAsResponseAsync(

global::Simli.LiveKitInitializationRequest request,
string? sessionToken = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Start Livekit Agents Session
/// </summary>
/// <param name="sessionToken"></param>
/// <param name="requestSessionToken"></param>
/// <param name="livekitToken"></param>
/// <param name="livekitUrl"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Simli.InitIntegrationsLivekitAgentsPostResponse> InitIntegrationsLivekitAgentsPostAsync(
string sessionToken,
string requestSessionToken,
string livekitToken,
string livekitUrl,
string? sessionToken = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Loading
Loading