Error code 500

Hello guys hope your are all doing well,

i have a issue with my Image to video task. I was trying to test my teststep but it show up me directly the error code 500, with the additional message:

(The service was not able to process your request [item 0]
failed to do kling preprocess request)

I use the Piapi api key for that.

My body text:

{
“model”: “kling”,
“mode”: “pro”,
“task_type”: “video_generation”,
“input”: {
“prompt”: “{{ $json.data.input.prompt }}”,
“negative_prompt”: “bad quality”,
“cfg_scale”: 0.65,
“duration”: 5,
“image_url”: “{{ $json.data.output.image_url }}”,
“camera_control”: {
“type”: “simple”,
“config”: {
“horizontal”: 0,
“vertical”: 0,
“pan”: 0,
“tilt”: 0,
“roll”: 0,
“zoom”: 0
}
}
},
“config”: {}
}

Maybe somebody has the same issue and can help me please.

Hi, can you please post your workflow and confirm that this operation is working outside of N8N (manual execution via postman or another tool)

Reg
J.

Hi, I meant the actual workflow code instead of a screenshot.

Please confirm you have performed a working request outside of n8n.

reg,
J.

1 Like

Hello, could someone explain what the original issue was and whether it has been resolved? I’m experiencing a similar problem with Kling failing during the preprocessing request.