Open-weight text-to-image model from Black Forest Labs with guidance-distilled quality. Supports image-to-image conditioning and fine-grained control over inference steps.
Computed: 1024×1024
Generated image will appear here
promptstringrequiredall 9 providersThe prompt to generate an image from.
widthnumberall 9 providersheightnumberall 9 providersaspect_ratiostringall 9 providersresolutionstringall 9 providersseednumber4 of 9 providersThe seed to generate the image with.
Supported by fal, replicate, fireworks, wavespeed
guidance_scalenumberdefault: 3.52 of 9 providersSupported by fal, fireworks
stepsnumberdefault: 284 of 9 providersSupported by fal, together, nebius, fireworks
start_image_urlstring1 of 9 providersSupported by fal
strengthnumberdefault: 0.951 of 9 providersSupported by fal
// npm install openpixels
import { OpenPixels } from "openpixels"
const client = new OpenPixels({
apiKey: "sk-op-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
})
const result = await client.run({
model: "flux-1-dev",
prompt: "A beautiful sunset over a calm ocean",
width: 1024,
height: 1024,
aspect_ratio: "1:1",
resolution: "720p",
guidance_scale: 3.5,
steps: 28,
strength: 0.95
})