TopRank Skills

Home / Claw Skills / Others / Bria Ai
Official OpenClaw rules 15%

Bria Ai

Bria — Controllable Image Generation & Editing

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Bria Ai 技能。 若已安装,则直接安装 Bria Ai 技能。

Overview

Skill Key
galbria/bria-ai
Author
galbria
Source Repo
openclaw/skills
Version
-
Source Path
skills/galbria/bria-ai
Latest Commit SHA
8231693a01054a63fafed89a4d8f52e8cb0389ca

Extracted Content

SKILL.md excerpt

# Bria — Controllable Image Generation & Editing

Generate and precisely control visual assets using Bria's commercially-safe AI models (FIBO, RMBG-2.0, GenFill, and more). Unlike black-box generators, Bria gives you fine-grained control: edit by text instruction, mask specific regions, add/replace/remove individual objects, change lighting or season independently, and chain operations in pipelines.

## Setup — API Key Check

Before making any Bria API call, check for the API key and help the user set it up if missing:

### Step 1: Check if the key exists

```bash
echo $BRIA_API_KEY
```

If the output is **not empty**, skip to the next section.

### Step 2: If the key is missing, guide the user

Open the Bria API keys page in the browser:

```bash
open "https://platform.bria.ai/console/account/api-keys?utm_source=skill&utm_campaign=bria_skills&utm_content=adjust_photoshop_for_agent"   # macOS
# xdg-open "https://platform.bria.ai/console/account/api-keys?utm_source=skill&utm_campaign=bria_skills&utm_content=adjust_photoshop_for_agent"  # Linux
```

Then tell the user exactly this:
> I opened the Bria website in your browser. To use image generation, you need a free API key.
>
> 1. Sign up or log in on the page I just opened
> 2. Click **Create API Key**
> 3. Copy the key and **paste it here**

Wait for the user to provide their API key. Do not proceed until they give you the key.

### Step 3: Save the key permanently

Once the user provides the key, save it so it persists across sessions.

**On macOS/Linux**, detect the shell and append to the correct profile:

```bash
# Detect the shell profile
if [ -n "$ZSH_VERSION" ] || [ "$SHELL" = */zsh ]; then
  PROFILE_FILE="$HOME/.zshrc"
elif [ -f "$HOME/.bashrc" ]; then
  PROFILE_FILE="$HOME/.bashrc"
else
  PROFILE_FILE="$HOME/.profile"
fi

# Append the export (only if not already present)
grep -q 'export BRIA_API_KEY=' "$PROFILE_FILE" 2>/dev/null && \
  sed -i.bak '/export BRIA_API_KEY=/d' "$PROFILE_FILE"
echo 'export BRIA_...

Related Claw Skills