Fibo-2.0-editing / README.md
tingled's picture
gradio server + workflow app (#3)
e99af70
|
Raw History Blame Contribute Delete
1.79 kB

A newer version of the Gradio SDK is available: 6.31.0

Upgrade
metadata
title: FIBO 2.0 Edit Turbo
emoji: ⚡
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 6.30.0
python_version: '3.12'
app_file: app.py
pinned: false
short_description: Fibo 2.0 Edit Turbo image editing in 4 steps
hf_oauth: true
hf_oauth_scopes:
  - inference-api
models:
  - briaai/Fibo-2.0-edit-turbo
  - briaai/Fibo-2.0-dev

Fibo 2.0 Edit Turbo on ZeroGPU: instruction-based image editing in 4 guidance-free steps, with up to 4 reference images and an optional mask. The JSON instructions come from the Bria API's /v2/vgl/edit, written with Fibo 2.0's VGL prompts.

Two surfaces:

  • / — Studio (replaces the classic form UI): a bespoke Photoshop-style editor (gr.Server API + custom UI): brush-to-mask, layers (source / mask / up to 3 extra references), before/after split view, run history with one-click restore, bundled example edits. All classic functionality is kept: 4 references, mask, JSON instruction override (auto-filled by the VGL writer, cleared when inputs change), seed/steps. Edits call the same render as before, so the AOTI-accelerated pipeline in pipelines.py and the /v2/vgl/edit prompt writing behave identically.
  • /workflow — Workflow canvas (gr.Workflow): node-based edit pipelines you can rewire and chain. Run nodes one at a time with ▶ — up-to-date upstream results are reused. Saving the graph back to the Space is off: it needs the write-repos OAuth scope, which would give the Space write access to every signed-in visitor's repos. To change the starter graph, edit workflow.json in the repo.

Space secrets: HF_TOKEN (read access to the gated model), BRIA_API_TOKEN (the Bria API).