fal_client
library and an API key which can be obtained from Fal.
Parameter | Type | Default | Description |
---|---|---|---|
api_key | str | None | API key for authentication purposes. |
model | str | None | The model to use for the media generation. |
Function | Description |
---|---|
generate_media | Generate either images or videos depending on the user prompt. |
image_to_image | Transform an input image based on a text prompt. |