parent
8491098bd2
commit
56c087602d
@ -1,2 +1,5 @@
|
||||
# 提交任务
|
||||
curl -X POST "http://127.0.0.1:8000/create-task" -H "Content-Type: application/json" -d "{\"prompt\": \"Generate an image of a sunset\"}"
|
||||
curl -X POST "http://127.0.0.1:8000/create-task" -H "Content-Type: application/json" -d "{\"prompt\": \"Generate an image of a sunset\"}"
|
||||
|
||||
# 查询任务
|
||||
curl "http://127.0.0.1:8000/task-status/699f6d14-86da-459c-8cc4-952ce5451352"
|
Binary file not shown.
Loading…
Reference in new issue