image_to_image.py
Run the Example
1
Set up your virtual environment
2
Install dependencies
3
Export environment variables
4
Enable image-to-image
Replace
tools=[FalTools()] with tools=[FalTools(enable_generate_media=False, enable_image_to_image=True)] in the saved file.5
Run the example
Save the code above as
image_to_image.py, then run: