For AI agents: every API docs page in one plain-text file is at /docs/llms-full.txt, and the documentation index is at /llms.txt. This page is available as Markdown at https://diffio.ai/docs/overview/introduction.md, and every docs URL returns Markdown when requested with Accept: text/markdown.

Docs
Diffio API documentation
Guides and references for restoring speech audio, reviewing transcripts and integrating Diffio.
Choosing a provider? See the speech enhancement API comparison (ElevenLabs, Krisp, Auphonic and others).
Coding with an agent?
One URL holds every guide and endpoint as plain text. Paste it, or the prompt, into Claude Code, Codex, Cursor or any coding agent.
Start here
- Get an API key and export it as
DIFFIO_API_KEY - Install
pip install diffioornpm install diffio - Restore a file in one call: Quickstart
What you can build
Short recipes on the API, each one complete file in Python and Node. All use-case guides
Podcast cleanup in a SaaS app
: Browser upload → webhook → playerEdit a transcript
: Transcript → estimate → editLet users edit by asking
: Ask → proposals → editSeparate speech and background
: Stems → mix → exportShare a restored result
: Publish → public read → revokeRestore a video and stream it
: Video upload → HLS streamCompare Flash and Pro
: One project → two generationsClean up a back catalogue
: Folder → restores → usageBill your users from usage
: Usage per end user → invoice
Models
Start with Flash, then compare Pro on your file. Compare models
How the API works
A project, then one or more generations. The Python and Node SDKs run all four steps in one call; the Diffio API overview shows the whole batch workflow.
- Create a project
POST /projectsProjectidanduploadinstructions - Start a generation
POST /projects/{project_id}/generationsPassdiffio-flashordiffio-pro; run both to compare - Follow progress
GET /projects/{project_id}/generations/{generation_id}Poll untilcomplete, or use a webhook - Download the result
GET /projects/{project_id}/generations/{generation_id}/mediafilesURLs for audio, video, HLS and transcript
All 30 endpoints by category
Models
- List models
GET /models
Projects
- Create a project
POST /projects - List projects
GET /projects - Get a project
GET /projects/ {project_ id} - Delete a project
DELETE /projects/ {project_ id} - Get new upload instructions
POST /projects/ {project_ id}/ upload - Complete a project's upload
POST /projects/ {project_ id}/ upload/ complete
Generations
- Create a generation
POST /projects/ {project_ id}/ generations - List a project's generations
GET /projects/ {project_ id}/ generations - Get a generation
GET /projects/ {project_ id}/ generations/ {generation_ id} - Get a playback grant
GET /projects/ {project_ id}/ generations/ {generation_ id}/ media - Estimate a transcript edit
POST /projects/ {project_ id}/ generations/ {generation_ id}/ edits/ estimate - Edit a generation's transcript
POST /projects/ {project_ id}/ generations/ {generation_ id}/ edits
Separated tracks
- Get the saved mix
GET /projects/ {project_ id}/ generations/ {generation_ id}/ mix - Save the mix
PUT /projects/ {project_ id}/ generations/ {generation_ id}/ mix - Create an export
POST /projects/ {project_ id}/ generations/ {generation_ id}/ exports - Get an export
GET /projects/ {project_ id}/ generations/ {generation_ id}/ exports/ {export_ id}
Transcripts
- Get a generation's transcript
GET /projects/ {project_ id}/ generations/ {generation_ id}/ transcript - Get the transcript draft
GET /projects/ {project_ id}/ generations/ {generation_ id}/ transcript/ draft - Save the transcript draft
PUT /projects/ {project_ id}/ generations/ {generation_ id}/ transcript/ draft - Delete the transcript draft
DELETE /projects/ {project_ id}/ generations/ {generation_ id}/ transcript/ draft - Ask the edit assistant
POST /projects/ {project_ id}/ generations/ {generation_ id}/ transcript/ assistant/ turns - Get an edit assistant turn
GET /projects/ {project_ id}/ generations/ {generation_ id}/ transcript/ assistant/ turns/ {turn_ id} - Send assistant feedback
POST /projects/ {project_ id}/ generations/ {generation_ id}/ transcript/ assistant/ feedback
Shares
- Publish a project's share
PUT /projects/ {project_ id}/ share - Get a project's share
GET /projects/ {project_ id}/ share - Revoke a project's share
DELETE /projects/ {project_ id}/ share - Get a share
GET /shares/ {share_ id}
Usage
- Get usage
GET /usage
Webhooks
- Open the webhook portal
POST /webhooks/ portal