image generation and editing
Use when generating visual assets with Bria.ai - product photos, hero images, icons, backgrounds. Includes batch generation (multiple images concurrently), pipeline workflows (generate → edit → remove background), and parallel API patterns. Use for websites, presentations, e-commerce catalogs, or any task needing multiple AI-generated images. Skill: image generation and editing Owner: galbria Summary: Use when generating visual assets with Bria.ai - product photos, hero images, icons, backgrounds. Includes batch generation (multiple images concurrently), pipeline workflows (generate → edit → remove background), and parallel API patterns. Use for websites, presentations, e-commerce catalogs, or any task needing multiple AI-generated images. Tags: latest:0.
Rank
62
Safety
84
Downloads
885
Updated
Apr 15, 2026
Version
0.0.1
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 885 downloads reported by the source. Last updated 4/15/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Apr 15, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Apr 15, 2026
- Adoption signal
- 885 downloadsadoption · observed Apr 15, 2026
- Latest release
- 0.0.1release · observed Feb 5, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install kn7artjmk0ncb5fmp9x21x4tss80jshr:bria-ai-api-skill- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-galbria-bria-ai-api-skill/snapshot"
Documentation
CLAWHUB
50,726 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: bria-ai
description: Use when generating visual assets with Bria.ai - product photos, hero images, icons, backgrounds. Includes batch generation (multiple images concurrently), pipeline workflows (generate → edit → remove background), and parallel API patterns. Use for websites, presentations, e-commerce catalogs, or any task needing multiple AI-generated images.
---
# Bria Visual Asset Generator
Generate production-ready visual assets for websites, presentations, documents, and applications using Bria's commercially-safe AI models.
## When to Use This Skill
- **Website/App Development**: Hero images, product photos, backgrounds, illustrations
- **Presentations**: Slides visuals, diagrams, icons, cover images
- **Documents**: Report graphics, infographics, headers, decorative elements
- **Marketing**: Social media assets, banners, promotional images
- **E-commerce**: Product photography, lifestyle shots, catalog images
- **Batch Generation**: Multiple images with different prompts concurrently
- **Pipeline Workflows**: Chained operations (generate → edit → remove background → lifestyle shot)
## Core Capabilities
| Need | Capability | Use Case |
|------|------------|----------|
| Create new images | FIBO Generate | Hero images, product shots, illustrations |
| Edit by text | FIBO-Edit | Change colors, modify objects, transform scenes |
| Edit with mask | GenFill/Erase | Precise inpainting, add/replace specific regions |
| Add/Replace/Remove objects | Text-based editing | Add vase, replace apple with pear, remove table |
| Transparent backgrounds | RMBG-2.0 | Extract subjects for overlays, logos, cutouts |
| Background operations | Replace/Blur/Erase | Change, blur, or remove backgrounds |
| Expand images | Outpainting | Extend boundaries, change aspect ratios |
| Upscale images | Super Resolution | Increase resolution 2x or 4x |
| Enhance quality | Enhancement | Improve lighting, colors, details |
| Transform style | Restyle | Oil painting, anime, cartoon, 3D render |
| Change lighting | Relight | Golden hour, spotlight, dramatic lighting |
| Change season | Reseason | Spring, summer, autumn, winter |
| Blend/composite | Image Blending | Apply textures, logos, merge images |
| Text replacement | Rewrite | Change text in images |
| Restore photos | Restoration | Fix old/damaged photos |
| Colorize | Colorization | Add color to B&W, or convert to B&W |
| Sketch to photo | Sketch2Image | Convert drawings to realistic photos |
| Product photography | Lifestyle Shot | Place products in scenes |
## Quick Reference
### Generate an Image (FIBO)
```bash
curl -X POST "https://engine.prod.bria-api.com/v2/image/generate" \
-H "api_token: $BRIA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "your description",
"aspect_ratio": "16:9"
}'
```
**Aspect ratios**: `1:1` (square), `16:9` (hero/banner), `4:3` (presentation), `9:16` (mobile/story), `3:4` (portrait)
> **Advanced**: For precise, deterministic control_meta.json
{
"ownerId": "kn7artjmk0ncb5fmp9x21x4tss80jshr",
"slug": "bria-ai-api-skill",
"version": "0.0.1",
"publishedAt": 1770313164368
}references/api-endpoints.md
# Bria.ai API Reference
## Base URL & Authentication
**Base URL:** `https://engine.prod.bria-api.com`
**Authentication:** Include `api_token` header in all requests:
```
api_token: YOUR_BRIA_API_KEY
Content-Type: application/json
```
---
## FIBO - Image Generation
### POST /v2/image/generate
Generate images from text prompts using FIBO's structured prompt system.
**Request:**
```json
{
"prompt": "string (required)",
"aspect_ratio": "1:1",
"negative_prompt": "string",
"num_results": 1,
"seed": null
}
```
**Parameters:**
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `prompt` | string | required | Image description |
| `aspect_ratio` | string | "1:1" | "1:1", "4:3", "16:9", "3:4", "9:16" |
| `negative_prompt` | string | - | What to exclude |
| `num_results` | int | 1 | Number of images (1-4) |
| `seed` | int | random | For reproducibility |
| `structured_prompt` | string | - | JSON from previous generation (for refinement) |
| `image_url` | string | - | Reference image (for inspire mode) |
**Response:**
```json
{
"request_id": "uuid",
"status_url": "https://engine.prod.bria-api.com/v2/status/uuid"
}
```
**Completed Result:**
```json
{
"status": "COMPLETED",
"result": {
"image_url": "https://...",
"structured_prompt": "{...}",
"seed": 12345
}
}
```
---
## RMBG-2.0 - Background Removal
### POST /v2/image/edit/remove_background
Remove background from image. Returns PNG with transparency.
**Request:**
```json
{
"image": "https://publicly-accessible-image-url"
}
```
**Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| `image` | string | Source image URL (JPEG, PNG, WEBP) |
**Response:**
```json
{
"request_id": "uuid",
"status_url": "https://..."
}
```
**Completed Result:**
```json
{
"status": "COMPLETED",
"result": {
"image_url": "https://...png"
}
}
```
---
## FIBO-Edit - Image Editing
### POST /v2/image/edit
Edit an image using natural language instructions. No mask required.
**Request:**
```json
{
"images": ["https://source-image-url"],
"instruction": "change the mug color to red"
}
```
**Parameters:**
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `images` | array | required | Array of image URLs or base64 data URLs |
| `instruction` | string | required | Edit instruction in natural language |
### POST /v2/image/edit/gen_fill
Generate content in a masked region (inpainting).
**Request:**
```json
{
"image": "https://source-image-url",
"mask": "https://mask-image-url",
"prompt": "what to generate",
"mask_type": "manual",
"negative_prompt": "string",
"num_results": 1
}
```
**Parameters:**
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `image` | string | required | Source image URL |
| `mask` | string | required | Mask URL (white=edit, black=keep) |
| `prompt` | string | required | What to greferences/guide.md
# Bria AI Visual Asset Generator - Complete Guide
This guide covers all capabilities of the Bria AI skill for generating and editing visual assets.
## Table of Contents
1. [Setup](#setup)
2. [Image Generation (FIBO)](#image-generation-fibo)
3. [Image Editing](#image-editing)
4. [Text-Based Object Editing](#text-based-object-editing)
5. [Background Operations](#background-operations)
6. [Image Enhancement](#image-enhancement)
7. [Image Transformation](#image-transformation)
8. [Text & Restoration](#text--restoration)
9. [Product Photography](#product-photography)
10. [Best Practices](#best-practices)
---
## Setup
### Authentication
All Bria API requests require an API key. Set it as an environment variable:
```bash
export BRIA_API_KEY="your-api-key-here"
```
### Using the Python Client
```python
from bria_client import BriaClient
client = BriaClient() # Uses BRIA_API_KEY env var
# or
client = BriaClient(api_key="your-key")
```
### Input Formats
Bria accepts images in two formats:
- **URL**: Publicly accessible image URL
- **Base64**: Raw base64 encoded string (for most edit endpoints) or data URL `data:image/png;base64,...` (for `/v2/image/edit`)
---
## Image Generation (FIBO)
FIBO is Bria's text-to-image model that generates high-quality, commercially-safe images.
### Basic Generation
```python
result = client.generate(
prompt="Modern coffee shop interior, warm lighting, minimalist design",
aspect_ratio="16:9"
)
print(result['result']['image_url'])
```
### Aspect Ratios
| Ratio | Use Case |
|-------|----------|
| `1:1` | Social media posts, product photos, icons |
| `4:3` | Presentations, documents |
| `16:9` | Hero banners, website headers, videos |
| `3:4` | Portrait photos, mobile content |
| `9:16` | Stories, reels, mobile-first content |
### Using Negative Prompts
Exclude unwanted elements:
```python
result = client.generate(
prompt="Professional headshot, studio lighting",
aspect_ratio="1:1",
negative_prompt="blurry, low quality, distorted, watermark"
)
```
### Refining Generated Images
Use the `structured_prompt` from a previous generation to make modifications:
```python
# First generation
result = client.generate("Red sports car in desert")
structured_prompt = result['result']['structured_prompt']
# Refine it
refined = client.refine(
structured_prompt=structured_prompt,
instruction="change to blue color, add mountains in background",
aspect_ratio="16:9"
)
```
### Inspire Mode (Image-to-Image)
Generate variations based on a reference image:
```python
result = client.inspire(
image_url="https://example.com/reference.jpg",
prompt="same style but with autumn colors",
aspect_ratio="1:1"
)
```
---
## Image Editing
### Edit by Instruction (No Mask Required)
The simplest way to edit - just describe what you want to change:
```python
result = client.edit_image(
image_url="data:image/png;base64,{base64_string}",
instruction="change the mug color to red"
)
```
LICENSE.txt
MIT License Copyright (c) 2025 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --- Note: This skill integrates with Bria.ai's API. Usage of the Bria.ai API is subject to Bria.ai's Terms of Service and API usage policies. The Bria.ai API and associated models are commercial products - please refer to https://bria.ai for licensing and pricing information.
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/galbria/bria-ai-api-skill",
"sourceUrl": "https://clawhub.ai/galbria/bria-ai-api-skill",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-galbria-bria-ai-api-skill/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-galbria-bria-ai-api-skill/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "885 downloads",
"href": "https://clawhub.ai/galbria/bria-ai-api-skill",
"sourceUrl": "https://clawhub.ai/galbria/bria-ai-api-skill",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-04-15T00:45:39.800Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "0.0.1",
"href": "https://clawhub.ai/galbria/bria-ai-api-skill",
"sourceUrl": "https://clawhub.ai/galbria/bria-ai-api-skill",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-02-05T17:39:24.368Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-galbria-bria-ai-api-skill/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-galbria-bria-ai-api-skill/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 0.0.1",
"description": "Initial release of bria-ai-skill with advanced visual asset generation features. - Generate product photos, hero images, icons, and backgrounds using Bria's commercially-safe AI. - Supports batch image generation and pipeline workflows (e.g., generate → edit → remove background). - Extensive editing tools: background removal, region-selective edits, upscaling, style and lighting changes, and compositing. - End-to-end assets for websites, presentations, e-commerce, marketing, and documents. - Quick reference examples and prompt engineering tips included for different use cases.",
"href": "https://clawhub.ai/galbria/bria-ai-api-skill",
"sourceUrl": "https://clawhub.ai/galbria/bria-ai-api-skill",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-02-05T17:39:24.368Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
