Detect AI-generated music
Changed onAnalyze a song or music track and classify it as AI-generated or human-produced.
Supply audio via one of three intake methods:
- Direct file upload: multipart/form-data with the file attached as file. Files must be 150 MB or smaller.
- Public URL: application/json with a url field. Resemble downloads and stores the file before analysis.
- Secure upload token: application/json with a media_token field obtained from POST /secure_uploads.
Exactly one of file, url, or media_token must be provided per request. Only audio files are accepted.
Processing is asynchronous by default: the response returns immediately with status: processing. Music detections are standard detections, so you can poll GET /detect/{uuid} or supply a callback_url to be notified. Send the Prefer: wait header to block until the verdict is available and receive the completed item in the same response. Allow a generous client timeout when waiting, since the first request after a period of inactivity can take several minutes while the model warms up.
Each successful analysis is billed as audio Deepfake Detection usage. Failed analyses are not billed.
Request
- Base URL: https://app.resemble.ai/api/v2
- URL: https://app.resemble.ai/api/v2/detect/music
- Auth: HTTP bearer
Headers
When set to "wait", the API processes synchronously and returns the completed result.
Response
Music detection created (or completed when Prefer: wait was sent)
Changes
- info
endpoint added
- info