Sora Scene Filler from JSON (Advanced + Hide/Restore)

Adds a UI to paste a scene script in JSON format and automatically fills the Sora interface. Includes Hide/Restore functionality.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Denis Kartashov
今日安裝
0
安裝總數
2
評價
0 0 0
版本
1.7
建立日期
2025-12-18
更新日期
2025-12-18
尺寸
10.2 KB
授權條款
MIT
腳本執行於

🎬 Sora Scene Filler (JSON Edition)

Sora Scene Filler is a productivity tool designed for creators using OpenAI's Sora. Instead of manually copying and pasting descriptions and durations for every single scene, this script allows you to paste a single JSON script (easily generated by ChatGPT or Claude) and automates the entire filling process.

🚀 Key Features

  • Bulk Fill: Populate dozens of scenes with one click.
  • Automatic Scene Creation: If your script has 10 scenes but the UI only shows 1, the script automatically clicks the "Add Scene" button for you.
  • Advanced Event Simulation: Uses native React state triggers to ensure Sora's interface "registers" the text and duration values.
  • Minimize/Restore UI: A new "−" button allows you to hide the panel into a small floating button, so you can see your video preview clearly.
  • JSON Native: Designed to work perfectly with LLM outputs.

🛠 How to Use

  1. Install the Script: Ensure you have Tampermonkey or Greasemonkey installed.
  2. Navigate to Sora: Go to the Sora Video Creation page.
  3. Prepare your JSON: Ask ChatGPT to format your scenes. (See format below).
  4. Paste & Run:
    • Click the "Open Script UI" button if it's minimized.
    • Paste your JSON into the dark textarea.
    • Click "Fill Scenes from JSON".
  5. Watch the Magic: The script will loop through your data, creating scenes and filling fields automatically.

📄 Expected JSON Format

Your input must be a valid JSON array of objects. Use the following structure:

[
  {
    "description": "A cinematic shot of a futuristic Tokyo with neon lights reflecting in puddles.",
    "duration": "8.5"
  },
  {
    "description": "Close up of a robotic eye opening slowly.",
    "duration": "4"
  },
  {
    "description": "A wide shot of a drone flying through a digital forest.",
    "duration": "10"
  }
]

🤖 Prompt for ChatGPT/Claude

You can use this prompt to get the perfect format every time:

"I have a video script. Please convert it into a JSON array of objects. Each object should have a 'description' key and a 'duration' key (as a string). Ensure it is valid JSON."


💡 Tips

  • Duration: The duration must be a string (e.g., "5", "10.2").
  • UI Hidden?: If the panel is covering the Sora interface, click the "−" in the top right of the script panel to minimize it to a small floating pill button.
  • Errors: If the script stops, check if your JSON has a missing comma or bracket.

⚖️ Disclaimer

This script is an automation tool and is not officially affiliated with OpenAI. Use responsibly within the Sora terms of service.