Created
September 28, 2021 15:16
-
-
Save mfrashad/ff24a042a01aab986a1b1744f3d33b11 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| sys.path.append("clipit") | |
| import clipit | |
| # To reset settings to default | |
| clipit.reset_settings() | |
| # You can use "|" to separate multiple prompts | |
| prompts = "underwater city" | |
| # You can trade off speed for quality: draft, normal, better, best | |
| quality = "normal" | |
| # Aspect ratio: widescreen, square | |
| aspect = "widescreen" | |
| # Add settings | |
| clipit.add_settings(prompts=prompts, quality=quality, aspect=aspect) | |
| # Apply these settings and run | |
| settings = clipit.apply_settings() | |
| clipit.do_init(settings) | |
| cliptit.do_run(settings) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment