🔥Funzione in evidenza
Rimuovi musica dal video online gratis
Suono puroSeparazione suonoEfficiente
🔥Funzione in evidenza
Il generatore di foto professionali AI piu veloce - 100% gratuito. Provalo ora
🔥Funzione in evidenza
Rimuovi musica dal video online gratis
Suono puroSeparazione suonoEfficiente
🔥Funzione in evidenza
Il generatore di foto professionali AI piu veloce - 100% gratuito. Provalo ora

API Doc

Audio Cleaner (AudioSeparation) API - Integration Guide

Designed for source separation and vocal isolation, with async task creation + status querying. Suitable for karaoke, remixing, and practice accompaniment scenarios.

Overview

AudioSeparation is an API for source separation and vocal isolation. It can intelligently split tracks such as lead vocals, backing vocals, and accompaniment from songs, making it suitable for karaoke production, remixing, and practice accompaniment use cases.

Key Features

  • One-click vocal removal: quickly separate vocals and accompaniment for common karaoke needs.
  • Multi-track outputs: export target stems like vocals and instrumental for post-production.
  • High-quality fidelity: preserves musical details while reducing distortion and artifacts.
  • Broad format support: accepts many mainstream audio/video formats from common sources.
  • Efficient processing: async task workflow suitable for batch jobs and automated pipelines.

Authentication

All API requests require api-key using an API key. Include your API key in the request header:

API Host: https://audiocleaner.ai/

api-key: YOUR_API_KEY

Pricing Rules

This audio separation service is billed by task audio duration, rounded up to whole minutes.

Each task reports `duration` (seconds), and the backend automatically calculates billable minutes.

ItemDescription
Billing UnitMinutes (converted from seconds and rounded up)
Deduction RuleFile duration divided by 60, rounded up
Examples1-60s => 1 min; 61-120s => 2 min; 121-180s => 3 min
When BilledAfter task creation succeeds and enters processing (subject to backend policy)
Actual PriceBased on backend pricing and final billing results

1. Create Audio Separation Task

Endpoint

POST /audio/api/v1/api-keys/separation/task/create

Request Headers

HeaderTypeRequiredDescription
Content-TypestringYesapplication/json
api-keystringYesYOUR_API_KEY

Request Parameters (Body · JSON)

ParameterTypeRequiredDescription
model_typeintYesModel type
inputurlstringYesPublicly accessible URL of uploaded audio/video file

Available model_type Options

model_typemodel_namedisplay_namesupport_stemsNotes
350Spliter Vocals Model V2MelBandRoformervocalsRecommended
490Spliter Vocals Model V3Spliter Vocals Model V3lead_vocals, backing_vocals, otherPremium (is_new_add_model)
340Spliter Drums Model V1HTDemucs v4 (FT Drums)drumsRecommended
360Spliter Bass Model V1HTDemucs4 FT BassbassRecommended
380Spliter piano Model V1HTDemucs4_6stemspianoRecommended
390Spliter guitar Model V1HTDemucs4_6stemsguitarRecommended
491Spliter Strings V1Spliter Strings V1stringsPremium (is_new_add_model)
492Spliter Wind V1Spliter Wind V1windPremium (is_new_add_model)
493Spliter Synthesizer V1Spliter Synthesizer V1synthesizerPremium (is_new_add_model)
501Spliter All ModelHTDemucs (Standard)bass, drums, vocals, otherRecommended
320Spliter All ModelHTDemucs v4 (6-Stem)bass, drums, vocals, piano, guitar, otherRecommended

Parameter Example

{
  "model_type": 350,
  "inputurl": "https://resource.audiocleaner.ai/acweb/audio/audio_splitter.mp4"
}

Response Format (Unified Response)

{
  "code": 100000,
  "data": {
    "job_id": "33b6251d7ba94edea8361c318736e746"
  },
  "message": "Request Success"
}

Detailed Field Descriptions

  • code: Numeric response status code. Common values: 100000 (success), 100100 (insufficient credits), 101002 (invalid API key), 101003 (rate limit), 101004 (concurrency limit), 101005 (API key disabled), 101006 (API key not enabled).
  • data: Result payload, varies by scenario. Example fields include job_id (unique task ID) and output (separation result URL).
  • message: Human-readable message describing the current status.

Main Response Codes & Examples - 100000: Request Success

{
  "code": 100000,
  "data": {
    "job_id": "33b6251d7ba94edea8361c318736e746"
  },
  "message": "Request Success"
}

100100: Insufficient Credits

{
  "code": 100100,
  "data": {},
  "message": "Insufficient credit balance"
}

