CN8 API Documentation CN8 is an AI gateway: a single proxy layer that gives you access to AI capabilities — chatbots with RAG, multi-agent orchestration, LLM completions, dubbing, TTS, media generation, and production-grade video/audio processing — all through one consistent API with unified auth, billing, and usage tracking.
Documentation Services Platform API Chatbot, Agent & SearchChatbot └ Collections└ Chatbot CRUD└ Chat└ ConversationsAgent └ Agent CRUD└ Sub-Agents└ Sub-Agent Config└ Agent Chat└ Conversations└ User Context & Turn LogSearch └ Collections└ Search & HistoryVideo Chat └ Create & Manage└ Chat & Citations
Voice & TTSText to Speech └ Synthesize└ VoicesVoice Clone + TTS └ Persistent Clone└ Instant Clone + TTSAI Podcast └ Voices└ Plan└ SynthesizeMeeting Notes └ Submit & Poll└ Recording Layout
DubbingDubbing └ Script└ RenderVoice Clone Dubbing
AvatarAvatar (Beta) Avatar (Cloud) └ Generate└ Portrait check
LLMLLM Completions └ List & Compare Modelscn8 Architect └ Saved blueprints
Media GenerationImage from Text └ List Models└ Style Presets└ Generate ImageVideo from Text └ List Models└ Create└ Status & ResultVideo from Image └ List Models└ Create└ Status & ResultVideo Motion Control └ List Models└ Create└ Status & Result
Video Understanding & DocumentsAudio Description └ Script└ RenderTranscript └ Transcribe└ Metadata, Chapters & Quiz└ Scene Captions└ Translate└ Audio DescriptionDocument Infocard
Text AnalysisSentiment Analysis Named Entity Recognition Zero-Shot Classification Text Summarization Keyword Extraction Language Detection Question Answering Semantic Search Text Embeddings Text Similarity Few-Shot Classification
Studio (Video & Audio)Background Remove / Replace Image Background Remove/Replace Video Upscale Image Upscale Smart Reframe Speech Clearance Audio Background Separation NSFW Detection Text Moderation Image Captioning Image Segmentation Image Inpainting Face & Privacy Blur (Image) Face & Privacy Blur (Video) Image Embedding Video Embedding
Services Studio (Video & Audio) Audio Background Separation 100 / 109
Audio Background Separation studio-audio-background-separation
Remove vocals from audio or video and return the background (instrumental) as a WAV.
Send an audio or video URL. The vocals are removed and the remaining instruments (drums, bass, and more) are mixed into a single background track, returned as a WAV URL in the job result (poll /v2/jobs/{job_id}).
POST /v1/proxy/studio-audio-background-separation
Separate background music from audio/video
Parameters Name Type Required Description mediaUrlstring required Public URL of source audio or video modelstring optional Separation model (htdemucs_ft | htdemucs | htdemucs_6s | mdx | mdx_extra). Default: htdemucs_ft
curl -X POST https://api.cn8.io/v1/proxy/studio-audio-background-separation \
-H "X-API-Key: <cn8_api_key>" \
-H "Content-Type: application/json" \
-d '{"mediaUrl":"https://example.com/file"}'{
"status": "success",
"data": {
"background": {
"url": "https://cdn.example.com/audios/background/ab/cd/abcd1234.wav",
"content_type": "audio/wav",
"duration_seconds": 183.5
}
},
"usage": { "units": 183.5, "unit_type": "second" }
}
Billing: 3 credits per second of background output audio. The model you choose affects quality and speed.