Skip to content

EvalSampleAudioObject

Example Usage

typescript
import { EvalSampleAudioObject } from "@meetkai/mka1/models/components";

let value: EvalSampleAudioObject = {
  object: "eval.sample.audio",
  audio: "<value>",
  sampleIndex: 256441,
  taskId: "<id>",
  model: "F-150",
};

Fields

FieldTypeRequiredDescription
object"eval.sample.audio"✔️N/A
audiostring✔️Playable clip reference: a base64 data: URI or an http(s) URL.
sampleIndexnumber✔️Echoes the requested sample index so the client has a complete cache key without tracking it.
taskIdstring✔️The task the clip was resolved from (the clip differs across tasks).
modelstring✔️The model row the clip was read from. The clip is identical across models within a task.