Skip to main content

Bring your provider

ViscribeAI focuses on the image extraction workflow: source handling, strict structured output, parsing, and typed results. You bring the model provider and credentials that fit your stack. The built-in clients use OpenAI-compatible Chat Completions. You can use the default OpenAI SDK configuration or pass compatible client options for providers that expose an OpenAI-style API.

OpenAI Compatible

Use any vision-capable model provider that exposes an OpenAI-style Chat Completions API with image inputs and structured output.

Environment variables

For the default OpenAI client, store credentials in your environment.
OPENAI_MODEL is only used by the examples in this repository. In application code, pass the model explicitly through model_config or modelConfig.

Python configuration

Python client options such as api_key, base_url, timeout, and max_retries are passed to the underlying OpenAI client. Other keys are sent with the model request.

TypeScript configuration

TypeScript client options such as apiKey, baseURL, timeout, and maxRetries are passed to the underlying OpenAI client. Other keys are sent with the model request.
Use a vision-capable model that supports image inputs and structured output through an OpenAI-compatible Chat Completions interface.