Skip to main content
Model ID
Calling method: sync

Bria Product Dimensions API Documentation

The Product Dimensions route turns a product photo and real-world measurements into a marketplace-ready dimension image, overlaying styled callouts for height, width, weight, and capacity onto a clean canvas.

1. API Endpoint & Authentication

Base URL: https://console.gmicloud.ai Endpoint: POST /api/v1/ie/requestqueue/apikey/requests Header: Authorization: Bearer YOUR_API_KEY Content-Type: application/json

2. Model Specifications

  • Pricing: $0.040 per image
  • Input Formats: JPEG, PNG, WEBP (Base64 string or URL)
  • Output: Square image, PNG (default) or JPEG, 256-2200 px per edge
  • Styles: Default, Childlike, Elegant
  • Required measurement: At least one of Height, Bottom Width, or Top Width must be provided

3. How It Works

Dimension Callouts

Provide a product photo along with its real-world measurements. The model places styled dimension callouts around the product on a clean canvas, sized and positioned according to the values you supply.

Required Measurements

At least one of the three dimension attributes must be provided: height_value, width_bottom_value, or width_top_value. A request supplying none of them will not produce a valid dimension image. Each measurement value must be greater than 0, and should be paired with its corresponding unit (height_unit, width_bottom_unit, width_top_unit). Weight and capacity are entirely optional and do not satisfy this requirement on their own.

Callout Placement & Units

Each dimension has a position parameter controlling which side of the product its callout sits on (top, bottom, left, or right). The units_display setting controls how primary and secondary units appear on the labels: a single unit, or dual units joined by a bullet, slash, or parentheses. Enabling proportional_lines scales each callout line’s length to its measurement.

Presentation

The style parameter selects the callout geometry and typography. The canvas background accepts a hex color (e.g. #0F766E) or one of the named presets: white, cream, or charcoal. An optional title (max 80 chars) can be placed along the top of the image.

4. Parameter Reference

*At least one of height_value, width_bottom_value, or width_top_value must be provided.

5. Example CURL Request

6. Checking Request Status

  • queued: Request is waiting to be processed by GPU resources.
  • processing: Image processing is currently in progress.
  • success: Processing completed. URLs available in outcome.media_urls.
  • failed: Processing failed. Check logs for details.