Public
Script
  • turbo1912 avatar
    call_fal_fal_sdxl
    @turbo1912
    An interactive, runnable TypeScript val by turbo1912
    Script
  • joey avatar
    emailOnGithubStar
    @joey
    // Notifies you when you get a new star on your repo
    Script
  • ayush37 avatar
    emailGPT3
    @ayush37
    Forked from stevekrouse/emailGPT3
    Script
  • stevekrouse avatar
    telegram
    @stevekrouse
    Forked from pomdtr/telegram
    Script
  • stevekrouse avatar
    signedFetch
    @stevekrouse
    Forked from stevekrouse/runValAPIAuth
    Script
  • ktodaz avatar
    getGPTResponse
    @ktodaz
    Get a response from GPT for the player.
    Script
  • austinm911 avatar
    telegram
    @austinm911
    Forked from stevekrouse/telegram
    Script
  • jdan avatar
    elements
    @jdan
    An interactive, runnable TypeScript val by jdan
    Script
  • stevekrouse avatar
    gpt4
    @stevekrouse
    Forked from rlimit/gpt4
    Script
  • turbo1912 avatar
    fal_sdxl
    @turbo1912
    fal/sdxl This val is an example usage sdxl with fal.ai's javascript client. https://www.fal.ai/models/stable-diffusion-xl The client offers a way for you to subscribe to queue updates. This is useful if you want to get notified when a function is done running, or if you want to get the logs as they are being generated. import fal from "npm:@fal-ai/serverless-client"; const result = await fal.subscribe(FUNCTION_ID, { input: { seed: 176400, }, pollInterval: 5000, logs: true, onQueueUpdate: (update) => { console.log(update.status); if (update.status === "IN_PROGRESS") { update.logs.map((log) => log.message).forEach(console.log); } }, }); console.log(result.url); The onQueueUpdate callback will be called every time the queue status changes. The update object contains the queue status data as documented on the status types section .
    Script
  • ktodaz avatar
    gpt3Example
    @ktodaz
    Forked from isfeng/gpt3Example
    Script
  • stevekrouse avatar
    runValAPIAuth
    @stevekrouse
    // Make an authenticated request to another user's val
    Script
  • yawnxyz avatar
    createGeneratedVal
    @yawnxyz
    Forked from andreterron/createGeneratedVal
    Script
1
Next
October 23, 2023