Bria Increase Video Resolution
Transform your videos with AI-powered upscaling and seamless background removal for professional quality.
API
If you're looking for an API, you can choose from your desired programming language.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import requests
import base64
# Use this function to convert an image file from the filesystem to base64
def image_file_to_base64(image_path):
with open(image_path, 'rb') as f:
image_data = f.read()
return base64.b64encode(image_data).decode('utf-8')
# Use this function to fetch an image from a URL and convert it to base64
def image_url_to_base64(image_url):
response = requests.get(image_url)
image_data = response.content
return base64.b64encode(image_data).decode('utf-8')
# Use this function to convert a list of image URLs to base64
def image_urls_to_base64(image_urls):
return [image_url_to_base64(url) for url in image_urls]
api_key = "YOUR_API_KEY"
url = "https://api.segmind.com/v1/bria-increase-video-resolution"
# Request payload
data = {
"video_url": "https://segmind-resources.s3.amazonaws.com/output/0e8d42ea-6116-4a18-9ae7-85cfd7bc917f-9cb5c6e8-9742-4d03-811a-cc86a1ba873c.mp4",
"desired_increase": 2,
"output_container_and_codec": "mp4_h264"
}
headers = {'x-api-key': api_key}
response = requests.post(url, json=data, headers=headers)
print(response.content) # The response is the generated image
Attributes
The URL where the video is hosted. Ensure the link is accessible and direct.
Choose the scale factor for video upscaling. Use '2' for moderate and '4' for high quality enhancement.
Allowed values:
Select output format and compression. Use 'mp4_h264' for compatibility, 'webm_vp9' for web optimization.
Allowed values:
To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.
Resources to get you started
Everything you need to know to get the most out of Bria Increase Video Resolution
# Bria AI Video Enhancement: Professional Video Upscaling & Background Removal
Bria AI Video Enhancement is a versatile suite designed for developers and content creators who need high-quality upscaling and precise background removal. By configuring the right parameters, you can automate complex video edits while preserving frame rate, aspect ratio, and color fidelity. Below is a concise guide to help you leverage this model effectively.
## 1. Core Parameters
- **video_url** (required): Publicly accessible URL of your source video (e.g., `https://example.com/video.mp4`).
- **desired_increase** (optional): Upscaling factor.
- `2` (default) — Moderate enhancement for 1080p to 4K.
- `4` — Aggressive enhancement for 720p to 4K/8K.
- **output_container_and_codec** (optional): Output format and codec.
- `mp4_h264` (default) — Broad compatibility (web, mobile, desktop).
- `webm_vp9` — Optimized for modern browsers and smaller file size.
- `mov_proresks` — Ideal for professional editing workflows (Adobe Premiere, Final Cut).
- `mp4_h265`, `mkv_h264`, `mkv_h265`, `mkv_vp9`, `mov_h265`, `gif` — Specialized use cases.
## 2. Suggested Settings by Use Case
1. **Social Media & Web**
- desired_increase: `2`
- output_container_and_codec: `webm_vp9`
- Benefit: Fast loading, small file size, wide browser support.
2. **E-Commerce & Marketing**
- desired_increase: `2` or `4` (choose based on source quality)
- output_container_and_codec: `mp4_h264`
- Benefit: Universal playback on desktop and mobile; preserves sharpness.
3. **Professional Post-Production**
- desired_increase: `4`
- output_container_and_codec: `mov_proresks`
- Benefit: Lossless alpha channel support; seamless integration into NLEs.
4. **Archival & Legacy Content**
- desired_increase: `4`
- output_container_and_codec: `mkv_h265`
- Benefit: High compression ratio, retains detail for long-term storage.
## 3. Background Removal Tips
- Ensure your subject is evenly lit and contrasts with the background.
- Use higher bitrate codecs (e.g., `mov_proresks`) to preserve fine edges and transparency.
- Combine with 2x upscaling to refine leftover artifacts.
## 4. Best Practices
1. Validate that `video_url` is direct and publicly accessible (no redirects or auth).
2. Test a short sample clip (5–10 seconds) before batch processing.
3. Monitor the asynchronous job via the returned job ID and status URL.
4. Compare outputs side by side to fine-tune scaling factors and codec choices.
By selecting the appropriate `desired_increase` and `output_container_and_codec`, you can tailor Bria AI Video Enhancement to meet any production requirement—from quick web uploads to broadcast-quality deliverables.
Other Popular Models
Discover other models you might be interested in.
storydiffusion
Story Diffusion turns your written narratives into stunning image sequences.

sadtalker
Audio-based Lip Synchronization for Talking Head Video

faceswap-v2
Take a picture/gif and replace the face in it with a face of your choice. You only need one image of the desired face. No dataset, no training

codeformer
CodeFormer is a robust face restoration algorithm for old photos or AI-generated faces.
