{
  "openapi": "3.1.0",
  "info": {
    "title": "Runware API - Bria Fibo Edit Tools",
    "summary": "Unified image editing foundation for colorize, relight, restore, blend, reseason, sketch-to-image, and expand",
    "description": "Bria Fibo Edit Tools is an image editing model that groups seven dedicated tools, each applied to a single source image. The tools are colorize (recolor a photo in contemporary, vivid, black-and-white, or sepia tones), relight (change the light type and direction), restore (repair old or degraded photos), blend (merge a prompted element, material, or style into the image), reseason (move the scene to spring, summer, autumn, or winter), sketch-to-image (turn a sketch into a finished image), and expand (extend the canvas beyond the original borders). Blend and expand are guided by a text prompt, while the other tools work from the image alone or with a preset choice.",
    "version": "1.0.0",
    "x-model-id": "bria-fibo-edit-tools",
    "x-air-id": "bria:21@2",
    "x-status": "live",
    "x-creator": {
      "id": "bria",
      "name": "Bria",
      "logo": "https://assets.runware.ai/4f68fe9d-851e-4e6a-a6f8-cd47ec4312cb.png"
    },
    "x-capabilities": [
      "image-to-image",
      "edit",
      "checkpoint"
    ],
    "x-modes": [
      {
        "id": "image",
        "inputs": [
          "image"
        ]
      }
    ],
    "x-released-at": "2026-01-16T00:00:00Z",
    "x-cover-image": "https://assets.runware.ai/covers/bria-fibo-edit-tools.jpg",
    "x-examples": "https://runware.ai/docs/models/bria-fibo-edit-tools/examples.json",
    "x-pricing": {
      "currency": "USD",
      "docs": "https://runware.ai/docs/models-api/pricing",
      "rates": [
        {
          "amount": 0.04,
          "unit": "output",
          "display": "$0.04 per image"
        }
      ],
      "examples": [
        {
          "id": "neon-workshop-archive-colorization",
          "configuration": "colorize",
          "price": 0.04,
          "latencyMs": 52542
        },
        {
          "id": "chiaroscuro-artifact-catalog-portrait",
          "configuration": "relight",
          "price": 0.04,
          "latencyMs": 21819
        },
        {
          "id": "prefab-sauna-winter-variant",
          "configuration": "reseason",
          "price": 0.04,
          "latencyMs": 24206
        },
        {
          "id": "saturation-diver-archive-headshot",
          "configuration": "restore",
          "price": 0.04,
          "latencyMs": 21839
        },
        {
          "id": "floating-wetland-keynote-backdrop",
          "configuration": "blend",
          "price": 0.04,
          "latencyMs": 24361
        },
        {
          "id": "panoramic-seafloor-trencher-concept-art",
          "configuration": "sketch-to-image",
          "price": 0.04,
          "latencyMs": 17335
        },
        {
          "id": "smart-beehive-panorama-extension",
          "configuration": "expand",
          "price": 0.04,
          "latencyMs": 10224
        }
      ]
    }
  },
  "externalDocs": {
    "description": "Bria Fibo Edit Tools on Runware",
    "url": "https://runware.ai/docs/models/bria-fibo-edit-tools"
  },
  "servers": [
    {
      "url": "https://api.runware.ai/v1",
      "description": "Runware REST API"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Runware API Key (e.g., Bearer <your-key>)"
      }
    },
    "schemas": {
      "AuthenticationTask": {
        "title": "Authentication",
        "description": "Authenticates a connection using an API key. Can be sent as the first element of the request array as an alternative to using the Authorization header.",
        "type": "object",
        "x-response-schema": "https://schemas.runware.ai/responses/utilities/authentication.json",
        "properties": {
          "taskType": {
            "title": "Task Type",
            "description": "Identifier for the type of task being performed.",
            "type": "string",
            "const": "authentication"
          },
          "apiKey": {
            "title": "API Key",
            "description": "Your Runware API key.",
            "type": "string"
          },
          "connectionSessionUUID": {
            "title": "Connection Session UUID",
            "description": "Optional session UUID to resume a previous connection and receive any buffered results.",
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "taskType",
          "apiKey"
        ],
        "additionalProperties": false
      },
      "RequestBody": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "model": {
              "title": "Model",
              "description": "Send `auto` instead of an AIR identifier to have the model router choose the model for this task. The rest of the request is unchanged, every value you send is kept, and only the parameters you leave out are filled in. See [Model Router](https://runware.ai/docs/models-api/model-router).\n\n[Read full documentation](https://runware.ai/docs/models/bria-fibo-edit-tools#model)",
              "type": "string",
              "const": "bria:21@2"
            },
            "inputs": {
              "title": "Inputs",
              "description": "Input assets for the task.",
              "type": "object",
              "properties": {
                "image": {
                  "title": "Image",
                  "description": "Image input (UUID, URL, Data URI, or Base64).",
                  "type": "string",
                  "anyOf": [
                    {
                      "format": "uuid"
                    },
                    {
                      "format": "uri"
                    },
                    {
                      "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
                    },
                    {
                      "pattern": "^[a-zA-Z0-9+/=]+$"
                    }
                  ]
                }
              },
              "required": [
                "image"
              ],
              "additionalProperties": false
            },
            "positivePrompt": {
              "title": "Positive Prompt",
              "description": "Text prompt describing elements to include in the generated output.",
              "type": "string",
              "minLength": 1,
              "maxLength": 10000
            },
            "negativePrompt": {
              "title": "Negative Prompt",
              "description": "Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).",
              "type": "string",
              "minLength": 1,
              "maxLength": 10000
            },
            "outpaint": {
              "title": "Outpaint",
              "description": "Pixel extensions for each boundary direction of the source image. At least one direction is required.",
              "type": "object",
              "properties": {
                "top": {
                  "title": "Outpaint Top",
                  "description": "Number of pixels to extend to the top.",
                  "type": "integer",
                  "minimum": 0
                },
                "bottom": {
                  "title": "Outpaint Bottom",
                  "description": "Number of pixels to extend to the bottom.",
                  "type": "integer",
                  "minimum": 0
                },
                "left": {
                  "title": "Outpaint Left",
                  "description": "Number of pixels to extend to the left.",
                  "type": "integer",
                  "minimum": 0
                },
                "right": {
                  "title": "Outpaint Right",
                  "description": "Number of pixels to extend to the right.",
                  "type": "integer",
                  "minimum": 0
                }
              },
              "anyOf": [
                {
                  "required": [
                    "top"
                  ]
                },
                {
                  "required": [
                    "bottom"
                  ]
                },
                {
                  "required": [
                    "left"
                  ]
                },
                {
                  "required": [
                    "right"
                  ]
                }
              ],
              "additionalProperties": false
            },
            "providerSettings": {
              "title": "Provider Settings",
              "description": "Provider-specific configuration settings.",
              "type": "object",
              "properties": {
                "bria": {
                  "title": "Bria Settings",
                  "description": "Provider-specific settings for Bria.",
                  "type": "object",
                  "properties": {
                    "color": {
                      "title": "Color Style",
                      "description": "Color style for the colorize operation.",
                      "type": "string",
                      "enum": [
                        "contemporary color",
                        "vivid color",
                        "black and white colors",
                        "sepia vintage"
                      ]
                    },
                    "contentModeration": {
                      "title": "Content Moderation",
                      "description": "Apply content moderation to inputs and outputs.",
                      "type": "boolean",
                      "default": true
                    },
                    "edit": {
                      "title": "Edit Operation",
                      "description": "Editing workflow to apply.",
                      "type": "string",
                      "enum": [
                        "colorize",
                        "relight",
                        "restore",
                        "blend",
                        "reseason",
                        "sketch_to_image",
                        "expand"
                      ]
                    },
                    "lightDirection": {
                      "title": "Light Direction",
                      "description": "Direction of the light for the relight operation.",
                      "type": "string",
                      "enum": [
                        "front",
                        "side",
                        "bottom",
                        "top-down"
                      ]
                    },
                    "lightType": {
                      "title": "Light Type",
                      "description": "Type of lightning to apply in the relight operation.",
                      "type": "string",
                      "enum": [
                        "midday",
                        "blue hour light",
                        "low-angle sunlight",
                        "sunrise light",
                        "spotlight on subject",
                        "keep background settings",
                        "overcast light",
                        "soft overcast daylight lighting",
                        "cloud-filtered lighting",
                        "fog-diffused lighting",
                        "moonlight lighting",
                        "starlight lighting nighttime",
                        "soft bokeh lighting",
                        "harsh studio lighting keep background setting"
                      ]
                    },
                    "preserveAlpha": {
                      "title": "Preserve Alpha",
                      "description": "Enable alpha channel preservation in output. Only affects images that already contain an alpha channel.",
                      "type": "boolean"
                    },
                    "promptContentModeration": {
                      "title": "Prompt Content Moderation",
                      "description": "Scan input prompt for restricted terms.",
                      "type": "boolean",
                      "default": true
                    },
                    "season": {
                      "title": "Season",
                      "description": "Target season for the reseason operation.",
                      "type": "string",
                      "enum": [
                        "spring",
                        "summer",
                        "autumn",
                        "winter"
                      ]
                    }
                  },
                  "required": [
                    "edit"
                  ],
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            },
            "taskType": {
              "title": "Task Type",
              "description": "Identifier for the type of task being performed.",
              "type": "string",
              "const": "imageInference"
            },
            "taskUUID": {
              "title": "Task UUID",
              "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
              "type": "string",
              "format": "uuid"
            },
            "webhookURL": {
              "title": "Webhook URL",
              "description": "Webhook URL that receives JSON responses via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.",
              "type": "string",
              "format": "uri"
            },
            "includeCost": {
              "title": "Include Cost",
              "description": "Include task cost in the response.",
              "type": "boolean"
            },
            "numberResults": {
              "title": "Number of Results",
              "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
              "type": "integer",
              "minimum": 1,
              "default": 1,
              "maximum": 20
            },
            "uploadEndpoint": {
              "title": "Upload Endpoint",
              "description": "Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.\n\n**Common use cases:**\n\n- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.\n- **CDN integration**: Upload to content delivery networks for immediate distribution.\n\n```text\n// S3 presigned URL for secure upload\nhttps://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600\n\n// Google Cloud Storage presigned URL\nhttps://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789\n\n// Custom storage endpoint\nhttps://storage.example.com/uploads/generated-image.jpg\n```\n\nThe content data will be sent as the request body to the specified URL when generation is complete.\n\n[Read full documentation](https://runware.ai/docs/models/bria-fibo-edit-tools#uploadEndpoint)",
              "type": "string",
              "format": "uri"
            },
            "ttl": {
              "title": "TTL",
              "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
              "type": "integer",
              "minimum": 60
            },
            "outputType": {
              "title": "Output Type",
              "description": "Image output type.",
              "type": "string",
              "enum": [
                "URL",
                "base64Data",
                "dataURI"
              ],
              "default": "URL"
            },
            "outputFormat": {
              "title": "Output Format",
              "description": "Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.\n\n- \\`JPG\\`: Best for photorealistic images with smaller file sizes (no transparency).\n- \\`PNG\\`: Lossless compression, supports high quality and transparency (alpha channel).\n- \\`WEBP\\`: Modern format providing superior compression and transparency support.\n- \\`MP4\\`: Widely supported video container (H.264), recommended for general use.\n- \\`WEBM\\`: Optimized for web delivery.\n- \\`MOV\\`: QuickTime format, common in professional workflows (Apple ecosystem).\n- \\`GIF\\`: Animated image format (no audio), suitable for short loops or previews.\n- \\`MP3\\`: Compressed audio, smaller file size.\n- \\`WAV\\`: Uncompressed, high-quality audio.\n- \\`FLAC\\`: Lossless compression.\n- \\`OGG\\`: Open-source compressed audio format (Vorbis codec).\n- \\`SVG\\`: Scalable Vector Graphics.\n- \\`TIFF\\`: High-quality output supporting layers.\n- \\`GLB\\`: Binary glTF format for 3D models, including geometry, textures, and PBR materials.\n\n> [!NOTE]\n> \\*\\*Transparency\\*\\*: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., \\`PNG\\`, \\`WEBP\\`, \\`TIFF\\`). \\`JPG\\` does not support transparency.\n\n[Read full documentation](https://runware.ai/docs/models/bria-fibo-edit-tools#outputFormat)",
              "type": "string",
              "enum": [
                "JPG",
                "PNG",
                "WEBP"
              ],
              "default": "JPG"
            },
            "outputQuality": {
              "title": "Output Quality",
              "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
              "type": "integer",
              "minimum": 20,
              "maximum": 99,
              "default": 95
            },
            "deliveryMethod": {
              "title": "Delivery Method",
              "description": "Determines how the API delivers task results.",
              "type": "string",
              "oneOf": [
                {
                  "const": "sync",
                  "description": "Returns results directly in the API response. Over HTTP, a task still running after 120 seconds continues as an async task and comes back with status 'processing'. Poll for its results using getResponse."
                },
                {
                  "const": "async",
                  "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
                }
              ],
              "default": "sync"
            },
            "safety": {
              "type": "object",
              "title": "Safety Settings",
              "description": "Content safety checking configuration for image generation.",
              "properties": {
                "checkContent": {
                  "title": "Check Content",
                  "description": "Enable or disable content safety checking. Increases total generation time and adds a small charge on top of the generation cost.",
                  "type": "boolean"
                }
              },
              "additionalProperties": false
            },
            "advancedFeatures": {
              "title": "Advanced Features",
              "description": "Model-specific advanced configuration options.",
              "type": "object",
              "properties": {
                "watermark": {
                  "title": "Watermark",
                  "description": "Configuration object for adding watermarks to generated videos. Watermarks can be applied using either text or image content with customizable positioning and appearance. You must provide either `text` or `image` content for the watermark, but not both.\n\n**Text watermark**:\n\n```json\n\"advancedFeatures\": {\n  \"watermark\": {\n    \"text\": \"© 2025 Company\",\n    \"displayPosition\": \"bottom-right\",\n    \"opacity\": 0.6,\n    \"fontColor\": \"#ffffff\",\n    \"bgColor\": \"#000000\"\n  }\n}\n```\n\n**Image watermark**:\n\n```json\n\"advancedFeatures\": {\n  \"watermark\": {\n    \"image\": \"c64351d5-4c59-42f7-95e1-eace013eddab\",\n    \"displayPosition\": \"top-left\",\n    \"opacity\": 0.6\n  }\n}\n```\n\n**Tiled watermark**:\n\n```json\n\"advancedFeatures\": {\n  \"watermark\": {\n    \"text\": \"PREVIEW\",\n    \"tiled\": true,\n    \"opacity\": 0.4,\n    \"fontColor\": \"#cccccc\"\n  }\n}\n```\n\n[Read full documentation](https://runware.ai/docs/models/bria-fibo-edit-tools#watermark)",
                  "type": "object",
                  "properties": {
                    "text": {
                      "title": "Watermark Text",
                      "description": "Watermark text.",
                      "type": "string",
                      "minLength": 2,
                      "maxLength": 32
                    },
                    "image": {
                      "title": "Watermark Image",
                      "description": "Watermark image (UUID, URL, Data URI, or Base64).",
                      "type": "string",
                      "anyOf": [
                        {
                          "format": "uuid"
                        },
                        {
                          "format": "uri"
                        },
                        {
                          "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
                        },
                        {
                          "pattern": "^[a-zA-Z0-9+/=]+$"
                        }
                      ]
                    },
                    "displayPosition": {
                      "title": "Display Position",
                      "description": "Watermark position.",
                      "type": "string",
                      "enum": [
                        "top-left",
                        "top-center",
                        "top-right",
                        "center-left",
                        "center-center",
                        "center-right",
                        "bottom-left",
                        "bottom-center",
                        "bottom-right",
                        "tiled"
                      ]
                    },
                    "opacity": {
                      "title": "Watermark Opacity",
                      "description": "Watermark opacity.",
                      "type": "number",
                      "multipleOf": 0.01,
                      "minimum": 0.1,
                      "maximum": 1
                    },
                    "fontColor": {
                      "title": "Font Color",
                      "description": "Text color in hex format.",
                      "type": "string",
                      "pattern": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"
                    },
                    "bgColor": {
                      "title": "Background Color",
                      "description": "Background color in hex format.",
                      "type": "string",
                      "pattern": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"
                    }
                  },
                  "oneOf": [
                    {
                      "required": [
                        "text"
                      ]
                    },
                    {
                      "required": [
                        "image"
                      ]
                    }
                  ],
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            }
          },
          "required": [
            "inputs",
            "taskType",
            "taskUUID",
            "model"
          ],
          "allOf": [
            {
              "if": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "properties": {
                          "edit": {
                            "const": "colorize"
                          }
                        }
                      }
                    },
                    "required": [
                      "bria"
                    ]
                  }
                },
                "required": [
                  "providerSettings"
                ]
              },
              "then": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "required": [
                          "color"
                        ]
                      }
                    }
                  }
                }
              }
            },
            {
              "if": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "properties": {
                          "edit": {
                            "const": "relight"
                          }
                        }
                      }
                    },
                    "required": [
                      "bria"
                    ]
                  }
                },
                "required": [
                  "providerSettings"
                ]
              },
              "then": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "required": [
                          "lightType"
                        ]
                      }
                    }
                  }
                }
              }
            },
            {
              "if": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "properties": {
                          "edit": {
                            "const": "blend"
                          }
                        }
                      }
                    },
                    "required": [
                      "bria"
                    ]
                  }
                },
                "required": [
                  "providerSettings"
                ]
              },
              "then": {
                "required": [
                  "positivePrompt"
                ]
              }
            },
            {
              "if": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "properties": {
                          "edit": {
                            "const": "reseason"
                          }
                        }
                      }
                    },
                    "required": [
                      "bria"
                    ]
                  }
                },
                "required": [
                  "providerSettings"
                ]
              },
              "then": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "required": [
                          "season"
                        ]
                      }
                    }
                  }
                }
              }
            },
            {
              "if": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "properties": {
                          "edit": {
                            "const": "expand"
                          }
                        }
                      }
                    },
                    "required": [
                      "bria"
                    ]
                  }
                },
                "required": [
                  "providerSettings"
                ]
              },
              "then": {
                "required": [
                  "outpaint"
                ]
              }
            },
            {
              "if": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "required": [
                          "color"
                        ]
                      }
                    }
                  }
                },
                "required": [
                  "providerSettings"
                ]
              },
              "then": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "properties": {
                          "edit": {
                            "const": "colorize"
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            {
              "if": {
                "properties": {
                  "providerSettings": {
                    "anyOf": [
                      {
                        "properties": {
                          "bria": {
                            "required": [
                              "lightDirection"
                            ]
                          }
                        }
                      },
                      {
                        "properties": {
                          "bria": {
                            "required": [
                              "lightType"
                            ]
                          }
                        }
                      }
                    ]
                  }
                },
                "required": [
                  "providerSettings"
                ]
              },
              "then": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "properties": {
                          "edit": {
                            "const": "relight"
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            {
              "if": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "required": [
                          "season"
                        ]
                      }
                    }
                  }
                },
                "required": [
                  "providerSettings"
                ]
              },
              "then": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "properties": {
                          "edit": {
                            "const": "reseason"
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            {
              "if": {
                "required": [
                  "positivePrompt"
                ]
              },
              "then": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "properties": {
                          "edit": {
                            "enum": [
                              "blend",
                              "expand"
                            ]
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            {
              "if": {
                "anyOf": [
                  {
                    "required": [
                      "outpaint"
                    ]
                  },
                  {
                    "required": [
                      "negativePrompt"
                    ]
                  },
                  {
                    "required": [
                      "safety"
                    ]
                  },
                  {
                    "properties": {
                      "providerSettings": {
                        "anyOf": [
                          {
                            "properties": {
                              "bria": {
                                "required": [
                                  "preserveAlpha"
                                ]
                              }
                            }
                          },
                          {
                            "properties": {
                              "bria": {
                                "required": [
                                  "promptContentModeration"
                                ]
                              }
                            }
                          },
                          {
                            "properties": {
                              "bria": {
                                "required": [
                                  "contentModeration"
                                ]
                              }
                            }
                          }
                        ]
                      }
                    },
                    "required": [
                      "providerSettings"
                    ]
                  }
                ]
              },
              "then": {
                "properties": {
                  "providerSettings": {
                    "properties": {
                      "bria": {
                        "properties": {
                          "edit": {
                            "const": "expand"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          ],
          "additionalProperties": false
        },
        "description": "You must always POST an array of task objects."
      },
      "ResponseBody": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "title": "Image Response",
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "taskType": {
                  "title": "Task Type",
                  "description": "Identifier for the type of task this response belongs to.",
                  "type": "string",
                  "const": "imageInference"
                },
                "taskUUID": {
                  "title": "Task UUID",
                  "description": "UUID v4 identifier echoed from the original request, used to match async responses to their tasks.",
                  "type": "string",
                  "format": "uuid"
                },
                "cost": {
                  "title": "Cost",
                  "description": "Task cost in USD. Present when `includeCost` is set to `true` in the request.",
                  "type": "number"
                },
                "imageUUID": {
                  "title": "Image UUID",
                  "description": "UUID of the output image.",
                  "type": "string",
                  "format": "uuid"
                },
                "imageURL": {
                  "title": "Image URL",
                  "description": "URL of the output image.",
                  "type": "string",
                  "format": "uri"
                },
                "imageBase64Data": {
                  "title": "Image Base64 Data",
                  "description": "Base64-encoded image data.",
                  "type": "string"
                },
                "imageDataURI": {
                  "title": "Image Data URI",
                  "description": "Data URI of the output image.",
                  "type": "string",
                  "format": "uri"
                },
                "seed": {
                  "title": "Seed",
                  "description": "The seed used for generation. If none was provided, shows the randomly generated seed.",
                  "type": "integer"
                },
                "NSFWContent": {
                  "title": "NSFW Content",
                  "description": "Flag indicating if NSFW content was detected.",
                  "type": "boolean"
                }
              },
              "required": [
                "taskType",
                "taskUUID",
                "imageUUID"
              ]
            }
          }
        }
      },
      "ErrorResponse": {
        "title": "Error Response",
        "description": "Standard error response returned by the Runware API.",
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "code",
                "message"
              ],
              "additionalProperties": true,
              "properties": {
                "code": {
                  "type": "string",
                  "description": "A short identifier for the error (e.g., invalidApiKey, timeoutProvider)."
                },
                "message": {
                  "type": "string",
                  "description": "A human-readable explanation of what went wrong."
                },
                "parameter": {
                  "type": "string",
                  "description": "The request parameter related to the error, if applicable."
                },
                "taskType": {
                  "type": "string",
                  "description": "The task type of the request that failed."
                },
                "taskUUID": {
                  "type": "string",
                  "description": "The unique identifier of the failed request."
                },
                "documentation": {
                  "type": "string",
                  "description": "A link to relevant documentation."
                }
              }
            }
          }
        },
        "required": [
          "errors"
        ],
        "additionalProperties": false
      }
    }
  },
  "paths": {
    "/": {
      "post": {
        "summary": "Run Bria Fibo Edit Tools",
        "description": "Bria Fibo Edit Tools is an image editing model that groups seven dedicated tools, each applied to a single source image. The tools are colorize (recolor a photo in contemporary, vivid, black-and-white, or sepia tones), relight (change the light type and direction), restore (repair old or degraded photos), blend (merge a prompted element, material, or style into the image), reseason (move the scene to spring, summer, autumn, or winter), sketch-to-image (turn a sketch into a finished image), and expand (extend the canvas beyond the original borders). Blend and expand are guided by a text prompt, while the other tools work from the image alone or with a preset choice.",
        "operationId": "run_bria_fibo_edit_tools",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseBody"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request — Missing or invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized — No valid API key provided.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — Insufficient account balance.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — The API key lacks permissions for this request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests — Rate limit exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Server Error — Something went wrong on Runware's end.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable — Temporarily unavailable (maintenance or capacity).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "apiKeyAuth": []
    }
  ]
}