Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.

Commit 9da281c

Browse files
committed
Update README.md
1 parent 837d176 commit 9da281c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ import openai
433433
client = openai.OpenAI(api_key="anything", base_url="http://127.0.0.1:8000/v1/", default_headers={"Authorization": "Bearer anything"})
434434

435435
images_url = client.images.generate(
436-
model="playground-v2.5",
436+
model="sdxl",
437437
prompt="A cute baby sea otter",
438438
n=2, # The number of images to generate
439439
)
@@ -447,7 +447,7 @@ client = openai.OpenAI(api_key="anything", base_url="http://127.0.0.1:8000/v1/",
447447

448448
images_url = client.images.edit(
449449
image="https://imgcdn.stablediffusionweb.com/2024/4/29/0b0b8798-1965-4e3d-b0a8-d153728320d4.jpg",
450-
model="sdxl",
450+
model="playground-v2.5",
451451
prompt="A cute baby sea otter wearing a raincoat",
452452
n=1, # The number of images to generate
453453
)

0 commit comments

Comments
 (0)