Draft video from script

Draft video from script

post

Write a video using the provided script. After calling this endpoint, call Create Video with the results to create the video.

Authorizations
Body
scriptstringRequired

The content you want the AI to narrate. It will split it up into logical scenes, and illustrate each scene.

Responses
200

Successful response

application/json
post
POST /api/v1/videos/drafts/script HTTP/1.1
Host: shortgenius.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "script": "text"
}
{
  "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