This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# main.py | |
import os, sys, time | |
from datetime import datetime | |
from io import BytesIO | |
from PIL import Image, ImageOps | |
from openai import OpenAI | |
from apikey import OPENAI_API_KEY | |
# ===== 設定 ===== | |
MODEL = "sora-2" # or "sora-2-pro" |