{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Overview","siteUrl":"https://docs.bria.ai","llmstxt":{"hide":false,"title":"Bria AI API","description":"bria.ai helps you build products and workflows by delivering controllable, easy-to-integrate and safe generative visual AI capabilities.","details":{"path":"_llmstxt-details.md"},"sections":[{"title":"Integrations","description":"MCP server, Claude Skill, and Python SDK.","includeFiles":["MCP-authentication.md","integration-methods/bria-skill.md","integration-methods/python-sdk.md"]},{"title":"Getting Started","description":"Authentication, API overview, and platform concepts.","includeFiles":["index.md","products-overview.md","safety.md","vgl.md","best-practices-overview.md"]},{"title":"Image Generation","description":"Generate images using text prompts or structured JSON via FIBO models.","includeFiles":["image-generation.md","image-generation.yaml"]},{"title":"Image Editing","description":"Edit, transform, and enhance images with 20+ specialized endpoints.","includeFiles":["image-editing.md","image-editing.yaml"]},{"title":"Video Editing","description":"Remove backgrounds (REST async or real-time streaming), erase objects, upscale, and generate masks for video.","includeFiles":["video-editing.md","local-video-upload-service.md","video-editing.yaml","streaming-rmbg.md"]},{"title":"Product Shot Editing","description":"SKU packshots, lifestyle scenes, and automotive product imagery.","includeFiles":["product-shot-editing.md","product-shot-editing.yaml"]},{"title":"Optional","description":"Ads, image onboarding, and attribution.","includeFiles":["campaign-generation.md","image-onboarding.md","bria-attribution-service.md","ad-generation.md","ad-delayer-overview.md","campaign-generation.yaml","image-onboarding.yaml","bria-attribution-service.yaml","ad-generation.yaml","ad-delayer.yaml"]}],"excludeFiles":["_llmstxt-details.md","_partials.md","CHANGELOG.md"]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"overview","__idx":0},"children":["Overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Bria's Ad Delayer API turns a flat ad image into editable layers — a background plate, product and logo cutouts, live text with typography, and vector shapes — returned as one structured JSON document. Trained exclusively on licensed data for safe commercial use."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"core-capabilities","__idx":1},"children":["Core Capabilities"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"layer-decomposition","__idx":2},"children":["Layer Decomposition"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A single call decomposes a finished ad into its editable parts:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Background plate:"]}," The scene behind everything else, delivered as a hosted image."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Image cutouts:"]}," Products, logos, and other raster elements as transparent PNGs."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Live text, twice over:"]}," Every copy layer comes back in both forms — editable text with full typography (font family, weight, size, letter spacing, line height, alignment) and an SVG of the original letterforms traced from the ad. Edit the copy, or keep the ad exactly as designed; a request parameter picks which renders by default."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Vector shapes:"]}," Boxes with solid or gradient fills, corner radii, and shadows."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"the-layer-document","__idx":3},"children":["The Layer Document"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every result is one structured JSON document: a canvas matching the input image, the Google Fonts stylesheets referenced by text layers, and a z-ordered list of layers, each with its bounding box and type-specific styling. Sorting by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["z_order"]}," and absolutely positioning each layer reconstructs the ad — deterministically, and ready for programmatic editing."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The full field-by-field contract, a real layer example, and a rendering guide are in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.bria.ai/ad-delayer"},"children":["Ad Delayer API Reference"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"asynchronous-processing","__idx":4},"children":["Asynchronous Processing"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The endpoint processes requests asynchronously. The API will immediately return a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["request_id"]}," and a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status_url"]}," instead of the final result. You must poll the Status Service to track progress; on completion the status body carries a pointer (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result.url"]},") to the hosted layer document."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See the full guide at ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.bria.ai/status"},"children":["Status Service Documentation"]}," for complete details and usage examples."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"known-limitations","__idx":5},"children":["Known Limitations"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Inputs are capped at ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["800 px per dimension"]}," on this endpoint. Removing the cap is available to enterprise accounts only — enterprise requests return full-resolution layers. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://bria.ai/contact-us"},"children":["Contact us"]}," about enterprise access."]}]},"headings":[{"value":"Overview","id":"overview","depth":1},{"value":"Core Capabilities","id":"core-capabilities","depth":2},{"value":"Layer Decomposition","id":"layer-decomposition","depth":3},{"value":"The Layer Document","id":"the-layer-document","depth":3},{"value":"Asynchronous Processing","id":"asynchronous-processing","depth":3},{"value":"Known Limitations","id":"known-limitations","depth":2}],"frontmatter":{"seo":{"title":"Overview"}},"lastModified":"2026-09-08T13:28:18.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ad-delayer-overview","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}