Bria Dataset API

Manage training datasets

Business capability
Artificial Intelligence Management BC-610.60

Operations 18

POST /tailored-gen/datasets Create Dataset #
GET /tailored-gen/datasets Get Datasets #
GET /tailored-gen/projects/{project_id}/datasets Get Datasets by Project #
GET /tailored-gen/datasets/{dataset_id} Get Dataset by ID #
PUT /tailored-gen/datasets/{dataset_id} Update Dataset #
DELETE /tailored-gen/datasets/{dataset_id} Delete Dataset #
POST /tailored-gen/datasets/{dataset_id}/clone Clone Dataset As Draft #
POST /tailored-gen/datasets/{dataset_id}/images Upload Image Files #
GET /tailored-gen/datasets/{dataset_id}/images Get Images #
PUT /tailored-gen/datasets/{dataset_id}/images Regenerate All Captions #
POST /tailored-gen/datasets/{dataset_id}/images/bulk-upload Advanced Image Upload #
GET /tailored-gen/datasets/{dataset_id}/images/{image_id} Get Image by ID #
PUT /tailored-gen/datasets/{dataset_id}/images/{image_id} Update Image Caption #
DELETE /tailored-gen/datasets/{dataset_id}/images/{image_id} Delete Image #
GET /tailored-gen/datasets/{dataset_id}/images/bulk-upload/status Get Bulk Upload Status #
POST /tailored-gen/generate_visual_schema Generate Visual Schema #
POST /tailored-gen/refine_structured_prompt Refine Structured Prompt #
GET /datasets/{dataset_id}/download Download Dataset #

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/bria:bria-dataset-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

bria-dataset-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tailored Generation API Reference Dataset API
  version: ''
  description: 'Tailored Generation provides capabilities to generate visuals (photos, illustrations, vectors)

    that preserve and faithfully reproduce specific IP elements or guidelines, ensuring consistency

    across all generated outputs. The Tailored Generation APIs allow you to manage and train tailored models that maintain the

    integrity of your visual IP. You can train models through our Console or implement training

    directly via API. **Fully Automated Training Mode**

    Bria supports users in training high-quality finetuned models without the guesswork. Based on the selected IP type & dataset, Bria automatically selects the right training parameters. This means that the user only needs to spend time curating their dataset. **Advanced Customization and Access:** Bria offers 2 types of advanced training customization: Expert training mode and source-code & weights. - **Expert training mode** is for LoRa Finetune experts and provides the ability to finetune training parameters and upload larger training datasets. - **Source-code & Weights** is for developers seeking deeper customization and access to Bria''s source-available GenAI models via Hugging Face. All methods allow full control over fine-tuning, pipeline creation, and integration into proprietary workflows—empowering AI teams to develop and optimize their own generative AI solutions. The Tailored Generation Training API provides a set of endpoints to manage the entire lifecycle

    of a tailored generation project:


    1. **Project Management**: Create and manage projects that define IP characteristics:

    - **Create and Retrieve Projects**: Use the `/projects` endpoints to create a new project or

    retrieve existing projects that belong to your organization. - **Define IP Type**: Specify the IP type (e.g., multi_object_set, defined_character,

    stylized_scene) and medium. - **Manage Project Details**: Use the `/projects/{id}` endpoints to update or delete

    specific projects. 2. **Dataset Management**: Organize and refine datasets within your projects:

    - **Create and Retrieve Datasets**: Use the `/datasets` endpoints to create new datasets or

    retrieve existing ones. - **Generate a Visual Schema**

    - Use `/tailored-gen/generate_visual_schema` to create a structured visual schema using 5-10 sample images. - **Refine Structured Data**

    - Use `/tailored-gen/refine_structured_prompt` to iterate on your **Visual Schema** or **Image Captions** using natural language instructions. - *Example:* You can send your generated schema with the instruction "Character''s name is Lucy" to improve the training metadata programmatically. - **Upload and Manage Images**:

    - **Basic upload**: Use `/datasets/{dataset_id}/images` to upload up to 200 images individually. - **Bulk upload**: Use `/datasets/{dataset_id}/images/bulk` to upload zip files with >200 high-quality images (Advanced). - **Clone Datasets**: Create variations of existing datasets using the clone functionality. 3. **Model Management**: Train and optimize tailored models based on your datasets:

    - **Create and Retrieve Models**: Use the `/models` endpoints to create new models or list

    existing ones. - **Choose training mode**: Select between Fully automated mode (automatic training based on Bria''s recipes) and Expert mode (for training parameter tweaking). - **Monitor and Control**: Manage the model lifecycle, including training start/stop,

    status monitoring, and version control over the training parameters. 4. **Generation Capabilities**:

    - **Image Generation**: Use `/image/generate/tailored` for text-to-image generation. - **Structured Prompting**: Use `/structured_prompt/generate/tailored` to create structured prompts via VLM before generation. - **Video Generation**: Use `/video/generate/tailored/image-to-video` to animate tailored images. ### **Training Process**


    To train a tailored model:


    1. **Create a Project**: Use the `/projects` endpoint to define your IP type and medium. 2.'
servers:
- url: https://engine.prod.bria-api.com/v2/
tags:


# --- truncated at 32 KB (50 KB total) ---
# Full source: https://artifacts.apis.io/bria/openapi/bria-dataset-api-openapi.yml