API Reference
Overview
Unified input schemas for SOTA AI models
Standardized Inputs for AI Models
Bytez simplifies building with 40k+
Open Source
and Closed Source
AI models by standardizing inputs across 33 ML tasks. This consistency eliminates the need to adjust for varying input structures, allowing seamless integration for text
, messages
, image
, or multiple
inputs.Why Standardization?
- Reduces integration complexity.
- Enables task/provider switching without reformatting inputs.
Input Schemas
Text
For models that process text
:
json
Tasks: Fill Mask
, Summarization
, Text-to-Speech
, Translation
, Text Generation
, etc.
Messages
For chat
and multi-modal
tasks:
json
Tasks: Chat
.
Image
For image processing, use either:
URL
:
json
Base64
:
json
Tasks: Image Classification
, Object Detection
, Image-to-Text
.
Multi-Input
For models needing both text
and image
or audio
or video
:
json
Tasks: Visual Question Answering
, Zero-Shot Classification
, etc.
This unified schema accelerates development and ensures compatibility across diverse AI tasks.