Metadata-Version: 2.4
Name: omni-reason
Version: 1.1.0
Summary: Command line for Omni-Reason Platform: video generation, Data and Benchmark downloads
Author: Omni-Reason Team
License-Expression: Apache-2.0
Project-URL: Homepage, https://omni-reason.com/
Project-URL: Documentation, https://platform.omni-reason.com/docs
Project-URL: Platform, https://platform.omni-reason.com/
Project-URL: Data, https://platform.omni-reason.com/data
Project-URL: Benchmark, https://platform.omni-reason.com/bench
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: tools
Dynamic: license-file

# Use Omni-Reason from your terminal

**“Generate a video online and download approved research data through one command.”**

Every command works through [Platform](https://platform.omni-reason.com/), a free,
non-commercial research service. One sign-in covers all of them. To run the model
on your own hardware, train it or score outputs, use the
[source repository](https://omni-reason.com/).

## Install

Use Python 3.11 or newer in a dedicated environment:

```bash
python3 -m venv .venv
source .venv/bin/activate
python -m pip install omni-reason
omni-reason --help
```

The package has no dependencies. It does not download weights.

## Generate a video on Platform

[Create an account](https://platform.omni-reason.com/register) with your email address,
then approve your terminal login in the browser:

```bash
omni-reason login
omni-reason doctor
```

`doctor` checks your account, allowance and compute without submitting a task.
Your tasks also appear in your private Platform Gallery.

Use **TV2V** for your own input video and instruction:

```bash
omni-reason tv2v "Highlight the visible robot in green." \
  --input input.mp4 --output robot-answer-custom.mp4
```

Use **RV2V** when you also supply a reference image or video:

```bash
omni-reason rv2v "Colorize the video using the reference image." \
  --input grayscale.mp4 --reference reference.png --output colorized-answer.mp4
```

Repeat an interrupted request with the same output path to recover it, or use
`omni-reason jobs watch JOB_ID`. Choose a different output path when you intend
to submit a new task. The [API and CLI guide](https://platform.omni-reason.com/docs)
covers media selection, output duration, queues and cancellation.

## Download Data and Benchmark

Browse the tasks first. This needs no account:

```bash
omni-reason data tasks --search robot
omni-reason benchmark tasks --set Main
```

Apply on the [Data](https://platform.omni-reason.com/data) or
[Benchmark](https://platform.omni-reason.com/bench) page with a free account. A reviewer
checks each source's conditions. After approval, download with the same sign-in:

```bash
omni-reason login
omni-reason data check-access --task tv2v:Task_264
omni-reason data download --task tv2v:Task_264 --limit-per-task 1 --output work/robot-data
omni-reason benchmark download --split mini --task tv2v:Task_264 --output work/mini
```

A download previews the selection and size; repeat with `--execute` to transfer the
files. Use `--all-tasks` for every task of your approval, and raise `--max-bytes` for
selections above 1 GB. Files come straight from storage through short-lived links and
are checked by size, version and checksum. Repeat a stopped download to resume it. The
terms of each source still apply to the downloaded files.

If you signed in before this version, run `omni-reason logout` and `omni-reason login`
once: an older sign-in cannot open Data and Benchmark files.

## Moved commands

`omni-reason model` and the Benchmark scoring commands are in the
[source repository](https://omni-reason.com/): `python model/run.py` and
`python benchmark/evaluate.py`. `data login` and `benchmark login` are no longer needed.

## License

Apache-2.0. Installing code does not grant data or hosted-service access.
