JavaScript SDK (v0.34.0)Reference
CreatePredictionParams
Prediction creation parameters.
Interface: CreatePredictionParams
Prediction creation parameters.
Properties
input
input:
JsonValue
Input data provided for the prediction.
model
model:
string
The model reference in either owner/name or owner/name:version-number format (for example: deepseek-ai/deepseek-r1 or deepseek-ai/deepseek-r1:1).
validate_input?
optionalvalidate_input:boolean
Enable input validation against the schema before processing.
webhook?
optionalwebhook:null|Webhook
Details about the webhook to post prediction updates to.