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/$%7Burl%7D?q=api&page=926&format=json

For typeahead suggestions, use the /typeahead endpoint:

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

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

Found 13254 results for "api"(1857ms)

passionateScarletPrawnREADME.md1 match

@stevekrouseโ€ขUpdated 6 months ago
1๐Ÿ‘• **Shirtgen API Endpoint**
2
3Shirtgen lets you generate AI-powered t-shirt designs with just a prompt! ๐Ÿ–‹๏ธ Choose between the standard "Flux Schnell" model or the enhanced "Pro" model. Perfect for creating unique custom apparel in seconds! ๐Ÿš€

laudableFuchsiaMastodonmain.tsx7 matches

@stevekrouseโ€ขUpdated 6 months ago
91 }
92
93 const REPLICATE_API_KEY = Deno.env.get("REPLICATE_API_KEY");
94
95 if (REPLICATE_API_KEY) {
96 const modelVersion = useProModel ? "black-forest-labs/flux-1.1-pro" : "black-forest-labs/flux-schnell";
97 const settings = {
98 outputFormat: "jpg",
99 outputQuality: 90,
100 megapixels: "1",
101 };
102
103 console.log("Sending initial request to Replicate...");
104 const response = await fetch(`https://api.replicate.com/v1/models/${modelVersion}/predictions`, {
105 method: "POST",
106 headers: {
107 "Content-Type": "application/json",
108 "Authorization": `Bearer ${REPLICATE_API_KEY}`,
109 },
110 body: JSON.stringify({
114 output_quality: settings.outputQuality,
115 disable_safety_checker: true,
116 megapixels: settings.megapixels,
117 },
118 }),
127 const resultResponse = await fetch(prediction.urls.get, {
128 headers: {
129 "Authorization": `Token ${REPLICATE_API_KEY}`,
130 },
131 });

laudableFuchsiaMastodonREADME.md1 match

@stevekrouseโ€ขUpdated 6 months ago
1๐Ÿ‘• **Shirtgen API Endpoint**
2
3Shirtgen lets you generate AI-powered t-shirt designs with just a prompt! ๐Ÿ–‹๏ธ Choose between the standard "Flux Schnell" model or the enhanced "Pro" model. Perfect for creating unique custom apparel in seconds! ๐Ÿš€

shirtGenScriptREADME.md1 match

@stevekrouseโ€ขUpdated 6 months ago
1๐Ÿ‘• **Shirtgen API Endpoint**
2
3Shirtgen lets you generate AI-powered t-shirt designs with just a prompt! ๐Ÿ–‹๏ธ Choose between the standard "Flux Schnell" model or the enhanced "Pro" model. Perfect for creating unique custom apparel in seconds! ๐Ÿš€

shirtGenScriptmain.tsx7 matches

@stevekrouseโ€ขUpdated 6 months ago
13 }
14
15 const REPLICATE_API_KEY = Deno.env.get("REPLICATE_API_KEY");
16
17 if (REPLICATE_API_KEY) {
18 const modelVersion = useProModel ? "black-forest-labs/flux-1.1-pro" : "black-forest-labs/flux-schnell";
19 const settings = {
20 outputFormat: "jpg",
21 outputQuality: 90,
22 megapixels: "1",
23 };
24
25 console.log("Sending initial request to Replicate...");
26 const response = await fetch(`https://api.replicate.com/v1/models/${modelVersion}/predictions`, {
27 method: "POST",
28 headers: {
29 "Content-Type": "application/json",
30 "Authorization": `Bearer ${REPLICATE_API_KEY}`,
31 },
32 body: JSON.stringify({
36 output_quality: settings.outputQuality,
37 disable_safety_checker: true,
38 megapixels: settings.megapixels,
39 },
40 }),
49 const resultResponse = await fetch(prediction.urls.get, {
50 headers: {
51 "Authorization": `Token ${REPLICATE_API_KEY}`,
52 },
53 });

shirtGenScriptREADME.md1 match

@stevekrouseโ€ขUpdated 6 months ago
1๐Ÿ‘• **Shirtgen API Endpoint**
2
3Shirtgen lets you generate AI-powered t-shirt designs with just a prompt! ๐Ÿ–‹๏ธ Choose between the standard "Flux Schnell" model or the enhanced "Pro" model. Perfect for creating unique custom apparel in seconds! ๐Ÿš€

shirtGenScriptmain.tsx7 matches

@stevekrouseโ€ขUpdated 6 months ago
13 }
14
15 const REPLICATE_API_KEY = Deno.env.get("REPLICATE_API_KEY");
16
17 if (REPLICATE_API_KEY) {
18 const modelVersion = useProModel ? "black-forest-labs/flux-1.1-pro" : "black-forest-labs/flux-schnell";
19 const settings = {
20 outputFormat: "jpg",
21 outputQuality: 90,
22 megapixels: "1",
23 };
24
25 console.log("Sending initial request to Replicate...");
26 const response = await fetch(`https://api.replicate.com/v1/models/${modelVersion}/predictions`, {
27 method: "POST",
28 headers: {
29 "Content-Type": "application/json",
30 "Authorization": `Bearer ${REPLICATE_API_KEY}`,
31 },
32 body: JSON.stringify({
36 output_quality: settings.outputQuality,
37 disable_safety_checker: true,
38 megapixels: settings.megapixels,
39 },
40 }),
49 const resultResponse = await fetch(prediction.urls.get, {
50 headers: {
51 "Authorization": `Token ${REPLICATE_API_KEY}`,
52 },
53 });

shirtGenScriptmain.tsx7 matches

@torlancoโ€ขUpdated 6 months ago
13 }
14
15 const REPLICATE_API_KEY = Deno.env.get("REPLICATE_API_KEY");
16
17 if (REPLICATE_API_KEY) {
18 const modelVersion = useProModel ? "black-forest-labs/flux-1.1-pro" : "black-forest-labs/flux-schnell";
19 const settings = {
20 outputFormat: "jpg",
21 outputQuality: 90,
22 megapixels: "1",
23 };
24
25 console.log("Sending initial request to Replicate...");
26 const response = await fetch(`https://api.replicate.com/v1/models/${modelVersion}/predictions`, {
27 method: "POST",
28 headers: {
29 "Content-Type": "application/json",
30 "Authorization": `Bearer ${REPLICATE_API_KEY}`,
31 },
32 body: JSON.stringify({
36 output_quality: settings.outputQuality,
37 disable_safety_checker: true,
38 megapixels: settings.megapixels,
39 },
40 }),
49 const resultResponse = await fetch(prediction.urls.get, {
50 headers: {
51 "Authorization": `Token ${REPLICATE_API_KEY}`,
52 },
53 });

shirtGenScriptREADME.md1 match

@torlancoโ€ขUpdated 6 months ago
1๐Ÿ‘• **Shirtgen API Endpoint**
2
3Shirtgen lets you generate AI-powered t-shirt designs with just a prompt! ๐Ÿ–‹๏ธ Choose between the standard "Flux Schnell" model or the enhanced "Pro" model. Perfect for creating unique custom apparel in seconds! ๐Ÿš€

shirtGenREADME.md2 matches

@torlancoโ€ขUpdated 6 months ago
9
10## Image Generation Sources
11- **With Replicate API Key**: Uses **Replicate Hosted Flux models** for high-quality designs.
12- **Without Replicate Key**: Falls back to a Val.town image generator for quick designs.
13
14## Requirements
15- **Optional Replicate API Key**: To use the advanced models, set `REPLICATE_API_KEY` in your environment.

vapi-minutes-db1 file match

@henrywilliamsโ€ขUpdated 3 days ago

vapi-minutes-db2 file matches

@henrywilliamsโ€ขUpdated 3 days ago
socialdata
Affordable & reliable alternative to Twitter API: โžก๏ธ Access user profiles, tweets, followers & timeline data in real-time โžก๏ธ Monitor profiles with nearly instant alerts for new tweets, follows & profile updates โžก๏ธ Simple integration
artivilla
founder @outapint.io vibe coding on val.town. dm me to build custom vals: https://artivilla.com