Skip to content

Commit d2d41d9

Browse files
authored
Update README.md
1 parent 9a1b826 commit d2d41d9

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
@@ -42,13 +42,13 @@ for chunk in grok.stream('Who are you?', model_id='grok-2'):
4242
print(chunk, end='', flush=True)
4343
```
4444

45-
## Generate Image
45+
## Generate Images
4646

4747
### JPEG binary
4848
```python
4949
image_data = grok.image('An astronaut riding a horse.')
5050

51-
with open('sunset.jpg', 'wb') as f:
51+
with open('image.jpg', 'wb') as f:
5252
f.write(image_data)
5353
```
5454

0 commit comments

Comments
 (0)