I want to use an API to analyze images from a body composition analyzer, but how should I use VisionAPI?
I think you should include an image URL as an argument, but I would like a sample.
Participez à la discussion - ajoutez un commentaire ci-dessous:
Thank YOU!!
Step 1
Create Image ID:
upload your image to “Create Image ID” endpoint
Response -> Image_ID
Step 2:
Paste your image id in every request of VISION AI API
eg-
{
“messages”: [
{
“role”: “user”,
“content”: "hi "
}
],
“system_prompt”: “”,
“temperature”: 0.9,
“top_k”: 10,
“top_p”: 0.9,
“max_tokens”: 1024,
“web_access”: false,
“image_id”: “SAMPLE_ IMAGE _ID”
}