Fast inference for generative media models
Run Stable Diffusion, Flux, and other generative models with fal.ai's optimized inference infrastructure.
Use fal.ai through Keystore with zero code changes. Keys are resolved from the vault and injected at request time.
import Keystore from "@keystore/sdk";
const ks = new Keystore({ agentToken: process.env.KS_TOKEN! });
ks.interceptAll();
const res = await fetch("https://fal.run/fal-ai/flux/dev", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
prompt: "A beautiful landscape painting",
image_size: "landscape_16_9",
}),
});
const result = await res.json();Request access and our concierge team will provision credentials for you — usually within 24 hours. No setup on your end.
Request Access