Skip to content

feat(bria-ai): merge e-commerce catalog pipeline into main skill#50

Open
galbria wants to merge 8 commits into
devfrom
release/bria-ai-product-dimensions-1.3.5
Open

feat(bria-ai): merge e-commerce catalog pipeline into main skill#50
galbria wants to merge 8 commits into
devfrom
release/bria-ai-product-dimensions-1.3.5

Conversation

@galbria

@galbria galbria commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Folds the standalone ecommerce skill into the main bria-ai skill to concentrate usage and discoverability in one place, and improves the bria-ai description's search discoverability. Version stays 1.3.5 (intentional).

This session's changes

  • Merge: relocated build_catalog.py, export_variants.py, and marketplace-presets.md into bria-ai/references; added cutout/packshot/shadow/lifestyle_shot_by_image to bria-ai's api-endpoints reference; added a "Product Catalog Pipeline (batch)" section to bria-ai/SKILL.md.
  • Discoverability: rebalanced the first 160 chars of the bria-ai description so packshot, product catalog, lifestyle shot, product shot creator, and cutout search queries pass the token gate — while keeping background removal coverage. Verified with SSSO. Description kept under the 1024-char limit.
  • Stub: ecommerce reduced to a thin redirect stub pointing at bria-ai (kept as a discovery entry point).
  • build_catalog.py fix (earlier commit): packshot.jpg/lifestyle_N.jpg are now re-encoded to true JPEG instead of PNG-with-.jpg.
  • marketplace.json: ecommerce bundled under the bria-ai plugin.

Verification

Tested end-to-end against the production Bria API via the api-skill-tester: auth, cutout/packshot/product_dimensions (dual cm-in + capacity), the batch build_catalog.py pipeline from its new location (true-JPEG output, NEEDS_DIMENSIONS gate, --no-dims full run, --dims json+csv), and export_variants.py (amazon/shopify/etsy). All passed. Pre-commit skill validation passes for all six skills.

Note: this branch was ahead of dev, so the PR also carries earlier unmerged commits (release 1.3.5, product_dimensions docs, OpenClaw plugin work).

🤖 Generated with Claude Code

galbria and others added 8 commits June 10, 2026 16:54
* fix: rename lifestyle_shot_by_text param prompt → scene_description (#45)

Align SKILL.md examples with the API reference, which documents the
/v1/product/lifestyle_shot_by_text parameter as scene_description.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* feat: add video-remove-background skill (#47)

* chore: release 1.3.3 (#46)

* fix: rename lifestyle_shot_by_text param prompt → scene_description (#45)

Align SKILL.md examples with the API reference, which documents the
/v1/product/lifestyle_shot_by_text parameter as scene_description.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: bump version to 1.3.3

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* docs: add Claude Code plugin install instructions to README

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* feat: add video-remove-background skill

New skill for Bria's video background removal API
(POST /v2/video/edit/remove_background), based on
https://docs.bria.ai/video-editing/editing-endpoints/remove-background

- SKILL.md with auth flow, usage, alpha-support rules, and examples
- references/api-endpoints.md covering remove_background, the local
  video upload service, and status polling
- bria_video_client.sh helper: local file upload, async polling with
  video_url extraction, 422/413 error guidance

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix: correct video-remove-background skill with live-tested API behavior

End-to-end tested against the production API. Corrections vs the docs:
- Transparent background only accepted with webm_vp9, mkv_vp9,
  mov_proresks (server 422 rejects gif and mov_h265 despite docs)
- gif output preset fails server-side (500) — replaced the GIF example
  with a webm + ffmpeg palettegen conversion
- mov_proresks returns ProRes 4444 without an alpha plane — noted, and
  the editing example now uses mkv_vp9 (verified RGBA)
- Documented the observed default preset (webm_vp9, ALPHA_MODE=1) and
  how to verify VP9 alpha (ffprobe shows yuv420p; alpha is a side channel)

Client: configurable polling (BRIA_POLL_INTERVAL/BRIA_POLL_ATTEMPTS),
prints status_url on timeout so jobs can be re-polled, corrected 422 hint.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* chore: bump version to 1.4.0

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* chore: align all version references to 1.4.0

- package-lock.json (was stale at 1.3.0)
- marketplace.json metadata version, plus register the new
  video-remove-background plugin
- skill metadata versions (bria-ai, image-utils, remove-background, vgl)
- BriaSkills User-Agent strings across skills and kiro mirrors
- kiro POWER.md source-version notes

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* chore: use version 1.3.4 instead of 1.4.0

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Skill-bundle plugin for OpenClaw / ClawHub under @bria/bria-ai-openclaw.
Ships openclaw.plugin.json + package.json (openclaw.compat/build) and
two skills: bria-ai (image gen/edit/RMBG) and video-remove-background
(transparent/alpha video matting). Auth via Bria device flow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bundle plugin @bria/bria-ai-openclaw now contains bria-ai (OpenClaw
device-flow variant), video-remove-background, remove-background, vgl,
image-utils, and automotive. Validated with clawhub package validate
(status: pass).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rename package to @galbria/bria-ai-openclaw so the scope matches the
publishing owner; update README install/publish commands accordingly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add the Product Dimensions endpoint (POST /v2/image/edit/product_dimensions)
to the bria-ai skill: a Core Capabilities row and bria_call example in
SKILL.md, plus a full parameter reference in references/api-endpoints.md.

Verified live and rendering correctly on both prod and int.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bump bria-skills to 1.3.5 for the new bria-ai Product Dimensions endpoint
(POST /v2/image/edit/product_dimensions), verified live on prod and int.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Add ecommerce skill (packshot/cutout/dimensions/lifestyle → marketplace
  variants catalog pipeline) and bundle it under the bria-ai plugin in
  marketplace.json so installing the main plugin pulls it too.
- build_catalog.py: re-encode packshot/lifestyle downloads to real JPEG when
  the destination is .jpg (flatten alpha onto white); keep raw bytes for .png
  so cutout/dimensions transparency is preserved. Fixes files that were PNG
  bytes with a .jpg extension.
- bria-ai SKILL.md: upgrade the product_dimensions example to show dual
  cm/in callouts (units_display: dual_slash) plus capacity and Net Weight.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Fold the standalone ecommerce skill into bria-ai to concentrate usage and
discoverability in the main skill:

- Relocate build_catalog.py, export_variants.py, and marketplace-presets.md
  into bria-ai/references; add cutout/packshot/shadow/lifestyle_shot_by_image
  to bria-ai's api-endpoints reference.
- Add a "Product Catalog Pipeline (batch)" section to bria-ai/SKILL.md
  (build_catalog driver, NEEDS_DIMENSIONS gate, marketplace variants, listing
  copy scaffold).
- Rebalance the bria-ai description's first 160 chars so product-catalog,
  packshot, lifestyle-shot, and cutout search queries pass the token gate
  while keeping background-removal coverage (kept under the 1024-char limit).
- Reduce ecommerce to a thin redirect stub pointing at bria-ai (kept as a
  discovery entry point).

Version stays 1.3.5 per request. Verified end-to-end: auth, product endpoints,
batch pipeline (true-JPEG output), and marketplace variants all pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 62383dea-c8aa-40a2-b2c2-00624736f906

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/bria-ai-product-dimensions-1.3.5

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant