Class ModelLoadRequest
Body of POST /v1/models/load (builds with native model management).
public sealed class ModelLoadRequest
- Inheritance
-
ModelLoadRequest
- Inherited Members
Properties
Device
Backend device index override.
public int? Device { get; set; }
Property Value
- int?
Family
Model family, for example kokoro_tts.
public string? Family { get; set; }
Property Value
Id
Id to register the model under. Required.
public string? Id { get; set; }
Property Value
LoadOptions
Loader options (stringly-typed like other option maps).
public Dictionary<string, string>? LoadOptions { get; set; }
Property Value
Mode
Run mode: offline or streaming.
public string? Mode { get; set; }
Property Value
PackageId
Catalog package id to resolve. Mutually exclusive with Path.
public string? PackageId { get; set; }
Property Value
Path
Server-local path to the model file or directory. Mutually exclusive with PackageId.
public string? Path { get; set; }
Property Value
SessionOptions
Session options (stringly-typed like other option maps).
public Dictionary<string, string>? SessionOptions { get; set; }
Property Value
Task
Task, for example tts or asr.
public string? Task { get; set; }
Property Value
Methods
Validate()
public void Validate()