# Dual License

This software is available under a dual licensing model.

## For Non-Commercial Use

This work is licensed under a modified Creative Commons Attribution-NonCommercial 4.0
International License, with additional requirements:

### Attribution Requirements

1. **Mandatory Credit**: You must give appropriate credit to Eric Hiss as the original
   author by:
   - Including a link to the original repository
     (https://github.com/EricRollei/Visual_Research) in any documentation
   - Maintaining the original copyright and license notices in all copies or substantial
     portions of the software
   - Including attribution comments in your code that clearly state
     "Based on work by Eric Hiss (https://github.com/EricRollei/Visual_Research)"

2. **Modification Notice**: If you modify the software, you must clearly indicate what
   changes were made and attribute the original work to Eric Hiss.

3. **No Endorsement**: You may not use the name of the author or contributors to endorse
   or promote products derived from this software without specific prior written permission.

### Additional Restrictions

- **NonCommercial** — You may not use the material for commercial purposes.
- **No Redistribution Without Attribution** — You may not redistribute this code without
  the required attribution as specified above.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT.

### For the full text of the CC BY-NC 4.0 License

Visit http://creativecommons.org/licenses/by-nc/4.0/ or send a letter to Creative Commons,
PO Box 1866, Mountain View, CA 94042, USA.

---

## For Commercial Use

For commercial use of this software, a separate commercial license is required.

Please contact Eric Hiss at eric@rollei.us or eric@historic.camera for licensing options
and terms.

### Commercial License Terms (General Overview)

1. **Definition of Commercial Use**: Any use of the software that is primarily intended
   for or directed toward commercial advantage or monetary compensation.

2. **License Grant**: Subject to payment of applicable fees and compliance with the terms
   of the commercial license agreement, licensee will be granted a non-exclusive,
   non-transferable license to use the software for commercial purposes.

3. **Mandatory Attribution**: All commercial uses must include appropriate attribution to
   Eric Hiss and a link to the original repository in a manner appropriate to the medium,
   visible to end users.

4. **Restrictions**: The commercial license does not allow redistribution, modification,
   or creation of derivative works without explicit permission and additional licensing.

5. **Support**: Commercial licenses may include support options depending on the specific
   agreement.

6. **Liability**: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR
   A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
   HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
   CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
   THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For detailed commercial license terms and pricing, please contact the author directly.

---

## Models

This project is designed to work with the following AI models:

### Gen-Searcher-8B
A fine-tuned vision-language model trained to perform multi-hop web research for
image generation. Fine-tuned from Qwen3-VL-8B by Eric Hiss.
- Base model: Qwen3-VL-8B (see Qwen3-VL below)
- Fine-tune author: Eric Hiss
- Intended use: agentic web research and visual reference gathering inside ComfyUI

### Qwen3-VL-8B
Vision-language model by Alibaba Cloud / Qwen Team.
- License: Apache 2.0
- Repository: https://github.com/QwenLM/Qwen2.5-VL
- Model card: https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct
- Paper: https://arxiv.org/abs/2502.13923
- Copyright: Copyright (c) Alibaba Cloud. All rights reserved.

---

## Inference Runtime

### SGLang
Fast inference and serving framework for LLMs and VLMs.
- License: Apache 2.0
- Repository: https://github.com/sgl-project/sglang
- Copyright: Copyright (c) 2023-2024 SGLang Team

---

## Third-Party Services

This project optionally integrates with external web services. Each service is subject to
its own terms of service and privacy policy, which users are responsible for reviewing and
accepting before use.

### Serper (Google Search API)
Web search service used for research queries.
- Website: https://serper.dev
- Terms of Service: https://serper.dev/terms
- Free tier: 2,500 queries/month; paid plans available
- Users must supply their own API key.

### Jina AI Reader
Web page content extraction service.
- Website: https://jina.ai/reader/
- Terms of Service: https://jina.ai/legal/terms
- Free tier available; paid plans available
- Users must supply their own API key (or use anonymously within rate limits).

---

## Third-Party Tools

### gallery-dl
Command-line program to download image galleries from various websites.
- License: GNU General Public License v2.0 (GPL-2.0)
- Repository: https://github.com/mikf/gallery-dl
- Copyright: Copyright (c) 2014-2024 Mike Fährmann
- Note: gallery-dl is an optional external binary invoked as a subprocess.
  It is not bundled with this package. The GPL-2.0 license applies to gallery-dl
  itself; this project does not incorporate gallery-dl source code.

---

## Third-Party Libraries

This project depends on the following third-party Python libraries:

### PyTorch
Open source machine learning framework.
- License: BSD 3-Clause ("New BSD License")
- Repository: https://github.com/pytorch/pytorch
- Copyright: Copyright (c) 2016-present, Facebook Inc. All rights reserved.
- Full license text: https://github.com/pytorch/pytorch/blob/main/LICENSE

### Pillow (PIL Fork)
Python Imaging Library fork for image processing.
- License: Historical Permission Notice and Disclaimer (HPND)
- Repository: https://github.com/python-pillow/Pillow
- Copyright: Copyright (c) 2010-present by Jeffrey A. Clark and contributors
- Full license text: https://github.com/python-pillow/Pillow/blob/main/LICENSE

### NumPy
Fundamental package for scientific computing with Python.
- License: BSD 3-Clause
- Repository: https://github.com/numpy/numpy
- Copyright: Copyright (c) 2005-present NumPy Developers. All rights reserved.
- Full license text: https://github.com/numpy/numpy/blob/main/LICENSE.txt

---

Copyright (c) 2026 Eric Hiss. All rights reserved.
