In today's mobile-first world, the demand for vertical videos is skyrocketing. Developers need robust solutions for converting traditional horizontal videos to vertical formats effortlessly. FFMPEGAPI.net offers a powerful hosted REST API that allows you to achieve just that without the hassle of server setup or infrastructure management.
Why Choose FFMPEGAPI.net for Video Conversion
FFMPEGAPI.net simplifies the video editing process by providing a hosted solution where you can convert videos programmatically without worrying about maintaining any servers.
With our API-key authentication, developers can seamlessly integrate video processing capabilities into their applications, making it ideal for automation, SaaS applications, content pipelines, and AI agents.
- No server management required.
- Quick and easy video conversion.
- API-key authentication for secure integrations.
- Supports additional features like watermarking.
API Endpoint: Convert to Vertical
The 'Convert to Vertical' endpoint is a POST request that allows you to transform a horizontal video into a vertical format. This is particularly useful for content meant for mobile platforms.
You can also add an optional watermark to the video, enhancing branding and user engagement.
- Endpoint Path: `/api/convert_to_vertical`
- Request Method: POST
- Content Type: application/json
curl -X POST https://ffmpegapi.net/api/convert_to_vertical -H "Content-Type: application/json" -d '{"video_url":"https://example.com/landscape.mp4", "watermark_url":"https://example.com/logo.png", "async": false}'
import requests
url = 'https://ffmpegapi.net/api/convert_to_vertical'
data = {
'video_url': 'https://example.com/landscape.mp4',
'watermark_url': 'https://example.com/logo.png',
'async': False
}
response = requests.post(url, json=data)
print(response.json())
Parameters for Video Conversion
The following parameters are essential when using the Convert to Vertical endpoint:
1. **video_url**: The URL of the video you want to convert (required).
2. **watermark_url**: The URL of an optional watermark image (optional).
3. **async**: A boolean that specifies whether to process the video in the background and return a job ID immediately (optional).
FFMPEGAPI.net provides an unparalleled solution for developers looking to convert horizontal videos to vertical formats seamlessly. With its easy-to-use API, robust features, and no server management required, it's the best choice for programmatic video editing. Start your integration today and take your video content to the next level!