Skip to main content

๐Ÿš€ Getting Started

Welcome! This page will help you get up and running with Visionary.ai in just a few minutes. Whether you're building on iOS, Android, or working with the API directly, this guide gives you the foundation you need.


๐Ÿ” Authenticationโ€‹

To use Visionary.ai, you must include an API key in every request.

Base URL: https://api.visionary.ai/v1/

Authorization: Bearer YOUR_API_KEY

๐Ÿ“Œ Youโ€™ll receive your API key after registration.
For this fictional project, you can use the placeholder:
Authorization: Bearer demo-api-key


๐Ÿ“ธ Supported Image Formatsโ€‹

Visionary.ai currently accepts:

  • JPEG (.jpg, .jpeg)
  • PNG (.png)
  • WEBP (.webp)

Maximum file size: 5MB
Minimum image resolution: 200x200 px


๐Ÿงพ Request Structureโ€‹

You can send image data in base64 format or as multipart/form-data (recommended for mobile apps).

Example: JSON (Base64)โ€‹

{
"image": "data:image/jpeg;base64,/9j/4AAQSkZ..."
}

Example: Multipart (via curl)โ€‹

curl -X POST https://api.visionary.ai/v1/analyze \
-H "Authorization: Bearer demo-api-key" \
-F "image=@/path/to/your/image.jpg"

๐Ÿ›‘ Common HTTP Errorsโ€‹

CodeMessageCause
401"Unauthorized"Invalid or missing API key
413"Payload Too Large"Image exceeds 5MB
422"Unprocessable Entity"Invalid image format
500"Internal Server Error"Something went wrong

๐Ÿงช Test Your First Callโ€‹

You can test the /analyze endpoint using your preferred HTTP client or Postman.


๐Ÿ“ฆ SDK Quickstartsโ€‹

If you're using the SDKs, jump ahead:


๐Ÿ”— What's next?โ€‹

โžก๏ธ Learn how to detect objects and scenes with the /analyze endpoint.