You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -128,14 +128,14 @@ Vision mode allows for generating text based on a combination of text prompts an
128
128
129
129
***CLI***
130
130
```bash
131
-
python cli.py --vision --prompt "Describe this image." --image "image_path_or_url"
131
+
python cli.py --vision --prompt "Describe this image" --image "https://upload.wikimedia.org/wikipedia/commons/a/a7/Camponotus_flavomarginatus_ant.jpg"
132
132
```
133
133
134
134
***Wrapper***
135
135
```python
136
136
from claude import Vision
137
137
138
-
Vision().run(prompt="Describe this image.", image="image_path_or_url")
138
+
Vision().run(prompt="Describe this image", image="https://upload.wikimedia.org/wikipedia/commons/a/a7/Camponotus_flavomarginatus_ant.jpg")
139
139
```
140
140
141
141
> An executable version of this example can be found [here](./examples/example_vision.py). (*You must move this file to the root folder before running the program.*)
0 commit comments