Skip to content

Fibo Edit

Integrate

Model id 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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: $0.04 40 API credits Run it on this page

Get API key
Bria AI · Image

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

Advanced instruction · negative_prompt · image · mask · steps_num · seed · vgl · original_vgl · new_vgl · guidance_scale

Instruction describing the image edit.

default

Negative prompt used when generating images.

image_url
Drop a file, or

Reference image supplied as a file or URL.

mask_url
Drop a file, or

Optional mask supplied as an image file or URL.

default 30

Total inference step count.

default 5555

Seed controlling randomness for reproducible results.

Alternative to `instruction`: a prepared VGL document used unchanged as the basis for editing, bypassing document construction. The two inputs are mutually exclusive.

Current-image VGL serving as the comparison baseline for `new_vgl`; supplying both makes their differences determine the edits.

Target-state VGL usable only alongside `original_vgl`, describing how the resulting image should look.

default 5

Scale of text guidance.

POST /run/bria/fibo-edit/edit?wait=20 quote → $0.04
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Fibo Edit

Edits an image with fine control. Inputs include `image_url`, an optional `mask_url`, and either an `instruction` or a prebuilt `vgl`. Alternatively give `original_vgl` and `new_vgl` to edit by their difference. `steps_num` ranges from 20 to 50 (default 30), with `guidance_scale`, `negative_prompt` and `seed` also available.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
image_urloptional image
Typeurl · image
Reference image supplied as a file or URL.
mask_urloptional mask
Typeurl · image
Optional mask supplied as an image file or URL.
instructionoptional
Typestring | null
Instruction describing the image edit.
vgloptional
Typeobject
Alternative to `instruction`: a prepared VGL document used unchanged as the basis for editing, bypassing document construction. The two inputs are mutually exclusive.
vgl.short_descriptionoptional
Typestring | null
Brief description of the intended output image.
vgl.objectsoptional
Typeobject[]
Default[]
Specify the generated image's contents as a list, recording each object's attributes and its relationships with the other depicted objects.
vgl.objects[].descriptionoptional
Typestring | null
Description of the intended output object.
vgl.objects[].locationoptional
Typestring | null
Object position within the image.
vgl.objects[].relationshiprequired
Typestring
Object's relationship to the image's other objects.
vgl.objects[].relative_sizeoptional
Typestring | null
Object size relative to the image.
vgl.objects[].shape_and_coloroptional
Typestring | null
Object's shape and color.
vgl.objects[].textureoptional
Typestring | null
Object's texture.
vgl.objects[].appearance_detailsoptional
Typestring | null
Details describing the object's appearance.
vgl.objects[].number_of_objectsoptional
Typeinteger | null
Count of objects within the image.
vgl.objects[].poseoptional
Typestring | null
Pose of the depicted object.
vgl.objects[].expressionoptional
Typestring | null
Expression shown by the depicted object.
vgl.objects[].clothingoptional
Typestring | null
Clothing worn by the depicted object.
vgl.objects[].actionoptional
Typestring | null
Action performed by the depicted object.
vgl.objects[].genderoptional
Typestring | null
Gender of the depicted object.
vgl.objects[].skin_tone_and_textureoptional
Typestring | null
Skin texture and tone of the depicted object.
vgl.objects[].orientationoptional
Typestring | null
Orientation of the depicted object.
vgl.background_settingoptional
Typestring | null
Background setting for the generated image.
vgl.lightingoptional
Typeobject
Lighting for the generated image.
vgl.lighting.conditionsoptional
Typestring | null
Lighting conditions for the generated image.
vgl.lighting.directionoptional
Typestring | null
Lighting direction for the generated image.
vgl.lighting.shadowsoptional
Typestring | null
Shadows to depict in the generated image.
vgl.aestheticsoptional
Typeobject
Aesthetic qualities for the generated image.
vgl.aesthetics.compositionoptional
Typestring | null
Composition for the generated image.
vgl.aesthetics.color_schemeoptional
Typestring | null
Color palette for the generated image.
vgl.aesthetics.mood_atmosphereoptional
Typestring | null
Mood and atmosphere for the generated image.
vgl.aesthetics.preference_scoreoptional
Typestring | null
Preference score for the image being generated.
vgl.aesthetics.aesthetic_scoreoptional
Typestring | null
Aesthetic score for the image being generated.
vgl.photographic_characteristicsoptional
Typeobject
Photographic properties for the generated image.
vgl.photographic_characteristics.depth_of_fieldoptional
Typestring | null
Depth of field for the generated image.
vgl.photographic_characteristics.focusoptional
Typestring | null
Focus for the generated image.
vgl.photographic_characteristics.camera_angleoptional
Typestring | null
Camera angle for the generated image.
vgl.photographic_characteristics.lens_focal_lengthoptional
Typestring | null
Lens setting for the generated image, expressed as a focal length.
vgl.style_mediumoptional
Typestring | null
Stylistic medium for the generated image.
vgl.text_renderoptional
Typeany[]
Default[]
List of text entries to include in the image.
vgl.contextoptional
Typestring | null
Context for the generated image.
vgl.artistic_styleoptional
Typestring | null
Artistic style for the generated image.
vgl.edit_instructionoptional
Typestring | null
Instruction describing how to edit the image.
original_vgloptional
Typeobject
Current-image VGL serving as the comparison baseline for `new_vgl`; supplying both makes their differences determine the edits.
original_vgl.short_descriptionoptional
Typestring | null
Brief description of the intended output image.
original_vgl.objectsoptional
Typeobject[]
Default[]
Specify the generated image's contents as a list, recording each object's attributes and its relationships with the other depicted objects.
original_vgl.objects[].descriptionoptional
Typestring | null
Description of the intended output object.
original_vgl.objects[].locationoptional
Typestring | null
Object position within the image.
original_vgl.objects[].relationshiprequired
Typestring
Object's relationship to the image's other objects.
original_vgl.objects[].relative_sizeoptional
Typestring | null
Object size relative to the image.
original_vgl.objects[].shape_and_coloroptional
Typestring | null
Object's shape and color.
original_vgl.objects[].textureoptional
Typestring | null
Object's texture.
original_vgl.objects[].appearance_detailsoptional
Typestring | null
Details describing the object's appearance.
original_vgl.objects[].number_of_objectsoptional
Typeinteger | null
Count of objects within the image.
original_vgl.objects[].poseoptional
Typestring | null
Pose of the depicted object.
original_vgl.objects[].expressionoptional
Typestring | null
Expression shown by the depicted object.
original_vgl.objects[].clothingoptional
Typestring | null
Clothing worn by the depicted object.
original_vgl.objects[].actionoptional
Typestring | null
Action performed by the depicted object.
original_vgl.objects[].genderoptional
Typestring | null
Gender of the depicted object.
original_vgl.objects[].skin_tone_and_textureoptional
Typestring | null
Skin texture and tone of the depicted object.
original_vgl.objects[].orientationoptional
Typestring | null
Orientation of the depicted object.
original_vgl.background_settingoptional
Typestring | null
Background setting for the generated image.
original_vgl.lightingoptional
Typeobject
Lighting for the generated image.
original_vgl.lighting.conditionsoptional
Typestring | null
Lighting conditions for the generated image.
original_vgl.lighting.directionoptional
Typestring | null
Lighting direction for the generated image.
original_vgl.lighting.shadowsoptional
Typestring | null
Shadows to depict in the generated image.
original_vgl.aestheticsoptional
Typeobject
Aesthetic qualities for the generated image.
original_vgl.aesthetics.compositionoptional
Typestring | null
Composition for the generated image.
original_vgl.aesthetics.color_schemeoptional
Typestring | null
Color palette for the generated image.
original_vgl.aesthetics.mood_atmosphereoptional
Typestring | null
Mood and atmosphere for the generated image.
original_vgl.aesthetics.preference_scoreoptional
Typestring | null
Preference score for the image being generated.
original_vgl.aesthetics.aesthetic_scoreoptional
Typestring | null
Aesthetic score for the image being generated.
original_vgl.photographic_characteristicsoptional
Typeobject
Photographic properties for the generated image.
original_vgl.photographic_characteristics.depth_of_fieldoptional
Typestring | null
Depth of field for the generated image.
original_vgl.photographic_characteristics.focusoptional
Typestring | null
Focus for the generated image.
original_vgl.photographic_characteristics.camera_angleoptional
Typestring | null
Camera angle for the generated image.
original_vgl.photographic_characteristics.lens_focal_lengthoptional
Typestring | null
Lens setting for the generated image, expressed as a focal length.
original_vgl.style_mediumoptional
Typestring | null
Stylistic medium for the generated image.
original_vgl.text_renderoptional
Typeany[]
Default[]
List of text entries to include in the image.
original_vgl.contextoptional
Typestring | null
Context for the generated image.
original_vgl.artistic_styleoptional
Typestring | null
Artistic style for the generated image.
original_vgl.edit_instructionoptional
Typestring | null
Instruction describing how to edit the image.
new_vgloptional
Typeobject
Target-state VGL usable only alongside `original_vgl`, describing how the resulting image should look.
new_vgl.short_descriptionoptional
Typestring | null
Brief description of the intended output image.
new_vgl.objectsoptional
Typeobject[]
Default[]
Specify the generated image's contents as a list, recording each object's attributes and its relationships with the other depicted objects.
new_vgl.objects[].descriptionoptional
Typestring | null
Description of the intended output object.
new_vgl.objects[].locationoptional
Typestring | null
Object position within the image.
new_vgl.objects[].relationshiprequired
Typestring
Object's relationship to the image's other objects.
new_vgl.objects[].relative_sizeoptional
Typestring | null
Object size relative to the image.
new_vgl.objects[].shape_and_coloroptional
Typestring | null
Object's shape and color.
new_vgl.objects[].textureoptional
Typestring | null
Object's texture.
new_vgl.objects[].appearance_detailsoptional
Typestring | null
Details describing the object's appearance.
new_vgl.objects[].number_of_objectsoptional
Typeinteger | null
Count of objects within the image.
new_vgl.objects[].poseoptional
Typestring | null
Pose of the depicted object.
new_vgl.objects[].expressionoptional
Typestring | null
Expression shown by the depicted object.
new_vgl.objects[].clothingoptional
Typestring | null
Clothing worn by the depicted object.
new_vgl.objects[].actionoptional
Typestring | null
Action performed by the depicted object.
new_vgl.objects[].genderoptional
Typestring | null
Gender of the depicted object.
new_vgl.objects[].skin_tone_and_textureoptional
Typestring | null
Skin texture and tone of the depicted object.
new_vgl.objects[].orientationoptional
Typestring | null
Orientation of the depicted object.
new_vgl.background_settingoptional
Typestring | null
Background setting for the generated image.
new_vgl.lightingoptional
Typeobject
Lighting for the generated image.
new_vgl.lighting.conditionsoptional
Typestring | null
Lighting conditions for the generated image.
new_vgl.lighting.directionoptional
Typestring | null
Lighting direction for the generated image.
new_vgl.lighting.shadowsoptional
Typestring | null
Shadows to depict in the generated image.
new_vgl.aestheticsoptional
Typeobject
Aesthetic qualities for the generated image.
new_vgl.aesthetics.compositionoptional
Typestring | null
Composition for the generated image.
new_vgl.aesthetics.color_schemeoptional
Typestring | null
Color palette for the generated image.
new_vgl.aesthetics.mood_atmosphereoptional
Typestring | null
Mood and atmosphere for the generated image.
new_vgl.aesthetics.preference_scoreoptional
Typestring | null
Preference score for the image being generated.
new_vgl.aesthetics.aesthetic_scoreoptional
Typestring | null
Aesthetic score for the image being generated.
new_vgl.photographic_characteristicsoptional
Typeobject
Photographic properties for the generated image.
new_vgl.photographic_characteristics.depth_of_fieldoptional
Typestring | null
Depth of field for the generated image.
new_vgl.photographic_characteristics.focusoptional
Typestring | null
Focus for the generated image.
new_vgl.photographic_characteristics.camera_angleoptional
Typestring | null
Camera angle for the generated image.
new_vgl.photographic_characteristics.lens_focal_lengthoptional
Typestring | null
Lens setting for the generated image, expressed as a focal length.
new_vgl.style_mediumoptional
Typestring | null
Stylistic medium for the generated image.
new_vgl.text_renderoptional
Typeany[]
Default[]
List of text entries to include in the image.
new_vgl.contextoptional
Typestring | null
Context for the generated image.
new_vgl.artistic_styleoptional
Typestring | null
Artistic style for the generated image.
new_vgl.edit_instructionoptional
Typestring | null
Instruction describing how to edit the image.
seedoptional
Typeinteger
Default5555
Seed controlling randomness for reproducible results.
steps_numoptional
Typeinteger
Default30
20 – 50
Total inference step count.
negative_promptoptional
Typestring
Default
Negative prompt used when generating images.
guidance_scaleoptional
Typenumber | integer
Default5
Scale of text guidance.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
image
object {url, content_type, file_name, file_size, width, height}Image produced by the model.
images
array of object {url, content_type, file_name, file_size, width, height}Images produced by generation.
vgl
objectVGL document used to generate the image.
structured_instruction
objectDeprecated alias for the same document; use `vgl` instead.

More models: Image Editing

For AI agents: this page as Markdown is at https://doitong.com/developers/models/bria/fibo-edit/edit.md. All models and guides: https://doitong.com/developers/llms.txt