Draft news video
Retrieve the latest news on the provided topic, then generate video scenes. After calling this endpoint, call Create Video with the results to create the video.
Authorizations
Body
topicstringRequired
The topic you would like the AI to retrieve news about.
localestring · enumOptionalDefault:
The locale of the video.
auto
Possible values: Responses
200
Successful response
application/json
400
Invalid request
application/json
401
Unauthorized request
application/json
post
POST /api/v1/videos/drafts/news HTTP/1.1
Host: shortgenius.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"topic": "text",
"locale": "auto"
}
{
"title": "text",
"caption": "text",
"scenes": [
{
"title": null,
"caption": "text",
"image_query": null,
"first_image_description": null,
"second_image_description": null,
"first_image_animation_model": "None",
"second_image_animation_model": "None"
}
],
"image_style_recommendations": [
{
"preset_id": "123e4567-e89b-12d3-a456-426614174000",
"reason": "text"
}
],
"selected_image_style_preset_id": "123e4567-e89b-12d3-a456-426614174000"
}
Last updated