mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-17 23:57:27 +00:00
20 lines
398 B
Go
20 lines
398 B
Go
package replicate
|
|
|
|
type PredictionResponse struct {
|
|
Status string `json:"status"`
|
|
Output any `json:"output"`
|
|
Error *PredictionError `json:"error"`
|
|
}
|
|
|
|
type PredictionError struct {
|
|
Code string `json:"code"`
|
|
Message string `json:"message"`
|
|
Detail string `json:"detail"`
|
|
}
|
|
|
|
type FileUploadResponse struct {
|
|
Urls struct {
|
|
Get string `json:"get"`
|
|
} `json:"urls"`
|
|
}
|