Skip to main content

Ayase

Ayase measures the quality and content of images and videos. Choose the metrics that matter to you, run them on your files, and save a report with scores and validation issues. 483 modules produce 829 metrics across 22 categories, covering visual quality, text alignment, motion, audio, safety, and more.

Install

Requires Python 3.10 or newer:

pip install ayase

Ayase automatically downloads weights and provisions backend environments or native tools when needed, then caches them for later runs. No per-metric extras are required. First use of an uncached metric needs internet access; hardware requirements depend on the metric.

Quick start

Put images or videos in a folder, then run:

ayase scan ./media --modules metadata,basic_quality --format json --output report.json

The JSON report contains run_status, overall stats, and samples with per-file results. A missing score is not zero: the metric may not have been selected, may not apply to the file, or may have failed or been unavailable. Check the run status and logs for details.

Choose metrics

Browse available metrics and inspect one:

ayase help
ayase help blur_score

blur_score is a metric field; basic_quality is a module that produces it. Pass module names to --modules. Scores use different scales and directions, so check the metric description before comparing results. The metric catalog describes inputs, ranges, requirements, and readiness: an approximate metric uses a substitute or partial method, while an unimplemented metric has no supported complete backend in a standard install. The model catalog lists weights and licenses.

Inputs

The scanner finds images and videos, including in subfolders. For metrics that need a caption, place a .txt, .caption, or caption .json file beside the media file with the same base name, such as clip.mp4 and clip.txt. Reference-based metrics need an explicit reference_path on a Sample; the scanner does not pair references automatically. The Python API also accepts prepared Sample objects. See the usage guide for input and configuration details.

Python

from ayase import AyasePipeline

pipeline = AyasePipeline(modules=["metadata", "basic_quality"])
results = pipeline.run("./media")

for sample in results.values():
    if sample.quality_metrics is not None:
        print(sample.path.name, sample.quality_metrics.blur_score)

pipeline.export("report.json")
pipeline.export("report.csv", format="csv")

Guides

Task Guide
Run checks, filter files, or configure metrics Usage and configuration
Understand downloads, caches, and backend requirements Managed backends
Integrate through an isolated environment Isolated client
Add a metric or plugin Custom modules
Contribute to Ayase Contributing
Review changes between versions Changelog

APIs and module interfaces may change before 1.0.

License

Ayase's own code is MIT. Bundled components and downloaded model weights retain their own terms; see third-party notices and the model catalog.

Google Colab

Open In Colab

Metadata

Release files for ayase 0.2.3

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

Source distribution (sdist)

Source distribution for ayase 0.2.3
File Size Uploaded Provenance Actions
ayase-0.2.3.tar.gz 37.8 MB Without provenance Details for ayase-0.2.3.tar.gz

Built distribution (wheel)

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

Total release size: 77.6 MB

Release files / ayase-0.2.3.tar.gz

Download URL ayase-0.2.3.tar.gz
Size 37.8 MB
Tags Source
SHA-256 checksum
How to use checksums
859d037bc17bfc1524e2d9dcd6a1ac880d11cee4d1fe86bb88de8b91b1f467f0
BLAKE2b-256 checksum
How to use checksums
9a0e19503b9d190d44868751eeea3e8b831f4a563ad7a9ad53f845f142ccc371
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Release files / ayase-0.2.3-py3-none-any.whl

Download URL ayase-0.2.3-py3-none-any.whl
Size 39.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6ce69b3b723dc12251829dfe495d6859e35682ea4305e5745c0160c85c2ba49b
BLAKE2b-256 checksum
How to use checksums
7cfcf2a2990aee9376c3747e4cfa17de81960f3918da8fdb31ccbe633d5482b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Security for ayase 0.2.3

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.

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files 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