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.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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.