UPDATE: What's new
This commit is contained in:
parent
17f031356a
commit
0458e56cb9
16
API.md
16
API.md
@ -83,3 +83,19 @@ A list of available models can be seen by GET:
|
||||
* http://127.0.0.1:7860/reactor/models
|
||||
* http://127.0.0.1:7860/reactor/upscalers
|
||||
* http://127.0.0.1:7860/reactor/facemodels
|
||||
|
||||
### FaceModel Buid API
|
||||
|
||||
Send POST to http://127.0.0.1:7860/reactor/facemodels with body:
|
||||
|
||||
```
|
||||
{
|
||||
"source_images": ["data:image/png;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABQAAD/7g...","data:image/png;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABQAAD/7g...","data:image/png;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABQAAD/7g..."],
|
||||
"name": "my_super_model",
|
||||
"compute_method": 0
|
||||
}
|
||||
```
|
||||
|
||||
where:<br>
|
||||
"source_images" is a list of base64 encoded images,<br>
|
||||
"compute_method" is: 0 - Mean, 1- Median, 2 - Mode
|
||||
|
||||
@ -40,8 +40,15 @@
|
||||
|
||||
## What's new in the latest updates
|
||||
|
||||
### 0.7.1 <sub><sup>BETA1
|
||||
|
||||
- Allow spaces for face indexes (e.g.: 0, 1, 2)
|
||||
- Sorting of face models list alphabetically
|
||||
- [FaceModels Build API](./API.md#facemodel-build-api)
|
||||
- Fixes and improvements
|
||||
|
||||
<details>
|
||||
<summary><a>Click to expand</a></summary>
|
||||
<summary><a>Click to expand more</a></summary>
|
||||
|
||||
### 0.7.0 <sub><sup>BETA2
|
||||
|
||||
|
||||
@ -39,8 +39,15 @@
|
||||
|
||||
## Что нового в последних обновлениях
|
||||
|
||||
### 0.7.1 <sub><sup>BETA1
|
||||
|
||||
- Использование пробелов в индексах лиц (пример: 0, 1, 2)
|
||||
- Список моделей лиц теперь отсортирован по алфавиту
|
||||
- [API для создания моделей лиц](./API.md#facemodel-build-api)
|
||||
- Правки и улучшения
|
||||
|
||||
<details>
|
||||
<summary><a>Нажмите, чтобы посмотреть</a></summary>
|
||||
<summary><a>Нажмите, чтобы посмотреть больше</a></summary>
|
||||
|
||||
### 0.7.0 <sub><sup>BETA2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user