Image model

FLUX.1 Schnell

FLUX.1 [schnell] is a 12B rectified flow text-to-image model from Black Forest Labs, distilled for high-quality generation in 1–4 steps.

Model IDblack-forest-labs/flux-1-schnell

API

Call FLUX.1 Schnell

Every model takes the same request, so switching to FLUX.1 Schnell is a change to the model field. These samples are written for its own contract and send as they are.

import Mynth from "@mynthio/sdk";

const mynth = new Mynth();

const task = await mynth.image.generate({
  model: "black-forest-labs/flux-1-schnell",
  prompt: "A lighthouse at dusk, 35mm film",
  size: "1:1",
});

console.log(task.urls[0]);

Specifications

What FLUX.1 Schnell accepts

Read from the same registry the API validates against. A request outside it is refused when the task is created, before anything is charged.

Modes and inputs

Text → Image
Prompt only

Output

Aspect ratios
  • 1:1
  • 9:7
  • 7:9
  • 19:13
  • 13:19
  • 7:4
  • 4:7

Leave out size, or send auto, and Mynth picks one for the prompt. Any other ratio snaps to the closest of these. Sizes

4K
No. A 4k size fails the task

Prompt

Negative prompt
Not supported. Dropped before the provider call, no error
The contract as GET /models returns it
{
  "modes": {
    "txt->img": {}
  }
}

Pricing

What it costs

Pay per result, in USD, with no subscription. A failed image or video costs nothing. How pricing works

Rates

Image
$0.002 / image

Estimate a request

Images
1

$0.0021 × $0.002

Held when the task is created. Only images that succeed are charged.