Discussions
if I put the rectangle parameter when creating a clip video, I get a zero-sized video which have nothing
almost 2 years ago by zhengyingfeng
here's the video generated.
curl --request POST
--url https://api.d-id.com/clips
--header 'accept: application/json'
--header 'authorization: '
--header 'content-type: application/json'
--data '
{
"driver_id": "uM00QMwJ9x",
"script": {
"type": "text",
"provider": {
"type": "microsoft",
"voice_id": "en-US-JennyNeural"
},
"input": "this is just for example"
},
"config": {
"result_format": "mp4"
},
"presenter_config": {
"crop": {
"type": "rectangle",
"rectangle": {
"bottom": 200,
"right": 200,
"left": 0,
"top": 0
}
}
},
"presenter_id": "amy-jcwCkr1grs"
}
'
above is the parameter I used to generate video. can you help me?