> For the complete documentation index, see [llms.txt](https://doc.ozforensics.com/oz-knowledge-ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.ozforensics.com/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api/media-tags.md).

# Теги медиафайлов

## Теги видеофайлов

Для видеофайлов в Системе должны быть указаны следующие типы тегов:

* Тег, определяющий тип данных «видео»:
  * `video_selfie`
* Тег, определяющий ориентацию видео:
  * `orientation_portrait` – портретная ориентация;
  * `orientation_landscape` – ландшафтная ориентация.
* Тег, определяющий действие на видео:
  * `video_selfie_left` – поворот головы налево;
  * `video_selfie_right` – поворот головы направо;
  * `video_selfie_down` – наклон головы вниз;
  * `video_selfie_high` – наклон головы вверх;
  * `video_selfie_smile` – улыбка;
  * `video_selfie_eyes` – моргание;
  * `video_selfie_scan` – сканирование;
  * `video_selfie_blank` – нет действия;
  * `video_selfie_oneshot` – анализ по одному кадру.

<mark style="background-color:red;">С 1 января 2027 года однокадровый анализ (жест One Shot) будет отключен. Пожалуйста, спланируйте</mark> [<mark style="background-color:red;">миграцию</mark>](/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/instrukcii-po-migracii/perekhod-s-odnokadrovogo-analiza.md) <mark style="background-color:red;">заранее.</mark>

Алгоритмы распознают файлы с тегами из этого списка как подходящие для выполнения анализов [Quality](/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api/types-of-analyzes.md#quality-liveness-best-shot) (Liveness) и [Biometry](/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api/types-of-analyzes.md#biometry).

Важно: в версии API 4.0.8 или старше, чтобы отправить на анализ Quality (Liveness) изображение, а не видео, необходимо поместить его в архив .zip, установить тип файла `SHOTS_SET` и поставить один из тегов `video_`, иначе Quality изображение проигнорирует.

Пример корректного набора тегов видеофайла с действием «моргание»:

```javascript
  "video1": [
      "video_selfie",
      "video_selfie_eyes",
      "orientation_portrait"
    ]
```

## Теги фотофайлов

Для фотофайлов в Системе должны быть указаны следующие типы тегов:

* Тег для селфи:
  * `photo_selfie` – тег, определяющий тип фотографии «селфи»
* Теги для фотографий или сканов удостоверений личности:
  * `photo_id` – тег, определяющий тип фотографии «документы»;
  * `photo_id_front` – фото лицевой стороны документа;
  * `photo_id_back` – фото обратной стороны документа (любые другие анализы, кроме Документов, файлы с этим тегом игнорируют).

Важно: в версии API 4.0.8 или старше, чтобы отправить на анализ Quality (Liveness) изображение, а не видео, необходимо поместить его в архив .zip, установить тип файла `SHOTS_SET` и поставить один из тегов `video_`, иначе Quality изображение проигнорирует.

Пример корректного набора тегов фотофайла «селфи»:

```javascript
  "photo1": [
      "photo_selfie"
  ]
```

Пример корректного набора тегов фотофайла с лицевой стороной документа:

```javascript
"photo1": [
    "photo_id", "photo_id_front"
]
```

Пример корректного набора тегов фотофайла с обратной стороной документа:

```javascript
"photo1": [
    "photo_id", "photo_id_back"
]
```


---

# 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://doc.ozforensics.com/oz-knowledge-ru/rukovodstva/rukovodstvo-razrabotchika/api/oz-api/media-tags.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.
