> For the complete documentation index, see [llms.txt](https://metaverse-imagen.gitbook.io/ai-tools-research/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://metaverse-imagen.gitbook.io/ai-tools-research/ai-tools-main-categories/ai-resources/ai-autonomous-agents/photonai-python-api.md).

# PHOTONAI (Python API)

PHOTONAI is a high level Python API for designing and optimizing Machine Learning Pipelines.

{% embed url="<https://photon-ai.com/>" %}

### PHOTONAI FEATURES

1. **EASY ACCESS TO ML IMPLEMENTATIONS:** We pre-registered diverse preprocessing and learning algorithms from state-of-the-art toolboxes e.g. Scikit-learn, Keras and Imbalanced learn, which you can choose to rapidly build custom pipelines.
2. **HYPERPARAMETER OPTIMIZATION:** With PHOTONAI you can seamlessly switch between diverse hyperparameter optimization strategies, such as (random) grid-search or Bayesian Optimization (scikit-optimize, smac3).
3. **MODEL SHARING PHOTONAI:** provides a standardized format for sharing and loading optimized models and pipelines across platforms with only one line of code.
4. **EXTENDED ML PIPELINE:** You can build custom sequences of processing and learning algorithms with a simple syntax. PHOTONAI offers extended pipeline functionality such as parallel sequences, custom callbacks in-between pipeline elements, AND- and OR-Operations, as well as the possibility to flexibly position data augmentation, class balancing or learning algorithms anywhere in the pipeline.
5. **AUTOMATION:** While you concentrate on selecting appropriate processing steps, learning algorithms, hyperparameters and training parameters, PHOTONAI automates the nested cross-validated optimization and evaluation loop for any custom pipeline.
6. **RESULT LOGGING PHOTONAI:** comes with extensive logging of all information in the training, testing and hyperparameter optimization process. In addition, optimum performances and the hyperparameter optimization progress are visualized in the PHOTONAI Explorer.

{% embed url="<https://explorer.photon-ai.com/?demo=1>" %}

Example Video: <https://www.youtube.com/watch?v=0tDFCZr5cA8>

Photon can create fantastic Photo Style AI Images. It is also perfect for rendering your LoRA's with this Model. This Video shows some tricks and settings to get the highest quality results. This video also shows you how to get really nice upscales, even for older GPUs


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://metaverse-imagen.gitbook.io/ai-tools-research/ai-tools-main-categories/ai-resources/ai-autonomous-agents/photonai-python-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
