GET
/v1/schemas/fal/image/recraft/v4/style/pro/text-to-vector
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace807112aef647cab3d4ce2a6b2ab6bd4a507683babdfc35dc7548acfe6ae9b751{
"fetchedAt": 1787806850,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
8 properties · 1 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | length ≥ 1 · length ≤ 10000 | |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked. | default: true |
| image_urls | string[] | The URLs of the style reference images. Supports PNG, JPG, and WEBP; provide between 1 and 10 images. | items ≥ 1 · items ≤ 10 · nullable |
| style_match | enum | Override how closely the generation follows the custom style. | precise | flexible · nullable |
| colors | RGBColor[] | An array of preferable colors | default: [] |
| image_size | ImageSize | enum | default: "square_hd" | |
| background_color | RGBColor | The preferable background color of the generated images. | nullable |
| style_id | string | The ID of an existing V4 custom style. | format: uuid4 · nullable |
Types
2 $defsImageSizeobject
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
RGBColorobject
| 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":"recraft/v4/style/pro/text-to-vector","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}