Downloads · 30 days
0
kkytai/scriptviz-flux-dev
scriptviz-flux-dev is a machine learning model from kkytai. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
High-quality image generation using FLUX.1-dev without PuLID character consistency.
Downloads · 30 days
0
Access
Public
Updated Jan 14, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py16.1 KB · 75%
From the Hugging Face model README
High-quality image generation using FLUX.1-dev without PuLID character consistency.
| GPU | Mode | Batch Size | Notes |
|---|---|---|---|
| A100 80GB | Full GPU | 4+ | Best performance |
| L40S 48GB | CPU Offload | 2-4 | Good performance |
| A10G 24GB | Sequential Offload | 1-2 | Slower, but works |
{
"inputs": "A professional portrait of a business person in a modern office",
"parameters": {
"num_inference_steps": 28,
"guidance_scale": 3.5,
"width": 1344,
"height": 768
}
}
{
"inputs": [
"A sunset over mountains",
"A city skyline at night",
"A peaceful forest scene"
],
"parameters": {
"num_inference_steps": 28,
"guidance_scale": 3.5
}
}
Single:
{
"image": "data:image/png;base64,..."
}
Batch:
[
{"image": "data:image/png;base64,..."},
{"image": "data:image/png;base64,..."}
]
| Parameter | Default | Description |
|---|---|---|
num_inference_steps | 28 | Denoising steps (20-50 recommended) |
guidance_scale | 3.5 | Prompt adherence (3.0-7.0) |
width | 1344 | Image width |
height | 768 | Image height |
seed | -1 | Random seed (-1 for random) |
| Variable | Default | Description |
|---|---|---|
TORCH_COMPILE_MODE | reduce-overhead | Compile mode (reduce-overhead/default/false) |
FIXED_BATCH_SIZE | 4 | Batch size for CUDA graphs |
NUM_INFERENCE_STEPS | 28 | Default inference steps |
ENABLE_OFFLOAD | auto | CPU offload (auto/true/false) |
handler.py and requirements.txt| Handler | Steps | Quality | PuLID | Cold Start | Use Case |
|---|---|---|---|---|---|
| flux-schnell | 4 | Good | No | Fast | Quick previews |
| flux-dev-no-pulid | 28 | Excellent | No | Medium | High quality generation |
| flux-dev-pulid | 28 | Excellent | Yes | Slow | Character consistency |