jingyunliang / swinir
Image Restoration Using Swin Transformer
- Price: $0.0004 per second of GPU time, billed from prepaid credit. Failed runs are free.
- License: Apache-2.0
- Source: https://github.com/JingyunLiang/SwinIR
- Collection: Edit images
- Status: available now
Run jingyunliang/swinir with the API
curl -s https://binerai.biner.dev/v1/predictions \
-H "Authorization: Bearer $BINERAI_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model":"jingyunliang/swinir","input":{"image":"https://example.com/input.png"}}'
Then poll GET https://binerai.biner.dev/v1/predictions/:id or pass a webhook URL. Full reference: API docs.
Input
| Field | Type | Description |
|---|---|---|
jpeg | integer, default 40 | scale factor, activated for JPEG Compression Artifact Reduction. Leave it as default or arbitrary if other tasks are selected |
image | string | input image |
noise | string, default 15 | noise level, activated for Grayscale Image Denoising and Color Image Denoising. Leave it as default or arbitrary if other tasks are selected |
task_type | string, default "Real-World Image Super-Resolution-Large" | Choose a task |
Examples
Example runs from Replicate.
- Example input
- Example input
- Example input
- Example input
- Example input
Description via replicate.