Notice: MAI Image 2.7 launch limited-time 20% off, covering the full text-to-image and image editing lineup, try it now
Notice: MAGI 2 launch limited-time 20% off, covering text-to-video, image-to-video, and reference-to-video across the board. Try it now
Notice: Seed Audio 1.5 launch limited-time 20% off, covering text-to-audio, video dubbing, audio track separation, and video translation across the board. Try it now
Blog

Guide

Seed Audio 1.5 Stem Separation Getting Started Guide: Stem Separation Capabilities, Pricing, and Integration Practices

Developer Integration Points and Cost Assessment for the ByteDance Audio Stem Separation Model

Dec 1, 2026
博客封面图:淡蓝底上数块半透明玻璃平面交错叠放,折射出整齐的冷蓝色条带。
On this page

What This Model Can and Cannot Do

seed-audio-1.5/stem-separation is an audio model released by ByteDance, and its task boundary is clear from the name: stem separation, that is, splitting a mixed audio track into several independent stems. The input is audio and the output is also audio — this is a single-task audio processing model, not a general-purpose audio toolbox.

What it can do is clear:

  • Accept an audio track and output the separated stem results. Typical uses include extracting vocals and accompaniment from a finished mix, preparing material for derivative works, and providing intermediate stems for mixing/mastering workflows.
  • Results are returned as audio and can go directly into downstream storage, transcoding, or further processing.

What it cannot do also needs to be clarified in advance to avoid a mismatch in model selection:

  • It does not perform speech-to-text; do not expect to get lyrics or subtitles as a byproduct of stem separation.
  • It does not perform audio generation or synthesis (text-to-audio, TTS, etc.); it is not a generative model.
  • It does not perform audio understanding tasks, such as emotion recognition or classification/labeling.
  • It is not a general-purpose audio cleanup tool; needs such as noise reduction and dereverberation belong to a different category of capability.

In one sentence: treat "stem separation" as a dedicated role, not an assistant that can do everything. If your pipeline already includes transcription, synthesis, and other stages, stem separation is just one part of it and needs to be orchestrated separately with other models, rather than trying to solve everything with a single call. Under the unified interface of HiAPI.ai, models with these different capabilities can share the same authentication and invocation paradigm, but their responsibilities remain independent.

An audio line passes through overlapping glass panels and then splits into four parallel blue stems; outside the boundary line are unrelated shapes.
The model only splits one audio stream into multiple stems; transcription, synthesis, and similar capabilities are outside its scope.

Positioning in Technical Selection

When facing an audio processing requirement, the first step is not to ask "which model is the strongest," but to determine which side of this branch the requirement falls on.

Scenarios suitable for choosing seed-audio-1.5/stem-separation:

  • The core business need is precisely "splitting the mix," for example accompaniment extraction, sample material organization, or cover-song production pipelines.
  • Stem separation is a prerequisite step for subsequent processes, and downstream needs independent stems rather than the whole audio track.
  • You want to use a hosted API instead of building your own separation model, delegating compute operations and model iteration to the service provider.

Scenarios where you should look for another solution or supplement with other models:

  • The need is transcription, subtitles, or speech recognition — move to speech recognition models.
  • The need is music generation or voiceover — move to audio generation/speech synthesis models.
  • The need is highly real-time streaming processing, while stem separation itself is a relatively heavy offline task, usually better suited to asynchronous pipelines than synchronous low-latency interfaces.
  • The need is only simple format conversion, trimming, or loudness normalization — such deterministic processing is cheaper with traditional audio toolchains, and there is no need to call a model.

A practical way to decide is: first write down what the input is and what the output is. If the input is audio, the output is multiple audio tracks, and the core value lies in the action of "separation," then this model is a good fit; as soon as the output form is not audio, you should immediately switch branches. The model details page (see seed-audio-1.5/stem-separation) can serve as the first stop for confirming capabilities and billing rules.

A light-colored glass plane forks into two paths; the upper multi-layer glass refracts into blue bands, while the lower single-layer glass remains uniformly light-colored.
Diagram of requirement branching: the refracted bands of the upper multi-layer glass correspond to the stem separation task, while the lower single-layer plane points to other audio solutions.

Invocation Flow and Key Parameters

The lifecycle of a typical call can be divided into four stages: submit audio, wait for results, retrieve stems, and persist to storage. Regardless of the language wrapper you use, the skeleton is the same.

Step 1: Prepare the input. Confirm whether the audio format, sample rate, number of channels, and duration are within the model's accepted range, as well as the size limit for a single request. Overly long audio needs to be sliced on the client side first, and then the sliced results should be concatenated or stored separately. This step has the most pitfalls; it is recommended to run boundary samples (very short, very long, mono, high sample rate) during debugging.

Step 2: Submit the task. Initiate the call through the unified interface of HiAPI.ai. Stem separation is a compute-intensive task and is usually processed asynchronously: after submission, obtain a task identifier, then poll or wait for a callback. Do not block indefinitely in a synchronous request; design timeout and retry logic in advance.

Step 3: Retrieve the results. Results are returned as audio, possibly as reference URLs or binary content for multiple stems. Be careful to distinguish between "task completed" and "result downloadable"; the download step also needs timeouts and retries.

Step 4: Persist. Write the stem separation results to your own object storage, and record the mapping between task ID, input audio fingerprint, and output URL. This step is the foundation for subsequent cache reuse; do not skip it.

Items to confirm in advance at the parameter level include: supported audio formats and encodings, duration and file size limits, whether specific target stem types can be specified, how results are organized (multiple files or packaged), and concurrency and rate limits. These details are subject to the interface documentation; do not assume based on experience. When wrapping, converge model calls into an independent adapter layer, with parameter validation and error mapping in this layer; business code should only depend on the abstraction of "submit a stem separation task and obtain the result URL."

