feat: replicate channel flux model

This commit is contained in:
Sh1n3zZ
2025-11-08 01:24:45 +08:00
parent 28295e0168
commit af671d34c3
11 changed files with 614 additions and 29 deletions
+19
View File
@@ -0,0 +1,19 @@
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"`
}