Black Forest Labs · IMAGE

Flux 2 Flex Image To Image API

Flux 2 Flex Image To Image is a image workflow in the Sorceress catalog.

Catalog preview — Sorceress API activation pending

Flux 2 Flex Image To Image model artwork

Using Flux 2 Flex Image To Image in your workflow

Sorceress brings Black Forest Labs models into a shared API catalog. Select this model explicitly, check its supported inputs, and keep your API key on your server. Model capabilities differ; the schema and options on this page describe this entry rather than every model from the same brand.

  • Create visual concepts and iterate on art direction.
  • Build images into an asset pipeline using the supported inputs below.

Pricing and availability

Sorceress pricing is awaiting activation. The reference catalog lists 14 credits per image 1K, 24 2K; that reference is not a Sorceress quote. This entry cannot currently be invoked through Sorceress.

Inputs and supported options

{
  "type": "object",
  "required": [
    "input_urls",
    "prompt",
    "aspect_ratio",
    "resolution"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "title": "Prompt",
      "maxLength": 5000,
      "description": "Must be between 3 and 5000 characters. (Max length: 5000 characters)"
    },
    "input_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "title": "Input URLs",
      "maxItems": 8,
      "description": "Input reference images (1-8 images). (Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB)"
    },
    "resolution": {
      "enum": [
        "1K",
        "2K"
      ],
      "type": "string",
      "title": "Resolution",
      "description": "Required. Output image resolution."
    },
    "aspect_ratio": {
      "enum": [
        "1:1",
        "4:3",
        "3:4",
        "16:9",
        "9:16",
        "3:2",
        "2:3",
        "auto"
      ],
      "type": "string",
      "title": "Aspect ratio",
      "description": "Required. Aspect ratio for the generated image. Select 'auto' to match the first input image ratio (requires input image)."
    },
    "nsfw_checker": {
      "type": "boolean",
      "title": "NSFW checker",
      "description": "Defaults to false. When false, no additional content filtering is applied and results are returned directly by the model."
    }
  }
}

Completion, results and billing

Save the job identifier returned by asynchronous requests and poll the jobs endpoint until the job succeeds or fails. Do not resubmit a generation just because it is still processing. Chat returns a completed reply and usage details. A multi-step workflow can include separately billed successful steps even if a later step fails. Keep returned asset links with your project, and consult each action for its output format.

Coding agents can discover the current catalog and input requirements from the Sorceress agent instructions. Use a Sorceress key; provider credentials stay on the server.