Dagfinn1962 commited on
Commit
a093054
·
verified ·
1 Parent(s): 49c5184

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ docker run -d -p 5000:5000 --gpus=all r8.im/tencent/hunyuan-video@sha256:6c9132aee14409cd6568d030453f1ba50f5f3412b844fe67f78a9eb62d55664f
2
+ curl -s -X POST \
3
+ -H "Content-Type: application/json" \
4
+ -d $'{
5
+ "input": {
6
+ "fps": 24,
7
+ "width": 864,
8
+ "height": 480,
9
+ "prompt": "a sportscar , racing down a mountain road , ",
10
+ "infer_steps": 50,
11
+ "video_length": 61,
12
+ "embedded_guidance_scale": 6
13
+ }
14
+ }' \
15
+ http://localhost:5000/predictions