video-flow-b/test/movie.http

51 lines
1.1 KiB
HTTP

@host = https://77.smartvideo.py.qikongjian.com
### Create a movie project
POST http://localhost:8000/movie/create_movie_project
Content-Type: application/json
{
"script": "spider man saves the world from a virus.",
"user_id": "user123",
"mode": "auto",
"resolution": "720p"
}
### Get movie project name
POST http://localhost:8000/movie/get_movie_project_name
Content-Type: application/json
{
"project_id": "17cc4231-4bbe-45bc-97cf-0fcba05e3c09"
}
### Get movie project detail
POST https://77.smartvideo.py.qikongjian.com/movie/get_movie_project_detail
Content-Type: application/json
{
"project_id": "dbbc1f06-2459-4d3e-bbff-7b11ecf0f293"
}
### List movie projects
POST http://localhost:8000/movie/list_movie_projects
Content-Type: application/json
{
"user_id": "user123"
}
### Generate movie
POST http://localhost:8000/movie/generate_movie
Content-Type: application/json
{
"project_id": "21763816-f688-472c-87a4-eac7bfbfaac9"
}
### Get status
POST https://77.smartvideo.py.qikongjian.com/movie/get_status
Content-Type: application/json
{
"project_id": "dbbc1f06-2459-4d3e-bbff-7b11ecf0f293"
}