BinerAI · Models · Docs · Pricing

jingyunliang / swinir

Image Restoration Using Swin Transformer

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

FieldTypeDescription
jpeginteger, default 40scale factor, activated for JPEG Compression Artifact Reduction. Leave it as default or arbitrary if other tasks are selected
imagestringinput image
noisestring, default 15noise level, activated for Grayscale Image Denoising and Color Image Denoising. Leave it as default or arbitrary if other tasks are selected
task_typestring, 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.