GET
/v1/schemas/fal/image/fal-ai%2Fbytedance%2Fdreamina%2Fv3.1%2Ftext-to-image
Accept:
Request body
6 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The text prompt used to generate the image | |
| num_images | integer | Number of images to generate | 1 ≤ n ≤ 4 · default: 1 |
| enhance_prompt | boolean | Whether to use an LLM to enhance the prompt | 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 |
| image_size | ImageSize | enum | The size of the generated image. Width and height must be between 512 and 2048. | default: {"height":1536,"width":2048} |
| seed | integer | Random seed to control the stochasticity of image generation. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/bytedance/dreamina/v3.1/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}