{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "pyannote-pyannote-audio--use-precision-2-premium-diarization-with-pyannote",
 "repo": "pyannote/pyannote-audio",
 "repo_url": "https://github.com/pyannote/pyannote-audio",
 "repo_slug": "pyannote-pyannote-audio",
 "title": "Try the premium precision-2 pipeline",
 "page_title": "How to try the premium precision-2 pipeline with Pyannote Audio",
 "summary": "Swap the pipeline name and token to run diarization on pyannoteAI servers with the same Python API.",
 "who": "A team comparing open-source quality against a hosted service.",
 "problem": "Hard audio with many speakers can need a stronger model than you can host.",
 "outcome": "Speaker turns from the precision-2 service, printed the same way as the local pipeline.",
 "steps": [
  "Install with `pip install pyannote.audio`",
  "Create a pyannoteAI API key at dashboard.pyannote.ai, which comes with free credits",
  "Load Pipeline.from_pretrained(\"pyannote/speaker-diarization-precision-2\", token=...) with that key",
  "Run it on audio.wav and loop over output.speaker_diarization, then compare the turns with your community-1 run"
 ],
 "agent_prompt": "With pyannote/pyannote-audio, run both community-1 locally and precision-2 with my PYANNOTEAI_API_KEY on <one test recording>, and show me where the speaker turns differ.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Speaker names come back as SPEAKER_00 style labels from the premium service.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "",
 "requirements": [
  "ffmpeg installed (needed by torchcodec audio decoding)",
  "Python with `pip install pyannote.audio` or `uv add pyannote.audio`",
  "A Hugging Face access token and accepted user conditions for pyannote/speaker-diarization-community-1; a GPU is optional"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "privacy",
   "notice": "precision-2 runs on pyannoteAI servers, so your audio leaves your machine."
  },
  {
   "tag": "cost",
   "notice": "Free credits run out; check pyannoteAI pricing before processing a large archive."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/pyannote-pyannote-audio/use-precision-2-premium-diarization-with-pyannote/",
 "md": "https://dedupedai.com/use-cases/pyannote-pyannote-audio/use-precision-2-premium-diarization-with-pyannote/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/pyannote-pyannote-audio--use-precision-2-premium-diarization-with-pyannote.json",
 "api_version": "v1"
}
