1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
13 const theme = body.theme;
14 const { text: parodyLyrics } = await generateText({
15 model: openai("gpt-4o-mini"),
16 system: "You are a creative songwriter.",
17 prompt: `Create a parody of the song 'Yesterday' by The Beatles. The parody should maintain the original melody and structure but incorporate the following theme: ${theme}.`,
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
21
22 const { text: townName } = await generateText({
23 model: openai("gpt-4o-mini"),
24 system: "You are an AI that generates unique town names in Australia.",
25 prompt: `Generate a unique town name based on the theme: ${selectedTheme}. Consider Australian geography, culture, and history.`
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
12 }
13 const { text: creativeIdeas } = await generateText({
14 model: openai("gpt-4o-mini"),
15 system: "You are an expert in generating creative Twitch integration ideas.",
16 prompt: "Based on the following inspiration, generate a list of innovative Twitch integration ideas: " + body.userInput,
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
12 }
13 const { text: ideasList } = await generateText({
14 model: openai("gpt-4o-mini"),
15 system: "You are a creative assistant specialized in generating innovative Twitch integration ideas.",
16 prompt: "Based on the following inspiration, generate a list of creative Twitch integration ideas: " + body.userInput,
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
12 }
13 const { text: ideas } = await generateText({
14 model: openai("gpt-4o-mini"),
15 system: "You are a creative Twitch integration idea generator.",
16 prompt: "Based on the following inspiration, brainstorm creative Twitch integration concepts: " + body.userInput,
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
12 }
13 const { text: ideasList } = await generateText({
14 model: openai("gpt-4o-mini"),
15 system: "You are a creative Twitch integration idea generator.",
16 prompt: "Based on the following inspiration, generate a list of innovative Twitch integration ideas: " + body.inspiration,
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
12 }
13 const { text: ideas } = await generateText({
14 model: openai("gpt-4o-mini"),
15 system: "You are a creative Twitch integration idea generator.",
16 prompt: "Based on the following inspiration, brainstorm creative Twitch integration concepts: " + body.userInput,
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
12 }
13 const { text: ideas } = await generateText({
14 model: openai("gpt-4o-mini"),
15 system: "You are a creative thinker specializing in Twitch integrations.",
16 prompt: "Generate a list of innovative Twitch integration ideas based on the following inspiration: " + body.inspiration,