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 @@ -6,42 +6,38 @@ public partial interface IIdentityClient
{
/// <summary>
/// Create identity<br/>
/// Create a new speaker identity
/// Create a new identity profile. Two request forms are supported: the simple audio-only form (flat `name` + one audio source; creates a team-visible person identity and enrolls the voice immediately) and the multimodal form (a nested `identity` object with full control over type and visibility).
/// </summary>
/// <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::ResembleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ResembleAI.IdentityCreateIdentityResponse200> CreateIdentityAsync(

global::ResembleAI.CreateIdentityRequest request,
global::ResembleAI.IdentityCreateIdentityRequest request,
global::ResembleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create identity<br/>
/// Create a new speaker identity
/// Create a new identity profile. Two request forms are supported: the simple audio-only form (flat `name` + one audio source; creates a team-visible person identity and enrolls the voice immediately) and the multimodal form (a nested `identity` object with full control over type and visibility).
/// </summary>
/// <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::ResembleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ResembleAI.AutoSDKHttpResponse<global::ResembleAI.IdentityCreateIdentityResponse200>> CreateIdentityAsResponseAsync(

global::ResembleAI.CreateIdentityRequest request,
global::ResembleAI.IdentityCreateIdentityRequest request,
global::ResembleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create identity<br/>
/// Create a new speaker identity
/// Create a new identity profile. Two request forms are supported: the simple audio-only form (flat `name` + one audio source; creates a team-visible person identity and enrolls the voice immediately) and the multimodal form (a nested `identity` object with full control over type and visibility).
/// </summary>
/// <param name="audioUrl"></param>
/// <param name="name"></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::ResembleAI.IdentityCreateIdentityResponse200> CreateIdentityAsync(
string audioUrl,
string? name = default,
global::ResembleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#nullable enable

namespace ResembleAI
{
public partial interface IIdentityClient
{
/// <summary>
/// Delete identity<br/>
/// Delete an identity and withdraw its enrollment from matching
/// </summary>
/// <param name="uuid"></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::ResembleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ResembleAI.IdentityDeleteIdentityResponse200> DeleteIdentityAsync(
string uuid,
global::ResembleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Delete identity<br/>
/// Delete an identity and withdraw its enrollment from matching
/// </summary>
/// <param name="uuid"></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::ResembleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ResembleAI.AutoSDKHttpResponse<global::ResembleAI.IdentityDeleteIdentityResponse200>> DeleteIdentityAsResponseAsync(
string uuid,
global::ResembleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,42 @@ public partial interface IIdentityClient
{
/// <summary>
/// List identities<br/>
/// List all speaker identities
/// List the team's identities, newest first
/// </summary>
/// <param name="page">
/// Default Value: 1
/// </param>
/// <param name="pageSize">
/// Default Value: 10
/// </param>
/// <param name="search"></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::ResembleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ResembleAI.IdentityListIdentitiesResponse200> ListIdentitiesAsync(
int? page = default,
int? pageSize = default,
string? search = default,
global::ResembleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// List identities<br/>
/// List all speaker identities
/// List the team's identities, newest first
/// </summary>
/// <param name="page">
/// Default Value: 1
/// </param>
/// <param name="pageSize">
/// Default Value: 10
/// </param>
/// <param name="search"></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::ResembleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ResembleAI.AutoSDKHttpResponse<global::ResembleAI.IdentityListIdentitiesResponse200>> ListIdentitiesAsResponseAsync(
int? page = default,
int? pageSize = default,
string? search = default,
global::ResembleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public partial interface IIdentityClient
{
/// <summary>
/// Search identities<br/>
/// Search for matching speaker identities
/// Search the team's identities (plus global identities) for matches against a media sample. Supports audio (voice matching) and image (face/visual matching); video is not yet supported for synchronous search.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -19,7 +19,7 @@ public partial interface IIdentityClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Search identities<br/>
/// Search for matching speaker identities
/// Search the team's identities (plus global identities) for matches against a media sample. Supports audio (voice matching) and image (face/visual matching); video is not yet supported for synchronous search.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -32,14 +32,28 @@ public partial interface IIdentityClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Search identities<br/>
/// Search for matching speaker identities
/// Search the team's identities (plus global identities) for matches against a media sample. Supports audio (voice matching) and image (face/visual matching); video is not yet supported for synchronous search.
/// </summary>
/// <param name="audioUrl"></param>
/// <param name="url">
/// URL to the media sample (one of url, file, signed_id is required)
/// </param>
/// <param name="signedId">
/// Signed ID from a secure upload
/// </param>
/// <param name="modality">
/// Inferred from the media's content type when omitted (defaults to audio)
/// </param>
/// <param name="topK">
/// Default Value: 1
/// </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::ResembleAI.IdentitySearchIdentitiesResponse200> SearchIdentitiesAsync(
string audioUrl,
string? url = default,
string? signedId = default,
global::ResembleAI.IdentitySearchPostRequestBodyContentApplicationJsonSchemaModality? modality = default,
int? topK = default,
global::ResembleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public partial interface ITextToSpeechClient
{
/// <summary>
/// Streaming text-to-speech synthesis (HTTP)<br/>
/// Stream audio as it's generated. Returns chunked WAV data for progressive playback.
/// Stream audio as it's generated. Returns chunked WAV data for progressive playback. The model associated with the voice is selected automatically.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -19,7 +19,7 @@ public partial interface ITextToSpeechClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Streaming text-to-speech synthesis (HTTP)<br/>
/// Stream audio as it's generated. Returns chunked WAV data for progressive playback.
/// Stream audio as it's generated. Returns chunked WAV data for progressive playback. The model associated with the voice is selected automatically.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -32,7 +32,7 @@ public partial interface ITextToSpeechClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Streaming text-to-speech synthesis (HTTP)<br/>
/// Stream audio as it's generated. Returns chunked WAV data for progressive playback.
/// Stream audio as it's generated. Returns chunked WAV data for progressive playback. The model associated with the voice is selected automatically.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -45,7 +45,7 @@ public partial interface ITextToSpeechClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Streaming text-to-speech synthesis (HTTP)<br/>
/// Stream audio as it's generated. Returns chunked WAV data for progressive playback.
/// Stream audio as it's generated. Returns chunked WAV data for progressive playback. The model associated with the voice is selected automatically.
/// </summary>
/// <param name="voiceUuid">
/// Voice UUID to use for synthesis
Expand All @@ -56,9 +56,6 @@ public partial interface ITextToSpeechClient
/// <param name="projectUuid">
/// Optional project UUID to store the clip
/// </param>
/// <param name="model">
/// Model to use for synthesis. Pass `chatterbox-turbo` to use the Turbo model for lower latency and paralinguistic tag support. If not specified, defaults to Chatterbox or Chatterbox Multilingual based on the voice. Note - Chatterbox-Turbo is supported by all Rapid English voices and Pre Built Library voices.
/// </param>
/// <param name="precision">
/// Audio precision<br/>
/// Default Value: PCM_32
Expand All @@ -81,7 +78,6 @@ public partial interface ITextToSpeechClient
string voiceUuid,
string data,
string? projectUuid = default,
string? model = default,
global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaPrecision? precision = default,
global::ResembleAI.StreamPostRequestBodyContentApplicationJsonSchemaSampleRate? sampleRate = default,
bool? useHd = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public partial interface ITextToSpeechClient
{
/// <summary>
/// Synchronous text-to-speech synthesis<br/>
/// Generate speech synchronously from text or SSML. Returns complete audio as base64.
/// Generate speech synchronously from text or SSML. Returns complete audio as base64. The model associated with the voice is selected automatically.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -19,7 +19,7 @@ public partial interface ITextToSpeechClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Synchronous text-to-speech synthesis<br/>
/// Generate speech synchronously from text or SSML. Returns complete audio as base64.
/// Generate speech synchronously from text or SSML. Returns complete audio as base64. The model associated with the voice is selected automatically.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -32,7 +32,7 @@ public partial interface ITextToSpeechClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Synchronous text-to-speech synthesis<br/>
/// Generate speech synchronously from text or SSML. Returns complete audio as base64.
/// Generate speech synchronously from text or SSML. Returns complete audio as base64. The model associated with the voice is selected automatically.
/// </summary>
/// <param name="voiceUuid">
/// Voice UUID to use for synthesis
Expand All @@ -46,9 +46,6 @@ public partial interface ITextToSpeechClient
/// <param name="data">
/// Text or SSML to synthesize (max 3,000 characters)
/// </param>
/// <param name="model">
/// Model to use for synthesis. Pass `chatterbox-turbo` to use the Turbo model for lower latency and paralinguistic tag support. If not specified, defaults to Chatterbox or Chatterbox Multilingual based on the voice. Note - Chatterbox-Turbo is supported by all Rapid English voices and Pre Built Library voices.
/// </param>
/// <param name="precision">
/// Audio precision for WAV output<br/>
/// Default Value: PCM_32
Expand Down Expand Up @@ -76,7 +73,6 @@ public partial interface ITextToSpeechClient
string data,
string? projectUuid = default,
string? title = default,
string? model = default,
global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaPrecision? precision = default,
global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaOutputFormat? outputFormat = default,
global::ResembleAI.SynthesizePostRequestBodyContentApplicationJsonSchemaSampleRate? sampleRate = default,
Expand Down
Loading
Loading