BONG
HAM
HONG
KIM
KO
LEE
OH
PARK
import OpenAI from "openai";
export default async (req: Request) => {
const { description } = await req.json();
const client = new OpenAI();
const res = await client.responses.create({
model: "gpt-5-mini",
input: [
{ role: "user", content: `Write concise alt text for: ${description}` },]});
return Response.json({ altText: res.output_text })
const res = await client.responses.create({
model: "gpt-5-mini",
input: [
{ role: "user", content: `Write concise alt textconst res = await client.responses.create({
model: "gpt-5-mini",
input: [
{ role: "user", content: `Write concise alt textconst res = await client.responses.create({
model: "gpt-5-mini",
input: [
{ role: "user", content: `Write concise alt text
Full-width block with YouTube video background and flexible configuration, free vertical and horizontal content alignment.
Full-width block with YouTube video background and flexible configuration, free vertical and horizontal content alignment.
AI Website Builder