OneAPIKey
← All models
Replicate

FLUX.1 [schnell]

Fast, high-quality image generation.

imagetext-to-image
Input price
per 1M tokens (with markup)
Output price
per 1M tokens (with markup)
Context window
tokens max input
About FLUX.1 [schnell]

Black Forest Labs' FLUX.1 schnell — fast open-weights image generation hosted by Replicate.

Capabilities
Streaming
Tool calling / function calls
Vision input
JSON mode
Use it through OneAPIKey
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.ONEAPIKEY_API_KEY,
  baseURL: "https://oneapikey.app/v1",
});

const res = await client.chat.completions.create({
  model: "flux-schnell",
  messages: [{ role: "user", content: "Hello!" }],
});