v1
latestOpenAPI 3.0.32026-07-26451985.7 KBdocument-question-answering
Answer questions based on document content for tasks like contract analysis, document understanding, and information retrieval
post/models/v2/cloudqi/CQI_Visual_Question_Awnser_PT_v0
Request body
Example request
{
"question": "Whats the total cost?",
"url": "https://templates.invoicehome.com/invoice-template-us-neat-750px.png",
"base64": "data:image/png;base64,...BASE_64_GOES_HERE (Only use this is you are not using a url)"
}Response
Successful document-question-answering response.
Example response
{
"output": [
{
"score": 0.997048556804657,
"answer": "$154.06",
"start": 75,
"end": 75
}
]
}