# 提交任务 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"