Back to APIs list
Air quality API examples & templates
Use these vals as a playground to view and fork Air quality API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
remind_new_open_llm
@mattx
Script
remind_new_open_llm This val sends you an email whenever a new LLM appears in the top 10 LLMs on the Open LLM Leaderboard . Use an interval of at least 12 hours as the top 10 doesn't change that frequently.
You can adjust the array slice to change how many places on the leaderboard to monitor, or remove it entirely to fill up your mailbox. Bugs If a model unfairly gets to the top 10 and then gets flagged for it, you'll get a reminder for an LLM that's in most cases not new at all. Hopefully this doesn't happen too often.
creative_upscaler
@fal
Script
Creative Upscaler link to val - https://www.val.town/v/fal/creative_upscaler Usage const upscaledImage = @fal.creative_upscaler("an owl", "https://storage.googleapis.com/falserverless/model_tests/upscale/owl.png") Usage import fal from "npm:@fal-ai/serverless-client";
const result = await fal.subscribe("fal-ai/creative-upscaler", {
input: {
prompt: "an owl",
image_url: "https://storage.googleapis.com/falserverless/model_tests/upscale/owl.png",
},
logs: true,
onQueueUpdate: (update) => {
if (update.status === "IN_PROGRESS") {
update.logs.map((log) => log.message).forEach(console.log);
}
},
}); https://www.fal.ai/models/creative-upscaler