Skip to main content

invokeai-python

invokeai-python is a powerful library designed for working with graphs, models, and API integrations, aimed at simplifying the creation and management of tasks related to generative AI.

Installation

  1. Ensure you have Python version 3.6 or higher installed.
  2. Install the library using pip:
pip install invokeai-python

Usage

Importing Key Components

from invoke import Invoke
from invoke.api import BaseModels, ModelType

Example 1: Querying Models

import asyncio
from invoke import Invoke
from invoke.api import BaseModels, ModelType

async def main():
    invoke = Invoke()

    print("Waiting for invoke...")
    version = await invoke.wait_invoke()
    print(f"Version: {version}")

    models = await invoke.models.list(base_models=[BaseModels.SDXL], model_type=[ModelType.Main])
    print(models)

if __name__ == "__main__":
    asyncio.run(main())

Contributing

If you would like to contribute, feel free to submit an issue or a pull request on the GitHub repository.

License

MIT License

Metadata

Release files for invokeai-python 0.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for invokeai-python 0.6.2
File Size Uploaded Provenance Actions
invokeai_python-0.6.2.tar.gz 19.5 kB Without provenance Details for invokeai_python-0.6.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for invokeai-python 0.6.2
File Interpreter ABI Platform Actions
invokeai_python-0.6.2-py3-none-any.whl Python 3 none any Details for invokeai_python-0.6.2-py3-none-any.whl

Total release size: 56.6 kB

Release files / invokeai_python-0.6.2.tar.gz

Download URL invokeai_python-0.6.2.tar.gz
Size 19.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3e83619b6492b14e2d9784828585128519062be7b6d0ee9ea19998af4a5ca6f3
BLAKE2b-256 checksum
How to use checksums
464077d83137b32350ffda19bca2ac793503ef1490603ae17c687dcedf52a048
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Release files / invokeai_python-0.6.2-py3-none-any.whl

Download URL invokeai_python-0.6.2-py3-none-any.whl
Size 37.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5fba0a568adc610e5831c2d2c07eec8975e36d1a4a4d664063cb86b179f7618
BLAKE2b-256 checksum
How to use checksums
a3923feccf10c56c496e4d1119fa9a960eaa293ef1b1ebec32c241530e9f6ef3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Security for invokeai-python 0.6.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page