101002: Invalid API Key

{
  "code": 101002,
  "data": {},
  "message": "Invalid API key"
}

101003: API Rate Limit Exceeded

{
  "code": 101003,
  "data": {},
  "message": "API key rate limit exceeded"
}

101004: Concurrent Request Limit Exceeded

{
  "code": 101004,
  "data": {},
  "message": "API key concurrent request limit exceeded"
}

101005: API Key Disabled

{
  "code": 101005,
  "data": {},
  "message": "Your account is suspended. Status cannot be modified. Please contact the administrator"
}

101006: API Key Not Enabled

{
  "code": 101006,
  "data": {},
  "message": "API key not enabled"
}

Notes and Recommendations

  • All endpoints return `code`, `data`, and `message` for easier frontend handling and display.
  • When credits are insufficient or the API key is abnormal, `data` is usually an empty object `{}` with a clear `message`.
  • Common error scenarios are covered. Contact platform support if you still have questions.

Example Request

curl --location --request POST 'https://audiocleaner.ai/audio/api/v1/api-keys/separation/task/create' \
  --header 'Content-Type: application/json' \
  --header 'api-key: YOUR_API_KEY' \
  --data-raw '{
    "model_type": 350,
    "inputurl": "https://resource.audiocleaner.ai/acweb/audio/audio_splitter.mp4"
  }'

2. Query Task Status (New Model)

Endpoint

POST /audio/api/v1/api-keys/separation/task/get

Request Headers

HeaderTypeRequiredDescription
Content-TypestringYesapplication/json
api_keystringYesYOUR_API_KEY

Request Parameters

ParameterTypeRequiredDescription
job_idstringYesjob_id returned when creating the task

Example Request

curl --location --request POST \
 'https://audiocleaner.ai/audio/api/v1/api-keys/separation/task/get' \
  --header 'Content-Type: application/json' \
  --header 'api-key: YOUR_API_KEY' \
  --data-raw '{
    "job_id": "YOUR_JOB_ID"
  }'

Response Field Descriptions

FieldTypeDescription
codenumberResponse code indicating request status
dataobjectMain response payload; fields vary by scenario
messagestringHuman-readable description for this request result
data.statusstringTask status: waiting / success / failed, etc.
data.file_typestringFile type, e.g. audio
data.video_urlstringOriginal audio/video file URL
data.outputobjectDynamic object: keys follow selected model support_stems; not fixed
data.output.*stringResult URLs per stem, e.g. vocals / drums / bass / piano / guitar / other / lead_vocals / backing_vocals / strings / wind / synthesizer
data.zip_urlstringZIP download URL for separation results

output Field vs. Model Mapping (Based on AudioSeparation Component)

model_typeMain output Keys (standard stems)
350vocals
490lead_vocals, backing_vocals, other
340drums
360bass
380piano
390guitar
491strings
492wind
493synthesizer
501bass, drums, vocals, other
320bass, drums, vocals, piano, guitar, other

Response Code Reference

CodeMeaning
100000Success
100100Insufficient credit balance
101002Invalid API key
101003API key rate limit exceeded
101004API key concurrent request limit exceeded
101008Task not found

Response Example

{
  "code": 100000,
  "data": {
    "status": "waiting/success/failed",
    "file_type": "audio",
    "video_url": "https://resource.audiocleaner.ai/paid/source-file/202604/14/1776146445_before.wav",
    "output": {
      "vocals": "https://resource.audiocleaner.ai/paid/output/result/202604/14/1776146482_before_vocals.wav",
      "other": "https://resource.audiocleaner.ai/paid/output/result/202604/14/1776146483_before_other.wav"
    },
    "zip_url": "https://resource.audiocleaner.ai/paid/output/result/202604/14/1776146484_before.zip"
  },
  "message": "Request Success"
}

Use Cases

  • Karaoke accompaniment production: quickly remove lead vocals and keep background music.
  • Remixing and derivative creation: extract vocals or accompaniment for rearrangement.
  • Music practice and teaching: get clean accompaniment tracks for instrumental or vocal training.
  • Batch separation processing: run one async task per audio file for automation-friendly workflows.

FAQ

Will credits be deducted if a task fails?

No. Credits are charged only when task processing succeeds and results are available.

Can I export only accompaniment, or both accompaniment and vocals?

Yes. You can control output types through `separation_type`, such as vocal removal (accompaniment only) or extracting vocal stems as well.

Is a verification token required for API calls?

Depending on backend risk-control policies, some requests may require a risk-control/captcha token.