GET
/v1/schemas/fal/image/fal-ai/post-processing/grain
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source traced33410252b14d208433e779d417cae3ca9e0cf3981a6d35972145bc69bedd294{
"fetchedAt": 1783331098,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
4 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | URL of image to process | |
| grain_style | enum | Style of film grain to apply | modern | analog | kodak | fuji | cinematic | newspaper · default: "modern" |
| grain_intensity | number | Film grain intensity | 0 ≤ n ≤ 1 · default: 0.4 |
| grain_scale | number | Film grain scale | 1 ≤ n ≤ 100 · default: 10 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/post-processing/grain","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}