OptionalaudioOne audio clip (up to 30 s) to judge along with the state. Needs a model that accepts audio.
OptionalimagesImages to judge along with the state, in order. Needs a model that accepts images, such as d1-omni-600m.
OptionalsampleSample rate of audio when it is a Float32Array at a rate other than 16 kHz.
OptionalstateWhat to judge: a string, or JSON (serialized with sorted keys; d1 models read it as JSON). Optional when images or audio are the whole state.
One thing to judge: a state, with images or audio, or the media alone.