Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/image-url.jpg%20%22Image%20title%22?q=openai&page=62&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=openai

Returns an array of strings in format "username" or "username/projectName"

Found 1633 results for "openai"(1076ms)

generate_twitch_ideasmain.tsx2 matches

@ajax•Updated 2 months ago
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, generate a list of innovative Twitch integration ideas: " + body.userInput,

twitch_integration_ideas_generatormain.tsx2 matches

@ajax•Updated 2 months ago
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 ideas: " + body.userInput,

generate_llm_ideasmain.tsx2 matches

@ajax•Updated 2 months ago
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 an innovative thinker specializing in language model development.",
16 prompt: "Using the following inspiration, brainstorm new ideas for language models: " + body.userInput,

generate_opensource_ideasmain.tsx2 matches

@ajax•Updated 2 months ago
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
12 }
13 const { text: projectIdeas } = await generateText({
14 model: openai("gpt-4o-mini"),
15 system: "You are a creative project idea generator.",
16 prompt: "Based on the following inspiration, brainstorm open-source project ideas: " + body.userInput,

quietSalmonTunamain.tsx2 matches

@ajax•Updated 2 months ago
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
12 }
13 const { text: shopIdeas } = await generateText({
14 model: openai("gpt-4o-mini"),
15 system: "You are a creative business idea generator.",
16 prompt: `Generate a list of creative shop concepts based on the following inspiration: ${body.inspiration}`,

generate_shop_ideasmain.tsx2 matches

@ajax•Updated 2 months ago
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
12 }
13 const { text: shopIdeas } = await generateText({
14 model: openai("gpt-4o-mini"),
15 system: "You are a creative shop concept generator.",
16 prompt: "Generate a list of creative shop ideas based on the following inspiration: " + body.inspiration,

truthfulCyanSwordfishmain.tsx2 matches

@ajax•Updated 2 months ago
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
12 }
13 const { text: newGameIdea } = await generateText({
14 model: openai("gpt-4o-mini"),
15 system: "You are a creative game designer specializing in Digimon-themed games.",
16 prompt: "Based on the following inspiration related to Digimon, generate a unique game concept: " + body.inspiration,

astuteBlushVicunamain.tsx2 matches

@ajax•Updated 2 months ago
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
12 }
13 const { text: newGameIdea } = await generateText({
14 model: openai("gpt-4o-mini"),
15 system: "You are a creative game designer specializing in Pokémon-inspired games.",
16 prompt: `Based on the following inspiration related to Pokémon, generate a unique game concept including mechanics, storylines, and character ideas: ${body.inspiration}`,

intuitivePinkHorsemain.tsx2 matches

@ajax•Updated 2 months ago
1import { openai } from "npm:@ai-sdk/openai";
2import { generateText } from "npm:ai";
3
20
21 const { text: gameIdea } = await generateText({
22 model: openai("gpt-4o-mini"),
23 system: "You are a creative game designer.",
24 prompt: prompt,

systematicCyanFlymain.tsx2 matches

@ajax•Updated 2 months ago
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(),

translateToEnglishWithOpenAI1 file match

@shlmt•Updated 6 days ago

testOpenAI1 file match

@stevekrouse•Updated 1 week ago
lost1991
import { OpenAI } from "https://esm.town/v/std/openai"; export default async function(req: Request): Promise<Response> { if (req.method === "OPTIONS") { return new Response(null, { headers: { "Access-Control-Allow-Origin": "*",