Skip to content

Commit 59bb8bd

Browse files
authored
Merge pull request #7 from cloud-py-api/feat/visionatrix-1.9
version 1.1
2 parents b8ccb48 + 2ad0808 commit 59bb8bd

File tree

11 files changed

+253
-151
lines changed

11 files changed

+253
-151
lines changed

CHANGELOG.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,39 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.1.0 - 2024-12-18]
6+
7+
The [Visionatrix](https://github.com/Visionatrix/Visionatrix) service has been updated from version `1.4.1` to `1.9.0`.
8+
The main changes are summarized below:
9+
10+
### Added
11+
12+
- Support for flows that produce `video` files as output.
13+
- `OpenAPI` specs support, enabling easier development of Nextcloud Apps that can seamlessly use Visionatrix flows.
14+
- Many new `flows` with updated models.
15+
- Parallel installation of `flows` and `models`.
16+
17+
### Changed
18+
19+
- Online `flows` and `models` storage has been separated, ensuring the integration remains stable.
20+
- Added support for both `Ollama` and `Gemini` as providers for `Vision` and `Prompt translation`.
21+
22+
### Fixed
23+
24+
- Numerous bug fixes and significant performance improvements.
25+
526
## [1.0.1 - 2024-10-18]
627

728
### Changed
829

9-
- Bumped bundled Visionatrix from `1.3.0` to `1.4.1` version, changelog can be found [here](https://github.com/Visionatrix/Visionatrix/releases/tag/v1.4.0)
30+
- Updated the bundled Visionatrix from version `1.3.0` to `1.4.1`. The changelog for this update can be found [here](https://github.com/Visionatrix/Visionatrix/releases/tag/v1.4.0).
1031

1132
### Fixed
1233

13-
- Warning "sudo: unable to resolve host" during container startup.
34+
- Resolved the warning "sudo: unable to resolve host" during container startup.
1435

1536
## [1.0.0 - 2024-09-25]
1637

1738
### Added
1839

19-
- First release with bundled Visionatrix version `1.3.0`
40+
- Initial release with the bundled Visionatrix version `1.3.0`.

Dockerfile

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
1-
FROM python:3.10-slim
1+
FROM python:3.12-slim
22

33
ARG BUILD_TYPE
44

55
# Visionatrix enviroment variables
66
ENV VIX_HOST="127.0.0.1"
77
ENV VIX_PORT=8288
88
ENV USER_BACKENDS="vix_db;nextcloud"
9-
ENV FLOWS_DIR="/nc_app_visionatrix_data/vix_flows"
109
ENV MODELS_DIR="/nc_app_visionatrix_data/vix_models"
1110
ENV TASKS_FILES_DIR="/nc_app_visionatrix_data/vix_tasks_files"
12-
ENV BACKEND_DIR="/Visionatrix/vix_backend"
1311
ENV VIX_SERVER_FULL_MODELS="1"
1412

1513
RUN apt-get update && apt-get install -y git \
1614
python3-dev python3-setuptools netcat-traditional \
1715
libxml2-dev libxslt1-dev zlib1g-dev g++ \
18-
ffmpeg libsm6 libxext6 lsb-release sudo wget procps nano xmlstarlet
16+
ffmpeg libsm6 libxext6 lsb-release sudo wget procps nano xmlstarlet && \
17+
apt-get autoclean
18+
19+
ADD ex_app_scripts/common_pgsql.sh /ex_app_scripts/
20+
RUN chmod +x /ex_app_scripts/common_pgsql.sh
21+
22+
ADD ex_app_scripts/install_pgsql.sh /ex_app_scripts/
23+
RUN chmod +x /ex_app_scripts/install_pgsql.sh && /ex_app_scripts/install_pgsql.sh && rm /ex_app_scripts/install_pgsql.sh
1924

2025
COPY appinfo/info.xml /info.xml
2126

@@ -44,7 +49,12 @@ RUN cd /Visionatrix && \
4449
RUN cd /Visionatrix && \
4550
venv/bin/python -m pip install "psycopg[binary]" greenlet && \
4651
venv/bin/python -m pip install . && \
52+
rm -rf ~/.cache/pip
53+
54+
RUN cd /Visionatrix && \
4755
venv/bin/python -m visionatrix install && \
56+
AUTO_INIT_CONFIG_MODELS_DIR=$MODELS_DIR venv/bin/python scripts/easy_install.py && \
57+
rm visionatrix.db && \
4858
rm -rf ~/.cache/pip
4959

5060
# Setup nodejs and npm for building the front-end client

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ APP_ID := visionatrix
44
APP_NAME := Visionatrix
55
APP_VERSION := $$(xmlstarlet sel -t -v "//version" appinfo/info.xml)
66
VISIONATRIX_VERSION := $$(xmlstarlet sel -t -v "//image-tag" appinfo/info.xml)
7-
JSON_INFO := "{\"id\":\"$(APP_ID)\",\"name\":\"$(APP_NAME)\",\"daemon_config_name\":\"manual_install\",\"version\":\"$(APP_VERSION)\",\"secret\":\"12345\",\"port\":9100, \"routes\": [{\"url\":\".*\",\"verb\":\"GET, POST, PUT, DELETE\",\"access_level\":1,\"headers_to_exclude\":[]}], \"translations_folder\":\"\/tmp\/vix_l10n\"}"
7+
JSON_INFO := "{\"id\":\"$(APP_ID)\",\"name\":\"$(APP_NAME)\",\"daemon_config_name\":\"manual_install\",\"version\":\"$(APP_VERSION)\",\"secret\":\"12345\",\"port\":24000, \"routes\": [{\"url\":\".*\",\"verb\":\"GET, POST, PUT, DELETE\",\"access_level\":1,\"headers_to_exclude\":[]}], \"translations_folder\":\"\/tmp\/vix_l10n\"}"
88

99

1010
.PHONY: help

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ This is a standalone [Visionatrix](https://github.com/Visionatrix/Visionatrix) s
1616

1717
Each user is authenticated via Nextcloud credentials and has a personal task history.
1818

19+
> [!NOTE]
20+
> We recommend starting with the "light-weight" flows, such as SDXL Lighting, Remove background (BiRefNet), and Remove background (Bria), to test your hardware.
21+
1922
## TextToImage Provider
2023

2124
You can use Visionatrix as the TextToImage provider via [Nextcloud Assistant](https://github.com/nextcloud/assistant).
@@ -48,12 +51,12 @@ Once the Visionatrix flow is installed and supported, it will be registered as a
4851

4952
We offer two types of installation:
5053

51-
1. **Standard Installation**: This includes both the Visionatrix server for task management and a built-in worker for task processing.
54+
1. **Standard Installation**: Includes both the Visionatrix server for task management and a built-in worker for task processing.
5255

53-
> For this installation, you'll need either a powerful CPU with at least 32 GB of RAM or a GPU with at least 10 GB of VRAM.
54-
> _(Support for 8 GB GPUs is planned)._
56+
> For this installation, you'll need either a powerful CPU with at least 32 GB of RAM or a GPU with at least 8 GB of VRAM.
57+
> _(Some flows, like background removal, are fast even on CPU and don’t require high-end hardware.)_
5558

56-
2. **Advanced Installation**: Starting from Nextcloud version `30.0.2`, you can install only the server component by setting `DISABLE_WORKER=1` in the environment variables during application installation. In this mode, the server will manage tasks, while external workers (installed elsewhere) will process them.
59+
2. **Advanced Installation**: Starting from Nextcloud version `31`, you can install only the server component by setting `DISABLE_WORKER=1` in the environment variables during application installation. In this mode, the server will manage tasks, while external workers (installed elsewhere) will process them.
5760

5861
> [!NOTE]
5962
> Worker authentication uses Nextcloud credentials. If 2FA is enabled, you will need to use an App Password to connect external workers.

appinfo/info.xml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,38 @@
44
<name>Visionatrix</name>
55
<summary>Visionatrix - scalable AI Media processing</summary>
66
<description>
7-
<![CDATA[Nextcloud Visionatrix is a standalone [Visionatrix](https://github.com/Visionatrix/Visionatrix) service that allows you to process your media files right within your Nextcloud.
7+
<![CDATA[The best open-source solution for media processing, [ComfyUI](https://github.com/comfyanonymous/ComfyUI), extended with [Visionatrix](https://github.com/Visionatrix/Visionatrix), now available in your personal Nextcloud.
88
9-
*Each user gets their own Visionatrix account, authenticated using Nextcloud credentials, with a personalized task history.*
9+
✨ Process your media files directly in Nextcloud using powerful, customizable AI workflows.
1010
1111
---
1212
13-
Experience the full potential of [ComfyUI](https://github.com/comfyanonymous/ComfyUI) integrated directly into Nextcloud Visionatrix, empowering you to explore a wide array of pre-built AI workflows or develop and integrate your own with ease.
13+
- 🌟 **Ready-to-use flows**: A library of workflows for various AI tasks.
14+
- 🛠️ **Custom workflows**: Design and adapt workflows to fit your needs.
15+
- 🤝 **Nextcloud integration**: Use Visionatrix with Nextcloud Assistant as an AI provider for seamless media processing.
16+
- 🚀 **Parallel task processing**: Scale up your workflows with support for parallel execution.
17+
- 🌍 **Multilingual prompts**: Create AI content in any language supported by your chosen language model (e.g., QWEN or Gemini).
18+
- 🤖 **LLM integration**: Use Ollama (LLM + Vision) and Google Gemini for enhanced functionality.
19+
- 🖥️ **Hardware support**: Works on both CPU and GPU, with flexibility for various configurations.
1420
15-
- 🌐 **Ready-to-Use Flows**: Access an extensive collection of high-quality ComfyUI flows tailored for various AI tasks.
16-
- 🛠️ **Custom Flow Development**: Build, modify, and enhance your own workflows, adapting them to your unique requirements.
17-
- 🚀 **Seamless Integration**: Enjoy a unified experience where ComfyUI's power meets Nextcloud’s efficiency, offering an unparalleled AI workflow ecosystem.
21+
---
22+
23+
⚠️ **This version is in beta** as we continue developing key features to deliver a complete and polished product:
24+
25+
- 💬 Chat interface with an AI media assistant.
26+
- ✏️ Support for editing workflows directly within the Nextcloud interface using the ComfyUI interface.
27+
- 🔄 On-the-fly model support for [CivitAI](https://civitai.com).
28+
- ⚙️ Enhanced configuration for ultra low-VRAM GPUs (4 GB) and other performance improvements.
1829
1930
---
2031
21-
Nextcloud Visionatrix can also be used from within the Nextcloud Assistant as a "txt2img" image provider, making it your go-to solution for all AI-powered media processing needs.
32+
💡 **We value your feedback and contributions!**
2233
23-
Embrace the next level of AI flow management with the synergy of ComfyUI and Nextcloud today!
34+
Share your custom workflows, big or small. For guidance on creating AI workflows, join our [discussions](https://github.com/Visionatrix/Visionatrix/discussions). Contributions to the [documentation](https://visionatrix.github.io/VixFlowsDocs/) are always welcome.
2435
25-
For more information, see the [repository](https://github.com/cloud-py-api/visionatrix) readme file.
36+
📚 For more details, visit the [repository](https://github.com/cloud-py-api/visionatrix) readme.
2637
]]></description>
27-
<version>1.0.1</version>
38+
<version>1.1.0</version>
2839
<licence>MIT</licence>
2940
<author mail="[email protected]" homepage="https://github.com/andrey18106">Andrey Borysenko</author>
3041
<author mail="[email protected]" homepage="https://github.com/bigcat88">Alexander Piskun</author>
@@ -44,7 +55,7 @@ For more information, see the [repository](https://github.com/cloud-py-api/visio
4455
<docker-install>
4556
<registry>ghcr.io</registry>
4657
<image>cloud-py-api/visionatrix</image>
47-
<image-tag>1.4.1</image-tag>
58+
<image-tag>1.9.0</image-tag>
4859
</docker-install>
4960
<routes>
5061
<route>

0 commit comments

Comments
 (0)