Skip to main content

PyPI version
TensorART is a hybrid API for tensor.art. It is able to communicate with Tensor using web-scraping.. It is able to access most used or useful ai features, such as text2img, img2img , upscale, and a lot more.

[!WARNING] This project is probably against TensorART TOS. Use at your own risks.

Installation

  • Install using pip (python 3.11 or higher required, recommended version):
pip install --upgrade TensorART
  • Or from this repo to get the latest fixes/features:
pip install --upgrade git+https://github.com/XZeipher/TensorAI.git
  • Or, for python 3.10 and higher.
pip install --upgrade git+https://github.com/XZeipher/TensorAI.git@py-3.10
  • Or, for even lower python versions, there is automatic branch with several features removed (might be unstable).
pip install --upgrade git+https://github.com/XZeipher/TensorAI.git@compat

Quickstart

[!NOTE] You can find the docs on this project here.

from TensorART import TensorClient
import aiohttp,aiofiles

# Initialise a client
client = TensorClient()

# Create ai image
image_url = await client.create(model_id=1,prompt="blonde girl sitting in garden")

# save image binary data
async with aiohttp.ClientSession as session:
    async with session.get(image_url) as response:
        async with aiofiles.open('image.png','wb') as f:
            await f.write(await response.content)

# image will be saved as image.png

Note

This repository is initiated and maintained by XZeipher

License

TensorART uses GPLv3. See the LICENSE file.

Contributing

Feel free to contribute to this project by submitting feature requests, issues, bugs, or whatever.

Metadata

Release files for TensorART 1.0.0

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

Built distribution (wheel)

Table of built distributions (wheels) for TensorART 1.0.0
File Interpreter ABI Platform
TensorART-1.0.0-py3-none-any.whl Python 3 none any Details

Release files / TensorART-1.0.0-py3-none-any.whl

Download URL TensorART-1.0.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0283d70126fd8afdc17950dcc88937460db337aafd2e46e16cd4b435a37b423
BLAKE2b-256 checksum
How to use checksums
1a631ad2c4a7ab66b1cbc7f1bd03bfacf6c620ad9c854c6bf5683886ce12165c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Security for TensorART 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

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