GET
/v1/schemas/fal/image/fal-ai/phota/enhance
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source traceb86aff925292883305613cdb9656dd5c41c3888fe62f63da3e90ccda130105bb{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
6 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | URL/Base64 data URI of the image to enhance. | |
| output_format | enum | The format of the generated image. | jpeg | png · default: "jpeg" |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. | default: false |
| num_images | integer | Number of images to generate. | 1 ≤ n ≤ 4 · default: 1 |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| profile_ids | string[] | List of profile IDs to use for the image enhancement. The profiles sent over will be used as candidates for identity preservation. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/phota/enhance","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}