Json2video

Hello,

I am facing the error in JSON2VIDEO Module. I have tried so many things but i couldn’t solve it out.

Here is the JSON

{
“id”: “q6mm1if5”,
“comment”: “Empty movie”,
“resolution”: “instagram-story”,
“quality”: “high”,
“scenes”: [
{
“id”: “qekuljlb”,
“comment”: “Scene 1”,
“elements”: [
{
“id”: “q33sh4cq”,
“type”: “image”,
“src”: “{{6.webContentLink}}”,
“width”: null,
“height”: null,
“x”: 0,
“y”: 0
},
{
“id”: “qhs2seif”,
“type”: “audio”
“src”: “{{5.$1}}”
},
{
“id”: “qo5hr2xv”,
“type”: “subtitles”,
“settings”: {
“position”: “center-center”,
“shadow-offset”: 5,
“max-words-per-line”: 3000,
“outline-width”: 6,
“font-family”: “Luckiest Guy”,
“font-size”: 48
},
“language”: “en”
}
]
}
],
“elements”: ,
“width”: 1080,
“height”: 1920
}

Try this json:

{
  "id": "q6mm1if5",
  "comment": "Empty movie",
  "resolution": "instagram-story",
  "quality": "high",
  "scenes": [
    {
      "id": "qekuljlb",
      "comment": "Scene 1",
      "elements": [
        {
          "id": "q33sh4cq",
          "type": "image",
          "src": "{{6.webContentLink}}",
          "width": null,
          "height": null,
          "x": 0,
          "y": 0
        },
        {
          "id": "qhs2seif",
          "type": "audio",
          "src": "{{5.$1}}"
        },
        {
          "id": "qo5hr2xv",
          "type": "subtitles",
          "settings": {
            "position": "center-center",
            "shadow-offset": 5,
            "max-words-per-line": 3000,
            "outline-width": 6,
            "font-family": "Luckiest Guy",
            "font-size": 48
          },
          "language": "en"
        }
      ]
    }
  ],
  "elements": [],
  "width": 1080,
  "height": 1920
}
1 Like

Thank you @nicon_ws. It is working now.

May i know how did you solve it?

I pasted the code into Perplexity and said: “please fix it” :sweat_smile:

1 Like

You are genius my friend

1 Like