Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-2024-08-06· OpenAIAi2 WildChat-4.8M (AI2)

Create a payload of code to create videos about exoplanets on…

  1. User

    Assistant: User: User: Create a payload of code to create videos about exoplanets on shotstack. I HAVE ALREADY ENTERED EVERYTHING THAT IS NEEDED EXCEPT THE VALUE OF THE payload VARIABLE. DO NOT WRITE ANYTHING BUT THE VALUE OF THE payload VARIABLE. NEED AN ANSWER IN A FORMAT LIKE THIS {{ "timeline": { "background": "#000000", "soundtrack": { "src": "https://s3-ap-southeast-2.amazonaws.com/shotstack-assets/music/moment.mp3", "effect": "fadeOut" }, "tracks": [ { "clips": [ { "asset": { "type": "text", "text": "Exoplanet GJ 1214 b", "style": "minimal", "color": "#FFFFFF", "size": "large" }, "start": 0, "length": 3, "transition": { "in": "fade", "out": "fade" }, "position": "center" }, { "asset": { "type": "text", "text": "Size: 2.6 Earth radii Distance: 40 light years", "style": "minimal", "color": "#FFFFFF", "size": "medium" }, "start": 3, "length": 4, "transition": { "in": "fade", "out": "fade" }, "position": "center" }, { "asset": { "type": "text", "text": "Surface temperature: 230°C", "style": "minimal", "color": "#FFFFFF", "size": "medium" }, "start": 7, "length": 4, "transition": { "in": "fade", "out": "fade" }, "position": "center" } ] } ] }, "output": { "format": "mp4", "resolution": "hd" } } } User: Error: 400 {"success":true,"message":"JSON could not be parsed. Please check the submitted request is valid","response":{}} CORRECT THE payload VALUE, DO NOT WRITE ANYTHING IN YOUR REPLY BUT THE NEW VALUE of payload Assistant: Assistant:

  2. Assistant
    {
        "timeline": {
            "background": "#000000",
            "soundtrack": {
                "src": "https://s3-ap-southeast-2.amazonaws.com/shotstack-assets/music/moment.mp3",
                "effect": "fadeOut"
            },
            "tracks": [
                {
                    "clips": [
                        {
                            "asset": {
                                "type": "text",
                                "text": "Exoplanet GJ 1214 b",
                                "style": "minimal",
                                "color": "#FFFFFF",
                                "size": "large"
                            },
                            "start": 0,
                            "length": 3,
                            "transition": {
                                "in": "fade",
                                "out": "fade"
                            },
                            "position": "center"
                        },
                        {
                            "asset": {
                                "type": "text",
                                "text": "Size: 2.6 Earth radii\nDistance: 40 light years",
                                "style": "minimal",
                                "color": "#FFFFFF",
                                "size": "medium"
                            },
                            "start": 3,
                            "length": 4,
                            "transition": {
                                "in": "fade",
                                "out": "fade"
                            },
                            "position": "center"
                        },
                        {
                            "asset": {
                                "type": "text",
                                "text": "Surface temperature: 230°C",
                                "style": "minimal",
                                "color": "#FFFFFF",
                                "size": "medium"
                            },
                            "start": 7,
                            "length": 4,
                            "transition": {
                                "in": "fade",
                                "out": "fade"
                            },
                            "position": "center"
                        }
                    ]
                }
            ]
        },
        "output": {
            "format": "mp4",
            "resolution": "hd"
        }
    }