Skip to content

Commit 3b71637

Browse files
author
cc
committed
update v3 to v6
1 parent 34132eb commit 3b71637

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Uri/StableDiffusionApiV3.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)