File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,28 +14,28 @@ class StableDiffusionApiV3
1414 {
1515 public const ORIGIN = 'https://modelslab.com/api ' ;
1616
17- public const API_VERSION = 'v3 ' ;
17+ public const API_VERSION = 'v6 ' ;
1818
1919 public const OPEN_AI_URL = self ::ORIGIN . '/ ' . self ::API_VERSION ;
2020
2121 public function text2imgUrl (): string
2222 {
23- return self ::OPEN_AI_URL . '/text2img ' ;
23+ return self ::OPEN_AI_URL . '/realtime/ text2img ' ;
2424 }
2525
2626 public function img2imgUrl (): string
2727 {
28- return self ::OPEN_AI_URL . '/img2img ' ;
28+ return self ::OPEN_AI_URL . '/realtime/ img2img ' ;
2929 }
3030
3131 public function inpaintUrl (): string
3232 {
33- return self ::OPEN_AI_URL . '/inpaint ' ;
33+ return self ::OPEN_AI_URL . '/realtime/ inpaint ' ;
3434 }
3535
3636 public function fetchUrl ($ id ): string
3737 {
38- return self ::OPEN_AI_URL . '/fetch/ ' . $ id ;
38+ return self ::OPEN_AI_URL . '/realtime/ fetch/ ' . $ id ;
3939 }
4040
4141 public function systemLoadUrl (): string
You can’t perform that action at this time.
0 commit comments