fibo_edit API
fibo_edit from Bria is available for Image generation or processing through ServerNet’s native API. Use the request example and supported limits on this page.
AvailableService type
1 Model-defined image units · The final usage amount follows the reported result and the permitted request options.
The usage rate is fixed at request admission. Reported consumption determines the final usage amount.
- API model ID
- di-briafibo-edit-5ac424af87
- Model developer
- Bria
- Service type
- Image generation or processing
- Current availability
- Available
- Catalogue task
- Image generation or processing
- Native billing basis
- Model-defined image units
Model features
No additional gateway capabilities have been confirmed for this model.
What is fibo_edit?
Use the public identifier di-briafibo-edit-5ac424af87 for fibo_edit in ServerNet. The gateway uses this identifier to select the configured route; the developer is Bria.
Where to use fibo_edit
- Evaluate fibo_edit on representative visual tasks before selecting it.
- Check dimensions, input image requirements and output format for fibo_edit.
- Keep the original prompt and task settings so visual results can be reproduced.
Model description
Original catalogue description in English. It describes the model; the gateway limits and availability on this page define what you can request here.
🥳 For a limited time, Fibo Edit is free on DeepInfra 🥳 YOUR AI, YOUR RULES. Visual Generation for Production-Grade. FIBO Edit. An open-source image editing model with native masking and a lightweight 8B architecture.
How to evaluate this model
For fibo_edit, compare the accepted input format and billing basis with alternatives in the same operation.
Before you integrate
- Use a representative test set and check factual accuracy, format and failure cases.
- Keep the first request bounded. Follow the operation-specific example and its API scope.
- Record response time and usage in your own environment before setting a production budget.
Image workflows
Check accepted inputs, dimensions and the rate unit before generating.
Compare models ↗Build your integration
Create a project key with ai:native and send this page’s example to /v1/inference. Set the model field to di-briafibo-edit-5ac424af87. Store X-Request-Id and X-ServerNet-Charge-Irt with the result, and compare the final amount with your account’s usage receipt. Reuse the same Idempotency-Key only for an identical retry. If the result contains a file link, download and save the file when you receive it. Keeping the response for replay for 24 hours does not extend the supplier’s file-link lifetime.
Inputs and service limits
Keep the input and request options within this route’s documented limits. Check GET /v1/models before sending and use the matching key permission. The reserved amount bounds admission; the usage receipt records the final settled amount.
A bounded request cost is reserved before sending. The verified tariff or reported provider cost is settled using the exchange rate and sale markup. Media is not billed as chat tokens. Use Data URLs for valid images, PCM WAV audio, or H.264 MP4 video on routes that accept video input.
Accepted ServerNet API parameters
Gateway request contract: 2026-10-11. These fields and defaults are enforced by /v1/inference; availability is shown above. Text byte limits are measured as UTF-8 bytes.
| Parameter | Type | Required | Declared constraints |
|---|---|---|---|
instruction | string | No | Maximum UTF-8 bytes: 8000
|
image | string | Yes | Maximum UTF-8 bytes: 8000000
format: data:image/(png|jpeg|webp);base64
|
mask | string | No | Maximum UTF-8 bytes: 8000000
format: data:image/(png|jpeg|webp);base64
|
structured_instruction | string | No | Maximum UTF-8 bytes: 8000
|
negative_prompt | string | No | Maximum UTF-8 bytes: 8000
|
guidance_scale | integer | No | Minimum: 3
Maximum: 5
|
steps_num | integer | No | Minimum: 20
Maximum: 50
|
seed | integer | No | |
prompt_content_moderation | boolean | No | |
visual_input_content_moderation | boolean | No | |
visual_output_content_moderation | boolean | No |
Connect to fibo_edit API
Enable ai:native on your key and ai:models:read to check availability. Set SERVERNET_API_KEY in your server environment. Change the idempotency key for each new request; keep it unchanged only for an identical retry.
curl https://servernet.cloud/v1/inference \
-H "Authorization: Bearer $SERVERNET_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: CHANGE_FOR_EACH_NEW_REQUEST' \
-d '{
"model": "di-briafibo-edit-5ac424af87",
"image": "data:image/png;base64,REPLACE_WITH_YOUR_FILE"
}'import json, os, urllib.request
from uuid import uuid4
body = json.loads("{\n \"model\": \"di-briafibo-edit-5ac424af87\",\n \"image\": \"data:image/png;base64,REPLACE_WITH_YOUR_FILE\"\n}")
request = urllib.request.Request(
"https://servernet.cloud/v1/inference",
data=json.dumps(body).encode(),
headers={
"Authorization": "Bearer " + os.environ["SERVERNET_API_KEY"],
"Content-Type": "application/json",
"Idempotency-Key": str(uuid4()),
},
method="POST",
)
with urllib.request.urlopen(request) as response:
print(json.load(response))import { randomUUID } from 'node:crypto';
const response = await fetch('https://servernet.cloud/v1/inference', {
method: 'POST',
headers: {
Authorization: 'Bearer ' + process.env.SERVERNET_API_KEY,
'Content-Type': 'application/json',
'Idempotency-Key': randomUUID(),
},
body: JSON.stringify({
"model": "di-briafibo-edit-5ac424af87",
"image": "data:image/png;base64,REPLACE_WITH_YOUR_FILE"
}),
});
if (!response.ok) throw new Error('HTTP ' + response.status);
console.log(await response.json());Use the same Idempotency-Key when retrying an identical request. Successful responses are replayed without a second charge for 24 hours. Do not automatically retry when x-should-retry:false is present. The key is shown once. Store it in a server environment variable. Keep it out of browser code, GitHub and logs.
Keys, budgets and usage reportsFrequently asked questions
Is fibo_edit available through ServerNet?
fibo_edit is currently available on the configured route. Check GET /v1/models before sending a request: availability can change with provider capacity, catalogue freshness or account configuration.
Which model ID and API endpoint should I use for fibo_edit?
Create a key with ai:native and send this page’s example to /v1/inference. Video and music return a 202 receipt and a result polling URL.
How is fibo_edit usage charged?
A bounded request cost is reserved before sending. The verified tariff or reported provider cost is settled using the exchange rate and sale markup. Media is not billed as chat tokens. Use Data URLs for valid images, PCM WAV audio, or H.264 MP4 video on routes that accept video input.
What should I check before using fibo_edit in production?
Keep the input and request options within this route’s documented limits. Check GET /v1/models before sending and use the matching key permission. The reserved amount bounds admission; the usage receipt records the final settled amount.