mirror of
https://github.com/xtekky/gpt4free.git
synced 2026-01-03 07:42:30 -08:00
Update client.md
This commit is contained in:
parent
8b162ad8b9
commit
32adba7494
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ image_url = response.data[0].url
|
||||||
Also this works with the client:
|
Also this works with the client:
|
||||||
```python
|
```python
|
||||||
response = client.images.create_variation(
|
response = client.images.create_variation(
|
||||||
image=open('cat.jpg')
|
image=open("cat.jpg", "rb")
|
||||||
model="bing",
|
model="bing",
|
||||||
...
|
...
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue