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 @@ -65,6 +65,7 @@ partial void ProcessCreateDetectBatchResponseContent(
/// - Maximum 50 files per batch.<br/>
/// - Maximum 500 MB total upload size across all files.<br/>
/// - Allowed file types match `POST /detect`'s direct-upload allowlist.<br/>
/// - Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.<br/>
/// - All-or-nothing billing: if the team's wallet cannot cover the projected cost<br/>
/// for every file, the request is rejected with 402 and no detects are created.
/// </summary>
Expand Down Expand Up @@ -103,6 +104,7 @@ partial void ProcessCreateDetectBatchResponseContent(
/// - Maximum 50 files per batch.<br/>
/// - Maximum 500 MB total upload size across all files.<br/>
/// - Allowed file types match `POST /detect`'s direct-upload allowlist.<br/>
/// - Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.<br/>
/// - All-or-nothing billing: if the team's wallet cannot cover the projected cost<br/>
/// for every file, the request is rejected with 402 and no detects are created.
/// </summary>
Expand Down Expand Up @@ -540,7 +542,7 @@ request.Filename is null
retryReason: global::System.String.Empty,
cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
}
// Invalid batch request (missing files, both file and files[] supplied, file count or size exceeded, unsupported file type, or `Prefer: wait` header sent)
// Invalid batch request (missing files, both file and files[] supplied, file count or size exceeded, unsupported file type, `Prefer: wait` header sent, or `detect_watermark=true`)
if ((int)__response.StatusCode == 400)
{
string? __content_400 = null;
Expand Down Expand Up @@ -763,6 +765,7 @@ request.Filename is null
/// - Maximum 50 files per batch.<br/>
/// - Maximum 500 MB total upload size across all files.<br/>
/// - Allowed file types match `POST /detect`'s direct-upload allowlist.<br/>
/// - Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.<br/>
/// - All-or-nothing billing: if the team's wallet cannot cover the projected cost<br/>
/// for every file, the request is rejected with 402 and no detects are created.
/// </summary>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ partial void ProcessGetDetectionResponseContent(

/// <summary>
/// Get deepfake detection result<br/>
/// Get a deepfake detection result by UUID. The item status describes the Detect job only; Intelligence runs separately and can still be processing after Detect reaches completed.
/// Get a deepfake detection result by UUID. For an otherwise successful Detect with watermark analysis, item status remains processing until the linked analysis completes or fails. A core detection failure still reports failed. Intelligence runs separately and can still be processing after Detect reaches completed.
/// </summary>
/// <param name="uuid"></param>
/// <param name="experts">
Expand All @@ -79,7 +79,7 @@ partial void ProcessGetDetectionResponseContent(
}
/// <summary>
/// Get deepfake detection result<br/>
/// Get a deepfake detection result by UUID. The item status describes the Detect job only; Intelligence runs separately and can still be processing after Detect reaches completed.
/// Get a deepfake detection result by UUID. For an otherwise successful Detect with watermark analysis, item status remains processing until the linked analysis completes or fails. A core detection failure still reports failed. Intelligence runs separately and can still be processing after Detect reaches completed.
/// </summary>
/// <param name="uuid"></param>
/// <param name="experts">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public partial interface IDeepfakeDetectionClient
/// - Maximum 50 files per batch.<br/>
/// - Maximum 500 MB total upload size across all files.<br/>
/// - Allowed file types match `POST /detect`'s direct-upload allowlist.<br/>
/// - Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.<br/>
/// - All-or-nothing billing: if the team's wallet cannot cover the projected cost<br/>
/// for every file, the request is rejected with 402 and no detects are created.
/// </summary>
Expand Down Expand Up @@ -48,6 +49,7 @@ public partial interface IDeepfakeDetectionClient
/// - Maximum 50 files per batch.<br/>
/// - Maximum 500 MB total upload size across all files.<br/>
/// - Allowed file types match `POST /detect`'s direct-upload allowlist.<br/>
/// - Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.<br/>
/// - All-or-nothing billing: if the team's wallet cannot cover the projected cost<br/>
/// for every file, the request is rejected with 402 and no detects are created.
/// </summary>
Expand Down Expand Up @@ -76,6 +78,7 @@ public partial interface IDeepfakeDetectionClient
/// - Maximum 50 files per batch.<br/>
/// - Maximum 500 MB total upload size across all files.<br/>
/// - Allowed file types match `POST /detect`'s direct-upload allowlist.<br/>
/// - Watermark analysis is not supported for batch or zip requests. Sending `detect_watermark=true` returns 400.<br/>
/// - All-or-nothing billing: if the team's wallet cannot cover the projected cost<br/>
/// for every file, the request is rejected with 402 and no detects are created.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ public partial interface IDeepfakeDetectionClient
/// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.<br/>
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.<br/>
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.<br/>
/// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Exactly one of `file`, `url`, or `media_token` must be provided per request.<br/>
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake<br/>
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark<br/>
/// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes<br/>
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark<br/>
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -29,7 +34,12 @@ public partial interface IDeepfakeDetectionClient
/// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.<br/>
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.<br/>
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.<br/>
/// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Exactly one of `file`, `url`, or `media_token` must be provided per request.<br/>
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake<br/>
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark<br/>
/// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes<br/>
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark<br/>
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -47,7 +57,12 @@ public partial interface IDeepfakeDetectionClient
/// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.<br/>
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.<br/>
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.<br/>
/// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Exactly one of `file`, `url`, or `media_token` must be provided per request.<br/>
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake<br/>
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark<br/>
/// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes<br/>
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark<br/>
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict.
/// </summary>
/// <param name="file">
/// The media file to analyze (audio, video, or image). Must be 150 MB or smaller.
Expand Down Expand Up @@ -93,6 +108,10 @@ public partial interface IDeepfakeDetectionClient
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
/// </param>
/// <param name="detectWatermark">
/// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.<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
Expand Down Expand Up @@ -133,6 +152,7 @@ public partial interface IDeepfakeDetectionClient
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default,
bool? faceOnly = default,
bool? intelligence = default,
bool? detectWatermark = default,
bool? inferFromIntelligence = default,
bool? audioSourceTracing = default,
bool? signal = default,
Expand All @@ -149,7 +169,12 @@ public partial interface IDeepfakeDetectionClient
/// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.<br/>
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.<br/>
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.<br/>
/// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Exactly one of `file`, `url`, or `media_token` must be provided per request.<br/>
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake<br/>
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark<br/>
/// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes<br/>
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark<br/>
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict.
/// </summary>
/// <param name="file">
/// The media file to analyze (audio, video, or image). Must be 150 MB or smaller.
Expand Down Expand Up @@ -195,6 +220,10 @@ public partial interface IDeepfakeDetectionClient
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
/// </param>
/// <param name="detectWatermark">
/// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.<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
Expand Down Expand Up @@ -235,6 +264,7 @@ public partial interface IDeepfakeDetectionClient
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default,
bool? faceOnly = default,
bool? intelligence = default,
bool? detectWatermark = default,
bool? inferFromIntelligence = default,
bool? audioSourceTracing = default,
bool? signal = default,
Expand All @@ -250,7 +280,12 @@ public partial interface IDeepfakeDetectionClient
/// - **Direct file upload** — `multipart/form-data` with the file attached as `file`. Files must be 150 MB or smaller and use one of the supported audio/video/image extensions. For larger files, use the secure upload flow.<br/>
/// - **Public URL** — `application/json` with a `url` field. The API fetches the URL itself.<br/>
/// - **Secure upload token** — `application/json` with a `media_token` field obtained from `POST /secure_uploads`.<br/>
/// Exactly one of `file`, `url`, or `media_token` must be provided per request.
/// Exactly one of `file`, `url`, or `media_token` must be provided per request.<br/>
/// Set `detect_watermark=true` to run Resemble watermark detection and SynthID alongside the deepfake<br/>
/// analysis. This option supports single audio, image, and video requests only. It adds one Watermark<br/>
/// detection charge, uses stricter source limits (25 MB for audio/image and 100 MB for video), and causes<br/>
/// `Prefer: wait` and callbacks to wait for the watermark analysis to reach a terminal state. A watermark<br/>
/// failure is returned in the nested `watermark` object and does not change the deepfake verdict.
/// </summary>
/// <param name="file">
/// The media file to analyze (audio, video, or image). Must be 150 MB or smaller.
Expand Down Expand Up @@ -296,6 +331,10 @@ public partial interface IDeepfakeDetectionClient
/// Run multimodal intelligence analysis on the media<br/>
/// Default Value: false
/// </param>
/// <param name="detectWatermark">
/// Run Resemble watermark detection and SynthID. Supported for single audio, image, and video requests. Adds the Watermark detection charge and applies source limits of 25 MB for audio/image and 100 MB for video.<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
Expand Down Expand Up @@ -336,6 +375,7 @@ public partial interface IDeepfakeDetectionClient
global::ResembleAI.DetectPostRequestBodyContentMultipartFormDataSchemaModality? modality = default,
bool? faceOnly = default,
bool? intelligence = default,
bool? detectWatermark = default,
bool? inferFromIntelligence = default,
bool? audioSourceTracing = default,
bool? signal = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public partial interface IDeepfakeDetectionClient
{
/// <summary>
/// Get deepfake detection result<br/>
/// Get a deepfake detection result by UUID. The item status describes the Detect job only; Intelligence runs separately and can still be processing after Detect reaches completed.
/// Get a deepfake detection result by UUID. For an otherwise successful Detect with watermark analysis, item status remains processing until the linked analysis completes or fails. A core detection failure still reports failed. Intelligence runs separately and can still be processing after Detect reaches completed.
/// </summary>
/// <param name="uuid"></param>
/// <param name="experts">
Expand All @@ -22,7 +22,7 @@ public partial interface IDeepfakeDetectionClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Get deepfake detection result<br/>
/// Get a deepfake detection result by UUID. The item status describes the Detect job only; Intelligence runs separately and can still be processing after Detect reaches completed.
/// Get a deepfake detection result by UUID. For an otherwise successful Detect with watermark analysis, item status remains processing until the linked analysis completes or fails. A core detection failure still reports failed. Intelligence runs separately and can still be processing after Detect reaches completed.
/// </summary>
/// <param name="uuid"></param>
/// <param name="experts">
Expand Down
Loading