Downloads · 30 days
25
22% of all-time downloads
briaai/FIBO-edit-prompt-to-JSON
FIBO-edit-prompt-to-JSON is a machine learning model from briaai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-nc-4.0.
Downloads · 30 days
25
22% of all-time downloads
All-time downloads
116
Public
Repo size
—
Likes
2
Public
Click a slice to open those files.
.py11.2 KB · 80%
From the Hugging Face model README
BriaFibo Gemini Prompt to JSON
This is a modular pipeline block that converts a prompt to a JSON object using the FIBO-VLM model.
from diffusers.modular_pipelines import ModularPipelineBlocks
pipeline = ModularPipelineBlocks.from_pretrained("briaai/FIBO-edit-prompt-to-JSON", trust_remote_code=True)
pipeline = pipeline.init_pipeline()
output = pipeline(
image=your_image, prompt="your prompt"
)
prompt: A string prompt with editing instructionimage: An image that is being editedjson_prompt: A JSON object representing the edited prompt.