metadata
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.