import requests
url = "https://api.scenext.cn/api/gen_video"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
}
data = {
"question": "讲解一下傅里叶级数",
"answer": "",
"questionImages": [],
"answerImages": [],
"quality": "m",
"notify_url": "https://your-domain.com/webhook"
}
response = requests.post(url, json=data, headers=headers)
print(response.json())