Foundation APIs
Python 0.24.0 · published wheel reference and guides.
PythonMixed
Use supported root imports for the Stable portable contract:
from zhivex_ai import generate_text, stream_text, generate_object, stream_object, embed
generate_textreturns normalized text, usage and finish information.stream_textsupports incremental consumption; close or cancel streams when the consumer exits.generate_objectandstream_objectbind structured generation to an application-owned schema.embedproduces embeddings for models that declare that capability.
Provider construction selects a model; the shared operation stays the same. Model capabilities differ, so verify the provider contract before enabling a feature. A successful local mock establishes runtime behavior, not live support.
See the exact signatures and stability labels in the root reference.
Application-owned catalogs and metadata are Stable in 0.24:
from zhivex_ai import ModelCatalog, ModelCatalogEntry, ModelPricing, create_model_catalog
This covers construction, lookup, defensive copies and pricing units/validity
windows. It does not guarantee freshness or live provider support. The maintained
default_model_catalog snapshot and capability discovery remain Beta.