Created
April 17, 2024 09:21
-
-
Save wilsonsilva/57460fd6096bbf85b60efa4189d83e65 to your computer and use it in GitHub Desktop.
Ollama image prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl http://localhost:11434/api/generate -d '{ | |
"model": "llava:v1.6", | |
"prompt": "What is in this picture?", | |
"images": ["'"$(base64 --input my_image.jpeg)"'"] | |
}' | |
curl http://localhost:11434/api/generate -d '{ | |
"model": "llava:v1.6", | |
"prompt": "Extract all the text in this picture", | |
"stream": false, | |
"images": ["'"$(base64 --input my_image.jpeg)"'"] | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment