ChatGPT 4

FREEMIUM
Populariteit

9.8 / 10

Latency

5,412ms

Serviceniveau

99%

Health Check

100%

Terug naar alle discussies

how to use VisionAPI

Rapid account: T 03974 Sm Lm XT 8 Uwm 7 1
t03974sm-lmXT8uwm7-1
vor 2 Monaten

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.

Rapid account: T 03974 Sm Lm XT 8 Uwm 7 1
t03974sm-lmXT8uwm7-1 Commented vor 2 Monaten

Thank YOU!!

Rapid account: Rphrp 1985
rphrp1985 Commented vor 2 Monaten

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”
}

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen