Documentation
Frequently Asked Questions
Common questions about the AionVision SDK
What Python versions are supported?
The SDK supports Python 3.9 and above. We recommend using Python 3.11+ for best performance.
Is there a synchronous client?
Yes! Use SyncAionVision for synchronous operations:
from aion import SyncAionVision
with SyncAionVision(api_key="your-key") as client: result = client.upload_one("image.jpg") # Synchronous callWhat file formats are supported?
Images: JPEG, PNG, WebP, GIF, HEIC, TIFF, BMP
Videos: MP4, MOV, M4V, WebM, AVI
Documents: PDF, DOCX, TXT, Markdown
How do I handle large file uploads?
For large files, the SDK provides a callback when each file is prepared for upload:
def on_progress(event): print(f"Prepared: {event.filename} ({event.total_bytes} bytes)")
result = await client.upload( "/path/to/images", on_progress=on_progress)Can I use my own S3 bucket?
Yes! The SDK supports Bring Your Own Bucket (BYOB). See the Custom Storage Guide.
What are the rate limits?
Rate limits depend on your subscription tier:
- Free: 10 requests/minute
- Starter: 30 requests/minute
- Professional: 100 requests/minute
- Enterprise: 500 requests/minute
How do chat sessions work?
Chat sessions maintain conversation context. Use the context manager for automatic cleanup:
async with client.chat_session() as session: response = await session.send("Find damaged items") followup = await session.send("Tell me more about the first one")