POST
向https://stablediffusionapi.com/api/v5/text2video端点发出请求,并在请求正文中传递所需的参数。curl --location --request POST 'https://stablediffusionapi.com/api/v5/text2video' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "",
"prompt": "man walking on the road, ultra HD video",
"negative_prompt": "Low Quality",
"scheduler": "UniPCMultistepScheduler",
"seconds": 3
}'
{
"status": "string",
"generationTime": 0,
"id": 0,
"output": [
"string"
]
}