Skip to main content
This tutorial will get you started using our SDK with your preferred language bindings.
1

Get an SDK License

Self-service SDK Keys can be generated on the developer portal.
These keys are configured to authorize with our backend and collect telemetry.
To use the SDK without telemetry, please contact us directly to obtain a special offline license that operates without any online authentication.
2

Select a Model

Models can be either downloaded by the SDK using a model ID (e.g. quail-l-8khz) or manually at artifacts.ai-coustics.io.
3

Pick your interface

Installation

You can install our SDK with pip:
pip install aic-sdk

Quickstart

Run with uv:
uv run quickstart.py
# /// script
# requires-python = ">=3.10,<3.14"
# dependencies = [
#   "aic-sdk",
#   "numpy"
# ]
# ///

# quickstart.py

import aic_sdk as aic
import numpy as np
import os

# Get your license key from the environment variable
license_key = os.environ["AIC_SDK_LICENSE"]

# Download and load a model (or download manually at https://artifacts.ai-coustics.io/)
model_path = aic.Model.download("quail-vf-l-16khz", "./models")
model = aic.Model.from_file(model_path)

# Get optimal configuration
config = aic.ProcessorConfig.optimal(model, num_channels=2)

# Create and initialize processor in one step
processor = aic.Processor(model, license_key, config)

# Process audio (2D NumPy array: channels × frames)
audio_buffer = np.zeros((config.num_channels, config.num_frames), dtype=np.float32)
processed = processor.process(audio_buffer)