GET
/v1/schemas/fal/image/fal-ai/pixart-sigma
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace5feeca4a01623a2661727ee18bdaf0f0a9dd743ff7109d3a24ddcb82666c08ad{
"fetchedAt": 1783330412,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
11 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt to use for generating the image. Be as descriptive as possible for best results. | |
| image_size | ImageSize | enum | The size of the generated image. | default: "square_hd" |
| num_images | integer | The number of images to generate. | 1 ≤ n ≤ 8 · default: 1 |
| style | enum | The style to apply to the image. | (No style) | Cinematic | Photographic | Anime | Manga | Digital Art · +4 more · default: "(No style)" |
| negative_prompt | string | The negative prompt to use. Use it to address details that you don't want in the image. This could be colors, objects, scenery and even the small details (e.g. moustache, blurry, low resolution). | default: "" |
| seed | integer | The same seed and the same prompt given to the same version of Stable Diffusion will output the same image every time. | nullable |
| guidance_scale | number | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. | 1 ≤ n ≤ 10 · default: 4.5 |
| scheduler | enum | The scheduler to use for the model. | DPM-SOLVER | SA-SOLVER · default: "DPM-SOLVER" |
| num_inference_steps | integer | The number of inference steps to perform. | 5 ≤ n ≤ 50 · default: 35 |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. | default: false |
| 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 |
Types
1 $defsImageSizeobject
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/pixart-sigma","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}