Skip to main content

SDK Overview

The SDK extracts structured fields from images, documents, audio, and video.

Core Concepts

Domains & Schemas

A domain names the task. A schema defines the output fields.

Content Processing Flow

  1. Prepare a file, URL, or in-memory data.
  2. Choose a domain.
  3. Generate a prediction.
  4. Read the structured response.

SDK Structure

Working with Media Types

Images

Documents

Audio

Video

Working with Predictions

Content methods return a PredictionResponse.

Prediction Statuses

Handling Async Processing

Using Schemas

A schema defines the fields in the prediction response.

Working with Standard Schemas

Every domain has a predefined schema.

Using Custom Schemas

Key Resources

Files

Hub

Models

Common Patterns

Process & Extract

Upload & Process

Batch Processing

Next Steps