Skip to content

[Bug]: v1/video/caption endpoint does not work if you add webhook url #182

Description

@abdullahbt

Describe the bug

I've been trying to get the captions endpoint to work for days. The response never reached webhook and Google Logs never stopped at "warnings.warn("FP16 is not supported on CPU; using FP32 instead")". Finally saw a youtube video and the guy was doing it without a webhook URL so I removed the webhook url from payload, keeping everything else the same, and the request went through. I was using a Make.com webhook which I confirmed was working

Reproduction Steps

Sent the following payload:
{
"video_url": "https://storage.googleapis.com/my-bucket/my-video.mp4",
"settings": {
"line_color": "#FFFFFF",
"word_color": "#FFFF00",
"outline_color": "#000000",
"all_caps": false,
"max_words_per_line": 10,
"position": "bottom_center",
"alignment": "center",
"font_family": "Arial",
"font_size": 24,
"bold": false,
"italic": false,
"style": "karaoke",
"outline_width": 2,
"shadow_offset": 2
},
"replace": [
{
"find": "um",
"replace": ""
},
{
"find": "like",
"replace": ""
}
],
"webhook_url": "https://hook.eu2.make.com/my-webhook",
"id": "request-123",
"language": "en"
}

Expected behavior

No response

Screenshots and relevant files

No response

Platform

Google Cloud Platform

Would you like to work on this issue?

None

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions