SSkilltecabyclaudinhocode
Enviar skill
← Voltar para o catálogo

resemble-detect

Outros

Deepfake detection and media safety — detect AI-generated audio, images, video, and text, trace synthesis sources, apply watermarks, verify speaker identity, and analyze media intelligence using Resemble AI

7estrelas
Ver no GitHub ↗Autor: resemble-aiLicença: Apache-2.0

Resemble Detect — Deepfake Detection & Media Safety

Analyze audio, image, video, and text for synthetic manipulation, AI-generated content, watermarks, speaker identity, and media intelligence using the Resemble AI platform.

Core Principle — THE IRON LAW

"NEVER DECLARE MEDIA AS REAL OR FAKE WITHOUT A COMPLETED DETECTION RESULT."

Do not guess, infer, or speculate about media authenticity. Every authenticity claim must be backed by a completed Resemble detect job with a returned label, score, and status: "completed". If the detection is still processing, wait. If it failed, say so — do not substitute your own judgment.

When to Use

Use this skill whenever the user's request involves any of these:

  • Checking if audio, video, image, or text is AI-generated or manipulated
  • Detecting deepfakes in any media format
  • Verifying media authenticity or provenance
  • Identifying which AI platform synthesized audio (source tracing)
  • Applying or detecting watermarks on media
  • Analyzing media for speaker info, emotion, transcription, or misinformation
  • Asking natural-language questions about detection results
  • Matching or verifying speaker identity against known voice profiles
  • Detecting AI-generated or machine-written text
  • Any mention of: "deepfake", "fake detection", "synthetic media", "voice verification", "watermark", "media forensics", "authenticity check", "source tracing", "is this real", "AI-written text", "text detection"

Do NOT use for text-to-speech generation, voice cloning, or speech-to-text transcription — those are separate Resemble capabilities.

Capability Decision Tree

User wants to...Use thisAPI endpoint
Check if media is AI-generated / deepfakeDeepfake DetectionPOST /detect
Know which AI platform made fake audioAudio Source TracingPOST /detect with flag
Get speaker info, emotion, transcription from mediaIntelligencePOST /intelligence
Ask questions about a completed detectionDetect IntelligencePOST /detects/{uuid}/intelligence
Apply an invisible watermark to mediaWatermark ApplyPOST /watermark/apply
Check if media contains a watermarkWatermark DetectPOST /watermark/detect
Verify a speaker's identity against known profilesIdentity SearchPOST /identity/search
Check if text is AI-generatedText DetectionPOST /text_detect
Create a voice identity profile for future matchingIdentity CreatePOST /identity

When multiple capabilities apply (e.g., user wants deepfake detection AND intelligence), combine them in a single POST /detect call using the intelligence: true flag rather than making separate requests.

Required Setup

  • API Key: Bearer token from the Resemble AI dashboard
  • Base URL: https://app.resemble.ai/api/v2
  • Auth Header: Authorization: Bearer <RESEMBLE_API_KEY>
  • Media Requirement: All media must be at a publicly accessible HTTPS URL

If the user provides a local file path instead of a URL, inform them the file must be hosted at a public HTTPS URL first. Do not attempt to upload local files to the API.

MCP Tools Available

When the Resemble MCP server is connected, use these tools instead of raw API calls:

ToolPurpose
resemble_docs_lookupGet comprehensive docs for any detect sub-topic
resemble_searchSearch across all documentation
resemble_api_endpointGet exact OpenAPI spec for any endpoint
resemble_api_searchFind endpoints by keyword
resemble_get_pageRead specific documentation pages
resemble_list_topicsList all available topics

Tool usage pattern: Use resemble_docs_lookup with topic "detect" to get the full picture, then resemble_api_endpoint for exact request/response schemas before making API calls.


Phase 1: Deepfake Detection

The core capability. Submit any audio, image, or video for AI-generated content analysis.

Submit a Detection

POST /detect
Content-Type: application/json
Authorization: Bearer <API_KEY>

{
  "url": "https://example.com/media.mp4",
  "visualize": true,
  "intelligence": true,
  "audio_source_tracing": true
}

Parameters:

ParameterTypeRequiredDescription
urlstringYesHTTPS URL to audio, image, or video file
callback_urlstringNoWebhook URL for async completion notification
visualizebooleanNoGenerate heatmap/visualization artifacts
intelligencebooleanNoRun multimodal intelligence analysis alongside detection
audio_source_tracingbooleanNoIdentify which AI platform synthesized fake audio
frame_lengthintegerNoAudio/video analysis window size in seconds (1–4, default 2)
start_regionnumberNoStart of segment to analyze (seconds)
end_regionnumberNoEnd of segment to analyze (seconds)
model_typesstringNo"image" or "talking_head" (for face-swap detection)
use_reverse_searchbooleanNoEnable reverse image search (image only)
use_ood_detectorbooleanNoEnable out-of-distribution detection
zero_retention_modebooleanNoAuto-delete media after detection completes

Supported formats:

  • Audio: WAV, MP3, OGG, M4A, FLAC
  • Video: MP4, MOV, AVI, WMV
  • Image: JPG, PNG, GIF, WEBP

Poll for Results

Detection is asynchronous. Poll GET /detect/{uuid} until status is "completed" or "failed".

GET /detect/{uuid}
Authorization: Bearer <API_KEY>

Polling best practice: Start at 2s intervals, back off to 5s, then 10s. Most detections complete within 10–60 seconds depending on media length.

Reading Results by Media Type

Audio results — in metrics:

{
  "label": "fake",
  "score": ["0.92", "0.88", "0.95"],
  "consistency": "0.91",
  "aggregated_score": "0.92",
  "image": "https://..."
}
  • label: "fake" or "real" — the verdict
  • score: Per-chunk prediction scores (array)
  • aggregated_score: Overall confidence (0.0–1.0, higher = more likely synthetic)
  • consistency: How consistent the prediction is across chunks
  • image: Visualization heatmap URL (if visualize: true)

Image results — in image_metrics:

{
  "type": "ImageAnalysis",
  "label": "fake",
  "score": 0.87,
  "image": "https://...",
  "ifl": { "score": 0.82, "heatmap": "https://..." },
  "reverse_image_search_sources": [
    { "url": "...", "title": "...", "verdict": "known_fake", "similarity": 0.95 }
  ]
}
  • label / score: Verdict and confidence
  • ifl: Invisible Frequency Layer analysis with heatmap
  • reverse_image_search_sources: Known sources found online (if use_reverse_search: true)

Video results — in video_metrics:

{
  "label": "fake",
  "score": 0.89,
  "certainty": 0.91,

Como adicionar

/plugin marketplace add resemble-ai/detect-skill

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Comentários · Nenhum comentário

Entre para comentar. Entrar

  • Ainda não há comentários. Seja o primeiro.