1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
23
24 const { text: gameIdeas } = await generateText({
25 model: openai("gpt-4o-mini"),
26 system: "You are a creative game designer.",
27 prompt: prompt.trim(),
1```typescript
2import { openai } from "npm:@ai-sdk/openai";
3import { generateText } from "npm:ai";
4
13 }
14 const { text: gameConcepts } = await generateText({
15 model: openai("gpt-4o-mini"),
16 system: "You are a creative game designer.",
17 prompt: `Generate unique game concepts that blend elements from Pokémon and Digimon based on the theme: ${body.theme}. Include characters, mechanics, and storyline elements.`,
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
12 }
13 const { text: gameIdeas } = await generateText({
14 model: openai("gpt-4o-mini"),
15 system: "You are a creative game designer.",
16 prompt:
1```typescript
2import { openai } from "npm:@ai-sdk/openai";
3import { generateText } from "npm:ai";
4
13 }
14 const { text: ideas } = await generateText({
15 model: openai("gpt-4o-mini"),
16 system: "You are a creative game designer specializing in combining Pokémon and wizard themes.",
17 prompt: `Generate a list of unique game concepts that combine Pokémon and wizard themes based on the following theme: ${body.theme}`,
1```typescript
2import { openai } from "npm:@ai-sdk/openai";
3import { generateText } from "npm:ai";
4
13 }
14 const { text: gameIdeas } = await generateText({
15 model: openai("gpt-4o-mini"),
16 system: "You are a creative game designer specializing in combining Pokémon and ninja themes.",
17 prompt: `Generate creative game ideas that combine Pokémon and ninja themes. Include unique concepts for gameplay, characters, and storylines based on the following theme: ${body.theme}`,
1```typescript
2import { openai } from "npm:@ai-sdk/openai";
3import { generateText } from "npm:ai";
4
15 const themes = body.themes.join(", ");
16 const { text: gameConcepts } = await generateText({
17 model: openai("gpt-4o-mini"),
18 system: "You are a creative game designer.",
19 prompt: `Generate unique game concepts that combine the following themes with Pokémon and ninja elements: ${themes}. Provide a list of creative and engaging game ideas.`,
1```typescript
2import { openai } from "npm:@ai-sdk/openai";
3import { generateText } from "npm:ai";
4
15 const themes = body.themes.join(", ");
16 const { text: gameConcepts } = await generateText({
17 model: openai("gpt-4o-mini"),
18 system: "You are a creative game designer.",
19 prompt: `Generate unique game concepts that combine the following themes with Pokémon and ninja elements: ${themes}. Provide a list of creative and engaging game ideas.`,
1```typescript
2import { openai } from "npm:@ai-sdk/openai";
3import { generateText } from "npm:ai";
4
16
17 const { text: gameIdeas } = await generateText({
18 model: openai("gpt-4o-mini"),
19 system: "You are a creative game designer specializing in Pokémon games.",
20 prompt: `Generate unique Pokémon game ideas based on the following theme and mechanics:
1```typescript
2import { openai } from "npm:@ai-sdk/openai";
3import { generateText } from "npm:ai";
4
16
17 const { text: gameIdeas } = await generateText({
18 model: openai("gpt-4o-mini"),
19 system: "You are a creative game designer specializing in the Pokémon franchise.",
20 prompt: `Generate a list of creative and unique Pokémon game ideas based on the following theme and mechanics:
13- **React** (because why not)
14- **Leaflet** (so you get a map)
15- **OpenAI** (to generate the GeoJSON and occasionally gaslight you)
16
17## Disclaimer