Skip to main content

SecureSpeakAI Python SDK for deepfake detection

Project description

SecureSpeak AI Python SDK

The official Python SDK for SecureSpeak AI — Professional deepfake detection with 99.7% accuracy.

Installation

pip install securespeakai-sdk

Quick Start

from securespeak import SecureSpeakClient

# Initialize client with your API key
client = SecureSpeakClient("your-api-key-here")

# Analyze a local audio file
result = client.analyze_file("suspicious_audio.wav")

# Check if it's a deepfake
if result['is_deepfake']:
    print(f"DEEPFAKE DETECTED! Confidence: {result['confidence_score']}%")
else:
    print(f"Authentic audio. Confidence: {result['confidence_score']}%")

Available Methods

  • analyze_file(file_path) - Analyze local audio files
  • analyze_url(url) - Analyze audio from URLs
  • analyze_live(file_path) - Real-time analysis with per-second billing

Response Format

All methods return a JSON response containing:

  • is_deepfake (boolean) - Whether the audio is detected as fake
  • confidence_score (float) - Confidence percentage (0-100)
  • authenticity_score (float) - Score from 0.0 (fake) to 1.0 (authentic)
  • analysis_time_ms (integer) - Processing time in milliseconds

Requirements

  • Python 3.7 or higher
  • Valid SecureSpeak AI API key

Documentation

For complete documentation, examples, pricing, and API reference, visit: https://securespeakai.com/docs

Support

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

securespeakai_sdk-0.1.2.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

securespeakai_sdk-0.1.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file securespeakai_sdk-0.1.2.tar.gz.

File metadata

  • Download URL: securespeakai_sdk-0.1.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for securespeakai_sdk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b156c251bc8f0a0d60295f4b625e5c21e3bdc93a2d2ef89dbfc639fc0105d8df
MD5 9a3713e47ef99887c71366534bf5e377
BLAKE2b-256 9eab1696098fbcf40f6de1232099939dd43d3539c7472e5fc3fde8c54cbdd553

See more details on using hashes here.

File details

Details for the file securespeakai_sdk-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for securespeakai_sdk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e0217ec168f3311e67b400291cb291effd8f8f97a53ca9463ad18821b5745b52
MD5 5b3cea4d95e9f4c38a802bf42b860831
BLAKE2b-256 b8e28e20527730fa8d70e0290c95b4f7b62aa440cd50d59c002fbae20f6c018f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page