1
0
mirror of https://github.com/fumiama/deepinfra.git synced 2026-06-11 21:46:39 +08:00

feat: support image upload

This commit is contained in:
源文雨
2025-09-24 00:18:32 +08:00
parent e3d1b92cc3
commit 8757564fe7
10 changed files with 376 additions and 98 deletions

2
api.go
View File

@@ -52,5 +52,5 @@ func (api *API) Request(model Model) (string, error) {
if err != nil {
return "", err
}
return model.Output(), nil
return model.Output().String(), nil
}