Closed TwinIsland closed 1 year ago
task_id
fid
method: post request: http://127.0.0.1:8000/engine/get_frame?task_id=vIokXpLtEwCl9i3SiXfxbQ&fid=22 response:
http://127.0.0.1:8000/engine/get_frame?task_id=vIokXpLtEwCl9i3SiXfxbQ&fid=22
{ "status": 1, "msg": "ok", "content": { "background": "b.jpg", "chara": [ "c.jpg", "c.jpg" ], "chara_pos": [ [ 12, 11.9 ], [ 56, 11.9 ] ], "music": "", "dialog": "hello world", "dialog_character": "" } }
method: post request: http://127.0.0.1:8000/engine/get_struct?task_id=PM8lpabSIF81QlYVM403iQ response:
http://127.0.0.1:8000/engine/get_struct?task_id=PM8lpabSIF81QlYVM403iQ
{ "status": 1, "msg": "ok", "content": { "chapter1": [ [ 20, "this is description for frame with id 20" ], [ 31, "frame 31 description" ], [ 33, "frame 33 description" ] ] } }
comment below if having any questions and report bugs
Approved
task_id
andfid
Usgae: get_frame
method: post request:
http://127.0.0.1:8000/engine/get_frame?task_id=vIokXpLtEwCl9i3SiXfxbQ&fid=22
response:Usgae:
method: post request:
http://127.0.0.1:8000/engine/get_struct?task_id=PM8lpabSIF81QlYVM403iQ
response:comment below if having any questions and report bugs