forked from 77media/video-flow
91 lines
2.0 KiB
HTTP
91 lines
2.0 KiB
HTTP
@host = https://pre.movieflow.api.huiying.video
|
|
### 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://pre.movieflow.api.huiying.video/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://pre.movieflow.api.huiying.video/movie/get_status
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"project_id": "dbbc1f06-2459-4d3e-bbff-7b11ecf0f293"
|
|
}
|
|
|
|
### Text to script tags
|
|
POST https://pre.movieflow.api.huiying.video/movie/text_to_script_tags
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"project_id": "54256c52-236f-45b2-8901-b696c45ad540"
|
|
}
|
|
|
|
### Analyze movie script stream
|
|
POST https://pre.movieflow.api.huiying.video/movie/analyze_movie_script_stream
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"project_id": "54256c52-236f-45b2-8901-b696c45ad540"
|
|
}
|
|
|
|
### test scene json
|
|
POST https://pre.movieflow.api.huiying.video/movie/scene_json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"project_id": "c3aea4e3-4f5a-4853-91af-54486568d914"
|
|
}
|
|
|
|
### test shot sketch json
|
|
POST https://pre.movieflow.api.huiying.video/movie/shot_sketch_json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"project_id": "c3aea4e3-4f5a-4853-91af-54486568d914"
|
|
}
|
|
|
|
### test video json
|
|
POST https://pre.movieflow.api.huiying.video/movie/video_json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"project_id": "c3aea4e3-4f5a-4853-91af-54486568d914"
|
|
} |