MVFM

fal/queue_submit

Submit a Fal request to the queue for async processing

const app = mvfm(prelude, console_, fal_);
const prog = app({}, ($) => {
  const queued = $.fal.queue.submit("fal-ai/flux/dev", {
    input: { prompt: "A neon city at night" },
  });
  return $.console.log(queued);
});
await fold(defaults(app, { fal: crystalBallFalInterpreter }), prog);
Ctrl+Enter