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=image&page=605&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 6504 results for "image"(2171ms)

tanPeacockREADME.md1 match

@maxmUpdated 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:

imgGenUrlmain.tsx6 matches

@andrewgaoUpdated 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-v2-" + key;
6};
7
11 if (key === "/") {
12 return new Response(
13 "This site generates high-quality images based on the URL path. Simply append a description of the desired image to the URL to generate a corresponding image.",
14 {
15 headers: { "content-type": "text/plain" },
21
22 if (cacheData && cacheData.expiration > Date.now()) {
23 return new Response((await fetch(cacheData.url)).body, { headers: { "content-type": "image/jpg" } });
24 }
25
26 let resp = await generateImage(`${key}, high resolution, high quality photo, 8k canon camera`);
27 let url = resp.url;
28
32 return new Response((await fetch(url)).body, {
33 headers: {
34 "content-type": "image/jpg",
35 "cache-control": "public, max-age=86400", // Set cache control header
36 },

imgGenUrlREADME.md1 match

@andrewgaoUpdated 11 months ago
1# URL to AI Image
2Source code credit: @maxm on val.town

honoBasicAuthMiddlewareREADME.md1 match

@jdanUpdated 11 months ago
5Used to authenticate your HTTP vals build with Hono behind a username/password challenge. Browsers store this information alongside your other passwords.
6
7![Screenshot 2024-05-25 at 7.30.11 AM.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/ad83e938-8062-44d4-c8f2-5039780bf300/public)
8
9### Usage

basicAuthButtonREADME.md1 match

@jdanUpdated 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

@isidenticalUpdated 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

@burkaygurUpdated 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

@isidenticalUpdated 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

@cameronpakUpdated 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

@stevekrouseUpdated 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

gpt-image-test1 file match

@CaptainJackUpdated 21 hours ago
测试 gpt image 的不同 api 能否满足图片生成要求

image-inpainting1 file match

@themichaellaiUpdated 3 days 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