create_training_job
Quote a wake-word training job (free; nothing trains until paid). Returns a job_token (STORE IT — the only credential) and a binding CHF price. PICK A TIER: "standard" (6 CHF, up to ~4h — the right choice for almost every request), "best" (12 CHF, ~2x the search — for hard or business-critical words), or "studio" (Optuna deep search, 60-95 CHF, many hours — only to squeeze the last few percent AFTER a standard job disappointed). Same three options a human gets on the website, same prices. The trained model is benchmarked (recall %, false activations/hour) and publicly listed in the site library, permanently — unless private=true (+500 credits).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | RECOMMENDED — pick one instead of tuning parameters. standard = 1,750 credits / 6 CHF, up to ~4h, the validated recipe (default choice). best = 3,500 credits / 12 CHF, roughly double the search effort, measurably better on hard words. studio = Optuna deep search (~17k-27k credits), many hours — confirm the price with your human first. Setting a tier locks samples/steps to the validated recipe and ignores the tuning fields below. | |
| engine | Yes | Target engine. 'openwakeword': desktop / Raspberry Pi / Python (ONNX+TFLite, `pip install openwakeword`). 'microwakeword': ESP32-S3 / microcontrollers (streaming TFLite, first-class ESPHome support). | |
| optuna | No | LEGACY — prefer tier="studio", which works on BOTH engines. PREMIUM deep search, openwakeword only (~48 CHF default vs ~5.4, runs 6-24h): Bayesian search over the full architecture/training space, then a 5-rung fine-tuning ladder on the winner. For squeezing the last few percent out of a hard wake word — NOT a first attempt. Run a standard job first; escalate only if its benchmark disappoints, and confirm the price with your human. Ignores training_steps (the search sweeps it). | |
| private | No | +500 credits: model is never listed anywhere and is retrievable ONLY with the job_token, with no time limit (the token is the single key — losing it loses the model). Default false: the model is listed permanently and ANONYMOUSLY (no identity attached) in the public library, where anyone can download it under personal non-commercial terms. | |
| languages | No | TTS voice mix, e.g. [{"code":"en_US","percentage":100}]. Default English. Non-English costs more on openwakeword. | |
| n_samples | No | Synthetic positives, default 200000 (recommended). | |
| wake_word | Yes | Phrase to detect, e.g. 'hey aurora' | |
| optuna_trials | No | Optuna only: Bayesian search trials before the ladder, 5-30 (default 20). Price scales linearly with trials. | |
| training_steps | No | LEGACY (ignored when tier is set). Default 80000 (openwakeword) / 20000 (microwakeword). | |
| augmentation_rounds | No | Default 1 (openwakeword) / 3 (microwakeword). |