【发布时间】:2021-03-27 13:47:24
【问题描述】:
尝试将其转换为 Zapier 上的 POST 请求:
curl https://api.synthesia.io/v1/videos \
-H "Authorization: ${API_KEY}" \
-H "Content-Type: application/json" \
-X POST \
-d '{ "title": "Hello, World!", "description": "This is my first synthetic video, made with the Synthesia API!", "visibility": "public", "test": true, "input": [{ "script": "This is my first synthetic video, made with the Synthesia API!", "actor": "anna_costume1_cameraA", "background": "off_white", "soundtrack": "inspirational", "actorSettings": { "horizontalAlign": "center", "scale": 0.9 } } ] }
这是我在 Zap 中加载的内容。收到 500 错误。
【问题讨论】: