Bria8f2b Image Onboarding API

The Image Onboarding API from Bria8f2b — 2 operation(s) for image onboarding.

Operations 2

POST /register Register Image #
POST /{visual_id}/remove_image Remove Image #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bria8f2b-image-onboarding-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bria8f2b-image-onboarding-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bria Image Onboarding API
  version: ''
  contact:
    name: We are happy to answer any questions you may have at
    email: support@bria.ai
  description: '# Introduction

    The Bria API is designed to provide a comprehensive suite of tools for generating and customizing images.'
servers:
- url: https://engine.prod.bria-api.com/v1
tags:
- name: Image Onboarding
paths:
  /register:
    post:
      tags:
      - Image Onboarding
      summary: Register Image
      description: '**Description**


        A new visual can be registered to Bria without being uploaded to the database using the *Register Route*.

        This route returns a visual identification to the user. This is the recommended method to onboard images to Bria, when needed.


        It''s the first step for consuming the Bria API for new visuals (instead of using the /upload route).


        **Response**


        The visual id in the response of the *Register Route* must be kept by the

        user in order to query image info, modify the image and use the search routes.


        ```{ "visual_id": "9ea9a4d2d19977a7c" }```


        The *visual_id* in the response of the /upload route will be used for all other routes. Store the visual_id in your database and map it to your image identification method for easy reference


        **Constraints**


        Files should not be larger than 12MB. The status code 413 will be returned if the file exceeds its maximum size.


        The Bria API currently supports only JPEG and PNG files in RGB, RGBA, or CMYK color modes. When the file is of a different type or color mode, the status code 415 will be returned.'
      operationId: register
      parameters:
      - in: header
        name: api_token
        schema:
          type: string
        required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                org_image_key:
                  type: string
                  description: The internal image id in your API, of the image you would like to register to Bria. If accessing your images requires authentication, you will be able to register them using org_image_key only after giving Bria the API authentication information. It is also possible to register images using an org_image_key, without any authentication data.
                image_url:
                  description: The URL of the image you would like to register to Bria. The URL should lead to an image publicly available online. Either an org_image_key or an image_url should be provided. If both are provided, then the route will use image_url and org_image_key will be saved but not used. Images can only be registered using an image_url if they do not require authentication.
                  type: string
                is_private:
                  description: The image can be included in the Bria public gallery (is_private=false) or only in the Bria gallery of your organization (is_private=true). This parameter is optional and the default value is true.
                  type: string
                  default: true
            examples:
              only image_url:
                value:
                  image_url: https://i.natgeofe.com/n/548467d8-c5f1-4551-9f58-6817a8d2c45e/NationalGeographic_2572187_square.jpg
              only org_image_key:
                value:
                  org_image_key: 12345acbd
              image_url & org_image_key:
                value:
                  image_url: https://i.natgeofe.com/n/548467d8-c5f1-4551-9f58-6817a8d2c45e/NationalGeographic_2572187_square.jpg
                  org_image_key: 12345acbd
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                type: object
                properties:
                  visual_id:
                    type: string
                    description: Unique visual identification
        '208':
          description: Image already registered.
          content:
            application/json:
              schema:
                type: object
                properties:
                  visual_id:
                    type: string
                    description: Unique visual identification
        '400':
          description: Bad request.
        '405':
          description: Method not allowed.
        '460':
          description: Failed to download image.
        '500':
          description: Internal server error.
        '506':
          description: Insufficient data. The given input is not supported by the Bria API.
  /{visual_id}/remove_image:
    post:
      tags:
      - Image Onboarding
      summary: Remove Image
      description: '**Description**


        With this route, you can remove an image from the gallery of your organization. The image won''t be removed from Bria.'
      operationId: remove_image
      parameters:
      - in: header
        name: api_token
        schema:
          type: string
        required: true
      - in: path
        name: visual_id
        schema:
          type: string
        required: true
        example: b3cecc33cc31cc31
      responses:
        '200':
          description: Successful operation.
        '400':
          description: Bad request.
        '405':
          description: Method not allowed.
        '460':
          description: Failed to download image.
        '500':
          description: Internal server error.
        '506':
          description: Insufficient data. The given input is not supported by the Bria API.
externalDocs:
  description: Register and get API Access
  url: https://labs.bria.ai/api-plans