Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Stable Audio 3 Medium Base Audio Inpainting

stability-ai/stable-audio/3/medium/base/audio-inpainting

Stable Audio 3 Medium Base by Stability AI regenerates a chosen time range inside an existing clip from a text prompt and leaves the rest untouched. It runs the non-distilled base checkpoint (50 sampling steps), which is slower and costs more than the post-trained version.

Базовая цена
$0.05USD / запуск
Выполнение
async
Тип модели
audio
Поля ввода
7
Маршрут продакшена

Попробовать модель

Песочница

Открыть playground
Ввод
Text description of what the masked region should become.
Source audio file or URL. Only the masked region is regenerated.
0380
Start of the region to regenerate, in seconds (0–380). Диапазон: от 0 до 380.
0380
End of the region to regenerate, in seconds (0–380). Must be greater than mask_start_seconds. Диапазон: от 0 до 380.
Audio container format.
Qualities to avoid in the output.
Random seed for reproducible outputs.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

Карточка модели

Характеристики

Цены

Базовая цена
$0.05 / запуск

Контекст и модальности

Вход
Определяется схемой
Выход
audio

Возможности

Чат
Не поддерживается
Зрение
Не поддерживается
Рассуждение
Не поддерживается
Структурированный вывод
Не поддерживается
Вызов функций
Не поддерживается
Аудиовход
Не поддерживается

Доступ

Провайдер
Stability AI
ID модели
stability-ai/stable-audio/3/medium/base/audio-inpainting
Выполнение
async
Базовый URL
https://api.sandbase.ai
API
Unified Run API
Эндпоинт
/v1/run

README по API

Stable Audio 3 Medium Base Audio Inpainting

Regenerates one time range of a source clip from a prompt (mask up to 380 s) and keeps the rest. It uses the non-distilled base checkpoint (50 sampling steps).

Fields

FieldTypeDefaultNotes
promptstring, required—Text description of what the masked region should become.
audioaudio file or URL, required—Source audio file or URL. Only the masked region is regenerated.
mask_start_secondsnumber 0–380, required—Start of the region to regenerate, in seconds.
mask_end_secondsnumber 0–380, required—End of the region to regenerate; must be after mask_start_seconds.
output_formatmp3 / wav / flac / ogg / opus / m4a / aacmp3Output file format.
negative_promptstring—What to avoid.
seedintegerrandomFix it to compare prompt changes.

Billing

$0.0537 per generation, regardless of duration or settings.

RequestPrice
One track$0.0537
10 tracks$0.537

Failed runs are not charged.

Prompting

  • Describe only what the masked region should contain; keep the mask short so the edges blend with the source.

Also on SandBase

Related: stability-ai/stable-audio/3/medium/base/text-to-audio, stability-ai/stable-audio/3/medium/base/audio-to-audio, stability-ai/stable-audio/3/medium/base/audio-outpainting, stability-ai/stable-audio/3/medium/audio-inpainting.

Начните разработку

Отправьте свой первый запрос

Совместимая с OpenAI конечная точка с единообразной аутентификацией и учётом использования.

Production API
конечная точка Unified Run API
https://api.sandbase.ai/v1/run
ID модели
stability-ai/stable-audio/3/medium/base/audio-inpainting
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "stability-ai/stable-audio/3/medium/base/audio-inpainting",
  "audio": "https://storage.googleapis.com/falserverless/model_tests/diffrythm/rock_en.wav",
  "prompt": "punchy kick drum fill",
  "output_format": "mp3",
  "mask_end_seconds": 8,
  "mask_start_seconds": 4
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"
01

Схема ввода

7 параметров · 4 обязательных · 3 необязательных

ПараметрТипОбязательныйОписание
audiostringОбязательныйSource audio file or URL. Only the masked region is regenerated.
promptstringОбязательныйText description of what the masked region should become.
mask_end_secondsnumberОбязательныйEnd of the region to regenerate, in seconds (0–380). Must be greater than mask_start_seconds. · Мин.: 0 · Макс.: 380
mask_start_secondsnumberОбязательныйStart of the region to regenerate, in seconds (0–380). · Мин.: 0 · Макс.: 380
seedintegerНеобязательныйRandom seed for reproducible outputs.
output_formatstringНеобязательныйAudio container format. · Параметры: mp3, wav, flac, ogg, opus, m4a, aac · По умолчанию: "mp3"
mp3wavflacoggopusm4aaac
negative_promptstringНеобязательныйQualities to avoid in the output. · По умолчанию: ""
02

Схема вывода

ПолеТипОписание
idstringУникальный идентификатор задачи генерации
statusstringСтатус задачи: pending, running, completed, failed, timeout
modelstringМодель, использованная для генерации
outputsarrayМассив элементов вывода
outputs[].urlstringURL сгенерированного артефакта
outputs[].content_typestringMIME-тип (например, image/png, video/mp4)
errorobject | nullСведения об ошибке, если не удалось; null при успехе
error.typestringКод ошибки для машинной обработки
error.messagestringОписание ошибки, понятное человеку

Асинхронный workflow

Эта модель работает асинхронно. Отправьте запрос, затем опрашивайте результат.

  1. Отправка: выполните POST на /v1/run и прочитайте возвращаемое id.
  2. Опрос: выполняйте GET /v1/run/{id}, пока статус не станет completed, failed или timeout.
  3. Получение: прочитайте outputs из завершенного ответа.

Выберите свою модель

Сравнить модели

Все модели для изображений и видео
МодельТипЦена по умолчаниюВыпущена
Stability AIАудио$0.05 / запуск3 июн. 2026 г.
Stability AIАудио$0.06 / запуск3 июн. 2026 г.
Stability AIАудио$0.05 / запуск3 июн. 2026 г.
Stability AIАудио$0.05 / запуск3 июн. 2026 г.
Stability AIАудио$0.03 / запуск3 июн. 2026 г.
Stability AIАудио$0.03 / запуск3 июн. 2026 г.

Вопросы

FAQ

Как вызвать Stability AI Stable Audio 3 Medium Base Audio Inpainting через SandBase?

Создайте API key SandBase, затем отправляйте запросы с идентификатором модели "stability-ai/stable-audio/3/medium/base/audio-inpainting" на Unified Run API (/v1/run) по адресу https://api.sandbase.ai. Примеры запросов на этой странице показывают точный payload.

Нужен ли мне отдельный аккаунт Stability AI?

Нет. Один API key SandBase и один баланс дают вам доступ к Stability AI Stable Audio 3 Medium Base Audio Inpainting и другим моделям в каталоге; отдельно регистрироваться в Stability AI не нужно.