28 lines
563 B
TypeScript
28 lines
563 B
TypeScript
const history = [
|
|
{
|
|
id: "job-1",
|
|
type: "image",
|
|
status: "completed",
|
|
createdAt: "2025-10-20T10:00:00Z",
|
|
prompt: "Product hero shot in neon lighting"
|
|
},
|
|
{
|
|
id: "job-2",
|
|
type: "video",
|
|
status: "processing",
|
|
createdAt: "2025-10-21T14:20:00Z",
|
|
prompt: "30-second marketing ad, AI voiceover"
|
|
},
|
|
{
|
|
id: "job-3",
|
|
type: "audio",
|
|
status: "failed",
|
|
createdAt: "2025-10-22T08:45:00Z",
|
|
prompt: "Narration for product tutorial"
|
|
}
|
|
];
|
|
|
|
export async function GET() {
|
|
return Response.json({ history });
|
|
}
|