Three semi-transparent glass panels are arranged from left to right, connected by thin lines and loops, representing the submit, wait, retrieve, and retry chain.
The connections and loops between the glass panels correspond to the complete chain of a single call from submitting audio to retrieving stems, including retry and timeout branches.

Pricing Structure and Cost Estimation

Seed Audio 1.5 stem separation is billed per second, at a standard price of $0.0012 per second, based on the billed duration of the output primary stem.

The method for estimating monthly costs is straightforward:

  1. Estimate the total audio duration to be processed each month, and account separately for segments that need multiple output versions or reprocessing.
  2. The monthly standard cost equals the total billed seconds of successful primary stems multiplied by $0.0012.
  3. Add peripheral costs: object storage (capacity and traffic for input and output audio), queues and compute resources, and additional calls caused by retries. Retries are counted, which is easy to overlook in estimates.

Several judgment points that affect the budget:

  • After slicing, each segment is billed separately. You need to control the duration of overlapping processing and also consider the minimum billable duration of 4 seconds per order.
  • Reusing the same accepted stem separation result can avoid regenerating and re-metering the same audio.
  • Peak and average should be viewed separately. Batch import scenarios will produce call spikes; it is safer to budget based on peak months rather than average months.

First run stem separation on representative audio, record the measured duration of the primary stem and the actual charge, and then extrapolate based on the duration distribution of the full material set.

Engineering Best Practices

Stem separation is an offline, compute-intensive task; squeezing it into a synchronous request chain is the most common architectural mistake. A layered design is recommended:

Application layer is responsible only for business semantics: deciding "which audio needs stem separation," submitting tasks, and consuming results. It should not be aware of the model's retry, rate limiting, or format details.

Queue and batch processing layer handles traffic shaping: put audio to be processed into a queue, consume at the concurrency limit, and smooth peaks for batch imports. When batch processing, control the size of each batch to avoid hitting the rate limit all at once and causing widespread failures.

Model adapter layer encapsulates HiAPI.ai calls: unified authentication, parameter validation, timeout settings, and mapping of error codes to business exceptions. All direct calls to the model converge here, making future replacement or canary rollout easier.

Cache the output stems based on the input material fingerprint and stem separation parameters; repeated requests can directly reuse existing results.

Supporting stability measures:

  • Failure retry uses exponential backoff, and only retries retryable errors (timeouts, rate limiting, server-side 5xx); non-retryable errors such as parameter errors and unsupported formats fail directly and are logged.
  • Idempotent design: generate a unique key for each business task, and reuse the same key on retry to avoid duplicate billing and duplicate storage writes.
  • Observability: record the task ID, duration, status, and input fingerprint of each call for reconciliation and troubleshooting.
  • Result lifecycle: clarify the retention period and cleanup strategy for stem separation results; audio files are not small, and long-term accumulation will increase storage costs.

Common Issues and Troubleshooting Approaches

High-frequency issues during integration are generally investigated in the following order, which covers most cases:

The call fails directly (4xx). First check the parameters and the input itself: whether the audio format is supported, whether the file exceeds size or duration limits, and whether required fields are missing. Retrying such errors is meaningless; change the input or parameters.

The call times out or has no result for a long time. Confirm whether asynchronous mode is used instead of blocking synchronously; check whether the audio is too long and needs slicing; verify whether the network and timeout thresholds are set too short. Timeouts can be retried, but with backoff.

Rate limiting errors (such as 429). This indicates concurrency exceeds the quota; return to the queue layer to slow down, or adjust the batch size. Do not force through with back-to-back retries; that will only lead to continued rejection.

The task succeeds but the result is abnormal. For example, separation quality is below expectations, stems are missing, or audio is corrupted. First confirm the input audio quality (low bitrate, strong noise, and mono mixes all affect results), then verify whether the result download chain is complete and not truncated.

When costs exceed expectations, reconcile the primary stem seconds, slice overlap, duplicated generation duration, and the final difference by task ID.

It works locally but fails online. This is mostly due to environment differences: authentication configuration, network egress, file paths, and encoding. Centralize configuration management; do not scatter it everywhere.

The core troubleshooting habit is: leave a task ID and input fingerprint for every failure, so problems are reproducible and reconcilable.

When to Formally Integrate

From small-scale validation to production launch, it is recommended to proceed at this pace:

In the validation stage, first run the full chain with a small batch of real audio, record the output seconds of each segment, the final charge, duration, and stem separation quality, and then calibrate the budget accordingly.

Pilot period: integrate the queue and cache layers, use a small portion of real traffic for canary rollout, and observe failure rate, rate-limit trigger frequency, and storage growth. The goal of this stage is to validate stability, not to pursue throughput.

Production period: when the failure rate during the pilot period stabilizes at an acceptable level, cost estimates match actual bills, and retry and cache mechanisms are verified as effective, then gradually scale up. Keep a degradation path at launch — when the model is unavailable, the business should be able to skip the stem separation step or delay processing, rather than blocking the entire chain.

The decision on whether to formally integrate ultimately comes down to three questions: whether stem separation is a genuine core business need, whether the cost is within an acceptable range, and whether the team has isolated model calls in an independent adapter layer. If all three hold, you can proceed with confidence; if any one is in doubt, return to small-scale validation before deciding. When you need to verify the capability list and billing rules, you can start from the model details page, and then confirm the latest information with the site's pricing panel.

Related articles

View all articles →

Start building with persistent AI artifacts

Get your API key and call image, video and audio models through one task-based API.

Read the API docs