diff --git a/README.md b/README.md index 0485155..ae8e40e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Note: Updated for API v2.0 # Create videos programmatically in Node JS Create and edit videos: add watermarks, resize videos, create slideshows, add soundtrack, automate the creation of videos in multiple languages, add voice-over, add text animations. -[JSON2Video API](https://json2video.com) is the easiest way to create, edit and customise videos programmatically. Its dead simple approach, close to the web development mindset, makes it the ultimate solution for developers that want to create or customise videos in an automated way. +[JSON2Video is a video editing API](https://json2video.com) that simplifies creating, editing and customising videos programmatically. Its dead simple approach, close to the web development mindset, makes it the ultimate solution for developers that want to create or customise videos in an automated way. Additionally, the simple integration of real HTML5+CSS elements, the already built-in text animations and voice generation (TTS) converts JSON2Video in the best solution in its category. @@ -84,9 +84,8 @@ JSON2Video makes video creation easy as a piece of cake: console.log("Rendering: ", status.movie.status, " / ", status.movie.message); }) .then((status) => { + console.log("Response: ", status); console.log("Movie is ready: ", status.movie.url); - console.log("Remaining final movies: ", status.remaining_quota.movies); - console.log("Remaining drafts: ", status.remaining_quota.drafts); }) .catch((err) => { console.log("Error: ", err); diff --git a/index.js b/index.js index 831295f..0cedc93 100644 --- a/index.js +++ b/index.js @@ -72,7 +72,7 @@ class Scene extends Base { class Movie extends Base { constructor(...a) { super(...a); - this.properties = ['comment', 'draft', 'width', 'height', 'resolution', 'quality', 'fps', 'cache']; + this.properties = ['comment', 'draft', 'width', 'height', 'resolution', 'exports', 'quality', 'fps', 'cache', 'template', 'variables', 'id']; this.api_url = 'https://api.json2video.com/v2/movies'; this.apikey = null; } diff --git a/package.json b/package.json index 164b7ec..f154f9a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "json2video-sdk", - "version": "2.0.0", + "version": "2.0.4", "description": "SDK for creating videos programmatically using JSON2Video API", "main": "index.js", "scripts": {