POST
/
models
/
v2
/
cloudqi
/
CQI_Visual_Question_Awnser_PT_v0
curl --request POST \
  --url https://api.bytez.com/models/v2/cloudqi/CQI_Visual_Question_Awnser_PT_v0 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "question": "What'\''s the total cost?",
  "url": "https://templates.invoicehome.com/invoice-template-us-neat-750px.png"
}'
{
  "output": "$154.06"
}

Authorizations

Authorization
string
header
required

Provide your API key as Key your-key-here in the Authorization header.

Body

application/json
question
string
required

The question to answer.

Example:

"What's the total cost?"

url
string
required

URL of the document.

Example:

"https://templates.invoicehome.com/invoice-template-us-neat-750px.png"

Response

200 - application/json
Successful response with the answer.
output
string

The extracted answer from the document.