Skip to main content
ArtEmotion
Image

Bria Crop Foreground

Credit-based pricing. Supports reference images.

Bria Crop Foreground preview
Output
image

Inputs

  • Reference image (required)

Example prompt

Crop around the main subject
Try this prompt →
LLM-ready

API & LLM schema

Exact request contract for this model. Agents can fetch it from /api/v1/models?id=bria/v2/crop-foreground.

POST/api/v1/generate10 fields · 2 required
FieldTypeRequirementContract
model_idconstantRequiredArtEmotion model identifier.
extraobjectOptionalModel-specific settings may also be nested here.
max_creditsnumberOptionalReject before submission if the estimated list price exceeds this cap. · Range: 1–…
webhook_urlstringOptionalFormat: uri
webhook_secretstringOptionalOptional model input.
folder_idstringOptionalOptional model input.
paddingnumberOptionalPadding in pixels around the detected foreground. · Default: 0 · Range: 0–2048
force_background_detectionbooleanOptionalDefault: false
preserve_alphabooleanOptionalDefault: true
reference_image_urlstringRequiredFormat: uri
Minimal request example
{
  "model_id": "bria/v2/crop-foreground",
  "reference_image_url": "https://example.com/reference_image"
}
Raw JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.artemotion.ai/api/v1/models?id=bria%2Fv2%2Fcrop-foreground",
  "title": "Bria Crop Foreground generation request",
  "description": "Request body accepted by POST /api/v1/generate for bria/v2/crop-foreground.",
  "type": "object",
  "properties": {
    "model_id": {
      "type": "string",
      "const": "bria/v2/crop-foreground",
      "description": "ArtEmotion model identifier."
    },
    "extra": {
      "type": "object",
      "additionalProperties": true,
      "description": "Model-specific settings may also be nested here."
    },
    "max_credits": {
      "type": "number",
      "minimum": 1,
      "description": "Reject before submission if the estimated list price exceeds this cap."
    },
    "webhook_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048
    },
    "webhook_secret": {
      "type": "string",
      "maxLength": 512
    },
    "folder_id": {
      "type": "string"
    },
    "padding": {
      "title": "Padding",
      "description": "Padding in pixels around the detected foreground.",
      "default": 0,
      "type": "number",
      "minimum": 0,
      "maximum": 2048,
      "multipleOf": 1
    },
    "force_background_detection": {
      "title": "Force background detection",
      "default": false,
      "type": "boolean"
    },
    "preserve_alpha": {
      "title": "Preserve alpha",
      "default": true,
      "type": "boolean"
    },
    "reference_image_url": {
      "type": "string",
      "format": "uri"
    }
  },
  "required": [
    "model_id",
    "reference_image_url"
  ],
  "additionalProperties": false
}

FAQ

How much does Bria Crop Foreground cost on ArtEmotion?

Credit-based pricing. You pay in ArtEmotion credits — every plan and top-up converts USD to credits at a fixed rate.

Do I get my credits back if Bria Crop Foreground fails?

Yes — failed generations are never charged. The credits are released back to your balance automatically.

Can I call Bria Crop Foreground from the API?

Yes. Use POST /api/v1/generate with model_id: "bria/v2/crop-foreground". See the API reference for the full schema.

Where are my generations stored?

Every output is saved to your personal Library. You can export or delete everything any time from Privacy & deletion.

Ready to generate with Bria Crop Foreground?

Start now →

No commitment. New accounts get 50 free credits on signup. See pricing.