main
tt 9 months ago
parent f72c764e79
commit 8e962b1563

@ -1,8 +1,4 @@
export const apiKey = process.env.OPENAI_API_KEY || 'sk-xxxxxx'
export const model = process.env.OPENAI_API_MODEL || 'sora-1.0-turbo'
export const baseUrl = process.env.OPENAI_API_BASE_URL || 'https://fake-sora-api.sorawebui.com'
import {apiKey, baseUrl, model} from "~/configs/openai";
export async function POST(req: Request, res: Response) {

@ -0,0 +1,3 @@
export const apiKey = process.env.OPENAI_API_KEY || 'sk-xxxxxx'
export const model = process.env.OPENAI_API_MODEL || 'sora-1.0-turbo'
export const baseUrl = process.env.OPENAI_API_BASE_URL || 'https://fake-sora-api.sorawebui.com'
Loading…
Cancel
Save