Fibo Edit 1 5
Quick start
# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
-H "content-type: application/json" \
-d '{
"model": "bria/fibo-edit-1.5",
"images": ["https://example.com/input.jpg"]
}'
# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
-J '{"model": "bria/fibo-edit-1.5", "images": ["https://example.com/input.jpg"]}'Parameters
One to four input images, each a public URL or base64-encoded image data (a `data:` URI prefix is accepted). Refer to them in the instruction as "image 1", "image 2", and so on. Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.
Output aspect ratio. Defaults to the aspect ratio of the first input image.
Edit instruction in natural language. Provide this or `structured_instruction`.
When true, the result carries a `warning` if the text input may reference IP-protected content. Default false.
Black-and-white mask the same size as the input image, a public URL or base64-encoded image data (a `data:` URI prefix is accepted). White areas are edited and black areas are kept. Only allowed with a single input image. Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.
Output image format. Default png.
Reject the request if the instruction fails content moderation. Default true.
Seed for reproducible results.
Structured (VGL) edit instruction as a JSON string, as returned by a previous result. Provide this or `instruction`.
Reject the request if an input image or the mask fails content moderation. Default true.
Fail the request if the edited image fails content moderation. Default true.