Video Projects
Auto Subtitle Generator
Changed onAutomatically generate subtitles for your video in multiple languages.
post/v1/auto-subtitle-generator
Request
- Base URLhttps://api.magichour.ai
- URLhttps://api.magichour.ai/v1/auto-subtitle-generator
- AuthHTTP bearer
Request body
Example request
{
"name": "My Auto Subtitle video",
"end_seconds": 5,
"assets": {
"video_file_path": "api-assets/id/1234.mp4"
},
"style": {
"template": "karaoke",
"custom_config": {
"font": "Noto Sans",
"font_size": 24,
"font_style": "normal",
"text_color": "#FFFFFF",
"highlighted_text_color": "#FFD700",
"stroke_color": "#000000",
"stroke_width": 1,
"vertical_position": "bottom",
"horizontal_position": "center"
}
}
}Response
Success
Example response
{
"id": "cuid-example",
"credits_charged": 450
}Changes
- info
added the non-success response with the status
- info
removed the
Not Foundenum value from theresponse property for the response status - info
removed the
Unauthorizedenum value from theresponse property for the response status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- info
added the non-success response with the status
- info