File size: 1,222 Bytes
8b4c5cb 2229af1 8b4c5cb 2229af1 8b4c5cb 2229af1 8b4c5cb 2229af1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | ---
title: NFA Track R FLUX.2 Fun CN ZeroGPU
emoji: 🎬
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: "5.49.1"
app_file: app.py
pinned: false
license: other
short_description: Real Fun depth ControlNet (NOT soft image=depth)
---
# Track R — FLUX.2 Fun depth ControlNet (ZeroGPU)
**Hard rule:** This Space runs **real** ALIMAMA / VideoX-Fun Fun ControlNet Union depth.
Soft Flux2 `image=depth` is **banned forever** on this path.
## Stack (VRAM choice)
| Piece | Value |
|---|---|
| Painter + CN | VideoX-Fun `Flux2ControlPipeline` + `FLUX.2-dev-Fun-Controlnet-Union-2602` |
| Base | `black-forest-labs/FLUX.2-dev` |
| GPU | `@spaces.GPU(duration=300, size="large")` = **48GB** @ **1×** Pro minutes |
| Memory mode | VideoX-Fun **`model_cpu_offload_and_qfloat8`** (official low-VRAM Fun CN path) |
| Escalation | If OOM → redeploy with `size="xlarge"` + `model_cpu_offload` (2× quota) |
Requires Space secret **`HF_TOKEN`** (gated FLUX.2-dev license accepted on the account).
## API
Same client contract as Plan A soft Space: `/generate_still`
(`positive`, `negative`, `depth_image`, `seed`, `width`, `height`, `steps`, `guidance`, `cn_strength`)
Depth is **required**. Soft depth is never used.
|