Create Model Prediction
Create Model Prediction
Create a new prediction for a specific model.
POST
Create Model Prediction
Authorizations
API key for authentication
Body
application/json
Model slug or identifier
Example:
"flux-1-1-pro"
Input parameters for the prediction
Example:
{
"prompt": "A beautiful sunset over the ocean with vibrant colors",
"aspect_ratio": "16:9"
}Deprecated. This field is ignored. Kept for backwards compatibility.
Example:
"0.0.1"
Optional webhook URL to receive prediction result asynchronously
Example:
"https://your-app.com/webhook"
Optional secret used to sign webhook requests
Example:
"your-secret-key"
Last modified on June 17, 2026