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 @@ -8,36 +8,36 @@ public partial interface ISimliClient
/// Retrieve session history<br/>
/// Returns a list of session history records for the authenticated user
/// </summary>
/// <param name="start">
/// <param name="startTime">
/// Example: 1745750387
/// </param>
/// <param name="end">
/// <param name="endTime">
/// Example: 1745750408
/// </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.GetHistorySessionsResponse> GetHistorySessionsAsync(
int? start = default,
int? end = default,
int? startTime = default,
int? endTime = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Retrieve session history<br/>
/// Returns a list of session history records for the authenticated user
/// </summary>
/// <param name="start">
/// <param name="startTime">
/// Example: 1745750387
/// </param>
/// <param name="end">
/// <param name="endTime">
/// Example: 1745750408
/// </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.GetHistorySessionsResponse>> GetHistorySessionsAsResponseAsync(
int? start = default,
int? end = default,
int? startTime = default,
int? endTime = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
#nullable enable

namespace Simli
{
public partial interface ISimliClient
{
/// <summary>
/// Preprocess Trinity Face Image<br/>
/// Reframes a portrait to the framing Trinity expects: the head centred with equal padding above and below, squared to the camera, on a simplified version of the image's own background. Returns the reframed PNG.
/// </summary>
/// <param name="retry">
/// Default Value: false
/// </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 PreprocessImageFacesTrinityPreprocessPostAsync(

global::Simli.BodyPreprocessImageFacesTrinityPreprocessPost request,
bool? retry = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Preprocess Trinity Face Image<br/>
/// Reframes a portrait to the framing Trinity expects: the head centred with equal padding above and below, squared to the camera, on a simplified version of the image's own background. Returns the reframed PNG.
/// </summary>
/// <param name="retry">
/// Default Value: false
/// </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> PreprocessImageFacesTrinityPreprocessPostAsResponseAsync(

global::Simli.BodyPreprocessImageFacesTrinityPreprocessPost request,
bool? retry = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Preprocess Trinity Face Image<br/>
/// Reframes a portrait to the framing Trinity expects: the head centred with equal padding above and below, squared to the camera, on a simplified version of the image's own background. Returns the reframed PNG.
/// </summary>
/// <param name="retry">
/// Default Value: false
/// </param>
/// <param name="image">
/// JPEG, PNG or WEBP, under 5MB, at least 512x512. It must contain a person facing the camera whose head is at least 15% of the image height - a head smaller than that carries too few pixels to keep the likeness, and is rejected. Where several people are present, the largest camera-facing head is treated as the subject.
/// </param>
/// <param name="imagename">
/// JPEG, PNG or WEBP, under 5MB, at least 512x512. It must contain a person facing the camera whose head is at least 15% of the image height - a head smaller than that carries too few pixels to keep the likeness, and is rejected. Where several people are present, the largest camera-facing head is treated as the subject.
/// </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 PreprocessImageFacesTrinityPreprocessPostAsync(
byte[] image,
string imagename,
bool? retry = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
/// Preprocess Trinity Face Image<br/>
/// Reframes a portrait to the framing Trinity expects: the head centred with equal padding above and below, squared to the camera, on a simplified version of the image's own background. Returns the reframed PNG.
/// </summary>
/// <param name="retry">
/// Default Value: false
/// </param>
/// <param name="image">
/// JPEG, PNG or WEBP, under 5MB, at least 512x512. It must contain a person facing the camera whose head is at least 15% of the image height - a head smaller than that carries too few pixels to keep the likeness, and is rejected. Where several people are present, the largest camera-facing head is treated as the subject.
/// </param>
/// <param name="imagename">
/// JPEG, PNG or WEBP, under 5MB, at least 512x512. It must contain a person facing the camera whose head is at least 15% of the image height - a head smaller than that carries too few pixels to keep the likeness, and is rejected. Where several people are present, the largest camera-facing head is treated as the subject.
/// </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 PreprocessImageFacesTrinityPreprocessPostAsync(
global::System.IO.Stream image,
string imagename,
bool? retry = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Preprocess Trinity Face Image<br/>
/// Reframes a portrait to the framing Trinity expects: the head centred with equal padding above and below, squared to the camera, on a simplified version of the image's own background. Returns the reframed PNG.
/// </summary>
/// <param name="retry">
/// Default Value: false
/// </param>
/// <param name="image">
/// JPEG, PNG or WEBP, under 5MB, at least 512x512. It must contain a person facing the camera whose head is at least 15% of the image height - a head smaller than that carries too few pixels to keep the likeness, and is rejected. Where several people are present, the largest camera-facing head is treated as the subject.
/// </param>
/// <param name="imagename">
/// JPEG, PNG or WEBP, under 5MB, at least 512x512. It must contain a person facing the camera whose head is at least 15% of the image height - a head smaller than that carries too few pixels to keep the likeness, and is rejected. Where several people are present, the largest camera-facing head is treated as the subject.
/// </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> PreprocessImageFacesTrinityPreprocessPostAsResponseAsync(
global::System.IO.Stream image,
string imagename,
bool? retry = default,
global::Simli.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
1 change: 1 addition & 0 deletions src/libs/Simli/Generated/Simli.JsonSerializerContext.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ namespace Simli
[global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Simli.CharacterVersion), TypeInfoPropertyName = "CharacterVersion2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Simli.BodyEnqueueGSAGenerationFacesGsCreatePost))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Simli.BodyPreprocessImageFacesTrinityPreprocessPost))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Simli.TrinityVersion), TypeInfoPropertyName = "TrinityVersion2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Simli.GetIceServersComposeIceGetResponseItem>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Simli.GetIceServersComposeIceGetResponseItem))]
Expand Down
28 changes: 16 additions & 12 deletions src/libs/Simli/Generated/Simli.JsonSerializerContextTypes.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,51 +212,55 @@ public sealed partial class JsonSerializerContextTypes
/// <summary>
///
/// </summary>
public global::Simli.TrinityVersion? Type46 { get; set; }
public global::Simli.BodyPreprocessImageFacesTrinityPreprocessPost? Type46 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Simli.GetIceServersComposeIceGetResponseItem>? Type47 { get; set; }
public global::Simli.TrinityVersion? Type47 { get; set; }
/// <summary>
///
/// </summary>
public global::Simli.GetIceServersComposeIceGetResponseItem? Type48 { get; set; }
public global::System.Collections.Generic.IList<global::Simli.GetIceServersComposeIceGetResponseItem>? Type48 { get; set; }
/// <summary>
///
/// </summary>
public global::Simli.StartAudioToVideoSessionComposeTokenPostResponse? Type49 { get; set; }
public global::Simli.GetIceServersComposeIceGetResponseItem? Type49 { get; set; }
/// <summary>
///
/// </summary>
public global::Simli.StartAudioToVideoSessionComposeTokenPostResponse2? Type50 { get; set; }
public global::Simli.StartAudioToVideoSessionComposeTokenPostResponse? Type50 { get; set; }
/// <summary>
///
/// </summary>
public global::Simli.AudioToVideoInterfaceStaticAudioPostResponse? Type51 { get; set; }
public global::Simli.StartAudioToVideoSessionComposeTokenPostResponse2? Type51 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Simli.FacesResponse>? Type52 { get; set; }
public global::Simli.AudioToVideoInterfaceStaticAudioPostResponse? Type52 { get; set; }
/// <summary>
///
/// </summary>
public global::Simli.InitIntegrationsLivekitAgentsPostResponse? Type53 { get; set; }
public global::System.Collections.Generic.IList<global::Simli.FacesResponse>? Type53 { get; set; }
/// <summary>
///
/// </summary>
public global::Simli.GetHistorySessionsResponse? Type54 { get; set; }
public global::Simli.InitIntegrationsLivekitAgentsPostResponse? Type54 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Simli.HistoryRecord>? Type55 { get; set; }
public global::Simli.GetHistorySessionsResponse? Type55 { get; set; }
/// <summary>
///
/// </summary>
public global::Simli.GetRatelimiterSessionsResponse? Type56 { get; set; }
public global::System.Collections.Generic.IList<global::Simli.HistoryRecord>? Type56 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Simli.AgentResponse>? Type57 { get; set; }
public global::Simli.GetRatelimiterSessionsResponse? Type57 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::Simli.AgentResponse>? Type58 { get; set; }

/// <summary>
///
Expand Down
Loading
Loading