GET
/v1/schemas/fal/image/fal-ai/hunyuan-image/v2.1/text-to-image?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source traceb65441a923626ec610c5ea6c660891f7b30e9bf8836265ba96e1633c4f0dc1f6{
"fetchedAt": 1783330412,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
2 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| images* | Image[] | A list of the generated images. | |
| seed* | integer | The base seed used for the generation process. |
Types
1 $defsImageobject
Represents an image file.
| content_type | string | The mime type of the file. | nullable |
| file_size | integer | The size of the file in bytes. | nullable |
| height | integer | The height of the image in pixels. | nullable |
| width | integer | The width of the image in pixels. | nullable |
| file_name | string | The name of the file. It will be auto-generated if not provided. | nullable |
| url* | string | The URL where the file can be downloaded from. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/hunyuan-image/v2.1/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}