Skip to content

resemble-ai/resemble-quickstarts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Resemble Examples

Quick start examples for the Resemble AI API in Python and JavaScript.

Structure

python/
  raw/   — Direct API calls (no SDK)
  sdk/   — Using the Resemble Python SDK
js/
  raw/   — Direct API calls (no SDK)
  sdk/   — Using the Resemble Node SDK

Setup

  1. Get your API key from app.resemble.ai/hub/api
  2. Export it in your shell:
    export RESEMBLE_API_KEY="your_api_key"
    
  3. For detection, intelligence, and watermarking examples, export a media URL:
    export MEDIA_URL="https://example.com/your-audio-file.wav"
    

Python

cd python/raw
pip install -r requirements.txt
python websocket_streaming.py

JavaScript

cd js/raw
npm install
node websocket_streaming.js

Available Examples

Example Python JS
WebSocket Streaming raw raw
Synchronous TTS raw raw
HTTP Streaming TTS raw raw
Speech-to-Speech raw raw
Deepfake Detection raw raw
Media Intelligence raw raw
Audio Watermarking raw raw

About

Resemble Examples — Quick start examples for the Resemble AI API in Python and JavaScript, with and without SDKs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors