Fibo Edit
שילוב
bria/fibo-edit/edit
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/bria/fibo-edit/edit?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY"
const API = "https://api.doitong.ru/v1";
const headers = {
"Authorization": "Bearer " + process.env.DOITONG_API_KEY,
"Content-Type": "application/json",
};
// Run the model; wait up to 20 s for the finished result in the same call
let res = await fetch(API + "/run/bria/fibo-edit/edit?wait=20", {
method: "POST",
headers,
body: JSON.stringify({}),
});
let request = await res.json();
if (!res.ok) throw new Error(request.error.code + ": " + request.error.message);
// Not finished yet: long-poll until it is
while (request.status === "queued" || request.status === "running") {
res = await fetch(API + "/requests/" + request.id + "?wait=20", { headers });
request = await res.json();
}
if (request.status !== "succeeded") throw new Error(JSON.stringify(request.error));
console.log(request.outputs.map((o) => o.url), request.cost.credits + " API credits ($" + request.cost.usd + ")");
import os
import requests
API = "https://api.doitong.ru/v1"
headers = {"Authorization": "Bearer " + os.environ["DOITONG_API_KEY"]}
payload = {}
# Run the model; wait up to 20 s for the finished result in the same call
r = requests.post(API + "/run/bria/fibo-edit/edit", params={"wait": 20}, json=payload, headers=headers)
request = r.json()
if not r.ok:
raise RuntimeError(request["error"]["code"] + ": " + request["error"]["message"])
# Not finished yet: long-poll until it is
while request["status"] in ("queued", "running"):
request = requests.get(API + "/requests/" + request["id"], params={"wait": 20}, headers=headers).json()
if request["status"] != "succeeded":
raise RuntimeError(request["error"])
print([o["url"] for o in request["outputs"]], request["cost"]["credits"], "API credits", "$" + request["cost"]["usd"])
# 1. Connect once (Claude Code; Cursor, VS Code, Claude Desktop: https://doitong.com/he/developers/docs/mcp)
claude mcp add --transport http doitong-models https://api.doitong.ru/v1/mcp \
--header "Authorization: Bearer $DOITONG_API_KEY"
# 2. Your agent calls the "run" tool with:
{
"model_id": "bria/fibo-edit/edit",
"input": {}
}
קראו למודל Fibo Edit (bria/fibo-edit/edit) דרך Doitong API. תיעוד לסוכנים: https://doitong.com/he/developers/models/bria/fibo-edit/edit.md
POST https://api.doitong.ru/v1/run/bria/fibo-edit/edit?wait=20
Authorization: Bearer $DOITONG_API_KEY
Content-Type: application/json
{}
אם סטטוס התגובה הוא "queued" או "running", בצעו polling ל־GET https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20 עד שהוא יהיה "succeeded"; הקבצים נמצאים ב־outputs[].url. שליחת POST ל־https://api.doitong.ru/v1/quote/bria/fibo-edit/edit עם אותו גוף מחזירה את המחיר המדויק לפני ההרצה.
בקשה זו: 0.04 $ 40 קרדיטי API · ≈ 4.22 ₽ הרצה בדף הזה
מפתח ה־API החדש שלכם. הוא מוצג רק עכשיו וכבר מופיע בקוד ובשדה מפתח ה-API שלמטה. שמרו עליו בסוד: לעולם אל תכניסו אותו לקוד שרץ בדפדפן.
התוצאה הראשונה שלך תופיע כאן
בנו בקשה למטה והריצו אותה עם מפתח ה־API שלכם. הפלטים מועתקים לאחסון שלנו ונשמרים לצמיתות או למשך 7 ימים ללא תשלום.
בנה בקשה
הפקדים נוצרים מסכמת המודל. הקוד והמחיר מתעדכנים כשמשנים אותם.
/run/bria/fibo-edit/edit?wait=20
הצעת מחיר → 0.04 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/bria/fibo-edit/edit?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY"
const API = "https://api.doitong.ru/v1";
const headers = {
"Authorization": "Bearer " + process.env.DOITONG_API_KEY,
"Content-Type": "application/json",
};
// Run the model; wait up to 20 s for the finished result in the same call
let res = await fetch(API + "/run/bria/fibo-edit/edit?wait=20", {
method: "POST",
headers,
body: JSON.stringify({}),
});
let request = await res.json();
if (!res.ok) throw new Error(request.error.code + ": " + request.error.message);
// Not finished yet: long-poll until it is
while (request.status === "queued" || request.status === "running") {
res = await fetch(API + "/requests/" + request.id + "?wait=20", { headers });
request = await res.json();
}
if (request.status !== "succeeded") throw new Error(JSON.stringify(request.error));
console.log(request.outputs.map((o) => o.url), request.cost.credits + " API credits ($" + request.cost.usd + ")");
import os
import requests
API = "https://api.doitong.ru/v1"
headers = {"Authorization": "Bearer " + os.environ["DOITONG_API_KEY"]}
payload = {}
# Run the model; wait up to 20 s for the finished result in the same call
r = requests.post(API + "/run/bria/fibo-edit/edit", params={"wait": 20}, json=payload, headers=headers)
request = r.json()
if not r.ok:
raise RuntimeError(request["error"]["code"] + ": " + request["error"]["message"])
# Not finished yet: long-poll until it is
while request["status"] in ("queued", "running"):
request = requests.get(API + "/requests/" + request["id"], params={"wait": 20}, headers=headers).json()
if request["status"] != "succeeded":
raise RuntimeError(request["error"])
print([o["url"] for o in request["outputs"]], request["cost"]["credits"], "API credits", "$" + request["cost"]["usd"])
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "run",
"arguments": {
"model_id": "bria/fibo-edit/edit",
"input": {},
"wait_seconds": 20
}
}
}
הרצת הבקשה הזו
המפתח שלך נשאר בדפדפן הזה: הוא נשלח רק אל Doitong API ונשמר ב-localStorage רק אם מסמנים זכור. קבל מפתח API
מידע על Fibo Edit
עורך תמונה בשליטה מדויקת. הקלט כולל `image_url`, `mask_url` אופציונלי ו-`instruction` או `vgl` מוכן מראש. לחלופין, ניתן לספק `original_vgl` ו-`new_vgl` כדי לערוך לפי ההבדל ביניהם. `steps_num` נע בין 20 ל-50 (ברירת מחדל 30), וזמינים גם `guidance_scale`, `negative_prompt` ו-`seed`.
פרמטרים
שלח את השם הקנוני או את השם המקומי, לא את שניהם. שמות קנוניים
image_urlאופציונלי
image
mask_urlאופציונלי
mask
instructionאופציונלי
vglאופציונלי
vgl.short_descriptionאופציונלי
vgl.objectsאופציונלי
vgl.objects[].descriptionאופציונלי
vgl.objects[].locationאופציונלי
vgl.objects[].relationshipחובה
vgl.objects[].relative_sizeאופציונלי
vgl.objects[].shape_and_colorאופציונלי
vgl.objects[].textureאופציונלי
vgl.objects[].appearance_detailsאופציונלי
vgl.objects[].number_of_objectsאופציונלי
vgl.objects[].poseאופציונלי
vgl.objects[].expressionאופציונלי
vgl.objects[].clothingאופציונלי
vgl.objects[].actionאופציונלי
vgl.objects[].genderאופציונלי
vgl.objects[].skin_tone_and_textureאופציונלי
vgl.objects[].orientationאופציונלי
vgl.background_settingאופציונלי
vgl.lightingאופציונלי
vgl.lighting.conditionsאופציונלי
vgl.lighting.directionאופציונלי
vgl.lighting.shadowsאופציונלי
vgl.aestheticsאופציונלי
vgl.aesthetics.compositionאופציונלי
vgl.aesthetics.color_schemeאופציונלי
vgl.aesthetics.mood_atmosphereאופציונלי
vgl.aesthetics.preference_scoreאופציונלי
vgl.aesthetics.aesthetic_scoreאופציונלי
vgl.photographic_characteristicsאופציונלי
vgl.photographic_characteristics.depth_of_fieldאופציונלי
vgl.photographic_characteristics.focusאופציונלי
vgl.photographic_characteristics.camera_angleאופציונלי
vgl.photographic_characteristics.lens_focal_lengthאופציונלי
vgl.style_mediumאופציונלי
vgl.text_renderאופציונלי
vgl.contextאופציונלי
vgl.artistic_styleאופציונלי
vgl.edit_instructionאופציונלי
original_vglאופציונלי
original_vgl.short_descriptionאופציונלי
original_vgl.objectsאופציונלי
original_vgl.objects[].descriptionאופציונלי
original_vgl.objects[].locationאופציונלי
original_vgl.objects[].relationshipחובה
original_vgl.objects[].relative_sizeאופציונלי
original_vgl.objects[].shape_and_colorאופציונלי
original_vgl.objects[].textureאופציונלי
original_vgl.objects[].appearance_detailsאופציונלי
original_vgl.objects[].number_of_objectsאופציונלי
original_vgl.objects[].poseאופציונלי
original_vgl.objects[].expressionאופציונלי
original_vgl.objects[].clothingאופציונלי
original_vgl.objects[].actionאופציונלי
original_vgl.objects[].genderאופציונלי
original_vgl.objects[].skin_tone_and_textureאופציונלי
original_vgl.objects[].orientationאופציונלי
original_vgl.background_settingאופציונלי
original_vgl.lightingאופציונלי
original_vgl.lighting.conditionsאופציונלי
original_vgl.lighting.directionאופציונלי
original_vgl.lighting.shadowsאופציונלי
original_vgl.aestheticsאופציונלי
original_vgl.aesthetics.compositionאופציונלי
original_vgl.aesthetics.color_schemeאופציונלי
original_vgl.aesthetics.mood_atmosphereאופציונלי
original_vgl.aesthetics.preference_scoreאופציונלי
original_vgl.aesthetics.aesthetic_scoreאופציונלי
original_vgl.photographic_characteristicsאופציונלי
original_vgl.photographic_characteristics.depth_of_fieldאופציונלי
original_vgl.photographic_characteristics.focusאופציונלי
original_vgl.photographic_characteristics.camera_angleאופציונלי
original_vgl.photographic_characteristics.lens_focal_lengthאופציונלי
original_vgl.style_mediumאופציונלי
original_vgl.text_renderאופציונלי
original_vgl.contextאופציונלי
original_vgl.artistic_styleאופציונלי
original_vgl.edit_instructionאופציונלי
new_vglאופציונלי
new_vgl.short_descriptionאופציונלי
new_vgl.objectsאופציונלי
new_vgl.objects[].descriptionאופציונלי
new_vgl.objects[].locationאופציונלי
new_vgl.objects[].relationshipחובה
new_vgl.objects[].relative_sizeאופציונלי
new_vgl.objects[].shape_and_colorאופציונלי
new_vgl.objects[].textureאופציונלי
new_vgl.objects[].appearance_detailsאופציונלי
new_vgl.objects[].number_of_objectsאופציונלי
new_vgl.objects[].poseאופציונלי
new_vgl.objects[].expressionאופציונלי
new_vgl.objects[].clothingאופציונלי
new_vgl.objects[].actionאופציונלי
new_vgl.objects[].genderאופציונלי
new_vgl.objects[].skin_tone_and_textureאופציונלי
new_vgl.objects[].orientationאופציונלי
new_vgl.background_settingאופציונלי
new_vgl.lightingאופציונלי
new_vgl.lighting.conditionsאופציונלי
new_vgl.lighting.directionאופציונלי
new_vgl.lighting.shadowsאופציונלי
new_vgl.aestheticsאופציונלי
new_vgl.aesthetics.compositionאופציונלי
new_vgl.aesthetics.color_schemeאופציונלי
new_vgl.aesthetics.mood_atmosphereאופציונלי
new_vgl.aesthetics.preference_scoreאופציונלי
new_vgl.aesthetics.aesthetic_scoreאופציונלי
new_vgl.photographic_characteristicsאופציונלי
new_vgl.photographic_characteristics.depth_of_fieldאופציונלי
new_vgl.photographic_characteristics.focusאופציונלי
new_vgl.photographic_characteristics.camera_angleאופציונלי
new_vgl.photographic_characteristics.lens_focal_lengthאופציונלי
new_vgl.style_mediumאופציונלי
new_vgl.text_renderאופציונלי
new_vgl.contextאופציונלי
new_vgl.artistic_styleאופציונלי
new_vgl.edit_instructionאופציונלי
seedאופציונלי
steps_numאופציונלי
negative_promptאופציונלי
guidance_scaleאופציונלי
פרמטרים של קבצים מקבלים URL ציבורי מסוג https://, כתובת URI מסוג data: בגודל של עד 10 MB, או את file_url של העלאה. קבצים
פלט
{
"id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
"object": "request",
"model": "bria/fibo-edit/edit",
"status": "succeeded",
"created_at": "2026-10-20T12:00:00Z",
"started_at": "2026-10-20T12:00:02Z",
"completed_at": "2026-10-20T12:00:09Z",
"queue_position": null,
"cost": {
"credits": 40,
"usd": "0.04",
"charged": 40,
"refunded": 0
},
"input": {},
"output": {
"image": {
"url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
"content_type": "image/jpeg",
"file_name": "0-output.jpeg",
"file_size": 1843200,
"width": 1024,
"height": 768
},
"images": [
{
"url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
"content_type": "image/jpeg",
"file_name": "0-output.jpeg",
"file_size": 1843200,
"width": 1024,
"height": 768
}
],
"vgl": {},
"structured_instruction": {}
},
"outputs": [
{
"type": "image",
"url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
"content_type": "image/jpeg",
"file_size": 1843200,
"width": 1024,
"height": 768,
"stored": true
}
],
"error": null,
"metrics": {
"inference_seconds": 6.8
},
"urls": {
"self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
"cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
}
}
שדות הפלט
- image
- object {url, content_type, file_name, file_size, width, height}תמונה שנוצרה על ידי המודל.
- images
- array of object {url, content_type, file_name, file_size, width, height}תמונות שנוצרו.
- vgl
- objectמסמך VGL ששימש ליצירת התמונה.
- structured_instruction
- objectכינוי שהוצא משימוש לאותו מסמך; השתמשו ב-`vgl` במקום זאת.
וריאנטים אחרים של Fibo Edit
מודלים נוספים: עריכת תמונה
לסוכני AI: דף זה בפורמט Markdown נמצא בכתובת https://doitong.com/he/developers/models/bria/fibo-edit/edit.md. כל המודלים והמדריכים: https://doitong.com/developers/llms.txt






