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

}
if (request.FaceOnly != default)
{

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

}
if (request.ZeroRetentionMode != default)
{
Expand Down Expand Up @@ -793,6 +801,12 @@ request.Filename is null
/// <param name="useLlm">
/// Use LLM-assisted video analysis.
/// </param>
/// <param name="faceOnly">
/// Focus detection on faces for video children by masking non-face regions. Audio and<br/>
/// image children use an effective value of `false`. Retrieve each child's effective value<br/>
/// with `GET /detect/{uuid}`; the aggregate batch response does not include this field.<br/>
/// Default Value: false
/// </param>
/// <param name="zeroRetentionMode">
/// Enable Zero Retention Mode for every file in the batch.<br/>
/// Default Value: false
Expand All @@ -814,6 +828,7 @@ request.Filename is null
double? endRegion = default,
double? maxVideoSecs = default,
bool? useLlm = default,
bool? faceOnly = default,
bool? zeroRetentionMode = default,
global::ResembleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
Expand All @@ -833,6 +848,7 @@ request.Filename is null
EndRegion = endRegion,
MaxVideoSecs = maxVideoSecs,
UseLlm = useLlm,
FaceOnly = faceOnly,
ZeroRetentionMode = zeroRetentionMode,
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,20 +249,20 @@ request.Filename is null
name: "\"max_video_secs\"");

}
if (request.ModelTypes != default)
if (request.Modality != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent((request.ModelTypes).HasValue ? (request.ModelTypes).GetValueOrDefault().ToValueString() : string.Empty),
name: "\"model_types\"");
content: new global::System.Net.Http.StringContent((request.Modality).HasValue ? (request.Modality).GetValueOrDefault().ToValueString() : string.Empty),
name: "\"modality\"");

}
if (request.Modality != default)
if (request.FaceOnly != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent((request.Modality).HasValue ? (request.Modality).GetValueOrDefault().ToValueString() : string.Empty),
name: "\"modality\"");
content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.FaceOnly, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
name: "\"face_only\"");

}
if (request.Intelligence != default)
Expand Down Expand Up @@ -628,15 +628,18 @@ request.Filename is null
/// <param name="maxVideoSecs">
/// Cap processed duration
/// </param>
/// <param name="modelTypes">
/// Use talking_head for face-swaps
/// </param>
/// <param name="modality">
/// Video only. Selects which detection components run for a video file:<br/>
/// `audio` (audio track only), `video` (visual frames only), or `all` (both — the default).<br/>
/// Ignored for audio and image inputs. Invalid values are rejected with HTTP 400.<br/>
/// Default Value: all
/// </param>
/// <param name="faceOnly">
/// Focus visual video detection on faces by masking non-face regions. Effective only for<br/>
/// video inputs with `modality=all` or `modality=video`. Audio, image, and `modality=audio`<br/>
/// video requests are accepted but use an effective value of `false`.<br/>
/// Default Value: false
/// </param>
/// <param name="intelligence">
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
Expand Down Expand Up @@ -669,8 +672,8 @@ request.Filename is null
double? startRegion = default,
double? endRegion = default,
double? maxVideoSecs = default,
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModelTypes? modelTypes = default,
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default,
bool? faceOnly = default,
bool? intelligence = default,
bool? audioSourceTracing = default,
bool? useReverseSearch = default,
Expand All @@ -689,8 +692,8 @@ request.Filename is null
StartRegion = startRegion,
EndRegion = endRegion,
MaxVideoSecs = maxVideoSecs,
ModelTypes = modelTypes,
Modality = modality,
FaceOnly = faceOnly,
Intelligence = intelligence,
AudioSourceTracing = audioSourceTracing,
UseReverseSearch = useReverseSearch,
Expand Down Expand Up @@ -738,15 +741,18 @@ request.Filename is null
/// <param name="maxVideoSecs">
/// Cap processed duration
/// </param>
/// <param name="modelTypes">
/// Use talking_head for face-swaps
/// </param>
/// <param name="modality">
/// Video only. Selects which detection components run for a video file:<br/>
/// `audio` (audio track only), `video` (visual frames only), or `all` (both — the default).<br/>
/// Ignored for audio and image inputs. Invalid values are rejected with HTTP 400.<br/>
/// Default Value: all
/// </param>
/// <param name="faceOnly">
/// Focus visual video detection on faces by masking non-face regions. Effective only for<br/>
/// video inputs with `modality=all` or `modality=video`. Audio, image, and `modality=audio`<br/>
/// video requests are accepted but use an effective value of `false`.<br/>
/// Default Value: false
/// </param>
/// <param name="intelligence">
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
Expand Down Expand Up @@ -779,8 +785,8 @@ request.Filename is null
double? startRegion = default,
double? endRegion = default,
double? maxVideoSecs = default,
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModelTypes? modelTypes = default,
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default,
bool? faceOnly = default,
bool? intelligence = default,
bool? audioSourceTracing = default,
bool? useReverseSearch = default,
Expand All @@ -801,8 +807,8 @@ request.Filename is null
StartRegion = startRegion,
EndRegion = endRegion,
MaxVideoSecs = maxVideoSecs,
ModelTypes = modelTypes,
Modality = modality,
FaceOnly = faceOnly,
Intelligence = intelligence,
AudioSourceTracing = audioSourceTracing,
UseReverseSearch = useReverseSearch,
Expand Down Expand Up @@ -960,20 +966,20 @@ request.Filename is null
name: "\"max_video_secs\"");

}
if (request.ModelTypes != default)
if (request.Modality != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent((request.ModelTypes).HasValue ? (request.ModelTypes).GetValueOrDefault().ToValueString() : string.Empty),
name: "\"model_types\"");
content: new global::System.Net.Http.StringContent((request.Modality).HasValue ? (request.Modality).GetValueOrDefault().ToValueString() : string.Empty),
name: "\"modality\"");

}
if (request.Modality != default)
if (request.FaceOnly != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent((request.Modality).HasValue ? (request.Modality).GetValueOrDefault().ToValueString() : string.Empty),
name: "\"modality\"");
content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.FaceOnly, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
name: "\"face_only\"");

}
if (request.Intelligence != default)
Expand Down Expand Up @@ -1331,15 +1337,18 @@ request.Filename is null
/// <param name="maxVideoSecs">
/// Cap processed duration
/// </param>
/// <param name="modelTypes">
/// Use talking_head for face-swaps
/// </param>
/// <param name="modality">
/// Video only. Selects which detection components run for a video file:<br/>
/// `audio` (audio track only), `video` (visual frames only), or `all` (both — the default).<br/>
/// Ignored for audio and image inputs. Invalid values are rejected with HTTP 400.<br/>
/// Default Value: all
/// </param>
/// <param name="faceOnly">
/// Focus visual video detection on faces by masking non-face regions. Effective only for<br/>
/// video inputs with `modality=all` or `modality=video`. Audio, image, and `modality=audio`<br/>
/// video requests are accepted but use an effective value of `false`.<br/>
/// Default Value: false
/// </param>
/// <param name="intelligence">
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
Expand Down Expand Up @@ -1372,8 +1381,8 @@ request.Filename is null
double? startRegion = default,
double? endRegion = default,
double? maxVideoSecs = default,
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModelTypes? modelTypes = default,
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default,
bool? faceOnly = default,
bool? intelligence = default,
bool? audioSourceTracing = default,
bool? useReverseSearch = default,
Expand All @@ -1394,8 +1403,8 @@ request.Filename is null
StartRegion = startRegion,
EndRegion = endRegion,
MaxVideoSecs = maxVideoSecs,
ModelTypes = modelTypes,
Modality = modality,
FaceOnly = faceOnly,
Intelligence = intelligence,
AudioSourceTracing = audioSourceTracing,
UseReverseSearch = useReverseSearch,
Expand Down Expand Up @@ -1553,20 +1562,20 @@ request.Filename is null
name: "\"max_video_secs\"");

}
if (request.ModelTypes != default)
if (request.Modality != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent((request.ModelTypes).HasValue ? (request.ModelTypes).GetValueOrDefault().ToValueString() : string.Empty),
name: "\"model_types\"");
content: new global::System.Net.Http.StringContent((request.Modality).HasValue ? (request.Modality).GetValueOrDefault().ToValueString() : string.Empty),
name: "\"modality\"");

}
if (request.Modality != default)
if (request.FaceOnly != default)
{

__httpRequestContent.Add(
content: new global::System.Net.Http.StringContent((request.Modality).HasValue ? (request.Modality).GetValueOrDefault().ToValueString() : string.Empty),
name: "\"modality\"");
content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.FaceOnly, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
name: "\"face_only\"");

}
if (request.Intelligence != default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ public partial interface IDeepfakeDetectionClient
/// <param name="useLlm">
/// Use LLM-assisted video analysis.
/// </param>
/// <param name="faceOnly">
/// Focus detection on faces for video children by masking non-face regions. Audio and<br/>
/// image children use an effective value of `false`. Retrieve each child's effective value<br/>
/// with `GET /detect/{uuid}`; the aggregate batch response does not include this field.<br/>
/// Default Value: false
/// </param>
/// <param name="zeroRetentionMode">
/// Enable Zero Retention Mode for every file in the batch.<br/>
/// Default Value: false
Expand All @@ -143,6 +149,7 @@ public partial interface IDeepfakeDetectionClient
double? endRegion = default,
double? maxVideoSecs = default,
bool? useLlm = default,
bool? faceOnly = default,
bool? zeroRetentionMode = default,
global::ResembleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Loading
Loading