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/$%7Bart_info.art.src%7D?q=image&page=584&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 6288 results for "image"(2371ms)

basicAuthButtonREADME.md1 match

@jdan•Updated 11 months ago
7Views the value of `basicAuthButton:last-pressed` in blob storage.
8
9![image.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/938c35dc-5221-4a37-2ef7-b364d9623000/public)
10
11### POST /press

emeraldCrocodilemain.tsx1 match

@isidentical•Updated 11 months ago
8const prompt = "a cute and happy dog";
9const result: any = await fal.run("fal-ai/fast-lightning-sdxl", { input: { prompt } });
10console.log(result.images[0].url);

emeraldCrocodilemain.tsx1 match

@burkaygur•Updated 11 months ago
8const prompt = "a cute and happy dog";
9const result: any = await fal.run("fal-ai/fast-lightning-sdxl", { input: { prompt } });
10console.log(result.images[0].url);

falSDXLExamplemain.tsx1 match

@isidentical•Updated 11 months ago
8const prompt = "a cute and happy dog";
9const result: any = await fal.run("fal-ai/fast-lightning-sdxl", { input: { prompt } });
10console.log(result.images[0].url);

homelessmain.tsx1 match

@cameronpak•Updated 11 months ago
36 description: string;
37 utc_offset: number;
38 featured_image_url: string;
39 hours_text: string | null;
40 hours: {

QuillEditormain.tsx1 match

@stevekrouse•Updated 11 months ago
38 ["bold", "italic", "underline", "strike"], // toggled buttons
39 ["blockquote", "code-block"],
40 ["link", "image", "video", "formula"],
41
42 [{ "header": 1 }, { "header": 2 }], // custom button values

mediumToMarkdownmain.tsx1 match

@fossforlife•Updated 11 months ago
117
118 case 4:
119 const url = `https://cdn-images-1.medium.com/max/${metadata.originalWidth * 2}/${metadata.id}`;
120
121 return `![${formatted}](${url})`;

falImageHandlermain.tsx1 match

@isidentical•Updated 11 months ago
10
11 const result: any = await fal.run("fal-ai/fast-lightning-sdxl", { input: { prompt } });
12 return Response.json({ url: result.images[0].url });
13}

imgGenUrlmain.tsx4 matches

@maxm•Updated 11 months ago
1import { generateImage } from "https://esm.town/v/isidentical/falImageGen?v=11";
2import { blob } from "https://esm.town/v/std/blob?v=12";
3
4const genKey = (key: string): string => {
5 return "genImageCache-v1-" + key;
6};
7
10 let url = await blob.getJSON(genKey(key));
11 if (!url) {
12 let resp = await generateImage(`generate the image you would expect if the url path was: "${key}"`);
13 url = resp.url;
14 await blob.setJSON(genKey(key), url);
15 }
16 return new Response((await fetch(url)).body, { headers: { "content-type": "image/jpg" } });
17}

falImageGenmain.tsx4 matches

@isidentical•Updated 11 months ago
1/**
2 * Generates an image with Stable Diffusion XL through fal.ai
3 *
4 * @param {string} prompt - The input prompt to send to SDXL model.
5 * @returns {Promise<string>} A promise that resolves to the URL of the image.
6 */
7export async function generateImage(
8 input: string,
9): Promise<{ url: string }> {
10 let resp = await fetch("https://isidentical-falimagehandler.web.val.run/", {
11 method: "POST",
12 body: JSON.stringify({ prompt: input }),

brainrot_image_gen1 file match

@dcm31•Updated 1 week ago
Generate images for Italian Brainrot characters using FAL AI

modifyImage2 file matches

@stevekrouse•Updated 1 week ago
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