Liquid AI’s d1.2 and d1.2-ultra are now available on AI Gateway with audio input and bounding box support.
These decision models return structured answers instead of generating text. Ask Boolean questions for yes/no probabilities, Choice questions to select a category, or Score questions to rate an input against a rubric. Multiple questions can share the same input in one request.
d1.2 is the faster, lower-cost model. d1.2-ultra is Liquid AI’s most accurate decision model.
Use liquid/d1.2 or liquid/d1.2-ultra as the model name. Before running the examples, set AI_GATEWAY_API_KEY to an AI Gateway API key .
Copy link to heading Classify a voicemail with AI SDK 7
Pass audio as a file part in state . This example reads voicemail.flac and returns the probability that the caller is requesting a refund.…