-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathmain_idea2video.py
More file actions
27 lines (22 loc) · 951 Bytes
/
main_idea2video.py
File metadata and controls
27 lines (22 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import asyncio
from pipelines.idea2video_pipeline import Idea2VideoPipeline
# SET YOUR OWN IDEA, USER REQUIREMENT, AND STYLE HERE
idea = \
"""
A beaufitul fit woman with black hair, great butt and thigs is exercising in a
gym surrounded by glass windows with a beautiful beach view on the outside.
She is performing glute exercises that highlight her beautiful back and sexy outfit
and showing the audience the proper form. Between the 3 different exercises she looks
at the camera with a gorgeous look asking the viewer understood the proper form.
"""
user_requirement = \
"""
For adults, do not exceed 3 scenes. Each scene should be no more than 5 shots.
"""
style = "Realistic, warm feel"
async def main():
pipeline = Idea2VideoPipeline.init_from_config(
config_path="configs/idea2video.yaml")
await pipeline(idea=idea, user_requirement=user_requirement, style=style)
if __name__ == "__main__":
asyncio.run(main())