curl --location --request POST 'https://app-api.pixverse.ai/openapi/v2/video/img/generate' \
--header 'API-KEY: your-api-key' \
--header 'Ai-trace-id: {{$string.uuid}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"duration": 5,
"img_id": 0,
"model": "v6",
"prompt": "string",
"quality": "720p",
"template_id": 302325299692608, //Use this field to apply template which you activated
//"sound_effect_switch":true
}'{
"ErrCode": 0,
"ErrMsg": "string",
"Resp": {
"video_id": 0
}
}