Skip to content
Intura

Use a model

Your library

List everything your account owns with client.library.list(), and the models you may download with client.models.list().

Everything your account owns

python
from intura_ai import Intura

client = Intura()
for item in client.library.list():
    print(item.code, item.kind, item.current_version, item.versions)

This is the same list as the library page on the website: models, templates, courses and apps. Each entry is a LibraryItem:

FieldWhat it is
codeFor a model, the slug you pass to load
kindWhat it is, e.g. "model", "template", "course" or "app"
titleThe product's name, in English when it has both languages
languageThe language of the build, when there is one
current_versionThe version downloaded when you name none
versionsEvery version you can pin, newest first
purchased_atWhen it was added to your library
dataEverything the service sent, as a dict

New fields appear in item.data before the package types them, so read from there rather than waiting for a release.

client.library.list() needs a download key, and it is the simplest way to check that a key works.

The models you may download

python
for info in client.models.list():
    print(info.slug, info.version, info.language, info.name)

client.models.list() lists the downloadable models, one per model and language, as ModelInfo entries with slug, name, language, version (the recommended version), tree, endpoint and files.

From a shell

bash
intura-ai library              # what your account owns
intura-ai library --json       # the same, as JSON
intura-ai models               # what you may download

Don't own a model yet? Browse the model catalogue.