# Convert

## Overview

The video conversion capabilities that we offer are designed to convert input videos into different formats, providing flexibility and compatibility for a wide range of applications and devices. Various input file formats are supported to ensure effortless conversion that meet any specific requirements.

By leveraging this feature, customers can gain access to versatile video conversion capabilities that enhance compatibility, accessibility and workflow efficiency, thus ensuring the video content reaches a wider audience while maintaining its quality and integrity.

## Typical use cases

This service caters to various use cases, including but not limited to:

* **Cross-platform compatibility** - It ensures that the videos are suitable for distribution across different platforms.
* **Device-specific optimization** - The videos can be better optimized for playback on specific devices, such as smartphones, tablets, smart TVs, etc. This makes the viewing experience tailored to each device's capabilities.
* **Archiving and preservation** - The process of archiving and preserving videos can be greatly improved using formats deigned for long-term storage, thus ensuring accessibility and longevity for future use.
* **Content repurposing** - Existing video content can be repurposed for different purposes, such as promotional clips, trailers or snippets for social media marketing campaigns. The videos are adapted to various formats and platforms, increasing reach and engagement.

## API endpoints

Information about the specific API endpoints is available in an always up-to-date documentation, that can be accessed via the following link:

{% embed url="<https://developers.scaleflex.com/#de336cad-43d7-4c13-822c-de0082d11e38>" %}

There, you can find detailed information about the API endpoints, together with all required request parameters, so you know how to interact with them.

## Examples

### Input video

{% embed url="<https://www.pexels.com/download/video/2231485/?fps=23.976&h=720&w=1280>" %}

### Request body

```json
[
    {
        "url":"https://www.pexels.com/download/video/2231485/?fps=23.976&h=720&w=1280"
    }
]
```

### API response

```json
{
    "status": "ok",
    "version": 2.11,
    "result": [
        {
            "uuid": "817abf16-99ce-4fd2-8cda-bd35664c2a2a",
            "url": "https://www.pexels.com/download/video/2231485/?fps=23.976&h=720&w=1280",
            "converted": "https://fbmjmuoeb.filerobot.com/https://filerobot.s3.eu-west-3.amazonaws.com/fbmjmuoeb/converted_videos/mQsvP_/_converted.webm",
            "sha1": "91aaadd5f7c0f5dc279ab33bc3df4f031b5d1e9c",
            "progress": "https://api.filerobot.com/fbmjmuoeb/v4/video-status/ZXUtb3YtNzA2LWdyYTIuZWxhc3RpYy11cGxvYWRlci5haXJzdG9yZS5zY2FsM2ZsM3guY29tOjg3MzI__817abf16-99ce-4fd2-8cda-bd35664c2a2a"
        }
    ]
}
```


---

# Agent Instructions: 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:

```
GET https://docs.scaleflex.com/dynamic-media-optimization-dmo/transformations/video-optimization/video-api/optimizing/convert.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
