AI Media Generate (FAL)
AI-generatedSummary
Generates media using a selected FAL model, returning a URL or data URI.
Inputs
- model (required) — Choose from the list, or specify an ID using an expression. Loads model options via getModelOptions.
- prompt (required) — The text prompt describing the desired media content. Max 800 characters for video models; for image models, provides the generation prompt.
- sync_mode — If true, returns the media as a data URI and the output data won't be available in the request history.
Output shape
string
URL or data URI of the generated media, depending on sync_mode setting.
Examples
Example 1: Generate a short video using the Wan2.6 T2V model.
Select model 'wan26t2v', set prompt, duration, resolution, and other model‑specific options; the node returns a video URL.