Public
Script
1
2
3
4
5
6
7
import fal from "npm:@fal-ai/serverless-client";
export let sdxl = async (input: { prompt: string }): Promise<{images: [{url: string}]}> => {
return await fal.subscribe("fal-ai/fast-sdxl", {
input: input,
});
};
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
February 6, 2024