GET
/v1/schemas/fal/image/speridlabs/iris-z/text-to-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracecb8ae846a4b3d6fa051032b837f76a5130ad92b1036e38db3ea21733c48b2487{
"fetchedAt": 1794891601,
"extractorVersion": "2",
"verifiedAt": null
} |
Request body
7 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The prompt to generate an image from. Prompts are truncated to 512 text-encoder tokens. | length ≤ 4096 |
| num_inference_steps | integer | The number of inference steps to perform. | 1 ≤ n ≤ 50 · default: 50 |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked, and images flagged as unsafe are returned as black images. | default: true |
| guidance_scale | number | Classifier-free guidance scale. Defaults to the model's own value (3.5 for Iris-Z, 4.0 for Iris-Z small). | 1 ≤ n ≤ 20 · nullable |
| output_format | enum | The format of the generated image. | png | jpeg · default: "png" |
| seed | integer | The same seed and the same prompt given to the same version of the model will output the same image every time. | nullable |
| image_size | ImageSize | enum | The size of the generated image. Both sides must be multiples of 16 between 256 and 2048, with at most 1310720 pixels. The model was trained at 512 and 1024. | default: "square_hd" |
Types
1 $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 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"speridlabs/iris-z/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}