GET
/v1/schemas/fal/image/fal-ai/recraft/v3/image-to-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace17a0e65a03dc313d238a00dc497bbdb1c8e00ec7279c60dabbb44a234184ee6a{
"fetchedAt": 1791522002,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
9 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | A text description of areas to change. | length ≥ 1 · length ≤ 1000 |
| image_url* | string | The URL of the image to modify. Must be less than 5 MB in size, have resolution less than 16 MP and max dimension less than 4096 pixels. | |
| style | enum | The style of the generated images. Vector images cost 2X as much. | any | realistic_image | digital_illustration | vector_illustration | realistic_image/b_and_w | realistic_image/hard_flash · +79 more · default: "realistic_image" |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| colors | RGBColor[] | An array of preferable colors | default: [] |
| 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 |
| negative_prompt | string | A text description of undesired elements on an image | length ≤ 1000 · nullable |
| style_id | string | The ID of the custom style reference (optional) | format: uuid4 · nullable |
| strength | number | Defines the difference with the original image, should lie in [0, 1], where 0 means almost identical, and 1 means miserable similarity | 0 ≤ n ≤ 1 · default: 0.5 |
Types
1 $defsRGBColorobject
| r | integer | Red color value | 0 ≤ n ≤ 255 · default: 0 |
| b | integer | Blue color value | 0 ≤ n ≤ 255 · default: 0 |
| g | integer | Green color value | 0 ≤ n ≤ 255 · default: 0 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/recraft/v3/image-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}