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. |
enable_generate_media | bool | True | Enable the generate_media functionality. |
enable_image_to_image | bool | True | Enable the image_to_image functionality. |
all | bool | False | Enable all functionality. |
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. |