OpenPixels

FLUX.1 [dev] Performance

Author:Black Forest Labs
Type:Image
Providers:fal.ai (Flat rate: $0.025 per invocation), Replicate (Flat rate: $0.025 per invocation), runware.ai (Unknown - verify with provider), Together (~$0.025 at 1024x1024), Hyperbolic (~$0.01 at 1024x1024), Nebius (Unknown - verify with provider)
Aliases:flux-dev, blackforestlabs/flux-dev

Parameter Playground

Generated image will appear here

Arguments

  • promptRequiredfal, replicate, runware, together, hyperbolic, nebius
    Type:string
    The prompt to generate an image from.
  • widthRequiredfal, replicate, runware, together, hyperbolic, nebius
    Type:number
    The width of the image to generate.
  • heightRequiredfal, replicate, runware, together, hyperbolic, nebius
    Type:number
    The height of the image to generate.
  • aspect_ratioRequiredfal, replicate, runware, together, hyperbolic, nebius
    Type:string
    The aspect ratio of the image to generate.
  • resolutionRequiredfal, replicate, runware, together, hyperbolic, nebius
    Type:string
    The resolution of the image to generate.
// 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"
})