Bria Increase Video Resolution
Transform your videos with AI-powered upscaling and seamless background removal for professional quality.
~212.48s
~$1.113
1import requests
2import json
3
4url = "https://api.segmind.com/v1/bria-increase-video-resolution"
5headers = {
6 "x-api-key": "YOUR_API_KEY",
7 "Content-Type": "application/json"
8}
9
10data = {
11 "video_url": "https://segmind-resources.s3.amazonaws.com/output/0e8d42ea-6116-4a18-9ae7-85cfd7bc917f-9cb5c6e8-9742-4d03-811a-cc86a1ba873c.mp4",
12 "desired_increase": "2",
13 "output_container_and_codec": "mp4_h264"
14}
15
16response = requests.post(url, headers=headers, json=data)
17
18if response.status_code == 200:
19 result = response.json()
20 print(json.dumps(result, indent=2))
21else:
22 print(f"Error: {response.status_code}")
23 print(response.text) 1import requests
2import json
3
4url = "https://api.segmind.com/v1/bria-increase-video-resolution"
5headers = {
6 "x-api-key": "YOUR_API_KEY",
7 "Content-Type": "application/json"
8}
9
10data = {
11 "video_url": "https://segmind-resources.s3.amazonaws.com/output/0e8d42ea-6116-4a18-9ae7-85cfd7bc917f-9cb5c6e8-9742-4d03-811a-cc86a1ba873c.mp4",
12 "desired_increase": "2",
13 "output_container_and_codec": "mp4_h264"
14}
15
16response = requests.post(url, headers=headers, json=data)
17
18if response.status_code == 200:
19 result = response.json()
20 print(json.dumps(result, indent=2))
21else:
22 print(f"Error: {response.status_code}")
23 print(response.text)API Endpoint
POST
https://api.segmind.com/v1/bria-increase-video-resolutionParameters
video_urlrequiredstring (uri)The URL where the video is hosted. Ensure the link is accessible and direct.
desired_increaseoptionalintegerChoose the scale factor for video upscaling. Use '2' for moderate and '4' for high quality enhancement.
Default:
2Allowed values :
24output_container_and_codecoptionalstringSelect output format and compression. Use 'mp4_h264' for compatibility, 'webm_vp9' for web optimization.
Default:
"mp4_h264"Allowed values :
"mp4_h264""mp4_h265""webm_vp9""mov_h265""mov_proresks""mkv_h264""mkv_h265""mkv_vp9""gif"Response Type
Returns: Video
Common Error Codes
The API returns standard HTTP status codes. Detailed error messages are provided in the response body.
400
Bad Request
Invalid parameters or request format
401
Unauthorized
Missing or invalid API key
403
Forbidden
Insufficient permissions
404
Not Found
Model or endpoint not found
406
Insufficient Credits
Not enough credits to process request
429
Rate Limited
Too many requests
500
Server Error
Internal server error
502
Bad Gateway
Service temporarily unavailable
504
Timeout
Request timed out