ReplicateImage to imageComing soon
topazlabs/dust-and-scratch-v2
topazlabs/dust-and-scratch-v2 is an image to image tool from Replicate that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Price pendingPricing
Price pending.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
image required | URL or file | — | Image with dust, scratches, or surface imperfections to restore |
grain | true or false | false | Apply film grain effect to the output |
grain_size | number (whole) 1 to 5 | 1 | Size of the grain particles from 1 to 5 |
grain_model | JSON | silver rich | Type of grain to apply: silver rich (classic film look), gaussian (uniform noise), or grey (monochromatic grain) |
grain_density | number (whole) 0 to 60 | 30 | Density of the grain particles from 0 to 60 |
output_format | JSON | jpg | Output format |
grain_strength | number (whole) 0 to 60 | 30 | Intensity of the grain effect from 0 to 60 |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "replicate",
"model": "topazlabs/dust-and-scratch-v2",
"input": {
"image": "<image>"
}
}'