Synvo API
Synvo API enables AI agents with deep multimodal contextual understanding, enhancing performance through accurate context retrieval from diverse user data.

Live Demo
Try It Yourself
Copy and run these code examples to get started
# Upload document into contextual memory
api_key = "YOUR_SYNVO_API_KEY"
with open("document.pdf", "rb") as f:
response = requests.post(
"https://api.synvo.ai/file/upload",
files={"file": f},
data={
"path": "/"
},
headers={"X-API-Key": api_key}
)
file_id = response.json()["file_id"]# Get query-related context
api_key = "YOUR_SYNVO_API_KEY"
query = "The author of the document"
payload = {
"messages": [{
"role": "user",
"content": [
{"type": "text", "text": query},
]
}]
}
response = requests.post(
"https://api.synvo.ai/ai/query",
data={
"payload": json.dumps(payload),
"model": "synvo"
},
headers={"X-API-Key": api_key}
)