Image Super Resolution
Use SeedVR2 to restore low-resolution, compressed, or mildly blurred images and enhance fine details while preserving the original content and composition. It is suitable for restoring older assets, repurposing content, and preparing high-resolution deliverables.
Typical Application Scenarios
- Low-resolution restoration: Reduce compression artifacts, mild blur, and missing fine details.
- Content enhancement: Upgrade older or small-format assets for high-resolution presentation.
- Workflow preprocessing: Improve source-image quality before image editing or 3D reconstruction.
Best Practices
TIP
- Only the
seedvr2model is currently supported. - Use an image with a recognizable subject and no severe occlusion. Super resolution can enhance existing details but cannot reliably reconstruct content that is entirely missing.
- Inputs may be a returned
asset_path, Base64 image data, or a publicly accessible HTTPS URL.
API Reference used on this page POST /images/processes
Basic Examples
bash
curl -X POST 'https://api.v2fun.ai/api/v1/images/processes' \
-H 'Authorization: Bearer $V2FUN_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "seedvr2",
"input_image": "https://asset.v2fun.ai/upload/img-basic.png"
}'javascript
const response = await fetch('https://api.v2fun.ai/api/v1/images/processes', {
method: 'POST',
headers: {
'Authorization': 'Bearer $V2FUN_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "seedvr2",
"input_image": "https://asset.v2fun.ai/upload/img-basic.png"
}),
});
const data = await response.json();python
import requests
resp = requests.post(
'https://api.v2fun.ai/api/v1/images/processes',
headers={
'Authorization': 'Bearer $V2FUN_API_KEY',
'Content-Type': 'application/json',
},
json={
"model": "seedvr2",
"input_image": "https://asset.v2fun.ai/upload/img-basic.png"
},
)
print(resp.json())java
import java.net.URI;
import java.net.http.*;
HttpClient client = HttpClient.newHttpClient();
String body = "{\"model\":\"seedvr2\",\"input_image\":\"https://asset.v2fun.ai/upload/img-basic.png\"}";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.v2fun.ai/api/v1/images/processes"))
.header("Authorization", "Bearer $V2FUN_API_KEY")
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = client.send(
request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());