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 @@ -258,6 +258,14 @@ request.Filename is null
content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.Intelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
name: "\"intelligence\"");

}
if (request.InferFromIntelligence != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.InferFromIntelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
name: "\"infer_from_intelligence\"");

}
if (request.SearchIdentity != default)
{
Expand Down Expand Up @@ -774,6 +782,10 @@ request.Filename is null
/// Run multimodal intelligence on every file in the batch.<br/>
/// Default Value: false
/// </param>
/// <param name="inferFromIntelligence">
/// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.<br/>
/// Default Value: false
/// </param>
/// <param name="searchIdentity">
/// Run identity search against the team's saved identities (audio/video only).<br/>
/// Default Value: false
Expand Down Expand Up @@ -820,6 +832,7 @@ request.Filename is null
string? filename = default,
string? callbackUrl = default,
bool? intelligence = default,
bool? inferFromIntelligence = default,
bool? searchIdentity = default,
bool? visualize = default,
bool? audioSourceTracingEnabled = default,
Expand All @@ -840,6 +853,7 @@ request.Filename is null
Filename = filename,
CallbackUrl = callbackUrl,
Intelligence = intelligence,
InferFromIntelligence = inferFromIntelligence,
SearchIdentity = searchIdentity,
Visualize = visualize,
AudioSourceTracingEnabled = audioSourceTracingEnabled,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,14 @@ request.Filename is null
content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.Intelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
name: "\"intelligence\"");

}
if (request.InferFromIntelligence != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.InferFromIntelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
name: "\"infer_from_intelligence\"");

}
if (request.AudioSourceTracing != default)
{
Expand Down Expand Up @@ -644,6 +652,10 @@ request.Filename is null
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
/// </param>
/// <param name="inferFromIntelligence">
/// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.<br/>
/// Default Value: false
/// </param>
/// <param name="audioSourceTracing">
/// Enable audio source tracing to identify synthetic audio origin<br/>
/// Default Value: false
Expand Down Expand Up @@ -675,6 +687,7 @@ request.Filename is null
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default,
bool? faceOnly = default,
bool? intelligence = default,
bool? inferFromIntelligence = default,
bool? audioSourceTracing = default,
bool? useReverseSearch = default,
bool? useOodDetector = default,
Expand All @@ -695,6 +708,7 @@ request.Filename is null
Modality = modality,
FaceOnly = faceOnly,
Intelligence = intelligence,
InferFromIntelligence = inferFromIntelligence,
AudioSourceTracing = audioSourceTracing,
UseReverseSearch = useReverseSearch,
UseOodDetector = useOodDetector,
Expand Down Expand Up @@ -757,6 +771,10 @@ request.Filename is null
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
/// </param>
/// <param name="inferFromIntelligence">
/// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.<br/>
/// Default Value: false
/// </param>
/// <param name="audioSourceTracing">
/// Enable audio source tracing to identify synthetic audio origin<br/>
/// Default Value: false
Expand Down Expand Up @@ -788,6 +806,7 @@ request.Filename is null
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default,
bool? faceOnly = default,
bool? intelligence = default,
bool? inferFromIntelligence = default,
bool? audioSourceTracing = default,
bool? useReverseSearch = default,
bool? useOodDetector = default,
Expand All @@ -810,6 +829,7 @@ request.Filename is null
Modality = modality,
FaceOnly = faceOnly,
Intelligence = intelligence,
InferFromIntelligence = inferFromIntelligence,
AudioSourceTracing = audioSourceTracing,
UseReverseSearch = useReverseSearch,
UseOodDetector = useOodDetector,
Expand Down Expand Up @@ -989,6 +1009,14 @@ request.Filename is null
content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.Intelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
name: "\"intelligence\"");

}
if (request.InferFromIntelligence != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.InferFromIntelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
name: "\"infer_from_intelligence\"");

}
if (request.AudioSourceTracing != default)
{
Expand Down Expand Up @@ -1353,6 +1381,10 @@ request.Filename is null
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
/// </param>
/// <param name="inferFromIntelligence">
/// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.<br/>
/// Default Value: false
/// </param>
/// <param name="audioSourceTracing">
/// Enable audio source tracing to identify synthetic audio origin<br/>
/// Default Value: false
Expand Down Expand Up @@ -1384,6 +1416,7 @@ request.Filename is null
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default,
bool? faceOnly = default,
bool? intelligence = default,
bool? inferFromIntelligence = default,
bool? audioSourceTracing = default,
bool? useReverseSearch = default,
bool? useOodDetector = default,
Expand All @@ -1406,6 +1439,7 @@ request.Filename is null
Modality = modality,
FaceOnly = faceOnly,
Intelligence = intelligence,
InferFromIntelligence = inferFromIntelligence,
AudioSourceTracing = audioSourceTracing,
UseReverseSearch = useReverseSearch,
UseOodDetector = useOodDetector,
Expand Down Expand Up @@ -1585,6 +1619,14 @@ request.Filename is null
content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.Intelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
name: "\"intelligence\"");

}
if (request.InferFromIntelligence != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.InferFromIntelligence, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
name: "\"infer_from_intelligence\"");

}
if (request.AudioSourceTracing != default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ public partial interface IDeepfakeDetectionClient
/// Run multimodal intelligence on every file in the batch.<br/>
/// Default Value: false
/// </param>
/// <param name="inferFromIntelligence">
/// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.<br/>
/// Default Value: false
/// </param>
/// <param name="searchIdentity">
/// Run identity search against the team's saved identities (audio/video only).<br/>
/// Default Value: false
Expand Down Expand Up @@ -141,6 +145,7 @@ public partial interface IDeepfakeDetectionClient
string? filename = default,
string? callbackUrl = default,
bool? intelligence = default,
bool? inferFromIntelligence = default,
bool? searchIdentity = default,
bool? visualize = default,
bool? audioSourceTracingEnabled = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ public partial interface IDeepfakeDetectionClient
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
/// </param>
/// <param name="inferFromIntelligence">
/// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.<br/>
/// Default Value: false
/// </param>
/// <param name="audioSourceTracing">
/// Enable audio source tracing to identify synthetic audio origin<br/>
/// Default Value: false
Expand Down Expand Up @@ -121,6 +125,7 @@ public partial interface IDeepfakeDetectionClient
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default,
bool? faceOnly = default,
bool? intelligence = default,
bool? inferFromIntelligence = default,
bool? audioSourceTracing = default,
bool? useReverseSearch = default,
bool? useOodDetector = default,
Expand Down Expand Up @@ -178,6 +183,10 @@ public partial interface IDeepfakeDetectionClient
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
/// </param>
/// <param name="inferFromIntelligence">
/// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.<br/>
/// Default Value: false
/// </param>
/// <param name="audioSourceTracing">
/// Enable audio source tracing to identify synthetic audio origin<br/>
/// Default Value: false
Expand Down Expand Up @@ -209,6 +218,7 @@ public partial interface IDeepfakeDetectionClient
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default,
bool? faceOnly = default,
bool? intelligence = default,
bool? inferFromIntelligence = default,
bool? audioSourceTracing = default,
bool? useReverseSearch = default,
bool? useOodDetector = default,
Expand Down Expand Up @@ -265,6 +275,10 @@ public partial interface IDeepfakeDetectionClient
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
/// </param>
/// <param name="inferFromIntelligence">
/// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.<br/>
/// Default Value: false
/// </param>
/// <param name="audioSourceTracing">
/// Enable audio source tracing to identify synthetic audio origin<br/>
/// Default Value: false
Expand Down Expand Up @@ -296,6 +310,7 @@ public partial interface IDeepfakeDetectionClient
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default,
bool? faceOnly = default,
bool? intelligence = default,
bool? inferFromIntelligence = default,
bool? audioSourceTracing = default,
bool? useReverseSearch = default,
bool? useOodDetector = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ public sealed partial class CreateDetectBatchRequest
[global::System.Text.Json.Serialization.JsonPropertyName("intelligence")]
public bool? Intelligence { get; set; }

/// <summary>
/// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.<br/>
/// Default Value: false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("infer_from_intelligence")]
public bool? InferFromIntelligence { get; set; }

/// <summary>
/// Run identity search against the team's saved identities (audio/video only).<br/>
/// Default Value: false
Expand Down Expand Up @@ -131,6 +138,10 @@ public sealed partial class CreateDetectBatchRequest
/// Run multimodal intelligence on every file in the batch.<br/>
/// Default Value: false
/// </param>
/// <param name="inferFromIntelligence">
/// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.<br/>
/// Default Value: false
/// </param>
/// <param name="searchIdentity">
/// Run identity search against the team's saved identities (audio/video only).<br/>
/// Default Value: false
Expand Down Expand Up @@ -177,6 +188,7 @@ public CreateDetectBatchRequest(
string? filename,
string? callbackUrl,
bool? intelligence,
bool? inferFromIntelligence,
bool? searchIdentity,
bool? visualize,
bool? audioSourceTracingEnabled,
Expand All @@ -193,6 +205,7 @@ public CreateDetectBatchRequest(
this.Filename = filename;
this.CallbackUrl = callbackUrl;
this.Intelligence = intelligence;
this.InferFromIntelligence = inferFromIntelligence;
this.SearchIdentity = searchIdentity;
this.Visualize = visualize;
this.AudioSourceTracingEnabled = audioSourceTracingEnabled;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ public sealed partial class CreateDetectionRequest
[global::System.Text.Json.Serialization.JsonPropertyName("intelligence")]
public bool? Intelligence { get; set; }

/// <summary>
/// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.<br/>
/// Default Value: false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("infer_from_intelligence")]
public bool? InferFromIntelligence { get; set; }

/// <summary>
/// Enable audio source tracing to identify synthetic audio origin<br/>
/// Default Value: false
Expand Down Expand Up @@ -163,6 +170,10 @@ public sealed partial class CreateDetectionRequest
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
/// </param>
/// <param name="inferFromIntelligence">
/// Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to "Likely Fake". Has no effect unless `intelligence` is also true.<br/>
/// Default Value: false
/// </param>
/// <param name="audioSourceTracing">
/// Enable audio source tracing to identify synthetic audio origin<br/>
/// Default Value: false
Expand Down Expand Up @@ -194,6 +205,7 @@ public CreateDetectionRequest(
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality,
bool? faceOnly,
bool? intelligence,
bool? inferFromIntelligence,
bool? audioSourceTracing,
bool? useReverseSearch,
bool? useOodDetector,
Expand All @@ -210,6 +222,7 @@ public CreateDetectionRequest(
this.Modality = modality;
this.FaceOnly = faceOnly;
this.Intelligence = intelligence;
this.InferFromIntelligence = inferFromIntelligence;
this.AudioSourceTracing = audioSourceTracing;
this.UseReverseSearch = useReverseSearch;
this.UseOodDetector = useOodDetector;
Expand Down
10 changes: 10 additions & 0 deletions src/libs/ResembleAI/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2864,6 +2864,11 @@
"default": false,
"description": "Run multimodal intelligence analysis on the media"
},
"infer_from_intelligence": {
"type": "boolean",
"default": false,
"description": "Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to \"Likely Fake\". Has no effect unless `intelligence` is also true."
},
"audio_source_tracing": {
"type": "boolean",
"default": false,
Expand Down Expand Up @@ -3046,6 +3051,11 @@
"default": false,
"description": "Run multimodal intelligence on every file in the batch."
},
"infer_from_intelligence": {
"type": "boolean",
"default": false,
"description": "Opt in to let a strong intelligence finding escalate an otherwise non-fake verdict to \"Likely Fake\". Has no effect unless `intelligence` is also true."
},
"search_identity": {
"type": "boolean",
"default": false,
Expand Down
Loading