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%22Optional%20title%22?q=image&page=612&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 6547 results for "image"(835ms)

blob_adminREADME.md1 match

@samkUpdated 11 months ago
3This is a lightweight Blob Admin interface to view and debug your Blob data.
4
5![b7321ca2cd80899250589b9aa08bc3cae9c7cea276282561194e7fc537259b46.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/311a81bb-18d8-4583-b7e3-64bac326f700/public)
6
7Use this button to install the val:

lastloginREADME.md1 match

@pomdtrUpdated 11 months ago
16You can try a demo at <https://pomdtr-lastloginhonoexample.web.val.run> (see @pomdtr/lastLoginHonoExample for code)
17
18![image.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/cbabf6bc-27dd-489b-2153-a40957986100/public)
19
20## Usage

rawmain.tsx2 matches

@pomdtrUpdated 11 months ago
4
5async function createScreenshot(code: string) {
6 const apiUrl = "https://sourcecodeshots.com/api/image";
7 const resp = await fetch(apiUrl, {
8 method: "POST",
107 return new Response(screenshot, {
108 headers: {
109 "Content-Type": "image/png",
110 },
111 });

esmTownREADME.md1 match

@jdanUpdated 11 months ago
5https://jdan-esmtown.web.val.run/nsetyr
6
7![image.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/c4319cfb-b959-4f06-046f-2ff98be6dd00/public)
8
9The dictionary is populated from the following script:

pyodidePowersVismain.tsx1 match

@iamseeleyUpdated 11 months ago
65
66 const img = await pyodide.then(pyodide => pyodide.runPython(\`plot_powers(\${number})\`));
67 plotContainer.innerHTML = \`<img src="data:image/png;base64,\${img}" />\`;
68 });
69 </script>

pyodideDataAnalysismain.tsx1 match

@iamseeleyUpdated 11 months ago
114 const img = await pyodide.then(pyodide => pyodide.runPython(\`plot_histogram(\${JSON.stringify(jsonData)}, "\${column}")\`));
115
116 plotContainer.innerHTML = \`<img src="data:image/png;base64,\${img}" />\`;
117 });
118 </script>

linearRegressionmain.tsx1 match

@iamseeleyUpdated 11 months ago
134
135 resultElement.innerHTML = \`<h3>Model Coefficients</h3><p>Slope: \${coef}<br>Intercept: \${intercept}</p>\`;
136 plotContainer.innerHTML = \`<img src="data:image/png;base64,\${img}" />\`;
137 testDataOptions.style.display = 'block';
138 });

blobImagesREADME.md2 matches

@jdanUpdated 11 months ago
1# Image downsizer and uploader
2
3
4Migrated from folder: gpt4o_emoji/blobImages

emojiGuessrmain.tsx2 matches

@jdanUpdated 11 months ago
2import { getGPT4oEmoji } from "https://esm.town/v/jdan/gpt4o_emoji";
3import { fileToDataURL } from "https://esm.town/v/stevekrouse/fileToDataURL";
4import { modifyImage } from "https://esm.town/v/stevekrouse/modifyImage";
5import { chat } from "https://esm.town/v/stevekrouse/openai";
6import { Hono } from "npm:hono@3";
51 type="file"
52 id="file"
53 accept="image/*"
54 name="file"
55 />

gpt4o_emojimain.tsx6 matches

@jdanUpdated 11 months ago
9 You are a helpful assistant.
10 I will provide you with a photo, and I would like an emoji that best captures the essence of the photo.
11 Reply with 1 to 5 emojis that the image evokes. Prefer fewer emojis.
12 `,
13 },
16 // // content: "A chocolate donut with sprinkles",
17 // content: [{
18 // type: "image_url",
19 // image_url: {
20 // url: "https://brokenovenbaking.com/wp-content/uploads/2022/04/chocolate-donuts-with-sprinkles-11-1.jpg",
21 // },
29 role: "user",
30 content: [{
31 type: "image_url",
32 image_url: {
33 url,
34 },
44// console.log(
45// await getGPT4oEmoji(
46// // "https://images.squarespace-cdn.com/content/v1/62015f66f840ef671da14ae7/4161edfa-ebba-4c13-90a4-90383f26260e/Photographing-NYC-skyline.jpg",
47// "https://i.imgur.com/FaNnVND.png",
48// ),

image-gen

@armadillomikeUpdated 3 hours ago

gpt-image-test1 file match

@CaptainJackUpdated 1 day ago
测试 gpt image 的不同 api 能否满足图片生成要求
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