Skip to main content

Flux Model Plugin for dashAI

This plugin integrates Black Forest Labs' FLUX.1 text-to-image models into the dashAI platform using the Hugging Face diffusers backend. It enables high-quality image generation from text prompts and supports private access using a Hugging Face API token.

Included Models

1. FLUX.1 dev

Guidance-distilled model for high-quality generation, based on black-forest-labs/FLUX.1-dev.

2. FLUX.1 schnell

Timestep-distilled model optimized for fast, few-step generation, based on black-forest-labs/FLUX.1-schnell.

Both models are rectified-flow transformers, designed for high-quality image generation and compatible with CPU or GPU inference through diffusers.

About Flux

FLUX.1 is a family of state-of-the-art text-to-image models from Black Forest Labs, built on a rectified-flow transformer architecture.

Key features of FLUX.1 models:

  • Rectified-flow transformer: strong prompt adherence and image quality
  • Two variants: dev for quality, schnell for speed
  • Text-conditioned: images are guided by natural language prompts
  • Negative prompting: steer the model away from unwanted elements
  • Open weights with access control via Hugging Face

FLUX.1 is designed for deployment on desktops and cloud infrastructure, making advanced image generation more accessible.

Features

  • Image generation from text prompts
  • Both dev and schnell variants selectable at runtime
  • Reproducible generation via fixed random seeds
  • Automatic login to Hugging Face to access gated models
  • Configurable generation parameters:
    • negative_prompt: elements to avoid in the image
    • num_inference_steps: number of denoising steps
    • guidance_scale: how strongly the model follows the prompt
    • width / height: output image dimensions
    • num_images_per_prompt: number of images per prompt
    • device: detected GPU (e.g. "GPU 0: NVIDIA RTX 3090 - Compute Capability 8.6") or "CPU"

Model Parameters

Parameter Description Default
model_name FLUX.1 model ID from Hugging Face "black-forest-labs/FLUX.1-dev"
huggingface_key Hugging Face API token to access restricted models Required
negative_prompt Text prompt for elements to avoid in the image "" (optional)
num_inference_steps Number of denoising steps (higher = better quality, slower) 15
guidance_scale How strongly the model follows the prompt 3.5
seed Random seed for reproducibility (negative = random) -1
width Width of the generated image (multiple of 8) 512
height Height of the generated image (multiple of 8) 512
num_images_per_prompt Number of images to generate per prompt 1
device Inference device — a detected GPU by name (e.g. "GPU 0: NVIDIA RTX 3090 - Compute Capability 8.6") or "CPU" First detected GPU if available, else "CPU"

Requirements

Access Notice: You must accept the model terms on Hugging Face and use a valid Hugging Face token. This repository is publicly accessible, but gated. You need to agree to share your contact information to access the model files.

Notes

This plugin uses the Hugging Face diffusers pipeline for text-to-image generation.

The models are pretrained for inference and are not designed for fine-tuning through this plugin. Image dimensions must be multiples of 8.

Metadata

Release files for dashai-flux-model-package 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dashai-flux-model-package 0.0.5
File Size Uploaded Provenance
dashai_flux_model_package-0.0.5.tar.gz 3.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dashai-flux-model-package 0.0.5
File Interpreter ABI Platform
dashai_flux_model_package-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / dashai_flux_model_package-0.0.5.tar.gz

Download URL dashai_flux_model_package-0.0.5.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bfcdd4cb3138b98df41a46e76184c8614c7c1d33562bfbbe1687317f0398beed
BLAKE2b-256 checksum
How to use checksums
4146d3465e252dd2839816ebbd71321d1d54c9da4036cb1ce9567373261c7b8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / dashai_flux_model_package-0.0.5-py3-none-any.whl

Download URL dashai_flux_model_package-0.0.5-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e041548a8d584ef145fe9a040ced4895690fb2b7ecde40ef83f1cb712eb6bd32
BLAKE2b-256 checksum
How to use checksums
5af9bc1d4cd23124f7e26b40984c3bc8bbbaac732ac7f1622691fde4b1e19b31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Security for dashai-flux-model-package 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page