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/$1?q=image&page=760&format=json

For typeahead suggestions, use the /typeahead endpoint:

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

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

Found 9532 results for "image"(3615ms)

cerebras_codermain.tsx1 match

@Pdrathod77Updated 3 months ago
1165 <meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
1166 <meta property="og:type" content="website">
1167 <meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1168
1169

tldraw_computer_examplemain.tsx3 matches

@charmaineUpdated 3 months ago
16};
17
18type ImageData = {
19 type: "image";
20 text: string;
21 name?: string | undefined;
48};
49
50export type Data = BooleanData | TextData | ImageData | SpeechData | WebsiteData | FileData;
51
52type DataComponentRequestBody = {

cerebras_codermain.tsx1 match

@AnmoolUpdated 3 months ago
1165 <meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
1166 <meta property="og:type" content="website">
1167 <meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1168
1169

cleverSilverGerbilREADME.md1 match

@charmaineUpdated 3 months ago
21
22**Example inside Framer, with Fetch:**
23![Screenshot 2025-02-06 at 6.37.22 PM.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/44decce0-ba11-4f32-0ab0-c940bccda100/public)
24
25

cleverSilverGerbilmain.tsx1 match

@charmaineUpdated 3 months ago
23 const trackName = track.name;
24 const artist = track.artist["#text"];
25 const artwork = track.image ? track.image[track.image.length - 1]["#text"] : null;
26
27 return Response.json({ trackName, artist, artwork });

ListeningToLastFMmain.tsx1 match

@charmaineUpdated 3 months ago
23 const trackName = track.name;
24 const artist = track.artist["#text"];
25 const artwork = track.image ? track.image[track.image.length - 1]["#text"] : null;
26
27 return Response.json({ trackName, artist, artwork });

cerebras_codermain.tsx1 match

@alisonnex8Updated 3 months ago
1165 <meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
1166 <meta property="og:type" content="website">
1167 <meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1168
1169

rosylovemain.tsx26 matches

@imankii01Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { Calendar, Heart, Image, Mail, Music } from "https://esm.sh/lucide-react@latest";
3import { nanoid } from "https://esm.sh/nanoid@4.0.0";
4import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
11 name: "Romantic Classic",
12 description: "Elegant design with beautiful animations and love counter",
13 previewImage: "https://maxm-imggenurl.web.val.run/romantic-classic",
14 features: ["Love Counter", "Music Player", "Photo Gallery", "Love Letter"],
15 },
18 name: "Modern Love Story",
19 description: "Contemporary design with timeline and story features",
20 previewImage: "https://maxm-imggenurl.web.val.run/modern-story",
21 features: ["Timeline View", "Story Cards", "Photo Grid", "Music Integration"],
22 },
25 name: "Vintage Romance",
26 description: "Nostalgic design with romantic elements and memories",
27 previewImage: "https://maxm-imggenurl.web.val.run/vintage-romance",
28 features: ["Memory Wall", "Love Journal", "Classic Design", "Photo Album"],
29 },
191 musicUrl: "",
192 musicThumbnail: "",
193 images: [],
194 });
195 const [generatedUrl, setGeneratedUrl] = useState(null);
224 }
225 };
226 const handleImageUpload = async (e) => {
227 const files = Array.from(e.target.files);
228
229 if (files.length > 6) {
230 alert("Maximum 6 images allowed");
231 return;
232 }
233
234 try {
235 const base64Images = await Promise.all(files.map(fileToBase64));
236
237 setFormData(prev => ({
238 ...prev,
239 images: base64Images,
240 }));
241 } catch (error) {
242 console.error("Image upload error", error);
243 alert("Failed to upload images");
244 }
245 };
310 >
311 <img
312 src={template.previewImage}
313 alt={template.name}
314 className="w-full h-48 object-cover rounded-lg mb-4"
401 type="file"
402 multiple
403 accept="image/*"
404 onChange={handleImageUpload}
405 className="w-full px-3 py-2 border rounded-md focus:outline-pink-500"
406 />
407 <div className="flex flex-wrap gap-2 mt-2">
408 {formData.images.map((img, index) => (
409 <img
410 key={index}
493 music_thumbnail TEXT,
494 template_type TEXT NOT NULL,
495 images TEXT NOT NULL,
496 created_at DATETIME DEFAULT CURRENT_TIMESTAMP
497 )
510 musicUrl,
511 musicThumbnail,
512 images,
513 shareableId,
514 template,
526 `
527 INSERT INTO ${KEY}_love_templates_${SCHEMA_VERSION}
528 (shareable_id, partner_name, start_date, love_letter, music_url, music_thumbnail, template_type, images)
529 VALUES (?, ?, ?, ?, ?, ?, ?, ?)
530 `,
537 musicThumbnail || "",
538 template,
539 JSON.stringify(images),
540 ],
541 );
582
583 const websiteData = result.rows[0];
584 const parsedImages = JSON.parse(websiteData.images);
585
586 return new Response(
673 <!-- Memory Gallery -->
674 ${
675 parsedImages.length > 0
676 ? `
677 <div class="mt-6 fade-in">
679 <div class="grid grid-cols-3 gap-4 mt-4">
680 ${
681 parsedImages.map(img => `
682 <div class="overflow-hidden rounded-lg shadow-md">
683 <img src="${img}" class="w-full h-32 object-cover transition-transform hover:scale-110" />
731 // Fetch paginated records
732 const result = await sqlite.execute(`
733 SELECT shareable_id, partner_name, start_date, love_letter, music_url, music_thumbnail, template_type, images, created_at
734 FROM ${KEY}_love_templates_${SCHEMA_VERSION}
735 ORDER BY created_at DESC
767 <th>Music Thumbnail</th>
768 <th>Template Type</th>
769 <th>Images</th>
770 <th>Created At</th>
771 </tr>
783 <td><img src="${row.music_thumbnail}" alt="Thumbnail" width="50"></td>
784 <td>${row.template_type}</td>
785 <td>${row.images ? `<img src="${row.images}" width="50">` : "No Image"}</td>
786 <td>${row.created_at}</td>
787 </tr>`;
835 }
836 </style>
837 <link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><text y='28' font-size='28'>🌹</text></svg>">
838 </head>
839 <body>

LlmDashboardllm-base-provider1 match

@prashamtrivediUpdated 3 months ago
9export interface ModelCapabilities {
10 textToText: boolean;
11 imageGeneration: boolean;
12 multimodal: boolean;
13 reasoning: boolean;

LlmDashboardllm-provider-gemini13 matches

@prashamtrivediUpdated 3 months ago
14 candidate_count?: number;
15 // For multimodal inputs
16 image_base64?: string;
17}
18
31 capabilities: {
32 textToText: true,
33 imageGeneration: false,
34 multimodal: false,
35 reasoning: true,
59 capabilities: {
60 textToText: true,
61 imageGeneration: false,
62 multimodal: true,
63 reasoning: true,
94 const content: Record<string, unknown> = { text: msg.content };
95
96 // Handle multimodal content if image is provided in provider params
97 if (msg.role === "user" && this.currentImageBase64) {
98 content.inlineData = {
99 mimeType: "image/jpeg",
100 data: this.currentImageBase64,
101 };
102 }
106 }
107
108 // Store current image for multimodal requests
109 private currentImageBase64: string | null = null;
110
111 async complete(
119 }
120
121 // Store image for multimodal processing if provided
122 this.currentImageBase64 = config?.providerParams?.image_base64 || null;
123
124 // Note: This is a placeholder as Val Town doesn't have a native Google AI client
147 const result = await response.json();
148
149 // Clear stored image after request
150 this.currentImageBase64 = null;
151
152 // Approximate token count based on characters

image_generator1 file match

@affulitoUpdated 5 days ago
placeholdji

placeholdji2 file matches

@jjgUpdated 1 week ago
Placeholder image service with emojis 🖼️
Chrimage
Atiq
"Focal Lens with Atig Wazir" "Welcome to my photography journey! I'm Atiq Wazir, a passionate photographer capturing life's beauty one frame at a time. Explore my gallery for stunning images, behind-the-scenes stories, and tips & tricks to enhance your own