# Brandmachine platform documentation Every page of https://help.brandmachine.shop in one file, in sidebar order. The index with one line per page is https://help.brandmachine.shop/llms.txt. ================================================================================ # Getting Started Source: https://help.brandmachine.shop/getting-started/ Welcome to Brandmachine. This guide will help you get up and running. ## Quick Setup 1. **Get access**. There are three ways in:- **Your team already uses Brandmachine.** Ask an Admin or Owner on your account to invite you from **Settings → Members**. You'll get an email to set your password, then you land in your team's account. See [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/). - **New to Brandmachine, outside Shopify.** Create your account at the `/signup` page with your name, work email and company name. You'll see a "Check your inbox" confirmation, then an email invitation to set your password and finish creating your account. - **Through Shopify.** Install the app from the Shopify App Store. The first time you open it, you're asked whether this is a new account or whether your team already uses Brandmachine. See [Shopify App & Web App](https://help.brandmachine.shop/shopify-and-web-app/). 2. **Create a Brand Identity**. Give Brandmachine your brand name and it will draft a brand profile you can refine. You'll find this later under **Shared Resources → Brand Memory** in the sidebar. 3. **Top up credits**. Brandmachine runs on pay as you go credits. An account Owner adds a starting balance from **Settings → Billing**. 4. **Invite your team** (optional). Add colleagues from **Settings → Members** and give each a role, from Viewer, who can look but not change anything, to Owner, who also handles billing. That's the bare minimum to start generating. ## The Home Page Once you're signed in, the Home page shows: - **Recent campaigns** you've been working on - A **"Needs your attention"** board flagging items that need a decision or action - **Recent designs** if you've used Brandmachine Designer - A collapsible **"Learn Brandmachine"** band with onboarding videos at the top ## The Sidebar In the web app, the sidebar is organized as a set of doors, top-level areas that open into related tools. Inside Shopify Admin, Shopify shows its own navigation instead. **Account menu**: your account's name heads the sidebar. Click it to open **Your profile**, switch **Dark mode** on or off, or **Log out**. **Home**: your dashboard, described above. **Product Studio** - **Product Studio**: clean catalog photography with reusable perspectives, hero focus, and exact brand background color matching. - **Shot Planner**: bulk-plan product studios and campaign images from a batch of product photos. An agent drafts the plan, you review and generate. - **Workbench**: the board (To Do / In Progress / Done) of your product studios. Each studio's **Export** view is where you download its images. **Campaigns** - **Campaigns**: start a campaign by dropping in the images that inspire it, then plan and shoot it with the agent. Your campaign boards are listed here. - **Campaign Library**: every campaign, including older ones and single shots not yet assigned to a campaign. - **Set Locations**: reusable background environments built from location, lighting, and mood references. - **Media Plans**: turn finished campaign images into ads for your delivery formats. **Designer** - **Designer**: design garments with inspiration resources, generate Front / Back / Front flat / Back flat sketches, and take measurements off the flat patterns. - **Collections**: organize your designs. - **Patterns**: reusable fabric prints and tileable textures. Attach pattern revisions to a design when you're ready. - **Size Charts**: the size charts your designs take their measurements from. **Shared Resources** - **Fashion Models**: create AI models, or upload existing models with rights consent. Active models show up in Campaigns, Product Studio, Designer, and Group Shots. - **Castings**: generate fashion model options based on your Brand Memory. - **Wardrobe**: the pieces your looks are styled with but that you are not selling in the shot, like the sneakers under every denim look. Photograph each one once and every render uses that exact piece. - **Product Videos**: short promotional videos from a single product image. - **Brand Memory**: your brand profile, used for prompt suggestions and tone across every workflow. See the Brand Memory guide for details. **Settings**: your profile, Brand Identity, the setup pages for Product Studio and Campaigns, your filename convention, Skills, Workflows and ad languages. Team administration lives here too: **Members**, **Activity**, **API Access** and, in the web app, **Connected stores**. **Billing** holds your credit balance, top-ups and transaction history. The credit balance pill at the bottom of the sidebar shows your current balance and links to Billing. While you're working inside a Product Studio, Campaign, or Group Shot image, you can also open the built-in Photo Editor for color correction, spot fixes, or lasso-driven generative edits. ## What Got Renamed If you've been using Brandmachine for a while: - **Review** is now **Workbench**. - **Batch Editor** is now **Shot Planner**. - **Campaign Composer** is now **Campaigns**. - **Brand Identity** is now **Brand Memory** in the sidebar (you may still see "Brand Identity" used on the Settings page itself). - **Store Content** is no longer part of the app. - **Workflows** is a new feature, not a rename, for building multi-step automations. It now lives under **Settings → Workflows**. - **Log out** has moved from the right-hand panel to the account menu at the top of the sidebar. - The old subscription plans are now **PAYG credits**, billed through Stripe or Shopify. ## Need Help? Email **[support@brandmachine.shop](mailto:support@brandmachine.shop)** any time. ================================================================================ # Input Guidelines Source: https://help.brandmachine.shop/input-guidelines/ Everything Brandmachine generates is built from the images you upload. The input sets the ceiling: a sharp, evenly lit photo of a single garment gives the model everything it needs to reproduce the piece faithfully, and a small, dim or cluttered one does not. Nothing later in the pipeline recovers what the input never contained. These guidelines apply to every garment and product image you upload, in [Product Studio](https://help.brandmachine.shop/product-studio-getting-started/), [Shot Planner](https://help.brandmachine.shop/shot-planner/), [Campaigns](https://help.brandmachine.shop/campaign-composer-getting-started/) and [Designer](https://help.brandmachine.shop/designer/). Look at what you already have first: Most brands are already sitting on usable inputs. Packshots, lookbook files, the shots your supplier sent: all of it counts. You very rarely need to shoot anything new to start. --- ## Four ways to shoot it, from best to weakest All four work, but they are not equal. The more of a body the photo shows, the less the model has to guess about fit. [Image: The plaid shirt dress worn by a person, the frame cropped at the jaw so no face is visible] 1. On a person, head cropped. [Image: The same plaid shirt dress on a full-body light grey mannequin with arms, hands, legs and feet, against a plain grey wall] 2. On a full mannequin. [Image: The same plaid shirt dress on a headless cream dressmaker's bust without arms, against a plain grey wall] 3. On a bust. [Image: The same plaid shirt dress laid flat on a plain light grey surface, photographed from directly above] 4. Flat lay or packshot. **1. On a person, head cropped.** The strongest input. A body inside a garment produces real drape and tension, and you control the styling. However you set the piece up on the person is what comes out. Always crop out the face, ideally the whole head. **2. On a full mannequin with arms, hands, legs and feet.** Close to a person, and easier to set up. If you are shooting new photos, use a person when you can and a full mannequin otherwise. The form shows where the shoulder seam sits, where a sleeve ends on the hand, where a hem or a trouser leg ends on the leg, and how the volume falls. No face involved. **3. On a bust.** Gives the shoulders and the volume, but there are no arms, hands or legs to measure against. In the photo above, nothing shows where the sleeves end on the wrist, so the model has to guess their length. **4. Flat lay or packshot.** 2D flat or 3D ghost. It works, and it is what most brands already have, but it is the weakest of the four. A flat garment carries no information about how big it is or how it falls on a body, so the model has to work the fit out for itself. A good ghost mannequin packshot, front and back, still works well, as the [worked example](https://help.brandmachine.shop/input-guidelines/#a-worked-example) below shows: the invisible mannequin keeps the garment's volume. What no packshot shows is how the piece sits on a body, so the more the fit matters, the more a person or a mannequin in the photo helps. The pieces of one outfit can come from different kinds of photo, for example the dress on a mannequin and the bag as a packshot. --- ## What each input can become One rule of thumb covers most of it: **the more the image model has to invent, the worse the result.** It reproduces what your photo shows. Whatever the photo does not show, it fills in with the most ordinary version it can think of, and that is rarely your product. | You have | You want | How well it works | | --- | --- | --- | | A phone photo of the piece on a person, head cropped, or on a full mannequin with arms and legs, evenly lit. An office or an ordinary room is fine. | A model image | Very well. The body gives real proportions and drape. | | A photo on a bust | A model image | Well. Sleeve length and where a long piece ends are guessed, so check those. | | A flat lay or a packshot | A model image | It works, but the model works out the fit and the fall itself, so check those. | | A model photo or a mannequin photo | A packshot | The outside comes out well. The inside, such as the back neck and the label, is invented. | | A model photo, plus a close-up of the inside and the label | A packshot | Well. The inside and the label now come from your photo. | | A front photo only | A back view | Poorly. The back is invented. Upload a back photo. | | A full-length photo only | A detail shot of a trim, a label or hardware | Poorly. At full length a detail is a few pixels wide. Upload a close-up of it. | | A website export, a screenshot or a thumbnail | Anything | Soft. Prints, weaves and trims lose their detail. Use the original file. | ### A phone photo in an office becomes a studio model image [Image: The plaid shirt dress on a full-body white mannequin standing off centre in an office, a desk at the edge of the frame and grey carpet, daylight from a window] Input: a phone photo on a mannequin, in an office. [Image: The same plaid shirt dress worn by a model on a plain light grey studio backdrop, full length, front view, with white sneakers] Output: the same dress on a model, in the studio. The office, the carpet and the window light do not matter. The desk at the edge is tolerated because nobody could take it for part of the product; other clothes in the frame would not be. The mannequin gives the shoulders, the sleeve length on the hands, the hem length on the legs and the volume, and those carry over to the model. ### A model photo becomes a packshot, but the inside is guessed A worn photo shows the outside of the garment. The body hides the inside of the back neck, where the label sits. Ask for a packshot from the worn photo alone and the model invents that part. [Image: The plaid shirt dress worn by a person, cropped at the jaw] Input: the worn photo only. [Image: The plaid shirt dress as a ghost mannequin packshot on a light grey background, front view, knot at the waist] Output: a packshot. The outside comes out right. [Image: Close crop of the packshot's open collar, showing a blank pale grey tag at the back neck] The label is a blank tag the model made up. Add a photo of the inside as a second input, and the label comes from your product instead. [Image: A phone close-up of the inside back neck of the plaid shirt dress, held open by hand, showing a black woven brandmachine label and a white M size tab] Second input: the inside of the back neck. [Image: The plaid shirt dress as a ghost mannequin packshot, the black label visible inside the open collar] Output: the same packshot. [Image: Close crop of the packshot's open collar, showing the black brandmachine label and the M size tab] The label matches the photo. The same goes for anything else the outside view hides: a lining, a print on the inside, a back closure. If it should be in the result, it needs to be in a photo. Sportswear and swimwear show it most clearly. Worn, the lining of this sports bra is completely hidden. Make a packshot from the model photo alone and the model has to invent the whole striped area: its colour, its material and the care label. Only a photo of the inside tells it what is there. [Image: A black sports bra as a ghost mannequin packshot, a small white logo on the front, an orange mesh lining and a printed care label visible inside the back] The product: orange lining, care label inside the back. [Image: A model wearing the same black sports bra with black leggings, front view; none of the lining is visible] The model photo: the lining is hidden by the body. [Image: The sports bra packshot with the inside lining and label covered in blue diagonal stripes] Striped: everything the model photo cannot show. --- ## The six checks Six things decide whether an input works. Run down them before you upload. ### 1. Resolution At least 2000 px on the long edge, from the original camera file or export. A phone photo at full quality is enough. A website export, a screenshot or a thumbnail is not. Works well: Close crop of the collar and placket, every check line and the fine overcheck stripes clearly resolved. The original file. Every check line holds its edge, the fine yellow and white overcheck reads as separate threads, and the weave of the cloth is visible. Avoid: The same close crop taken from a 1000 pixel website export, the check lines smeared and the fine overcheck stripes dissolved. The same garment from a 1000 px website export. The check lines have smeared into each other, the fine overcheck has dissolved and the weave is gone entirely. Nothing later puts any of it back. A plain white shirt is forgiving. A print, a weave, a stitching detail or a trim is not. A small file still gives you a large image: Input resolution does not cap output resolution: a 1200 px input still renders a full-size image. What a small input costs is fidelity in the material itself, the print, the weave, the trim. So a slightly undersized file is worth trying on a plain piece and worth replacing on a detailed one. ### 2. Light Even and neutral. No hard shadows, no direct sun, no coloured light. The colour in your photo is the colour you get back. Works well: The plaid shirt dress on a bust under soft even frontal light against a plain grey wall, the colours reading true. Soft frontal light, neutral white balance, no shadow thrown behind. The slate blue is the real blue and the cream is still cream. Avoid: The same shirt dress under warm tungsten light from one side, the whole frame cast orange and a hard shadow behind the bust. Warm showroom downlights from one side. The cream has gone amber, the slate blue has turned brown and one half of the piece is brighter than the other. We have no way to know which version is your product. ### 3. Background Plain and empty. Plain does not mean pristine: an ordinary room with a scuffed wall is fine, and so is a mannequin standing slightly crooked. What matters is that nothing else is in the frame. Works well: The plaid shirt dress on a dressmaker's bust standing slightly off centre in an ordinary room, against a plain painted wall with faint scuffs and a hairline crack. A working room, not a studio. Marked wall, visible skirting, bust a little off centre, daylight from a window. It is only the garment in the frame, and that is enough. Avoid: The shirt dress on a hanger in the middle of a crowded showroom rail, other garments pressing in on both sides and a room behind. A showroom rail. The neighbouring garments are in the frame, part of the room is behind it, and the piece we are meant to reproduce is one of a dozen. ### 4. Faces None. Crop out the face before uploading, ideally the whole head. A face pulls the model away from the garment. Works well: The shirt dress worn by a person, the frame cropped at the jaw so no face appears. Cropped at the jaw. You keep the drape and tension of a real body and lose nothing. Avoid: The same shot widened so the person's whole head and face are visible. The same photo with the head in it. Now the strongest thing in the frame is a person rather than a shirt dress. This applies to garment and product inputs only. Uploading a real person as a [Fashion Model](https://help.brandmachine.shop/fashion-models-getting-started/) is a separate flow with its own rules. ### 5. Framing Whole piece, front on, nothing cut off at the edges. On a person or a mannequin, shoot from chest height; a flat lay is shot from directly above. Works well: The shirt dress photographed straight on from chest height, the whole garment inside the frame with space around it. Straight on, the whole garment inside the frame with space around it. Avoid: The same shirt dress on a table shot from above at a steep angle, foreshortened, with one sleeve running out of the frame. Shot from above at an angle, so the proportions are foreshortened, and a sleeve leaves the frame. We cannot measure a piece we cannot see all of. ### 6. One product per file One file, one thing you want back. Styling in the frame is fine and often helps. What does not work is sending one photo of a full look and expecting each piece out of it separately. Works well: The shirt dress worn on a person, framed so the dress is clearly the subject. Worn and styled, but framed so the shirt dress is plainly the subject. Deliberate styling is information, not noise. Avoid: A full outfit on a mannequin, the shirt dress with tights, boots, a wide belt and a shoulder bag, all at equal size in one frame. A whole look in one frame, uploaded once. Nothing here says which piece is the product, so upload the shirt dress, the boots and the bag as three files. --- ## You only get the angles you upload A perspective decides which angle comes out. An input decides what that angle is built from. A front shot gives you a front view. Ask for a side view without having uploaded one and the model invents the side, which is usually wrong. So work backwards from your perspectives: for every angle you have configured, upload an input that shows the piece from that angle. Front, back, side and detail shots are separate inputs. **Send the back photo for the back view, and the front one with it.** The back view has to be built from the back photograph, so an angled side shot will not do. Sending the front alongside it is what keeps colour, length and proportion consistent between the two, so the pair reads as one garment rather than two. [Image: The plaid shirt dress photographed from the front on a bust] Front. The knot, the placket, the collar. [Image: The same shirt dress photographed from the back, showing the yoke, the wrapped sleeves of the tied shirt and the hem] Back. The yoke and the wrapped sleeves exist only in this file. Nothing in the front file says where the yoke seam sits, how the sleeves of the tied shirt wrap round, or how the hem falls behind. Upload only the front and all three get invented, and they are invented as the most ordinary version of themselves. **A detail only appears if it came in as its own input.** A trim, a label or a hardware close-up needs its own file. There is a hard floor here that no amount of describing gets around: on a full-length frame, a button occupies roughly ten pixels. A pearl finish or an engraved rim simply has nowhere to live at that size. If a feature matters, the answer is a closer photograph of it, not a longer description. In Product Studio and Shot Planner each input also carries a **view type** (Front, Back, Other, Cropped) that routes it to the perspectives accepting that type. Tag them correctly, a mistagged input is the usual reason an expected angle never appears. See [Product Studio](https://help.brandmachine.shop/product-studio-getting-started/) for how perspectives and view types line up. Describe the piece from the photograph, not the product name: Where you write guidance for a product, describe what is actually in the picture. Internal names drift from the garment: a style called a top may be a dress, and a colourway called sand may be brown. The model matches on what you write, so a wrong noun costs you a wrong render. --- ## A worked example Two packshots in, front and back, both views out. This is a real product and a real result, from Nümph. [Image: A burgundy short-sleeved dress with puff sleeves and a gathered drop waist, shot as an invisible-mannequin packshot on a plain background] Input: front packshot. [Image: The same burgundy dress shot as an invisible-mannequin packshot from the back] Input: back packshot. [Image: The dress worn by a model on a plain studio backdrop, photographed from the front, full length] Output: front. [Image: The same model and dress photographed from the back, full length on the same backdrop] Output: back. Two files with no body in them, and the drop waist, the gathered volume and the drawstring ties all survive into a worn shot. The back view exists because a back packshot was uploaded for it. --- ## Before you upload - The file is the original, at least 2000 px on the long edge, not a website export. - The light is even and neutral, with no hard shadow and no colour cast. - The background is plain and nothing else is in the frame. - No face, and ideally no head. - The whole piece is in the frame, front on, nothing cropped at the edges. - One product per file. - There is an input for every angle you have a perspective for, including a back photo for the back view. - Anything small enough to argue about has its own close-up. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Billing & Credits Source: https://help.brandmachine.shop/billing-credits/ Brandmachine runs on **pay as you go credits**, whether you use the web app, the Shopify app, or both. You top up a credit balance and each generation or release deducts from it. The rest of this page covers that system. The one exception is an account that we invoice directly. Its Billing page says "Invoiced directly" and shows usage and spend history, with no credits to top up. Everyone on the account can see the balance, usage and transactions. Only **Owners** can top up credits and manage invoices. Anyone else sees the reason on the page and the top-up button greyed out. See [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/). ## Where to Find It Open **Settings → Billing**. You can also tap the credit balance pill near the bottom of the sidebar to jump there directly. ## What the Billing Page Shows **Usage this month.** A stacked bar chart breaking down spend into Generation and Release. Expand "By feature" to see how much went to Campaign, Product Studio, and so on. **Credit balance.** Your current balance in euros. **Top up.** Preset amounts (€50, €100, €150, €200) plus a custom amount field. Allowed range is €5 to €500. **Transaction history.** A paginated ledger of every charge and top-up, newest first. Columns: date, description, cost, amount (signed delta to balance), balance after. ## Topping Up How you pay depends on where you have Brandmachine open, not on how your account started. An account that is connected to a Shopify store can use both paths, and both add to the same balance (see [Shopify App & Web App](https://help.brandmachine.shop/shopify-and-web-app/)). ### In the Shopify App Inside Shopify Admin, top-ups go through Shopify's one-time charge flow: 1. Pick a preset or enter a custom amount. 2. Click **Continue with [amount]**. 3. You're redirected to Shopify Admin to approve the charge. 4. After approval, you land back in Brandmachine and your balance updates. ### In the Web App In the web app, top-ups use Stripe Checkout: 1. Pick a preset or enter a custom amount. 2. Click **Continue with [amount]**. 3. Stripe Checkout opens, with Stripe Tax and optional VAT-ID collection. 4. After payment, Brandmachine processes the webhook. You'll see "Processing your payment" briefly while the balance settles, then a **Top-up successful** banner. If a payment doesn't complete, the page shows a warning banner with a **Try again** button. The system re-checks your balance before re-enabling the retry, since the webhook sometimes lands a few seconds late. ## Low Credit Banner When your balance drops below **€2.00**, a banner appears at the top of every page (except the Billing page itself) telling you credits are running low. Owners get a **Top up now** button; everyone else is asked to have an account owner top up. You can dismiss the banner for the session. It never appears for invoiced accounts, since they aren't billed through the credit balance. ## Price List Click **Price list** in the top-right of the Billing page to see what each operation costs. Charges are split into two tiers: - **Generation.** Charged when you generate an image, video, design revision, etc. The rate is multiplied by the number of images actually delivered, so an operation that returns several output images costs more than one that returns a single image. - **Release.** One-off fees applied when you release a final image to high-res or publish it. The Price list page stamps the current pricing version (for example `v20260611`) at the top. Historical ledger entries show the price stamped at the time of the charge, so old transactions stay accurate even when prices change. ## Invoices and Payment Methods (Stripe) In the web app, the transaction history has a **Manage billing & invoices** button in its top-right corner. Owners can click it to open the Stripe Customer Portal, where you can: - Download invoices - Update payment methods - Update your VAT ID and billing address - Review your full payment history Charges made through Shopify are managed in Shopify Admin instead. ## FAQs **Do credits expire?** No. Your balance carries forward indefinitely. **What happens if I run out mid-generation?** Each operation checks your balance before it starts, and is blocked until you top up if the balance is too low. Already-running tasks finish. Because one operation can deliver several images, a balance close to zero can end up slightly below zero; your next top-up covers the difference. **Can I get an invoice?** Yes. Stripe issues an invoice for every top-up and emails it to your billing contact. You can also download invoices any time from the Stripe Customer Portal via **Manage billing & invoices**. **What about VAT?** Stripe handles VAT automatically at checkout. EU customers can add a VAT ID either at checkout or later via the Stripe portal to switch to reverse charge. **I need volume pricing or a dedicated plan.** Reach out to [support@brandmachine.shop](mailto:support@brandmachine.shop) and we'll work out a custom arrangement. **I think I was charged in error.** Contact [support@brandmachine.shop](mailto:support@brandmachine.shop) with the date and description from the ledger. We'll look into it. ================================================================================ # Team Members & Roles Source: https://help.brandmachine.shop/team-members-roles/ Everyone on your team signs in to Brandmachine as themselves, and each person has a **role** that decides what they can do. You manage the people on your account from **Settings → Members**. --- ## The Six Roles Roles build on each other: each one can do everything the role before it can, plus a little more. | Role | What it adds | | --- | --- | | **Viewer** | Can look at everything, change nothing. | | **Member** | Can upload, edit and organise work. | | **Creator** | Can also start generations and manage the library. | | **Approver** | Can also release and download paid media, and delete content. | | **Admin** | Can also manage members and API tokens. | | **Owner** | Can also manage billing and top up credits. | In practice: - **Members** can upload product photos, start a shoot in [Shot Planner](https://help.brandmachine.shop/shot-planner/) or a campaign board, plan with the agent, and edit work, without spending credits. - **Creators** can generate previews and final images, and add to the shared library: fashion models, set locations, patterns and Product Studio perspectives. - **Approvers** decide what leaves Brandmachine. They release and download high-res images, and they can delete campaigns, studios and shoots. - **Admins** run the team: members, API tokens, the Activity log, and connecting a Shopify store. - **Owners** pay: top-ups and invoices on the [Billing](https://help.brandmachine.shop/billing-credits/) page. The **What each role can do** card on the Members page shows the same list and marks your own role with "Your role". ### When Your Role Doesn't Allow Something Buttons for actions your role can't take are greyed out. Hover one to see why and which role you would need, for example "Your role cannot start generations. Ask an account admin for the Creator role or higher." Pages you can only read, such as Members for anyone below Admin, show the reason in a banner at the top. If you need more, ask an Admin or Owner on your account to change your role. --- ## Inviting Someone You need the **Admin** or **Owner** role to invite people. [Image: The Members page in Settings: an Invite someone card with Email and Role fields, the member list with a role selector for each person, a pending invitation with Resend and Revoke, and the What each role can do card] Settings → Members, as an Owner sees it. 1. Open **Settings → Members**. 2. Under **Invite someone**, enter the person's **Email** and choose a **Role**. New people start as **Creator** unless you pick another role. 3. Click **Invite**. What happens next depends on the address: - **The address already has a Brandmachine login.** The person is added straight away and can sign in now. - **Otherwise** they get an email with an invitation that is valid for **7 days**. The link lets them set a password, and then they land in your account. You can't give anyone a role above your own. Roles you can't assign are greyed out in the list. Invitations that haven't been accepted yet are listed under **Pending invitations** with their expiry date: - **Resend** sends a fresh invitation and restarts the 7 days. The link in the earlier email stops working. - **Revoke** cancels the invitation, so its link stops working. An invitation that runs out disappears from the list. To try again, invite the same address again. --- ## Changing Someone's Role Admins and Owners change a role with the role selector on the person's row. The change applies right away. - You can change the role of people whose role is below yours. Owners can also change other Owners. - You can lower your own role, but not raise it. - An account always keeps at least one Owner. To hand over ownership, make the other person an Owner first, then lower your own role. --- ## Removing Someone Click **Remove** on the person's row and confirm. They lose access on their next request. Everything they made stays in the account. Any API tokens the person created are revoked at the same time, and those tokens don't come back. Removed people are listed under **Removed**. Click **Reinstate** to give them access again. You can also remove yourself. You lose access straight away, and someone else has to reinstate you. --- ## Shopify Staff People who open Brandmachine from inside Shopify Admin appear in the member list as **Shopify staff member** until they enter a name in **Settings → Your profile**, because Shopify doesn't share their name or email with Brandmachine. Each person in the list has a badge for how they sign in: **Shopify**, **Web**, or both. A Shopify user who wants the web app too adds a web login for themselves in **Settings → Your profile**, and stays the same member with the same role. Inviting their address instead would add them a second time, as a separate member. Removing someone in Shopify doesn't remove their web login: remove them here under Members. See [Shopify App & Web App](https://help.brandmachine.shop/shopify-and-web-app/#adding-a-web-login). --- ## Your Profile and the Account Menu In the web app, your account's name sits at the top of the sidebar. Click it to open the account menu, which shows who you are signed in as and holds: - **Your profile**, where you set the name your colleagues see in the member list and next to approvals. - **Dark mode**, a switch for the app's appearance. - **Log out**. Inside Shopify Admin the sidebar isn't shown. Open **Settings → Your profile** there instead. --- ## API Tokens Scripts and other systems use the Brandmachine API with an **API token**, which also has a role, at most Approver. Admins and Owners create and revoke tokens under **Settings → API Access**. See [Authentication](https://help.brandmachine.shop/api-authentication/) for the details. --- ## Activity **Settings → Activity** lists who changed the team, generated, released or deleted something, or changed a setting, newest first. Only **Admins** and **Owners** can open it. Each entry says who did what and when; hover the date for the exact time. Use the **Show** filter to narrow the list to one kind of entry: **Team and access**, **Generations and exports**, **Deletions**, **Hidden results**, **Settings and library**, **Publishing** or **Brandmachine support**. The list loads 50 entries at a time; click **Load older activity** at the bottom for more. Entries are kept for **three years**. How the person is named: - **Brandmachine support** marks something our support team did on your account, for example while helping you with a request. - **API token "name"** marks an action made through the API with that token. Once the token is revoked, it reads **A revoked API token**. - **An automation** marks an action taken by an automated process rather than a person. - **A former member** marks someone who is no longer listed with a name or email. --- ## FAQs **Who can see the member list?** Everyone on the account. Only Admins and Owners can invite, change roles or remove people. **Can an API token or an Admin top up credits?** No. Topping up and managing invoices are for Owners only. **What happens to my work if my role is lowered?** Nothing. Your work stays where it is. You just can't take the actions your new role doesn't include. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Shopify App & Web App Source: https://help.brandmachine.shop/shopify-and-web-app/ Brandmachine runs in two places: the web app at app.brandmachine.shop, and the Brandmachine app inside your Shopify Admin. Both can open the **same account**, with one library, one credit balance and one list of members. --- ## Installing the Shopify App When someone opens Brandmachine in Shopify Admin for the first time after installing it, the app asks whether this is a new account or whether your team already uses Brandmachine: - **Start a new account** (button **Start fresh**): for teams new to Brandmachine. Your library, credits and settings start empty. - **Connect to our existing account** (button **Enter a code**): your shop joins the account you already use in the web app, with the same library, credits and colleagues. You need a code from the web app, described below. You can also enter your name on this screen. It's optional. Until someone answers, nobody in the store can start generations. Warning: Choose **Connect to our existing account** if your team already uses the web app. Anything you create after **Start fresh** stays in a separate account. If you chose it by mistake, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). --- ## Connecting a Shopify Store to Your Web Account You need the **Admin** or **Owner** role in the web app for this. See [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/). 1. In the web app, open **Settings → Connected stores**. On the **Shopify store** card, click **Create connect code**. 2. The card shows a code (in the form `ABCD-EFGH`) and how long it stays valid ("Expires in ..."). A code works once and runs out after 15 minutes. 3. In Shopify Admin, open the Brandmachine app. On the welcome screen, choose **Connect to our existing account**, then **Enter a code**. 4. Paste the code. The app shows which account it belongs to, with its number of members, credit balance and creation date, so you can check it's the right one. 5. Click **Connect**. The **Connected stores** page in the web app updates on its own once the store has joined. Treat the code like a password: anyone who has it can join a store to your account. If it runs out before you use it, create a new one. An account can have one Shopify store at the moment. --- ## The Two Ways In **Settings → Connected stores** shows your account's two ways in side by side, in both apps: the **Shopify store** card and the **Web app** card. Each card says **Active** or **Not set up**, and the chain between them says **Connected** once the account has both. - In the web app, the Shopify card is where an Admin creates the connect code described above. - In the Shopify app, the Web app card tells you whether the account already has web logins. Your own web login is added in your profile, described below. --- ## Shopify Staff and Web App Logins Shopify staff who open the Brandmachine app in Shopify Admin become members of your account automatically. They don't need an invitation. Because Shopify doesn't share their name or email with Brandmachine, the member list shows them as **Shopify staff member** until they enter a name in **Settings → Your profile**. In **Settings → Members**, each person has a badge for how they get in: **Shopify**, **Web**, or both. Signing in through Shopify doesn't give you a login for the web app by itself. There are two ways to get one: - **For yourself**: add a web login in your profile. You stay the same person in the account, with the same role and everything you made in Shopify. See [Adding a Web Login](https://help.brandmachine.shop/shopify-and-web-app/#adding-a-web-login) below. - **For a colleague**: an Admin or Owner invites them under **Settings → Members** (the card is called **Invite a colleague** inside Shopify Admin). The invited person doesn't need a Shopify account and signs in at app.brandmachine.shop. An invitation always adds someone as their own member. It never links a login to you, so don't invite your own address to get a web login: you would end up as two separate members. --- ## Adding a Web Login If you use Brandmachine inside Shopify Admin, you can add a web login for yourself. With it you sign in at app.brandmachine.shop, and in [ChatGPT](https://help.brandmachine.shop/chatgpt/), as the same person: same account, same library and credits, same role. 1. In the Brandmachine app inside Shopify Admin, open **Settings → Your profile**. Under **Your logins** you see your **Shopify staff account** and, below it, **Web login**. 2. Enter your address under **Your email**, and the same address again under **Repeat email**. Typing it twice is on purpose: the address can't be changed later. 3. Click **Create web login for** your address (if your account has no web logins yet) or **Add login for** your address. 4. Check your inbox for an email titled **Password Change Request** and use its link to choose your password. The email reads like a password reset, because it comes from the standard sign-in service. That is expected. 5. Sign in at app.brandmachine.shop with that address and password. Afterwards, **Your logins** shows your web login with its address. If the email didn't arrive, click **Resend email**. ### Who can add one - **The account's first web login needs an Admin or Owner.** It also turns on web logins for the whole account. Until then, everyone else sees the form greyed out with "Only an admin of this account can create its web login. Ask one of them, then add your own here." - **After that, anyone who uses the Shopify app can add their own.** An account also gets web logins when an Admin invites a colleague under **Members**. - **You can only add a web login for yourself.** For a colleague, use an invitation instead. ### Things to know - **The address can't be changed or removed afterwards.** If you need that, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). - **An address that already has a Brandmachine login is refused**, with "This address already has a Brandmachine login. Use a different address, or ask Brandmachine support to combine the two logins." The same goes for an address that has an open invitation to Brandmachine. - **Already sign in to the web app with your email?** Then you don't need to add anything: keep using that login at app.brandmachine.shop. - **Removing someone in Shopify doesn't remove their web login.** Their web login is a way in of its own. To take away someone's access, remove them under **Settings → Members** (see [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/)). --- ## What Differs Between the Two The account and its work are the same in both places. A few things depend on where you open it: | | Web app | Shopify app | | --- | --- | --- | | Sidebar and account menu | Shown | Hidden, Shopify shows its own navigation | | Picking products from your Shopify catalog | Not available yet, upload product photos instead | Available through the **Catalog** button | | Topping up credits | Card payment through Stripe | Charge through Shopify | | **Settings → Connected stores** | Shown, with the code to connect a store | Shown, with the store and the web app side by side | | Adding your own web login in **Settings → Your profile** | Not needed, you are signed in with one | Available | Topping up is for Owners only, in both places. See [Billing & Credits](https://help.brandmachine.shop/billing-credits/). --- ## FAQs **We installed the Shopify app before connecting. Can we join the accounts now?** Connecting is done on the welcome screen of a new install. If your store already started its own account, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). **Can I disconnect a store?** Not from the app. Contact [support@brandmachine.shop](mailto:support@brandmachine.shop). **Do my credits carry over when I connect?** The store joins your web account and uses that account's credit balance. **I use both the Shopify app and a web login I got by invitation. Can I combine them?** Not from the app. They are two separate members of the account. Contact [support@brandmachine.shop](mailto:support@brandmachine.shop). **Can I change the address of my web login?** No. Contact [support@brandmachine.shop](mailto:support@brandmachine.shop) if it's wrong. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Brandmachine in ChatGPT Source: https://help.brandmachine.shop/chatgpt/ Brandmachine is listed in ChatGPT's plugin directory. Once you connect it, ChatGPT works with your Brandmachine account: the fashion models, set locations and brand identity your team has saved. You describe what you want in the chat, and the results show up in the chat and in the Brandmachine app. --- ## What You Can Do in ChatGPT - See your team's fashion models, castings and set locations. - Cast a new fashion model from a description, then refine the casting until it fits your brand. - Create set locations, from a studio backdrop to a street or a beach. - Create and refine campaign images with your models, products and set locations. - Set up Product Studio perspectives (the camera angle and framing of each product photo) and file naming rules. - Read and update your brand identity, which Brandmachine applies to every image it creates. - Work on garment designs, materials and collections in [Designer](https://help.brandmachine.shop/designer/). Every image uses the models, locations and brand settings saved in your team, so you don't describe them again in each prompt. Everything you create from ChatGPT is saved in your team and appears in the Brandmachine app too: a new casting under **Fashion Models**, a new location under **Set Locations**, and so on. A few requests to start with: - "Show me the fashion models in my team" - "Cast a fashion model for a relaxed linen summer collection: early 30s, short dark hair" - "Create a set location: a sunlit courtyard with white walls and terracotta tiles" --- ## Before You Connect You need a Brandmachine account and a team. - **New to Brandmachine?** Sign up at app.brandmachine.shop first. The Brandmachine login page that ChatGPT opens also offers a sign-up, but an account created there has no team, and Brandmachine refuses it. - **You use Brandmachine only inside Shopify Admin?** Add a web login for yourself first, then log in to ChatGPT with it. You work there as the same person, with the same role. See [Adding a Web Login](https://help.brandmachine.shop/shopify-and-web-app/#adding-a-web-login). - **Your company uses ChatGPT Business or Enterprise?** Your workspace admin may have to allow the Brandmachine plugin (or plugins from outside ChatGPT in general) before you can install it. The plugin is available in the US, Canada, the EU, the UK, Switzerland, Norway, Australia and New Zealand. --- ## Connecting ChatGPT 1. In ChatGPT, open **Plugins** and search for **Brandmachine**. 2. Open the Brandmachine listing and install it. 3. ChatGPT opens the Brandmachine login page. Log in with the same login you use at app.brandmachine.shop. 4. If you belong to more than one Brandmachine account, choose the one ChatGPT should work in. 5. Start a new chat, type `@`, choose **Brandmachine**, and write your request. --- ## What ChatGPT Can and Can't Do for You ### It asks before using your balance Creating images uses your team's Brandmachine balance, exactly as it does in the app. ChatGPT asks you to confirm before it starts anything that uses it, so nothing is charged without a yes from you. ChatGPT can't buy credits. If the balance runs out, ChatGPT tells you, and an Owner tops up in the app. See [Billing & Credits](https://help.brandmachine.shop/billing-credits/). ### Your role applies, up to Creator ChatGPT acts with your own role in the team, but never with more than the **Creator** role, whatever your role is in the app. So from ChatGPT you can create and refine images, cast models and add to the library, but you can't: - delete anything, such as a fashion model - release or download final images - manage members or API tokens - manage billing or top up credits Those stay in the app, for the people whose role allows them. If your role is below Creator, ChatGPT can do only what your role allows: a Viewer, for example, can look at the team's models but not create any. See [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/). --- ## What Stays in the App Some work is done in the Brandmachine app, not in ChatGPT: - **Uploading product photos.** ChatGPT can't add new product photos to your team. - **Full shoots of many products at once**, such as a [Shot Planner](https://help.brandmachine.shop/shot-planner/) run. - **Releasing and downloading final images.** See [Downloading and Exporting](https://help.brandmachine.shop/downloading-and-exporting/). - **Putting products on a campaign image.** A campaign image only renders once it has a product, and products are added in the app. Add the product to the campaign image in the app first; after that, ChatGPT can refine the image. Because everything is saved in your team, you can switch at any point: start a casting in ChatGPT and finish it in the app, or the other way round. --- ## FAQs **I can't find Brandmachine in ChatGPT.** ChatGPT shows the plugin only in the countries listed under [Before You Connect](https://help.brandmachine.shop/chatgpt/#before-you-connect). In a ChatGPT Business or Enterprise workspace, your admin may also need to allow it first. **My login is refused.** Check that you have a Brandmachine team: sign up at app.brandmachine.shop, not on the login page ChatGPT opens. If you have only ever used Brandmachine inside Shopify Admin, [add a web login](https://help.brandmachine.shop/shopify-and-web-app/#adding-a-web-login) first. If it still fails, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). **Where do the images I make in ChatGPT go?** Into your team in Brandmachine. You find them in the app in the same places as anything you create there. **Can ChatGPT shoot a whole collection?** No. Full shoots of many products run in the app, for example in [Shot Planner](https://help.brandmachine.shop/shot-planner/). For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Product Studio Source: https://help.brandmachine.shop/product-studio-getting-started/ Product Studio generates professional e-commerce product photography from your product images. Unlike Campaigns (which creates lifestyle campaign imagery), Product Studio focuses on clean, catalog-ready shots driven by reusable **perspectives**. --- ## How It Works A **studio** is one product (or group of products) shot from multiple **perspectives**. Each perspective is a saved combination of AI model, styling instructions, aspect ratio, background (a color or a scene), accepted input view types, and toggles that decide whether the shot includes a model or just the product. Once your perspectives are configured, generating new studios for new products is fast: upload the product images, pick a model (if needed), generate a preview, generate the full shots, pick favorites, export. --- ## 1. Set Up Perspectives (One-Time) Go to **Settings → Product Studio** and open the **Perspectives** section. You'll see two tabs, **Active** and **Archived**, each with a count, and a **Filter** field to find a perspective by name. Click **Add Perspective** to create one, or click an existing perspective's card to edit it. In the modal, configure: - **Name**: e.g. "Front Studio", "Pack Shot Detail", "Color Swatch". - **AI Model**: choose **Gemini 3 Pro**, **GPT Image 2.5** at one of four quality levels (**medium**, **high**, **extra high** or **max**), or **Nano Banana 2 (fast)**. Nano Banana is fastest, GPT Image 2.5 is best for apparel and print detail, Gemini 3 Pro is the most stylistic. Higher GPT Image 2.5 quality costs more per image; the hint in the modal gives the rate for each level. - **Export code**: an optional short code such as `001`. If your file naming pattern (**Settings → Filename convention → Downloads**) uses `{perspectiveCode}`, this is what goes into the exported file names. - **Instructions**: per-perspective text guidance (lighting, composition, mood, accessories). - **Accepted View Types**: which input view types feed this perspective (Front, Back, Other, Cropped). - **Aspect Ratio**: a standard preset (3:4 default, 1:1, 4:5, 2:3, 9:16, 5:4, 4:3, 3:2, 16:9, 21:9, ten in total) or a **custom ratio** like 7:9. See [Aspect Ratios & Custom Crops](https://help.brandmachine.shop/product-studio-aspect-ratios/). - **Brandmachine Color Control**: an optional 6-character hex (e.g. `ff0077`). Brandmachine grounds the model on a real color swatch, measures the output, then applies an algorithmic correction so the final image matches your exact brand color. - **Scene (Shooting Location)**: optionally render the product into a saved shooting-location scene instead of a flat backdrop color. A scene takes priority over the backdrop color, so selecting one disables the hex color field above, a perspective uses either a scene or a color, not both. - **Product Only**: when checked, the shot generates the product without a model or scene. Use for pack shots. - **Use Hero Inputs Only**: when checked, this perspective only generates from product inputs you've marked as **hero**. Useful for fabric swatches and focus shots. You can **archive** perspectives you don't want cluttering the picker without deleting them, from the **⋯** menu on the perspective's card. The default perspective can't be archived. Restore from the **Archived** tab any time with the **Restore** button. ### Duplicating a Perspective To build a variation of a perspective you already like, open the **⋯** menu on its card and choose **Duplicate**. A copy named " (copy)" appears right after the original. Click it to rename it and change what you need. The copy takes over everything from the original (AI model, instructions, accepted view types, aspect ratio, background color or scene, Product Only, Use Hero Inputs Only, and its group) except the **Export code**, which you set yourself so two perspectives don't write the same file names. It starts without any generated images. Two kinds of perspective can't be duplicated: - **Marketplace presets**, such as the [Breuninger Studio Set](https://help.brandmachine.shop/product-studio-breuninger/). **Duplicate** is greyed out on them; create a new perspective instead. - **Archived perspectives.** Restore the perspective first, then duplicate it. Creating, editing and duplicating perspectives needs the **Creator** role or higher. See [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/). --- ## 2. Create a Studio 1. **New Studio** from the Product Studio page. 2. **Upload product images.** Drag-and-drop for a single product, or use [Shot Planner](https://help.brandmachine.shop/shot-planner/) to bulk-create studios across many products at once. Supported: 3D renders, pack shots, isolated product photos, existing catalog images. Image quality is the ceiling on output quality, see [Input Guidelines](https://help.brandmachine.shop/input-guidelines/) before you shoot or export a batch. 3. **Assign view types.** Click each uploaded image to set its view type (front, back, other, cropped). The view type determines which perspectives will use it. 4. **Mark hero products.** On the edit panel, each product image has a **MAKE HERO** button. Hero products are the main focus when a perspective has "Use Hero Inputs Only" enabled. A star icon appears on hero images. 5. **Select a fashion model.** Required for perspectives that aren't Product Only. 6. **Edit the studio title** by clicking it (the pencil icon appears on hover). 7. **Generate Preview (optional).** Click **Generate Preview** for a free, low-res preflight of the current perspective, a quick way to sanity-check styling before spending a full generation. 8. **Generate.** Click **Generate Studio Images** (or **Generate More**, once that perspective already has outputs) to create full-resolution outputs for the perspective. See also: [Shot Planner](https://help.brandmachine.shop/shot-planner/) for bulk creation across a whole catalog at once. --- ## 3. Generation Eligibility The Generate buttons stay disabled until a perspective's requirements are met: - **A matching input photo.** At least one uploaded image must have a view type the perspective accepts. - **A fashion model**, unless the perspective is set to **Product Only**. - **A hero-marked input**, if the perspective has **Use Hero Inputs Only** enabled. Hover the disabled button to see exactly what's missing. --- ## 4. Background Color Correction When a perspective has a hex color set (and no scene attached), Brandmachine doesn't just prompt the AI to "use this background". It: 1. Generates the shot. 2. Removes the background. 3. Measures the actual rendered backdrop. 4. Applies an algorithmic correction so the final image hits the exact hex. You don't have to do anything to enable this beyond setting the hex in the perspective. When you zoom on a generated image in the comparison view, a small color swatch appears in the corner showing the target color. If the perspective has a **Scene** set instead, the product renders into that shooting location and this correction step is skipped. Scenes and backdrop color are mutually exclusive per perspective, setting one clears the other. --- ## 5. Review and Export Generated outputs land in the studio detail view. You can: - **Favorite** an output (heart icon) to mark it as the keeper for that perspective. - **Generate More** to produce additional variants for a specific perspective. - **Edit** an output in the [Photo Editor](https://help.brandmachine.shop/photo-editor/). When you're ready to download, click **Export** in the studio's header. The Export view shows one card per perspective; pick one image for each, choose **JPEG** (for shops and marketplaces) or **PNG** (the original, for retouching), and click **Download N images**. See [Downloading and Exporting](https://help.brandmachine.shop/downloading-and-exporting/). --- ## 6. The "No Match" Warning In the [Shot Planner](https://help.brandmachine.shop/shot-planner/) you may see a "No match" badge on an input image. That means the image's view type (e.g. `back`) doesn't match the accepted view types of any active perspective. Either: - Change the input's view type so it matches an existing perspective, or - Add a perspective that accepts that view type. --- ## 7. Best Practices - **Start with good inputs.** No perspective rescues a low-resolution, badly lit or face-in-frame photo. See [Input Guidelines](https://help.brandmachine.shop/input-guidelines/). - **Invest time in perspectives.** They're the leverage point. Get lighting, background, and styling right once; reuse forever. - **Pick the right AI Model per perspective.** Nano Banana 2 (fast) for quick iteration, GPT Image 2.5 for apparel and print detail, Gemini 3 Pro for the most stylistic results. - **Use Generate Preview before a full run**, especially while you're still dialing in a new perspective's instructions. - **Use Brandmachine Color Control** for any catalog where exact color matters. The algorithmic correction is what makes this work end to end. - **Mark heroes carefully.** A "Use Hero Inputs Only" perspective is great for fabric swatch shots; a generic perspective should usually leave hero off so all inputs feed it. - **Bulk creation.** For large catalogs, use [Shot Planner](https://help.brandmachine.shop/shot-planner/) to plan and generate many studios at once. --- ## 8. FAQs **What's the difference between Product Studio and Campaigns?** Product Studio makes catalog and product-page shots. Campaigns makes lifestyle campaign images. Different purposes, different outputs. **Can I use Product Studio for non-fashion products?** Yes, especially with Product Only perspectives (pack shots). The system handles 3D renders well too. **Which AI Model should I pick?** Nano Banana 2 (fast) is fastest, GPT Image 2.5 is best for apparel and print detail, Gemini 3 Pro is the most stylistic. You can set a different model on every perspective. **Can I export directly to Shopify?** The Workbench's download flow gives you ready-to-upload assets. Direct push to product pages isn't built yet. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Aspect Ratios & Custom Crops Source: https://help.brandmachine.shop/product-studio-aspect-ratios/ Every Product Studio perspective is generated at a specific **aspect ratio**, the shape of the final image, like 3:4 or 1:1. You can pick a standard ratio, or set a **custom ratio**: any width-to-height you need, such as **7:9** for a marketplace that requires it, even though the AI models don't produce that shape on their own. Brandmachine bridges the gap and delivers the exact ratio you asked for. --- ## Standard vs. Custom Ratios When you set up a perspective (**Settings → Product Studio → Perspectives**, **Framing and size** tab), the **Image shape** control offers: - **Standard presets**: 3:4 (default), 1:1, 4:5, 2:3, 9:16, 5:4, 4:3, 3:2, 16:9, 21:9. These are shapes the AI models produce directly, so there's no cropping at all. - **Custom W:H**: enter any width and height (e.g. `7` and `9`). Brandmachine generates at the closest standard shape and then crops the result down to your exact ratio. A perspective uses **one or the other**: choosing a standard preset clears any custom ratio, and entering a custom ratio takes over. Whatever you choose, every place the image appears in Brandmachine (the results grid, zoom, the Export view, and the download) shows that exact ratio. **What you see is what you download.** The image shape applies to every framing of the perspective that doesn't set its own size. A framing with its own shape or exact size takes priority; see [Framing per Garment](https://help.brandmachine.shop/product-studio-framing/). --- ## What Happens Behind the Scenes The AI models can only generate a fixed set of image shapes. When you ask for a shape they don't make (like 7:9), Brandmachine: 1. **Generates** at the closest shape the model *does* make (for 7:9, that's 4:5). 2. **Crops** the result down to your exact 7:9, once, from the middle. The crop is the same single step that applies a perspective's framing, so an image is never cut twice. Background color correction runs just before it; the photo editor, releasing and downloading work on the cropped image. The uncropped render is kept as an earlier version of the image. --- ## Reading the Crop Hint When you enter a custom ratio, the modal shows a hint like: > *Generates at 4:5, then trims ~2.8% to reach 7:9.* It tells you (a) which standard shape is actually generated, and (b) roughly how much of the image is trimmed to reach your target. The closer your custom ratio is to a standard one, the smaller the trim: 7:9 sits very close to 4:5, so only about 2.8% is cropped away. --- ## What You Can Rely On - **It never stretches or upscales.** Brandmachine only ever crops *inward* from a larger image; it never enlarges pixels to fill a shape. Your product is never distorted. - **The crop is centered**, trimming evenly from the edges of the longer dimension. (A framing that anchors to the person crops around the person instead; see [Framing per Garment](https://help.brandmachine.shop/product-studio-framing/).) - **The trim is kept minimal** by always generating at the closest available shape. - **It's consistent everywhere**: grid, zoom, review, and download all reflect the same ratio. --- ## Under the Hood (Technical) For the technically curious, here's how the crop stays exact and why the model you pick matters a little. **The models have different native shapes.** Product Studio runs on three families of image models, and they don't all support the same shapes: - **Nano Banana 2** and **Gemini 3 Pro** each produce a fixed set of 10 "native" ratios, exactly the standard presets listed above. - **GPT Image 2.5** (all four tiers) is more flexible: it accepts explicit pixel dimensions, so it isn't limited to those 10 shapes. The standard presets are deliberately the **common set** every Product Studio model supports, so a custom target always maps to a shape the chosen model can render. **Choosing the shape to generate.** For a custom target, Brandmachine picks the native shape that loses the least to cropping, the one whose proportions are closest to your target. For 7:9 that's 4:5 (~2.8% trimmed), which beats the next-closest 3:4 (~3.6%). **Why the result is always exact, whatever the model does.** The crop is computed from the **actual pixels the model returns**, not from the shape we requested. So even if a model interprets the request loosely and returns a slightly different shape, the crop still trims to your exact target. The only thing that changes is *how much* is trimmed, never the final ratio. And because the crop box is always **inscribed inside** the returned image, it can only ever cut, never enlarge. **GPT Image 2.5 nuance.** Because GPT Image 2.5 accepts arbitrary sizes, it could in principle be asked to generate your exact ratio directly, with almost no crop. Today it goes through the same closest-shape-then-crop path as the other models for consistency, so it may trim a little more than strictly necessary. The final image is exactly your ratio either way. **Adding new models.** Because the standard presets are the shared, model-agnostic set, a future model that supports *more* shapes would still work, it just wouldn't yet take advantage of its extra shapes (it would crop from the nearest shared one). A model that supports *fewer* shapes would need its supported set checked before being added. In short: aspect-ratio handling is currently shared across models rather than tailored per model. **Reliable even when a model is sparse with metadata.** Some models don't report the generated image's dimensions in their response. Brandmachine measures the stored image itself in that case, so the crop always has accurate dimensions to work from. --- ## FAQs **Can I set any ratio I want?** Yes, within reason: enter any width and height as whole numbers. Extreme ratios work but trim more of the image, since they sit farther from the nearest standard shape. **Does a custom ratio reduce image quality?** There's no stretching or upscaling, so nothing is degraded that way. You do lose the pixels trimmed off the edges (the larger the crop, the fewer pixels remain), but the kept area stays at full quality. **Why can't the AI just generate 7:9 directly?** Most image models only output a fixed menu of shapes. 7:9 isn't on that menu, so Brandmachine generates the closest menu item and crops to your exact ratio. **Does the model I choose change the result?** The final ratio is always exactly what you set. The model can affect how much is trimmed (each model's native shapes differ slightly), but not the outcome you receive. **Does background color correction still work with a custom ratio?** Yes. Correction runs on the render just before the crop, and the photo editor works on the cropped image and keeps its ratio. **What happens to the original, uncropped image?** The cropped image is the one you see, download and release. The uncropped render is kept as an earlier version of the image. If the crop step fails for a render, you get the uncropped image with a badge, rather than losing the render. **If I change a perspective's ratio, do my existing images change?** No. The ratio applies to **new** generations. Images you've already generated keep the ratio they were made with. **How do I switch a perspective back to a standard ratio?** Pick a standard preset in the Image shape control, and the custom ratio clears automatically. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Framing per Garment Source: https://help.brandmachine.shop/product-studio-framing/ Some shots need a different framing depending on the product. A **detail shot of a shirt** should show the model from the head down to the waist. A **detail shot of jeans** should show the hips and legs, without a face. Same shot, different framing. With **framing per garment**, one perspective holds several framings: one for each group of garments, plus a **default framing** for everything else. Brandmachine reads what each product is when you upload it, and picks the matching framing when you generate. You pick "Detail"; a shirt gets the shirt framing and jeans get the jeans framing. --- ## Terms Used Here - **Perspective:** one shot type in Product Studio, such as Front, Back or Detail. You manage them under **Settings → Product Studio → Perspectives**. - **Framing:** what a shot shows and where the image is cut: a sentence added to the instructions, plus a crop. - **Garment type:** what a product is: Top, Bottom, Outerwear, Dress or jumpsuit, Footwear, Bag, Headwear, Jewelry, or Other. - **Hero:** the product a shot is selling. You mark it with the **Mark as hero** button on one of its photos in the studio's **Products** section. - **View type:** what each product photo shows: front, back, cropped (a close-up) or other. Each perspective uses certain view types; Detail perspectives usually use cropped photos. See [Product Studio](https://help.brandmachine.shop/product-studio-getting-started/). --- ## How Brandmachine Picks the Framing 1. **Garment type, read on upload.** When you upload product photos, Brandmachine reads each product's garment type from the photos. It appears in a select next to the product's name on the board. 2. **The hero decides.** If a product in the look is marked as hero, its garment type picks the framing. The other products don't affect it. 3. **No hero marked:** all products count. If they all need the same framing, that one is used. If they need different framings (say a top and trousers), the look gets the **default framing**. 4. **A garment type that no framing lists**, Other included, gets the default framing. 5. **Only products that appear in the shot count.** A product with no photo of the view type the perspective uses doesn't decide anything. If no product in the look has such a photo, the look is refused (see below). Open the look to see the result before you render: under the perspective, the board shows **Framing: Upper body**, for example. A look gets **one framing per perspective**. To get a detail of the top *and* a detail of the trousers from the same outfit, set up a second look with the other product as hero. --- ## When a Look Is Refused In a few cases Brandmachine can't pick a framing and stops the look **before it renders**. Nothing is charged. The board shows the reason in red, and Generate shows the same message: - **Two products are marked as hero and need different framings.** Unmark one, so only the product the shot is selling is the hero. - **The look's garment type has no framing, and the perspective has no default framing.** This also applies to Other. Add a default framing, add a framing for that garment type, or fix the product's garment type if it was read wrong. - **No product photo matches the perspective.** For example, the perspective uses cropped photos and the look has none. Upload one, or check the photo's view type. In a batch, a refused look stays a draft and the rest of the batch renders. Fix the look and run the batch again: only the looks that didn't render yet are rendered and charged. --- ## Changing a Product's Garment Type The garment type is read from the photos, so it can be wrong now and then, or a product sits in between (an overshirt, a shirt jacket). To change it: 1. Open the studio and find the product in the **Products** section. 2. Pick the right type in the select next to the product's name. The change applies to every photo of that product (photos belong to one product when their file names share the same product part, as set in your file name convention). The board updates the framing it shows. Images you already rendered keep the framing they were made with. If a product has no garment type (for example, it was uploaded before framing per garment existed and its name didn't say what it is), it gets the default framing until you set one. There is no bulk change: each product is set on its own. In a batch, each product photo in the batch dialog has the same select; set it before the batch is planned. --- ## Setting Up Framings on Your Own Perspective Go to **Settings → Product Studio → Perspectives**, open a perspective, and go to the **Framing and size** tab. You need the Creator role or higher to edit perspectives. ### The default framing The **Default framing** block is always shown first. It frames every garment that no other framing lists. Fill in either or both of: - **Framing instructions:** a sentence added to the perspective's instructions, describing what the shot shows, for example "Tight detail of the fabric and stitching. No face in shot." - **A crop:** where the image is cut after it is generated (see below). The default framing is optional. As long as it is empty and there are no other framings, nothing is saved, and the perspective works exactly as perspectives always have. ### Framings for specific garments Click **Add framing for specific garments**, then: 1. Pick the garment types it is for, for example Top, Outerwear and Dress or jumpsuit. A garment type can belong to only one framing. To treat, say, long and short dresses differently, use two perspectives. 2. Write its framing instructions, for example "Framed from the top of the head down to the waist, the whole face in frame." 3. Set its crop. Garment types you don't pick (for example Bottom and Footwear, if you only set up a framing for tops) get the default framing. "Other" can't have a framing of its own: products marked Other get the default framing too. You can have framings for specific garments without a default framing. Then a look with any other garment type is refused (see above). That is useful when a perspective only makes sense for some products. ### The crop Each framing has a crop, cut once, after the image is generated. The editor shows a live preview with an example figure next to the settings. - **No cropping:** the image is delivered as generated. If the perspective has a custom image shape, it is cut to that shape from the middle. - **Anchor to figure:** places the person. Choose whether the top line is the **top of the head** or the **eye line**, and how far it sits from the top edge. For full-body shots, also set how far the feet sit from the bottom edge. For detail shots, choose **No feet in frame (detail)**: only the top line is fixed, and the picture extends down from it as far as the shape allows, so the feet are outside the frame. A negative distance above the head cuts the top of the head off. - **Fit with margin:** fits the whole subject inside the image with a margin around it. Under **What to fit**, choose the person, or the garment on its own (for cut-outs on a plain background). - **Centre crop:** cuts to a shape from the middle of the image. Distances and margins are in pixels when the framing has an exact size, and otherwise a share of the image height. **An example that works well**, from the Breuninger detail framing: Anchor to figure, top line at the top of the head, **−120 px** from the top edge (about 4% of the height, so the top of the head is cut), **No feet in frame (detail)**, exact size 2244 × 3072. For a full-body shot at the same size, Breuninger uses the top of the head **120 px** below the top edge and the feet **240 px** above the bottom edge. **Delivered size** has three options: - **Same shape as image shape** (the default): the crop uses the perspective's image shape. Change the image shape later and the framing follows. - **Shape W:H:** the framing has its own shape, for example 4:5. - **Exact W×H px:** the framing delivers an exact pixel size, for example 2244 × 3072 for a marketplace. Fitting a garment on its own always needs an exact size. A framing with its own shape or size ignores the perspective's image shape, and its image is generated at the closest shape the model can make. The editor says so next to the crop: *"This framing sets its own size, so the image shape does not apply to it."* ### The Image shape table At the top of the **Framing and size** tab, **Image shape** sets the shape for every framing that doesn't set its own. Under it, a table lists each framing with: - **Generated:** the size the image is generated at. - **Delivered:** the size or shape you receive and download. - **Why:** where that comes from, for example "Follows the image shape." or "This framing sets its own size." See [Aspect Ratios & Custom Crops](https://help.brandmachine.shop/product-studio-aspect-ratios/) for how image shapes work. --- ## What Happens When You Generate 1. **When you click Generate**, Brandmachine picks the framing, adds its instructions to the prompt, and fixes the crop and the size the image is generated at. Changing the perspective afterwards doesn't affect renders already started. 2. **The model generates the image.** 3. **The crop runs once.** Brandmachine finds the person in the actual image and cuts it as the framing says, with the person centred horizontally. 4. **If the crop doesn't fit** (for example, the head sits too close to the top for the distance you set), the image is delivered uncropped with a badge saying so, instead of being cut wrong. It is still yours; regenerate it if you need the framing. The cropped image is what you see, download and release. The uncropped render is kept as an earlier version of the image. Previews use the same framing and crop as full renders, including the badge, and stay free. Framings don't change what a render costs. Batches and renders started by the agent use framings exactly the same way. --- ## Breuninger: Ready Out of the Box The **Breuninger Studio** and **Breuninger Studio Sport** detail perspectives come with two framings, maintained by Brandmachine: | Framing | Garment types | What it shows | | --- | --- | --- | | **Upper body** | Top, Outerwear, Dress or jumpsuit | Head to waist with the whole face in frame; the top of the head is cut by the top edge. The product's front photo is also sent to the model as a reference. | | **All other garments** | Everything else | A close detail of fabric and finish, no face. | Nothing to set up: every team with the Breuninger Studio or Studio Sport set has these framings. They are part of the managed preset and can't be edited. Breuninger Front, Back and Freisteller have one framing each. To start your own perspective from the Breuninger framings, ask the agent to copy them into a new perspective; you can then edit the copy. See [Breuninger Studio Set](https://help.brandmachine.shop/product-studio-breuninger/) for the set itself. --- ## Q&A **Do I have to set up framings to keep using Product Studio?** No. A perspective without framings works exactly as before. A perspective that had a crop before keeps it as its default framing, so it renders as it did. **What does it cost?** The same as before. Framings and the crop don't add a charge, previews stay free, and a refused look isn't charged at all. **I have 500 products. Do I check every garment type?** No. Each product's type is read automatically on upload, and products uploaded earlier got theirs from their names. Check the ones that matter for a framing (for example tops on a Detail perspective) in the Products section of the look. The type is read from the photos and is right most of the time, but not always. **Can I switch the automatic garment type off?** No, but a framing only uses it when the perspective has framings for specific garments. You can always change a product's type by hand. **A new product has no garment type. Why?** Brandmachine leaves it empty when the photos don't make it clear. The product gets the default framing until you pick a type. **How do accessories work?** Bag, Jewelry, Headwear and Footwear are garment types like any other: give them a framing of their own, or let them get the default framing. When another product is the hero, the accessories in the look don't affect the framing. Without a hero they count like every product, so a shirt with a bag gets the default framing; mark the shirt as hero to get the shirt framing. **How do I know which looks will be refused before I generate?** Open the look: under the perspective, the board shows the framing or, in red, why it would be refused. **Do existing images change when I add or edit framings?** No. Each image keeps the framing it was made with. New framings apply to new renders, which are charged as usual. **Can I redo only the crop, without a new render?** No. The crop belongs to the render; to change it, generate again. That is a new render and is charged like any other, also after an uncropped result. **Why does a framing come out in a different shape than my image shape?** That framing sets its own shape or exact size, which takes priority. The table says "This framing sets its own size." Switch its Delivered size to **Same shape as image shape** if it should follow the perspective. **Why is a detail image delivered uncropped with a badge?** The crop didn't fit that image, usually because the head sits too close to the top edge for the distance you set. Regenerate it, or reduce the distance above the head. Framings that cut the top of the head need no space above it and fit reliably. **Can I get a detail shot with the whole head and space above it?** You can set it up, but image models often leave too little room above the head, so many renders come back uncropped. Framings that cut the top of the head are reliable. **Does the crop decide the size of the file I download?** Yes. What you download and release is the cropped image, at the framing's exact size when it has one. **Can I edit the Breuninger framings?** No. They are maintained by Brandmachine as part of the preset. Ask the agent to copy them into your own perspective if you want to change them. **Does the agent know about framings?** Yes. It can read a perspective's framings, copy them to another perspective, and set a product's garment type. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # ZIP Upload Source: https://help.brandmachine.shop/zip-upload/ > **Use [Shot Planner](https://help.brandmachine.shop/shot-planner/) instead.** Shot Planner is now the recommended way to bulk-import products into Product Studio: upload your images, let an AI agent draft a plan across your perspectives, review it, and execute. For most catalogs it replaces the ZIP workflow described below. ZIP upload still works under the hood, but there's currently no **Upload ZIP** button in the app, the entry point is switched off in production. Treat it as a legacy, secondary method rather than something you can pick up self-serve today. The mechanics below remain accurate if your account still has this method available. --- ## Preparing the ZIP Archive ### Folder Structure Your ZIP must follow this hierarchy: ``` {product-group}/ fashion-model.txt {product}/ {perspective}/ image.[jpg|jpeg|png|webp] ``` ### What Each Level Means **Product Group** - The top-level folder. Give it any name you like (e.g. `summer-collection`). Each product group becomes its own Product Studio session. You can have multiple product groups in a single ZIP to process different collections at once. **`fashion-model.txt`** - A plain text file placed directly inside each product group folder. It must contain the UUID of the fashion model you want to use for that group. See [Finding the Fashion Model UUID](https://help.brandmachine.shop/zip-upload/#finding-the-fashion-model-uuid) below. **Product** - A subfolder within the product group, one per product. The folder name is used as the product title (hyphens are replaced with spaces and the name is capitalized, so `red-sneakers` becomes "Red Sneakers"). **Perspective** - A subfolder within each product. The name must be one of: - `front` - `back` - `other` - `cropped` The name is case-insensitive, so `Front` and `front` both work. **Image Files** - Place your product images inside the perspective folders. Supported formats are `.jpg`, `.jpeg`, `.png`, and `.webp`. --- ## Limits - **Maximum ZIP size:** 20 MiB - **Maximum 6 images per product** (across all perspectives combined) --- ## Example ``` my-import.zip ├── summer-collection/ │ ├── fashion-model.txt │ ├── red-sneakers/ │ │ ├── front/ │ │ │ └── sneaker-front.jpg │ │ └── back/ │ │ └── sneaker-back.jpg │ └── blue-jacket/ │ ├── front/ │ │ └── jacket-01.png │ └── other/ │ └── jacket-detail.webp └── winter-collection/ ├── fashion-model.txt └── wool-scarf/ └── front/ └── scarf.jpg ``` In this example, `summer-collection` and `winter-collection` are two separate product groups. Each can use a different fashion model. The summer collection contains two products (red sneakers and blue jacket), while the winter collection has one (wool scarf). --- ## Finding the Fashion Model UUID Each product group needs a `fashion-model.txt` file containing the UUID of the model to use. You can find this UUID in the URL when viewing a fashion model in the Brandmachine app: ``` https://admin.shopify.com/store/{your-store}/apps/brandmachine/fashion-models/{MODEL-UUID}/revision/{REVISION-UUID} ``` For example, in this URL: ``` https://admin.shopify.com/store/my-store/apps/brandmachine/fashion-models/88F9F63E-0773-4F40-944E-2B3853BC6A83/revision/45909C76-D54C-4F9F-A58B-B0B30A1B4E7C ``` The fashion model UUID is `88F9F63E-0773-4F40-944E-2B3853BC6A83`. Copy this value and paste it into your `fashion-model.txt` file. --- ## What Happens After Upload Once you upload the ZIP, the system processes it in the background: 1. **Image analysis** - Each product image is analyzed by AI to generate a description 2. **Generation** - Product Studio outputs are generated for every configured perspective that matches your uploaded view types 3. **Results** - Generated images appear in the Product Studio interface, grouped by the product groups from your ZIP All generations use 4K resolution, the same as studios created through the normal Product Studio flow or through [Shot Planner](https://help.brandmachine.shop/shot-planner/). --- ## Troubleshooting **"File must be a ZIP archive"** - Make sure your file has a `.zip` extension. **"ZIP file must not exceed 20 MiB"** - Reduce image file sizes (e.g. use WebP format) or split into multiple uploads. **"Invalid perspective"** - Check that your perspective folder names are exactly `front`, `back`, `other`, or `cropped`. No other names are accepted. **"Too many images per product"** - A product can have at most 6 images total across all its perspective folders. **"Archive contains no valid images"** - The ZIP was parsed but no supported image files were found. Check that your images are `.jpg`, `.jpeg`, `.png`, or `.webp` and that the folder structure is correct. **"Fashion model not found"** - The UUID in `fashion-model.txt` doesn't match any fashion model. Double-check the UUID from the URL and make sure the model exists and is fully trained. --- For bulk imports today, start with [Shot Planner](https://help.brandmachine.shop/shot-planner/). If you rely on an existing ZIP-based import and need help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Breuninger Sets Source: https://help.brandmachine.shop/product-studio-breuninger/ Brandmachine has three ready-made sets of Product Studio perspectives for the Breuninger marketplace. Each produces images in the format, backdrop and framing Breuninger expects. Breuninger tells a brand which set to use, by category: | Set | Backdrop | Perspectives | | --- | --- | --- | | **Breuninger Studio** | A studio room: warm cream wall, pale concrete floor. Breuninger's backdrop for everything that is not sport (their "Rest" backdrop). | Front, Back, Detail, Freisteller | | **Breuninger Studio Sport** | The same room in Breuninger's sport tone: pale grey wall, light grey concrete floor. | Front, Back, Detail, Freisteller | | **Breuninger Beige** | A flat beige colour field, the format from Breuninger's written content guide. | Front, Back, Detail | The sets are **managed by Brandmachine**. You add a set once, and the instructions, backdrop, framing and format behind it are maintained for you. When we improve them, every team with the set gets the improvement on its next generation, with nothing to re-apply. --- ## What Each Perspective Does | Perspective | Uses product photos marked | What you get | | --- | --- | --- | | **Front** | Front | The model full body from the front, framed to Breuninger's exact lines | | **Back** | Back | The same from behind | | **Detail** | Cropped | A close shot of the garment on the model; its framing depends on the garment (see below) | | **Freisteller** (Studio sets) | Front, hero product only | A cut-out of the hero product on its own, no model | Front, Back and Detail need a fashion model selected on the studio. Freisteller uses only the product marked as hero. ### Framing - **Studio and Studio Sport, Front and Back:** delivered at exactly 2244 × 3072 px, with the top of the head 120 px below the top edge and the soles 240 px above the bottom edge, as Breuninger specifies. - **Studio and Studio Sport, Detail:** two framings, picked from the product's garment type:- **Upper body** for Top, Outerwear and Dress or jumpsuit: head to waist with the whole face in frame, the top of the head cut by the top edge. - **All other garments:** a close detail of fabric and finish, no face. See [Framing per Garment](https://help.brandmachine.shop/product-studio-framing/) for how the garment type is read and how to change it. - **Studio and Studio Sport, Freisteller:** the product on a plain background with at least 240 px of margin on every side, at exactly 2244 × 3072 px. - **Beige:** Front is cropped just below the eyes; Back is cropped through the middle of the head, since no face is visible. Both leave a band of floor under the shoes (8% of the image height), at Breuninger's ratio and at least 2244 × 3072 px. Detail is a close shot, cut from the middle of the render to exactly 2244 × 3072 px; Beige has no framing per garment. --- ## Adding a Set 1. Go to **Settings → Product Studio** and open the **Perspectives** section. 2. Above your perspectives (on the Active tab), each Breuninger set you haven't added yet has a card. Click **Add them** on the one Breuninger told you to use. The perspectives appear right away, each with a badge naming its set, and the card disappears. A team can add more than one set. **Add them** only ever creates missing perspectives, and never brings back one you archived. --- ## What "Managed by Brandmachine" Means On every perspective of a Breuninger set: - **You can change the AI model and the export code.** Everything else (instructions, backdrop, framing, view types, format) is fixed, because that is what makes the output conform. The editor shows these settings read-only. - **Your team-wide Product Studio instructions don't apply.** A team-wide instruction could pull a shot off the marketplace spec, so the sets ignore it. Your own perspectives still use it. - **Brandmachine Color Control doesn't apply.** The backdrop comes from the set. - **You can archive** a Breuninger perspective you don't need and restore it later from the Archived tab, and you can move it into a group or reorder it. You can't delete or duplicate it. --- ## Shooting a Product for Breuninger 1. **Create a studio** and upload the product photos. 2. **Check the view types.** They decide which perspective uses which photo: front for Front and Freisteller, back for Back, cropped for Detail. A missing back photo is the usual reason a back shot doesn't appear. For a Studio Detail of a top, a front photo helps too: the Upper body framing sends it along as a reference. 3. **Check the garment type** next to each product, for the Detail framing. It is read from the photos on upload. 4. **Mark the hero** (the product the shot is selling) when the look has several products. The hero decides the Detail framing and is the product the Freisteller shows. 5. **Select a fashion model.** 6. **Generate a preview** if you want to check the styling first. Previews go through the same framing as full renders. 7. **Generate.** When the images are ready, follow [Delivering to Breuninger](https://help.brandmachine.shop/product-studio-breuninger-delivery/) to export and upload them. --- ## The Framing Step After the model renders, Brandmachine finds the person (or the product, for a Freisteller) in the image and crops it once, to the lines above. This runs on previews and full renders. It is why a Breuninger generation takes a little longer and briefly shows a framing stage. **If a render doesn't leave enough room for the crop** (for example the person stands too large in the frame), Brandmachine delivers the image uncropped with a badge, rather than cutting into the person. It won't match the marketplace framing, so regenerate that one. --- ## Tips - **Fewer garments per studio gives more reliable framing.** The more product photos go into one shot, the larger the model tends to render, which leaves less room for the crop. - **Tag photos before generating.** View types and the hero are what route photos to the right perspective. --- ## FAQs **Which set should I use?** The one Breuninger told you to use. Studio Sport is for sports brands, Studio for everything else, Beige for the flat colour-field format from Breuninger's content guide. **Do I need a Breuninger account or connection?** No. The sets are perspectives inside Product Studio. Download the finished images as JPEG from each studio's Export view and upload them to Breuninger. [Delivering to Breuninger](https://help.brandmachine.shop/product-studio-breuninger-delivery/) is the step-by-step checklist. **Why can't I edit the instructions or the framing?** They are what keep the output conform: figure size, backdrop, shadow and the exact lines all come from them, and each was tested against Breuninger's checks. To change them, create your own perspective; the agent can copy a set's framings into it. **Can I use the sets for images that aren't going to Breuninger?** Yes. Nothing stops you. **My perspectives had different names. What happened?** The sets were renamed to describe what you see: Breuninger Rest became Breuninger Studio, Breuninger Sport became Breuninger Studio Sport, and the original set (Breuninger Front, Back and Detail, offered as "Breuninger Flat") became Breuninger Beige. Perspectives that still had the old default name were renamed. Nothing about how they render changed. **Can I edit a Breuninger image afterwards?** Yes, in the [Photo Editor](https://help.brandmachine.shop/photo-editor/), like any other output. Your edit becomes the current version and is what gets downloaded. **Does a set change over time?** Yes, that is what managed means. When we improve it, the next generation uses the improvement. Images you already generated stay as they are. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Delivering to Breuninger Source: https://help.brandmachine.shop/product-studio-breuninger-delivery/ This is the checklist for getting images from a Breuninger set out of Brandmachine and ready for upload to Breuninger. Work through it in order. Each step is one thing to do or check. --- ## 1. Use the Set Breuninger Named Breuninger tells you which set to use, by category: | Set | Perspectives | | --- | --- | | **Breuninger Studio** | Front, Back, Detail, Freisteller | | **Breuninger Studio Sport** | Front, Back, Detail, Freisteller | | **Breuninger Beige** | Front, Back, Detail | If the set is not in your team yet, add it in **Settings → Product Studio**, in the **Perspectives** section, with **Add them**. [Breuninger Sets](https://help.brandmachine.shop/product-studio-breuninger/) describes each set and how to add it. Built your own Breuninger perspectives?: Some teams set up their own perspectives named "Breuninger Front" and so on, before the managed sets existed. Those do not crop to Breuninger's 2244 × 3072 px: they deliver the full render, for example 3584 × 4800 px, and the files are larger. Switch to the managed set for new shoots. Only the managed sets produce the exact framing. --- ## 2. Generate and Favorite 1. Create a studio for the product, upload the product photos and generate in the set's perspectives. [Shooting a Product for Breuninger](https://help.brandmachine.shop/product-studio-breuninger/#shooting-a-product-for-breuninger) lists what to check first. 2. Mark the image you want for each perspective as a favorite (heart icon). Favorites are optional. A perspective without favorites shows all its images in the next step, and you pick there. --- ## 3. Open the Export View and Pick One Image per Slot 1. Click **Export** in the studio's header. In a [Shot Planner](https://help.brandmachine.shop/shot-planner/) shoot, click **Export** next to the studio in the results. 2. The page shows one card per perspective. Use the arrows to pick one image for each Breuninger slot (Front, Back, Detail, and Freisteller for the Studio sets). Previews don't appear in the Export view, because they can't be delivered. If a slot only has a preview, generate the full render first. --- ## 4. Choose JPEG and Download 1. In the sentence above the cards, choose **JPEG**. 2. Leave **make them the only favorites** switched on, so the studio's favorites match what you delivered. 3. Click **Download N images**. Downloading needs the **Approver** role or higher, also for images that are already released. With a lower role, the button is disabled. [Image: The export sentence with JPEG selected: Download the 4 visible picks as JPEG and make them the only favorites, and a Download 4 images button.] JPEG selected: this is the file to upload to Breuninger. The first download releases each image. On pay-as-you-go it counts as one export per image. The images are saved as separate files, one per slot, not as a zip. Do not deliver PNG: The PNG is the original file for retouching. It has no AI label and no colour profile, so it is not suitable for Breuninger. Hover over the format choice to see what each format carries. --- ## 5. Know What the File Carries Every JPEG you download carries: - **The IPTC AI label**, always, for every team. It marks the image as AI-generated (`trainedAlgorithmicMedia`) in the file's metadata. - **Content Credentials (C2PA)** as well, if your team is on the Enterprise tier and has them switched on. You can tell in the Export view by the shield icon next to **JPEG**. Breuninger reads the IPTC label. When Content Credentials are switched on, the JPEG carries both, so there is nothing to choose: download JPEG either way. [AI Metadata on Downloads](https://help.brandmachine.shop/ai-metadata/) and [Content Credentials and C2PA Conformance](https://help.brandmachine.shop/content-credentials/) explain the two labels. --- ## 6. Check Format and Size - **Format:** JPEG, with an embedded sRGB colour profile. - **Dimensions:** Breuninger Studio and Studio Sport deliver exactly 2244 × 3072 px. Breuninger Beige delivers Front and Back at Breuninger's ratio and at least 2244 × 3072 px, and Detail at exactly 2244 × 3072 px. - **Delivered uncropped:** if the framing step cannot place the crop (for example, no person found), the image is delivered at full render size and marked **Delivered uncropped** in the studio. The Export view does not show that mark, so check the studio before you export, and generate that slot again. - **File size:** Breuninger's content guide sets the upload limit, so check the current guide. In our tests, Front and Back JPEGs from the Breuninger Studio set were 0.5 to 0.8 MB. Close-up detail shots with a lot of fabric texture come out larger. The check at the end of this page shows the size of each file. --- ## 7. Check the File Names Files are named by your team's download pattern in **Settings → Filename convention → Downloads**, using placeholders such as `{perspectiveCode}_{article}`. `{article}` and the other fields come from the names of the product photos you uploaded. - `{perspectiveCode}` inserts each perspective's **Export code**. On a Breuninger perspective, the export code and the AI model are the two settings you can change, so set the codes Breuninger or your own system expects. - If two files would get the same name, the second one gets " (2)" added. If you see that, add `{perspectiveCode}` to the pattern and download again. - Set an export code on every perspective you deliver. If the pattern uses `{perspectiveCode}` and a perspective has no code, or a photo's name lacks a field the pattern needs, those files are not named by the pattern and fall back to a generic name. --- ## Already Uploaded PNGs, or Images Without the Label? You do not need to generate them again. Open the studio's Export view, choose **JPEG**, and download the same images again. Images that are already released don't count again. Then upload the new JPEGs to Breuninger in place of the old files. This also applies to images you downloaded before July 2026, when the AI label was added to JPEG downloads. --- ## Check a File Before Uploading Use the free [ExifTool](https://exiftool.org) utility: ``` exiftool -XMP-iptcExt:DigitalSourceType -ImageSize -FileSize your-image.jpg ``` You should see something like: ``` Digital Source Type : http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia Image Size : 2244x3072 File Size : 760 kB ``` If **Image Size** shows something else, such as 3584x4800, either the image came from a perspective that is not one of the managed Breuninger sets (see step 1), or it was delivered uncropped (see step 6). Front and Back from Breuninger Beige can be larger than 2244 × 3072 px, at the same ratio. If the Digital Source Type line is missing, the file is a PNG or an older download. Download it again as JPEG from the Export view. If your team has Content Credentials switched on, you can also run the file through a Content Credentials validator, as described in [Content Credentials and C2PA Conformance](https://help.brandmachine.shop/content-credentials/#how-to-check-this-yourself). For the download options in general, see [Downloading and Exporting](https://help.brandmachine.shop/downloading-and-exporting/). For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Workbench Source: https://help.brandmachine.shop/workbench/ Workbench is your overview of [Product Studios](https://help.brandmachine.shop/product-studio-getting-started/). It shows your studios as a board organized by how much work is left on each one. You download a studio's images from its **Export** view, described below. If you've used Brandmachine before, Workbench is the renamed and redesigned version of the old **Review** page. --- ## How Studios Move Across the Board Studios sort themselves. You don't drag cards between columns; they move as you generate and export. - **To Do.** Nothing generated yet. The card shows the studio title and when it was created. - **In Progress.** Something has been generated, but not every generated perspective has an exported image yet. The card shows how far along you are ("2 of 4 perspectives exported"). - **Finished.** Every perspective you generated has at least one exported image. There's nothing left to action, so the studio leaves the board and collects in a **finished** row underneath it. Click that row to expand it if you need to get back to one. Each column header restates its rule, so you never have to remember which is which. Each card shows a thumbnail (your favorite if you've picked one, otherwise the newest output) and the studio title. ### Only the perspectives you generated count A studio is finished once everything **you actually generated** has been exported, not once every perspective you have set up has been generated. So if your team has fifteen perspectives configured but for this product you only wanted a front and a back shot, that product is finished as soon as those two are exported. It won't sit on the board waiting for thirteen shots you never intended to take. ### One export per perspective is enough You don't have to export every image. Product Studio usually generates several variants per perspective and you keep one. Exporting that one is enough to count the perspective as done. --- ## Time Range Above the board you can switch between **30 days**, **90 days**, and **All**, which filters the board by recent activity. It defaults to the last 30 days. "Activity" means the newer of when the studio was created and when it last generated an image, so a studio you set up months ago but generated into yesterday still counts as recent and stays on the board. This keeps old, abandoned studios out of the way without deleting anything. Whenever the filter hides something, the board tells you how many ("41 older studios hidden"), and switching to **All** brings everything back. The range is part of the page address, so refreshing or sharing the link opens the same view. --- ## Opening a Studio and Exporting Click a card to open the studio, where you can upload more inputs, edit styling, mark hero products, and regenerate. The **Export** button on a card (the share icon) opens the studio's Export view directly. To download, click **Export** in the studio's header. The Export view shows one card per perspective: pick one image for each with the arrows, choose **JPEG** or **PNG**, and click **Download N images**. Use JPEG for shops and marketplaces; it carries the [AI label](https://help.brandmachine.shop/ai-metadata/). It replaces the old **Finalize Selection** page. [Downloading and Exporting](https://help.brandmachine.shop/downloading-and-exporting/) describes the Export view in full. Downloading is what exports an image, and exporting is what moves a studio to finished. --- ## FAQs **Why does a studio disappear from the board?** Because it's finished: every perspective you generated has an exported image, so there's nothing left to do. It's in the **finished** row underneath the board, which expands when you click it. **A studio came back to In Progress. Why?** You generated a new perspective for it. That perspective doesn't have an export yet, so the studio has work outstanding again. **Do favorites decide which column a studio is in?** No. Favorites record which image you picked, and set the card thumbnail, but exporting is what moves a studio across the board. **What if a perspective hasn't generated yet?** It won't hold the studio back. You can export what's ready, and the studio counts as finished based on what you've generated so far. **I can't find an older studio.** Check the time range above the board. It shows the last 30 days by default; switch to **All** to see everything. **Where do my downloads go?** Wherever your browser saves downloads, one file per image, named by your team's file naming pattern. See [Downloading and Exporting](https://help.brandmachine.shop/downloading-and-exporting/#file-names). For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Campaigns Source: https://help.brandmachine.shop/campaign-composer-getting-started/ Campaigns is your AI photo studio for campaign-quality imagery. Each **campaign image** combines a shooting location, a model, products, and styling, just like a real photo shoot. A **campaign** holds everything for one shoot: the images that inspired it, the plan, and the shots. You'll find two entries in the sidebar: - **Campaigns**: start a new campaign and get back to your campaign boards. - **Campaign Library**: every campaign, including older ones without a board, and single shots that aren't part of a campaign yet (**Unassigned Single Shots**). Home also shows a **Recent campaigns** strip with the campaigns you've worked on in the last 7 days. For multi-person scenes that combine separate single shots into one shared scene, see [Group Shots](https://help.brandmachine.shop/group-shots/). --- ## 1. Start a Campaign from a Moodboard A campaign starts the way a shoot does: with a wall of pictures. 1. Open **Campaigns** in the sidebar. 2. Drop the images that inspire you anywhere on the page. You can also paste a screenshot with ⌘V, or click **Add images** to pick files. JPG, PNG and WEBP files up to 15 MB each work. 3. Brandmachine creates a new campaign called "Untitled campaign" straight away and opens its **Board**, where your images upload. The agent names the campaign later, when you plan. Your campaigns appear under **Your boards** on the same page, each with a short note on where it stands, such as "Moodboard · 6 pins" or "Planning · 3 looks". You can also start from **Campaign Library** with **New Campaign**, which opens an empty board. --- ## 2. Board, Plan and Shots Every campaign has three tabs that follow the shoot from idea to images: - **Board**: your moodboard, where you collect and mark images. - **Plan**: the looks the agent drafts with you, their previews and finals. - **Shots**: the campaign images themselves, single shots and group shots. A finished stage gets a check mark. When you open a campaign, it starts on the furthest stage it has reached. Older campaigns that were created before boards existed show **Start a moodboard** on their Board and Plan tabs, if you want to add one. --- ## 3. Mark What Each Image Is For Under every image on the board are five marks: **Model**, **Location**, **Mood**, **Angle** and **Styling**. Click a mark to use the image for it, and click again to remove it. One image can carry several marks; a café, for example, can set both the location and the mood. An image without a mark says "Mark what this image is for". Only you decide what an image is for. Brandmachine doesn't guess a mark when you upload. [Image: A campaign's Board tab with six images, each marked: a café as Location and Mood, a portrait as Model, an espresso as Mood, a walking shot as Angle, and two garments as Styling. Plan with the agent sits at the top right.] A board with every image marked, ready to plan. | Mark | What the agent does with it | | --- | --- | | **Model** | Uses one of your fashion models if it matches, or proposes casting a new model from a description of the person. The new model isn't a copy of the person in the photo. Casting only starts after you agree, and you pick from the candidates. | | **Location** | Uses one of your [set locations](https://help.brandmachine.shop/set-locations-getting-started/) if it is clearly the same place, or proposes creating a new one from the image. It asks before creating it. | | **Mood** | Feeds the light and atmosphere of the story and of each look. | | **Angle** | Shapes the camera angles. Different looks get different angles. | | **Styling** | Feeds how the looks are styled. | The board's filter (**All**, **Model**, **Location**, **Mood**, **Angle**, **Styling**) shows only the images with one mark. Under **All** you can drag images to reorder them. ### Adding and Removing Images - Drop more images onto the page, paste them, or click **Add images**. - Click **Add from library** to reuse images from earlier boards. The library holds every image anyone on your team has dropped on a moodboard, newest first. Images already on this board are marked "On this board". - Click the **X** on an image to take it off this board. It stays in your library. Arranging the board costs nothing. --- ## 4. Plan with the Agent When the board says what you want, click **Plan with the agent**. The agent panel opens and the agent reads the images you marked. Then it works through the campaign with you in chat: 1. It settles the models and sets, using your existing ones where they fit. It always asks before it starts a casting or creates a new set location, because both use credits. 2. It writes the campaign's story with you and gives the campaign a name. 3. It asks for your products. Upload your product photos in the **Products** card on the **Plan** tab. See [Input Guidelines](https://help.brandmachine.shop/input-guidelines/) for what works best. 4. Once you agree, it drafts the looks: who wears what, where, and in which light. On the **Board** tab, the inspector on the right shows what has been settled so far under **Story**, **Models** and **Sets**. If you didn't mark any Model or Location images, the agent casts and picks sets from the story instead. Reading the board, chatting and planning don't use credits. --- ## 5. Review the Plan The **Plan** tab shows the drafted looks. It works like the plan board in [Shot Planner](https://help.brandmachine.shop/shot-planner/): - Switch between **Plan**, **Preview** and **Finals** to see the drafted looks, their previews and the finished images. - The header counts how many looks are planned, previewed and generated. - To change a look, ask the agent in chat ("swap the model in look 2"), or edit it directly on the board. The agent changes only what you asked about. - Each look shows its model (**On-model**) and its **Ratio**. Click either to change it: pick another model from your library, or choose a new aspect ratio. Once a look has been generated as a final, both are fixed ("Generated looks keep their model" and "Generated looks keep their aspect ratio"). - You can name looks by number in chat. "Preview look 2" previews just that one, and "carry the mood of look 1 to the other looks" copies its location and mood lines to the other looks. The agent shows you the exact text first and asks once before it changes anything. - The agent previews for free by default. It renders a paid final only when you explicitly ask for one, and it confirms with you first for group shots, which are always finals. - In the **Preview** lens, **Re-preview** on a look runs a new preview for that look only. - **Redo plan**, in the **⋯** menu in the header, discards the drafted looks and their previews and drafts a fresh plan. Images you've already generated as finals are kept. ### Generate Previews and Finals - **Generate previews** (the button shows the count, for example **Generate 3 previews**) creates free, low-resolution previews so you can check each look before spending credits. Previews can't be released. - **Shoot 3 looks** (with your number of looks) generates the finals at full quality. A confirmation shows the number of shots and that this charges credits. The finished images land on the **Shots** tab. ### Order Your Shots Drag a card under **Single Shots** to move it. The order is saved for the whole team, and the last person to move a shot sets it. Group shots keep their own list and can't be dragged. If your role doesn't allow reordering, the cards stay put and a tooltip says why. A shot moved into another campaign loses its position and goes to the end there. --- ## 6. Single Shots You can also build campaign images one at a time, without the agent. On the **Shots** tab, under **Single Shots**: - **Create Single Shot** starts a new campaign image. - **Add Existing** brings in a single shot from **Unassigned Single Shots**. A single shot opens with an **Inspector** panel on the right: - **Generating with**: which AI models will render the shot (set in **Settings → Campaign**, see below). - **Shooting Location**: click **Select** (or **Edit**) to pick a set location and one of its scenes. - **Fashion Model**: pick a model from your library. - **Wardrobe**: pieces that complete the look but aren't the product, such as the sneakers under a denim look. - **Products**: what the shot is of. Choose them from your Shopify **Catalog** (only inside the Shopify app), **Upload** product photos, or pick **From recent**. Uploaded files should follow the [Input Guidelines](https://help.brandmachine.shop/input-guidelines/). - **Look Reference** (optional): an image that shows the look you're after. Uploading another one replaces it. - **Instructions** (optional): styling notes for this shot, such as props, pose, mood or camera angle ("Walking forward, hands in pockets, slight smile"). - **Aspect Ratio**: the shape of the finished image. Left unset, the shot is square. Then click **Generate Preview** for a free, low-res check of composition, location and styling, or go straight to **Generate Images**. Once you have results, **Generate More** adds another batch with the same inputs. You can rename a campaign image's title inline at any time. --- ## 7. Choosing Your AI Models **Settings → Campaign** decides which AI models render your campaign images: - **Gemini 3 Pro**: editorial, atmospheric shots, with strong prompt adherence for narrative scenes; weaker on print and fabric detail. - **GPT Image 2.5**: natural light and sharper print detail, best for apparel and fabric; less reliable for narrative or stylized scenes. When it's on, choose its quality: **Medium**, **High**, **Extra high** or **Max**. Higher quality costs more per image; the page lists the rate for each level. At least one model must stay on. With both enabled ("mixed mode"), each generation produces 4 images, 2 from each model. With a single model enabled, each generation produces 4 images from that model. GPT Image 2.5 previews always render at its lowest quality, whatever you choose here, so a preview doesn't show the quality your final images will have. --- ## 8. Curate Your Results Campaigns uses **selection by elimination**, like culling shots from a real shoot. 1. Review the batch. 2. **Reject** the images you don't want. They move to the **Rejected** tab and can be recovered. 3. **Generate More** to add another batch. 4. Favorite the ones you like to mark them. Switch between **All Images**, **Favorites**, and **Rejected** tabs at the top of the gallery. --- ## 9. Image Actions Clicking an image opens **Zoom**, a full-size view with a toggle between full-width (scrollable) and fit-to-viewport display. On hover, each image shows: - **Compare with inputs**: split-screen the result against the original product photos. - **Add to favorites**: mark the result as a favorite. Everything else lives in the **More actions** (**⋯**) menu: - **Download**: release the image and download it at full resolution, as **JPEG** (sRGB, with the AI label, for shops and marketplaces) or **PNG** (the original, for retouching). The first download releases the image. Previews show "Preview (not releasable)" instead. See [Downloading and Exporting](https://help.brandmachine.shop/downloading-and-exporting/). - **Edit with AI**: open the [Photo Editor](https://help.brandmachine.shop/photo-editor/) for color correction, spot fixes, or lasso-driven generative edits. This option may not be available on every account. - **Reject**: move the image to Rejected (recoverable). Releasing and downloading high-res images needs the **Approver** role or higher. See [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/). --- ## 10. From Shots to Ads On the **Shots** tab, **Make ads from 3 picked** (with the number of images you've favorited) plans ads from your favorite renders. The plans appear under **Media Plans** in the sidebar. To download the campaign's images, click **Export** on the **Shots** tab. The Export view shows one card per single shot and per group shot, and downloads one pick per shot, or all favorites, as JPEG or PNG. See [Exporting a Campaign](https://help.brandmachine.shop/downloading-and-exporting/#exporting-a-campaign). --- ## 11. Who Can Do What - **Member** and above: start campaigns, add and mark images, plan with the agent, and upload products. - **Creator** and above: generate previews and finals, and agree to new castings and set locations. - **Approver** and above: release and download high-res images, and delete campaigns. If your role doesn't allow an action, hover the greyed-out button to see why. See [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/). --- ## 12. Best Practices - **Build a library first.** Prepared models, locations, and brand identity make every shoot faster and more consistent. - **Be specific with styling.** Pose, accessories, expression, mood. Vague prompts produce vague results. - **Preview first** when you're unsure about a location, model, or product combination, then generate finals once it looks right. - **Cull aggressively.** Generate more batches and reject what doesn't work. The good shots stand out fast. - **Use the same model and location** across products in one campaign for a cohesive look; vary styling and aspect ratio per placement. --- ## 13. FAQs **Does arranging the board cost credits?** No. Adding, marking and arranging images is free, and so are reading the board and planning with the agent. Castings, new set locations and final images use credits, and the agent asks before it starts a casting or a set location. **Will my model look like the person in my Model image?** No. The agent casts a new model from a description of the person, or uses one of your existing models. You choose from the casting candidates. **Can I use Campaigns for non-fashion products?** It's optimized for fashion. For e-commerce catalog shots, use [Product Studio](https://help.brandmachine.shop/product-studio-getting-started/). For pure product videos, use [Product Videos](https://help.brandmachine.shop/product-shorts-getting-started/). **What if generation fails?** Rarely, a generation may fail due to content filters or a transient error. Retry or adjust inputs. Contact support if it persists. **Can I save without publishing?** Yes. Campaign images live in your campaign indefinitely, and you can download the high-res version whenever you're ready. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Group Shots Source: https://help.brandmachine.shop/group-shots/ Group Shots composite two or three single-shot portraits into a single multi-person scene while preserving each model's identity. Use it when you want models who exist on separate campaign images to appear together in the same final shot. --- ## When to Use a Group Shot - You've generated single shots for several models in the same campaign and want a "together" version. - You want a hero image with a small ensemble that wouldn't be feasible to shoot as one scene. - You need consistent styling across multiple models from one campaign. --- ## 1. Create a Group Shot 1. Open a campaign from **Campaigns** or **Campaign Library** and go to its **Shots** tab. 2. Click **Group shot** in the header (or open an existing tile in the **Group Shots** section to edit it). 3. You're taken to the group shot detail view, with the inspector panel on the right. --- ## 2. Configure the Composite ### Pick Single Shots (2 to 3) The inspector lists the single shots already in this group shot and the available shots in the campaign (completed single shots not yet in this group). Click a thumbnail to add it. Click the **X** on an added shot to remove. You need at least 2 and at most 3. ### Shooting Location (optional) By default, the group shot inherits the parent campaign's location. Click **Select** (or **Edit**) to pick a different one. The location determines the shared environment in the composite. ### Styling Instructions (optional) Free-text guidance for poses and interaction. For example: "Walking together through the city, laughing, relaxed poses." ### Aspect Ratio Pick the output dimensions for the composite (1:1, 4:5, 16:9, etc.). --- ## 3. Generate Click **Generate Group Shot**. The button is disabled until you have 2 or 3 single shots selected. Generation shows a spinner; results appear in a grid when ready. To make more variants with the same inputs, click **Generate More**. --- ## 4. Review and Refine Each composite has the standard image card actions. **Favorite** is available directly on the tile. Everything else lives in the **"..." (more actions)** menu: - **Reject**: move to Rejected (recoverable from the Rejected tab). - **Download / Release**: download as **JPEG** (with the AI label, for shops and marketplaces) or **PNG** (the original, for retouching). See [Downloading and Exporting](https://help.brandmachine.shop/downloading-and-exporting/). - **Edit with AI**: open the [Photo Editor](https://help.brandmachine.shop/photo-editor/) for fine-tuning. This option is feature-flag gated and may not be available on your account. Switch between **All Images**, **Favorites**, and **Rejected** tabs at the top of the gallery. --- ## How Identity Consistency Works Each selected single shot acts as a portrait reference for its model. The compositor uses those references to place every model into the shared scene while keeping facial identity, hair, and styling consistent with the original single shots. You don't have to do anything special to enable this; it's built into the flow. **AI models.** Group Shots follow the Campaign's AI model setting from **Settings > Campaign**, with one exception: the initial per-person clean render (Phase 1) always uses GPT Image 2, regardless of which model or models are enabled. The composite step (Phase 2), where models are placed into the shared scene, respects whichever model or models are enabled for the campaign. --- ## FAQs **Can I use models from different campaigns?** A group shot pulls from single shots in the same campaign. To mix across campaigns, recreate the needed single shots in one campaign first. **Why not 4+ models?** The current limit is 3 for compositional consistency. We may expand this later. **What if a model's identity drifts?** Reject the result, regenerate, or pick a single shot with a clearer face for that model. The clearer the reference, the better the composite. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Set Locations Source: https://help.brandmachine.shop/set-locations-getting-started/ Set Locations lets you create and refine reusable background environments for your campaign photography. Think of it as building a virtual photo shoot location that you perfect once, then reuse across your campaigns. --- ## Overview Set Locations gives you fine-grained control over the scenery in your campaign images. Instead of describing a background every time you create a campaign photo, you create, refine, and save reusable locations that keep your look consistent. **Key Concept:** The images you generate in Set Locations are **placeholders** that capture the essence and description of a scenery, not the exact backgrounds used in your campaigns. When you use a set location in [Campaigns](https://help.brandmachine.shop/campaign-composer-getting-started/), the system recreates the environment with the right perspective and composition for your product and model. --- ## 1. Understanding References Set Locations uses four types of **references** to define a scenery: 1. **Location** (required): The physical environment (e.g. "rugged mountain landscape", "urban rooftop"). 2. **Lighting** (optional): Light quality and direction (e.g. "golden hour sunset", "soft diffused studio lighting"). 3. **Mood** (optional): Emotional atmosphere (e.g. "dramatic and moody", "bright and energetic"). 4. **Extras / Background People** (optional): background people and crowd characteristics (e.g. "Empty scene, no people", "Minimal crowd of 2-3 people, casual walking"). Only **Location** is required. Lighting, Mood, and Extras are optional and refine the result further when you add them. If you leave Extras empty, the scene is generated without background people, unless the place itself calls for them (a stadium, a busy market, a full cafe). Note: Extras only shapes the set location's own scene images. It has no effect when the location is used as a backdrop in a Product Studio or Campaign shot, so setting it to "no people" won't remove people from those shots. Each reference can be created in two ways: - **Text description**: type what you want. - **Image analysis**: drop in an image and let Brandmachine analyze it. --- ## 2. Workflow Steps ### Creating a New Set Location 1. **Navigate to Set Locations** - In the sidebar, click **Set Locations**. - Click **New Set Location** to start. 2. **Define References** Configure your references. Location is required; Lighting, Mood, and Extras are optional. **Text-Based Reference:** - Click a reference card (e.g. Location). - A modal opens with a description field. - Describe what you want (e.g. "Rocky mountain environment with pine trees and misty peaks"). - Click **Save**. **Image-Based Reference (AI Analysis):** - Click a reference card. - Drag and drop an image into the drop zone. - Brandmachine analyzes the image based on the reference type:- **Location**: environmental elements, setting, architecture. - **Lighting**: light quality, direction, color temperature. - **Mood**: emotional tone, atmosphere, energy. - **Extras**: background people and crowd characteristics. - A text description is extracted automatically. 3. **Generate a Scene** - Once at least your Location reference is set, click **Generate New Scene**. - Brandmachine creates a scene based on your references. This may take a few moments. 4. **Refine by Editing References** Refinement happens by adjusting your references and generating again: - Edit any reference card to change its description, swap its image, or add an optional reference you skipped earlier (Lighting, Mood, or Extras). - Click **Generate New Scene** to produce a new scene from the updated references. - Repeat until the scenery feels right. Every generation uses your current references, so each change you make is reflected in the next scene. 5. **Manage Scenes** - Each generation adds a new scene to the **Scenes** panel. - You can revisit any previous scene at any time, which is handy if a change goes in the wrong direction. - For each scene you can:- **Pin** it to mark it as a favorite. - **Rename** it (click the title to edit inline). - **Delete** it when you no longer need it. ### How Refinement Works - References influence **every** generation, not just the first. Whatever your Location, Lighting, Mood, and Extras cards say when you click **Generate New Scene** is what shapes that scene. - To nudge a scene in a new direction, edit the relevant reference and generate again. - To start from a completely different concept, clear or rewrite your references, or create a new set location from scratch. --- ## 3. Using Set Locations in Campaigns When you [start a campaign from a moodboard](https://help.brandmachine.shop/campaign-composer-getting-started/), the agent can build a set location for you from an image you marked **Location**. It reuses one of your existing set locations if it is clearly the same place, and asks you before it creates a new one, since creating one uses credits. A set built this way leaves out people who happen to be in your photo, unless the place is defined by them. You can also pick a set location yourself when building a single campaign image: 1. Go to your [Campaigns](https://help.brandmachine.shop/campaign-composer-getting-started/) area and start (or open) a campaign photo. 2. On the **Shooting Location** card, click **Select** (or **Edit** if one is already chosen). 3. A grid picker opens. First pick the set location you want, then pick a specific **scene** within it. 4. Your choice is applied to the campaign image. When used in a campaign: - The system uses the **description** of the scenery, not the placeholder image itself. - The environment is recreated with the right perspective and composition for your product and model. - This keeps the product as the focal point while preserving the scenic atmosphere. --- ## 4. Best Practices 1. **Start with Location, Layer the Rest** - Begin with a solid Location reference. - Add Lighting, Mood, and Extras as you discover what the scene needs. - You don't have to describe everything up front. 2. **Use Image References for Precision** - If you have an inspirational photo, use it as a reference. - Brandmachine extracts relevant attributes based on the reference type. - Combine image references with text for the best control. 3. **Refine One Thing at a Time** - Change a single reference, then generate a new scene to see its effect. - Small, deliberate edits make it easier to see what each reference contributes. 4. **Lean on the Scenes Panel** - Don't be afraid to experiment. You can always return to an earlier scene. - Pin the scenes you like so they're easy to find later. 5. **Build a Library** - Create set locations for different campaign types. - Keep a consistent look across seasonal campaigns. - Reuse successful locations across multiple products. --- ## 5. Technical Details ### Why Placeholder Images? You might wonder why Set Locations generates placeholder images instead of the exact backgrounds used in campaigns. **The reason:** - Inspirational environment photography focuses on composition, leading lines, and artistic framing. - Campaign photography focuses on the product, and needs different angles and composition. - Using the environment photo directly would create composition conflicts. - Instead, Brandmachine captures the **description** of the scenery and recreates it appropriately in your campaign image. ### Reference Usage - Your references (Location, Lighting, Mood, Extras) are active on **every** generation, not only the first. - Editing a reference and clicking **Generate New Scene** produces a fresh scene shaped by your current references. - This makes refinement a matter of tuning the references, rather than starting over. --- ## 6. FAQs 1. **Can I edit references after generating a scene?** Yes. Editing references and clicking **Generate New Scene** is exactly how you refine. References apply to every generation, so your latest edits always shape the next scene. 2. **How many scenes can I create?** There's no hard limit on scenes. Each generation uses credits; see [Billing & Credits](https://help.brandmachine.shop/billing-credits/). 3. **Can I use the same set location in multiple campaigns?** Yes. Set locations are reusable across any number of [campaigns](https://help.brandmachine.shop/campaign-composer-getting-started/). 4. **Which references do I actually need?** Only **Location** is required. Lighting, Mood, and Extras are optional and give you extra control when you add them. 5. **What is the Extras reference for?** Extras describes background people and crowd characteristics, so you can set how busy or empty the location's own scene images feel. Left empty, scenes have no background people unless the place calls for them. Extras doesn't carry over into Product Studio or Campaign shots that use the location. 6. **Can I delete scenes or set locations?** Yes. You can pin, rename, and delete individual scenes, and you can remove whole set locations you no longer need. 7. **Do I need to create set locations before using Campaigns?** No. You can create set locations in advance, or on the fly while building a campaign image. 8. **What makes a good reference image?** - Clear representation of the environment (for Location). - Clear lighting characteristics (for Lighting). - Clear emotional atmosphere (for Mood). - High-quality images work best, though the analysis is forgiving. --- ## Conclusion Set Locations gives you professional-level control over campaign backgrounds by separating environment creation from campaign production. With this workflow you can: 1. Define scenery using text or image references. 2. Generate a scene from your references. 3. Refine by editing references and generating again. 4. Build a reusable library of brand-consistent locations. 5. Use those locations confidently in [Campaigns](https://help.brandmachine.shop/campaign-composer-getting-started/). For further assistance, contact Support at [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Designer Source: https://help.brandmachine.shop/designer/ Designer is where you create new garment designs in Brandmachine. You assign a fashion model, give the AI agent inspiration (mood shots, fabric photos, written notes), and optionally attach a fabric pattern. Each request to the agent produces a revision that shows the garment on the model from the front and back. From there you can add technical drawings (flat sketches) and take garment measurements off them. --- ## Anatomy of a Design A **design** consists of: - A **title** (editable inline) - One assigned **fashion model** (locked once set) - **Inspiration resources** (images and notes) - Optional **attached patterns** (see [Patterns](https://help.brandmachine.shop/patterns/)) - One or more **revisions**. A revision starts with two photo tiles:- **Front**: garment on the model, front view - **Back**: garment on the model, back view - Generating **technical drawings** adds two more tiles, **Front flat** and **Back flat**, for a four-tile grid. - **Measurements** taken from the flat sketches (optional, available after technical drawings exist) --- ## 1. Create a Design 1. Open **Designer** in the sidebar and click **New Design**. 2. On the right panel, work through the setup steps. ### Pick a Fashion Model (required) On the **Fashion Model** card, click **Pick a Fashion Model**. A modal shows all library models. Select one and click **Select model**. The chip on the right panel then shows the model's thumbnail, name, and gender. The fashion model is **locked once it's set.** The **Change** control is disabled, with the tooltip "The fashion model can't be changed once it's set. Start a new design to use a different model." If you want a different model, start a new design. ### Add Inspiration Resources (optional) Click **+ Add** on the **Inspiration Resources** card. In the **Add Inspiration Resource** modal, pick a **Type**: - **Image**: an inspiration image such as a worn outfit, a flat, a mood shot, or a fabric photo. Brandmachine describes it automatically, so a label is optional. - **Note**: a short written note covering a fabric, colorway, or styling cue (for example "heavy silk" or "deep emerald"). A note requires both a **Label** and a **Description**. Click **Add resource**. Resources appear in the panel, and you can delete any with the trash icon. Brandmachine analyzes each image resource with Gemini Vision so the agent has a structured understanding of what makes it visually distinct. ### Attach Patterns (optional) If you've created any in [Patterns](https://help.brandmachine.shop/patterns/), click **+ Add** on the **Patterns** card. A two-step picker opens: pick a pattern, then pick a specific revision of that pattern. Attached patterns show their name and repeatability (for example "Tileable both axes"). Remove with the trash icon. ### Add Outfit Context (optional) The **Outfit context** card describes the rest of the outfit around the hero garment (for example wide-leg trousers and loafers under a top). Leave it empty for dresses or full-length pieces. Click **Edit** to write it, then **Save**. ### Edit the Description (optional) Below the setup, the Description card starts blank. After the first agent turn, the agent co-authors a description. Click **Edit** to refine it. --- ## 2. Start Designing When you have at least a fashion model, click **Start designing** at the top right. The inspector opens with the agent chat, and your first message kicks off generation. Once a design has revisions, the same button reads **Continue designing**. Each request from you produces a new revision. The revision strip at the top shows your revisions horizontally, newest first, with a pin badge on favorites. --- ## 3. The Revision Each new revision starts with two photo tiles, **Front** and **Back**, showing the garment on the model. Tiles fill in as they generate, with a spinner labeled "Generating" until done. Revision actions (top right of the revision card): - **Generate technical drawings**: adds the flat sketches (see below). - **Take measurements / Re-run measurements**: opens the measurement flow, enabled once technical drawings exist. - **Pin revision**: toggles favorite state. - **Delete revision**: removes it. ### Paint and Regenerate To fix one area without regenerating the whole look, use the paint tool on a Front or Back tile ("Paint on Front to regenerate"). Brush over the region, add an optional note like "wider collar", and click **Regenerate** to redo just that area. A **Painted on front** or **Painted on back** pill marks the result. --- ## 4. Generate Technical Drawings Photo tiles show the garment worn. Technical drawings are the flat sketches used for production. This is a separate step, and it is billed separately from the initial revision. Click **Generate technical drawings** on a revision. Once the front and back photos are ready, this adds a **Front flat** and a **Back flat**, turning the revision into a four-tile grid. On flats that have measurements, a **Plain** / **Annotated** toggle appears: **Plain** is the raw sketch, **Annotated** overlays the measured points and labels. --- ## 5. Take Measurements Measurements give you accurate garment dimensions off the flat sketches. **Take measurements** is only enabled after technical drawings exist. Before then it is disabled with the reason "Generate technical drawings first". The flow runs in two steps (front, then back): 1. Click **Take measurements** on a revision that has flats. 2. **Front.** Drag the two pins on the front flat to mark a known-length reference (for example a seam or a stripe). Enter the **Reference length (cm)** and an optional label. Click **Next**. 3. **Back.** Repeat on the back flat. 4. Click **Generate measurements.** The modal closes, and processing runs as an async job (Gemini Vision), usually a minute or two. When it's done, a **Measurements** card appears below the grid with two columns, **Front** and **Back**. Each row has a **Label** and a **Value**, both editable. Values are in centimeters, and new rows default to cm. You can: - Add rows for anything the AI missed. - Edit values to refine the AI's reading. - Click **Save and re-annotate** to push your edits back through annotation, or **Discard changes** to revert. If the reference was off, click **Re-run measurements** to redo the two-step flow. --- ## 6. Iterate Use the agent chat to request changes: "make the sleeves a bit shorter", "try a contrast collar", "use the moth wing pattern". Each request generates a fresh revision. Pin the ones you want to keep visible. You can also use the **Patterns** card to swap fabric prints in and out of the agent's context between turns. --- ## 7. Collections Designs can be grouped into **Collections**. A collection carries a **Season** (for example "FW26") and a **Brief** (mood, customer, references) that is injected into every generation for its member designs. Create one with **New Collection**, or add an existing design with **Add to Collection**. --- ## Good to Know Designs created in an earlier beta may be flagged as **Legacy design** and can't be continued here. To pick one back up, contact the Brandmachine team to migrate it. --- ## FAQs **Do I need a pattern to design?** No. Patterns are optional. A design works fine without one. **Can I design without inspiration resources?** Yes, but the agent has more to work with when you give it images and notes. **Why can't I change the fashion model?** The model locks once it's set. Start a new design to use a different one. **Why is "Take measurements" greyed out?** Measurements need technical drawings first. Generate the flats, then take measurements. **What happens to old revisions when I delete them?** They're gone. Pin anything you want to keep before cleaning up. **Can I download a flat sketch?** Yes, from the slot itself once technical drawings have been generated. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Patterns Source: https://help.brandmachine.shop/patterns/ Patterns is where you create reusable fabric prints and tileable textures. A pattern lives independently of any design and can be attached to multiple [Designer](https://help.brandmachine.shop/designer/) instances. Unlike a design (whose revisions carry photo and technical-drawing tiles), a pattern revision is a single image: the print itself. --- ## Two Ways to Build a Pattern You can either let the agent generate one from inspiration, or upload a finished image and iterate from there. ### A. Agent-Generated 1. Open **Patterns** in the sidebar and click **New Pattern**. 2. In the right panel, click **+ Add** under **Inspiration References**. 3. Enter a **Label** (e.g. "dalmatian dog", "moth wing") and upload an image. Click **Add reference**. 4. Add more references as needed. 5. (Optional) Configure **Repeatability** in the right panel. There are two toggle switches:- **Repeats horizontally**: tileable left-to-right when placed on fabric. - **Repeats vertically**: tileable top-to-bottom when placed on fabric. Both, neither, or one are all valid. 6. Click **Start pattern**. The agent generates the first revision. Once revisions exist, the same button reads **Continue iterating**. 7. Use the chat to iterate ("more contrast", "softer edges", "tighter spacing"). Each turn produces a new revision. ### B. Upload a Finished Pattern 1. Open **Patterns** and click **New Pattern**. 2. Scroll to **Upload a finished pattern** and click **Upload pattern image**. 3. Provide an optional label and the image. Click **Upload**. 4. The uploaded image becomes the first revision. You can still iterate from there via chat. --- ## Repeatability Set repeatability any time, even after revisions exist, using the two toggle switches. The setting is stored on the pattern itself (not per revision), and it informs how the print behaves when applied to a garment downstream. Wherever an existing pattern's repeatability is shown, the label reflects the toggles: - **Tileable both axes**: both toggles on. Works as a seamless all-over print. - **Tileable horizontally**: only the horizontal toggle is on. Works as a horizontal stripe or border. - **Tileable vertically**: only the vertical toggle is on. Works as a vertical stripe. - When neither toggle is on, no repeatability label is shown. The print is treated as a placed motif. --- ## Revisions Each turn produces a new revision. The revision strip shows them horizontally, newest first, with a pin badge on favorites. For each revision: - The pattern image fills the main card. An optional **Inputs** strip below it lists the inspiration references used. - **Pin revision** toggles favorite state. - **Delete revision** removes it. --- ## Attaching to a Design Once a pattern has at least one revision (with an image), you can attach it to a design: 1. Open the design in [Designer](https://help.brandmachine.shop/designer/). 2. In the right panel's **Patterns** card, click **+ Add**. A two-step picker opens. 3. First, pick a pattern from the list of eligible patterns. 4. Then pick a revision of that pattern. If the pattern has any pinned revisions, only those are shown; otherwise all image-bearing revisions are listed. 5. Click **Select pattern**. The attached pattern revision now appears on the design with its name and repeatability. The agent uses it when generating the next design revision. Remove with the trash icon. --- ## FAQs **Can I attach the same pattern to multiple designs?** Yes. Patterns are designed for reuse. **Can I edit a pattern's name?** Click the title at the top of the pattern page; inline edit. **What's the difference between an inspiration reference and an input?** Inspiration references are the source images you upload to the pattern. The "Inputs" strip on a revision shows which of those references were used for that specific generation. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Shot Planner Source: https://help.brandmachine.shop/shot-planner/ Shot Planner is the bulk-planning view for campaign images and product studios, found under **Automations** at `/batch`. You start a shoot, add product photos, and let a planning agent draft what to create across all of your products at once. Once the plan looks right, you generate previews to check the results, then generate finals when you're ready to spend credits. If you've used Brandmachine before, Shot Planner is the renamed and restructured version of the old **Batch Editor**. --- ## Creating a Shoot From the Shot Planner list, open the **New shoot** menu and choose: - **Product Studio shoot**, for product photography through Product Studio. - **Campaign shoot**, for campaign images. This choice sets the shoot's journey. You can switch it later with the **Product Studio / Campaign** switch in the shoot's header or under **Shoot type** in the Inspector, and switching is non-destructive: it does not touch an existing plan. If a plan is already drafted for the old type, you'll see a reminder to redo the plan so the shots match the new type. Nothing is wiped automatically, but the plan won't reflect the new type until you redo it. --- ## The Shoot List Each shoot in the list is a tile with three steps: **Plan**, **Preview** and **Final**. Steps already reached are filled in and the current step is highlighted, so you can see at a glance how far each shoot has come: - **Plan**: the shoot has a plan, but nothing has been previewed yet. - **Preview**: previews exist. While not every planned shot has one, the step shows how many are done, for example "3 of 8". - **Final**: finals exist, with the same count while some are still missing. While a preview or final is running, the current step reads **Previewing** or **Rendering** with its progress. A shoot that has no plan yet shows no steps. The tabs above the list filter it: **All**, **Product Studio** and **Campaign**. A shoot that contains both kinds of shot appears under both. --- ## Two Moments: Setup and Planning A shoot moves through two moments rather than a fixed set of steps. **Setup (no plan yet).** Drag product photos into the **Products** drop zone, or click it to browse (jpeg, png, webp). Once you have images in place, click **Draft the plan** in the header. **Planning (a plan exists).** The Products drop zone gives way to an inline plan board, with a collapsible "Show/Hide photos" strip if you want to see the source images again. The header button changes to **Redo plan**. --- ## How the Planning Agent Works When you click **Draft the plan**, a dedicated planning step takes over. This is a more deliberate pass than the regular chat: it reviews your products and their photos, the shoot type, your Skills and Instructions, your [Brand Memory](https://help.brandmachine.shop/brand-identity-getting-started/), and your chosen fashion models, set locations, and perspectives, then writes out the plan. The summary the agent replies with **is** the plan, so it's worth reading closely. It tells you what it is going to create for each product, which looks it built, and it will call out anything it noticed (for example a photo whose view type looks wrong, covered in the Products, View Types, and Mismatches section below). You do not drive planning with a separate button. The chat is where planning happens: **Draft the plan** and **Redo plan** simply send the agent a starting message for you. --- ## Skills and Instructions Both live in the **Inspector** panel on the right, and both steer how the agent styles and completes your shots. They are not the same thing. - **Skills** are reusable, team-wide styling rules (a short title plus a description, for example "always use two models" or "shoes are accessories, never the hero"). Once saved, a Skill applies to every relevant shoot automatically. Skills are journey-specific: a Skill written for campaigns is ignored on a Product Studio shoot and vice versa, so you never have to detach one before switching types. The agent can also offer to save a good one-off decision as a Skill mid-conversation, which is how your Skill library grows over time. - **Instructions** are one-off, per-shoot notes. Use them for something that applies to this shoot only and shouldn't become a standing rule. The Inspector also holds the **Shoot type** switch. ### How the agent decides styling When the agent decides how to style and complete a look, it follows this order of priority, strongest first: 1. **What you type in chat, and your batch Instructions.** These win over everything else. 2. **Your saved Skills.** 3. **Your Brand Memory.** Used mainly to complete bare looks in your brand's spirit (for example, your staple white tee). 4. **Brandmachine's built-in defaults.** Even with no Skills saved, sensible defaults already apply: every look is a complete, styled outfit rather than a lone garment (bare pieces are completed with neutral, unbranded basics); products are grouped by their filename convention; only the views your photos actually cover are shot (a missing view is never invented); accessories support the outfit unless the accessory is itself the key product; and each paired item stays consistent across every frame a product appears in. If a shot ever looks off-brand, check your Instructions and Skills first, since they override brand-level and default settings. --- ## Two Ways to Change a Plan There are two different ways to change a plan once one exists, and they behave very differently. Knowing which to use saves the most time. - **Ask for a specific change in chat.** Tell the agent exactly what you want ("drop the cap from the denim look", "swap the model on frame 3"). It makes a targeted edit, changing only what you asked about. Everything else, including previews you have already reviewed, stays exactly as it was. - **Redo plan.** This is a full reset. The agent discards every draft item and its previews, including any edits you made directly on the plan board, and drafts a fresh plan from your products, Skills, and Instructions. A confirm modal warns you first. Use it when you want to start the plan over, not for a small tweak. In both cases, anything you have already generated as finals is never touched. A couple of edits the agent will decline, with a plain explanation rather than an error: a look whose preview or generation is still running (wait a moment and retry), and a look that has already been generated as a final (that one is finished inventory, so edit it in Product Studio or start a fresh plan). --- ## Products, View Types, and Mismatches The upload section is called **Products** (previously "Product Images"). When you upload a photo, Brandmachine scans it and assigns a **view type**: Front, Back, Other, or Cropped. It also groups photos into products by their filename convention (for example `TEE-01_front.jpg` and `TEE-01_back.jpg` become one product). What you upload here decides what the agent has to work with. See [Input Guidelines](https://help.brandmachine.shop/input-guidelines/) for resolution, lighting and framing requirements. Perspectives only render the views your photos actually cover. If a product has no back photo, the agent skips the back rather than inventing one. **If a view looks wrong, fix the tag before you build.** If a front photo is scanned as "Other," the agent flags a view mismatch in its summary and will not pretend the view exists. The fix is quick: open that image, set the correct view type from the dropdown (Front, Back, Other, Cropped), then ask the agent to redo or adjust the plan. The agent cannot correct a mistagged view for you, it can only avoid faking it, so this is the first thing to check when a view you expected is missing. --- ## Hero Products For each look, the agent picks one **hero** product automatically at plan time, guided by your Skills and Instructions (for example "shoes are accessories, not heroes") or, if nothing applies, by choosing the look's key garment. Hero only matters for perspectives set to **Use Hero Inputs Only** (packshot-style shots), which render only the hero product's images. All other perspectives (outfit and lifestyle shots) include every product regardless of the hero flag. You can override the automatic choice afterward. **MAKE HERO** on the Product Studio detail page is a per-image correction, not the starting point. See [Product Studio](https://help.brandmachine.shop/product-studio-getting-started/) for the full hero workflow. --- ## Reviewing the Plan The review board has a **Plan / Preview / Finals** lens toggle, so you can flip between the drafted plan, generated previews, and finished finals in one place. Product Studio shoots add an **Overview / Detailed** density toggle in the Plan lens for scanning many items at once. The header above the board counts the **current plan**: how many shots are planned, how many of them have a preview, and how many have been generated as finals. Finals from an earlier plan are not mixed into these numbers. When a shoot has them, the header adds a link such as "4 from an earlier plan", which takes you to the Finals lens. ### Earlier plans Each time you **Redo plan** after generating finals, the finals you already have become an earlier round. They stay in the shoot, collapsed under the **Finals** lens and grouped by the day they were generated (for example "Generated 3 days ago · 6 looks"), so the current plan stays readable. A redo before any finals exist simply replaces the drafts and their previews. ### Re-preview a single look In the **Preview** lens, each look (in a Campaign shoot) or each product (in a Product Studio shoot) has a **Re-preview** button. It runs a new preview for that one look or product only, without touching the rest of the board. Use it after you change a look in chat, or when one preview came out badly and you want another try. Re-preview is free, like every preview. It adds a new preview rather than replacing the old one. The board shows the preview you marked as a favorite, if there is one, otherwise the newest, so remove the favorite from an older preview if you want the new one to show. ### While something is rendering A look or product that is being worked on shows a **Previewing** or **Rendering** label in its header. Images that already had a render stay visible but dimmed, with a spinner over them; images without one read "Previewing…" or "Rendering…". The board heading also shows overall progress, for example "Previewing 2 of 6 looks". --- ## Generating Previews and Finals Once you're happy with the plan, two buttons turn it into images. They show how many shots they will run, for example **Generate 8 previews** and **Generate 8 finals**, and each opens a confirmation before anything starts. - **Generate previews**: free, low-resolution, meant for review only, not releasable. - **Generate finals**: full-resolution and releasable. The confirmation states the number of shots and that this charges credits. See the **Price list** on the Billing page for what each shot costs. Generate previews as many times as you like while you refine the plan, then generate finals only for the shots you're ready to pay for. Generating previews and finals, including **Re-preview**, needs the **Creator** role or higher. Starting a new shoot needs **Member** or higher. If your role doesn't allow an action, hover the disabled button to see why. See [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/). --- ## What to Expect: Campaign vs Product Studio **Campaign shoots.** If you don't say how many frames you want, the agent proposes a varied set (around 8 to 12). If you do name a number, it produces exactly that many. Every frame is a distinct scene (a different setup, moment, or angle), never a repeat, and when you have more than one set location the frames spread across them. **Product Studio shoots.** The number of images isn't a target you set. It's simply your products multiplied by the perspectives you choose, so the useful question is which views and perspectives you want, not how many images. Perspectives are the camera-angle and framing presets you configure in Product Studio settings; the agent picks from the ones your team already has, filtered to the views your photos cover. One consistency rule applies to both: once the agent decides how to complete a bare garment (say, pairing a skirt with a plain neutral top), it reuses that exact pairing across every frame and perspective the product appears in, rather than varying it. --- ## What Shot Planner Creates Finals land in: - **Product Studio**, for Product Studio shoots. Track them in [Workbench](https://help.brandmachine.shop/workbench/), and download each studio from its **Export** view (each studio in the shoot results has an **Export** button). See [Downloading and Exporting](https://help.brandmachine.shop/downloading-and-exporting/). - **Campaigns**, for campaign shoots. The shoot itself keeps its full history (plan, previews, and finals), so you always have a record of what it produced. --- ## Inventory Everything you generate is permanent inventory, not a temporary draft. Generated items: - Survive a **Redo plan** on the same shoot, with favorites and releases preserved. - Appear under the **Finals** lens as dated history, so you can look back at earlier rounds. You do not need to start a new shoot to iterate. Redo the plan on the same shoot and keep working from there. --- ## Before You Plan The agent needs a few things in place before it can draft, and it will tell you what is missing rather than guessing: - **Product photos** uploaded to the shoot. - **A fashion model.** Shots are built around a model, so set one up in [Fashion Models](https://help.brandmachine.shop/fashion-models-getting-started/) first. - **A set location**, for campaign shoots. Create one in [Set Locations](https://help.brandmachine.shop/set-locations-getting-started/). - **Perspectives**, for Product Studio shoots. Configure these in Product Studio settings. --- ## FAQs **What's the difference between messaging the agent and clicking Redo plan?** A message asking for a specific change is a surgical edit: it touches only what you named and leaves everything else, including your previews, in place. **Redo plan** is a full reset that discards every draft and its previews (including edits you made on the board) and drafts a fresh plan. Your generated finals are safe either way. **A view I expected is missing. Why?** Usually a view-type mismatch. Open the image, set the correct view type from the dropdown, then ask the agent to redo or adjust the plan. The agent will not invent a view your photos don't cover. **Who decides which product is the hero?** The agent does, per look, at plan time, guided by your Skills and Instructions. You can override it per image later with MAKE HERO on the Product Studio detail page. Hero only affects "Use Hero Inputs Only" perspectives. **How long does planning take?** Usually under a couple of minutes, but it can take up to a few minutes for large shoots. If you ever see a planning error and then find a plan appeared anyway, that can happen when the result lands just after the app stopped waiting. Refresh and check before redoing. **Can I switch a shoot between Product Studio and Campaign?** Yes, from the shoot-type switch in the Inspector. Switching is non-destructive: it doesn't touch your existing plan. You'll be nudged to redo the plan so the shots match the new type, but nothing is wiped until you do. **Can I re-run a shoot, or do I need to start a new one?** You can re-run it. Generated items are permanent inventory, so a **Redo plan** on the same shoot keeps your existing favorites and releases and adds the new plan on top. You don't need a new shoot to iterate. **Does Shot Planner cost credits?** Drafting a plan and generating previews are both free. **Generate finals** costs credits based on the number of shots. See [Billing & Credits](https://help.brandmachine.shop/billing-credits/) for pricing. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Fashion Models Source: https://help.brandmachine.shop/fashion-models-getting-started/ Fashion Models is where you create and manage the AI models that appear in your [Campaigns](https://help.brandmachine.shop/campaign-composer-getting-started/) photos, [Product Studio](https://help.brandmachine.shop/product-studio-getting-started/) shots, [Group Shots](https://help.brandmachine.shop/group-shots/), and [Designer](https://help.brandmachine.shop/designer/) revisions. You can have Brandmachine cast a brand new model, or upload a real model you already have the rights to. --- ## How It Works Every model goes through the same pipeline: 1. **Casting.** Describe the look you want. Brandmachine generates a batch of candidate images to choose from. 2. **Name a candidate.** Naming a candidate turns it into a **draft** model and pulls structured **Resources** out of the image automatically. 3. **Resources.** The model's editable attributes (Description, Makeup, Hairstyle, Beard, Body Shape). Adjust them any time. 4. **Looks.** Generate styled snapshots of the model. Each **Look** is a saved revision you can pin, rename, and reuse. 5. **Library.** Add the model to your library so it becomes selectable everywhere else in the app. You can also skip casting and bring your own images, either a real model (**Upload Model**) or a style reference that seeds a fresh casting (**Upload Reference**). --- ## The Fashion Models Page Open **Fashion Models** in the sidebar. The list has two tabs: - **In Use**: models you've added to your library. These are the ones available across the app. - **Draft**: models you've started but not yet added to the library. Drafts are private to your team. Across the top you'll find four actions: - **New Model Casting** (primary): start a casting from a text prompt. - **Castings**: browse your past castings and their candidate images. - **Upload Reference**: upload a style photo to seed a new casting. - **Upload Model**: upload a real model you have rights to. --- ## 1. Cast a New Model 1. Click **New Model Casting**. A dialog opens. 2. Pick a **Gender**: Female, Male, or Other. 3. Write a **Prompt** describing the look you're casting for. More detail usually gives better results. Example: "25-year-old female, shoulder-length wavy brown hair, warm complexion, natural makeup, friendly approachable expression." 4. Leave **Use brand identity** on (the default) to fold your brand profile's style cues into the results, or turn it off to cast without them. See [Brand Identity](https://help.brandmachine.shop/brand-identity-getting-started/). 5. Click **Start Casting.** Brandmachine generates a batch of candidate images on the casting page. Each candidate is tagged with the AI model that produced it, so you can compare different renderings of the same brief side by side. Castings draw from your credit balance (see [Billing & Credits](https://help.brandmachine.shop/billing-credits/)). --- ## 2. Turn a Candidate Into a Model 1. On the casting page, click the candidate you like. 2. Choose **Name your model**, enter a model name, and confirm with **Create model.** Naming the candidate is what creates the model. There's no separate "add to drafts" step. The new model lands in your **Draft** tab, and Brandmachine automatically extracts its **Resources** from the image (Description and Hairstyle always, plus Makeup and Beard when they're relevant). --- ## 3. Resources Resources are the model's editable attributes. They're available on both drafts and library models, and you can change them at any time: - **Description** - **Makeup** - **Hairstyle** - **Beard** - **Body Shape** Edit each one as free text. You can also drop an image into the analysis zone at the top of the Resources panel and let AI read it. The analysis fills in **Makeup**, **Hairstyle**, **Beard**, and **Body Shape** for you, which you can then fine-tune. --- ## 4. Looks A **Look** is an immutable snapshot of the model: the Resources at that moment, the styling instruction you gave, and the resulting portrait or set-card image. - Click **Generate New Look** to create one. Iterate as many times as you want, before or after you add the model to your library. - **Pin Look** flags a Look as a keeper (it shows as **Pinned**). Pinned Looks are the ones offered first when you pick this model elsewhere. - Rename a Look by clicking its title. - Remove one with **Delete Look.** Generating a Look draws from your credit balance. --- ## 5. Add to Library While a model is a draft, it only lives in Fashion Models. Click **Add to Library** to move it into your library, where it becomes selectable in Campaigns, Product Studio, Group Shots, and Designer. Adding to the library is free. --- ## 6. Upload a Real Model If you work with a real model and have the rights to their likeness, skip casting and upload directly. From the Fashion Models page, click **Upload Model**, then provide: - **Model Name** - **Gender** (Female, Male, or Other) - **Portrait Image**, which must be exactly **2048 x 2048 px** - **Set Card Image** (optional), also **2048 x 2048 px** - The consent checkbox: "I confirm I have the legal rights to use this image for AI fashion model creation." The upload won't proceed without it. This creates the model directly as a **draft**, ready for Resources, Looks, and the library. Uploading is free. --- ## 7. Upload a Reference **Upload Reference** is different from Upload Model. A reference is style inspiration, not a real person. Use it when you have a photo whose look you want to reproduce, but you don't have the rights to the individual. 1. Click **Upload Reference.** 2. Pick a **Gender** and add one photo (any size up to 15 MB, JPG, PNG, or WEBP). 3. Submit. Brandmachine reads the style from your photo and starts a **new casting** inspired by it, which you then work through like any other casting. The reference photo itself isn't saved as a model or shown in your library. --- ## 8. Using a Model Elsewhere Only library models are selectable across the app. - In **Campaigns**, **Product Studio**, and **Designer**, the model picker is two steps: first choose the model, then choose a specific **Look**. If you've pinned Looks for that model, only the pinned Looks are offered; otherwise you see all of them. - **Group Shots** don't have their own picker. A group shot is composited from existing single shots, so each model (and its Look) is chosen upstream in Campaigns. Reusing the same model and Look across projects keeps your brand visually consistent. --- ## 9. Managing Models You can permanently **Delete** a model from its detail page. Deleting also removes the model's Looks. Images you already generated keep their pixels, but they lose their reference back to the model and Look. There's no deactivate step. A model is either a draft, in your library, or deleted. --- ## Billing Fashion Models runs on pay-as-you-go credits: - **Costs credits:** generating castings, Looks, and set-card images. - **Free:** uploading a model or reference, and adding a model to your library. See [Billing & Credits](https://help.brandmachine.shop/billing-credits/) for balances, top-ups, and per-operation pricing. --- ## FAQs **Can I use a real person instead of casting one?** Yes. Use **Upload Model** and confirm you have the rights to their likeness. That's different from **Upload Reference**, which uses a photo only as style inspiration to seed a new casting. **Can I change a model's attributes after casting?** Yes. A model's attributes live in its **Resources** and stay editable at any time, on drafts and library models alike. Edit them as text, or drop in an image and let AI fill them. **How do I make a model available in Campaigns and Product Studio?** Add it to your library. Only library models show up in the pickers. **What happens to existing images if I delete a model?** The images you already generated stay intact. They just lose their reference to the deleted model and its Looks. **How do I control which Look gets used when I pick a model?** Pin the Looks you prefer. When a model has pinned Looks, only those are offered in the picker. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Poses Source: https://help.brandmachine.shop/poses/ Describing a pose in words rarely gets you that exact pose. "Hands in pockets, weight on the left leg, looking over the shoulder" comes out close, but not the same. A **pose** lets you show the body position instead: you give Brandmachine a photo of the pose, and the model in your look takes it. Poses are a team library, like fashion models and set locations. Make a pose once and use it on any of your team's campaign looks. --- ## How a Pose Works When you make a pose, Brandmachine redraws your photo as a **plain mannequin in the same position**: a figure drawn as a fine grid, with no face, hair or clothes, and empty hands. On the pose's page it is called the **wireframe**. The render receives the mannequin, not your photo. That is on purpose: whatever the person in your photo holds or wears (a bag, a scarf, a coat) would otherwise come into your shot. The mannequin carries only the body position. Your look keeps its own fashion model, products and set. Preparing a pose takes about 30 seconds. While it prepares it shows **Preparing**; then **Ready**, or **Failed** if it didn't work. ### What makes a good pose photo These are recommendations, not hard rules: - **One person**, with the whole body in the photo if you want a full-body pose. - **Limbs clearly visible**, not hidden behind other people, furniture or a long coat. - **A camera at roughly eye height.** Body position carries over well; the camera angle less so (see Q&A). Any photo you have the right to use works: a test shoot, a mood image, or one of your own earlier Brandmachine images (download it, then upload it as a pose). --- ## Making a Pose ### On the Poses page 1. Open **Poses** in the sidebar, under Shared Resources. 2. Click **New pose** and pick a photo: JPG, PNG, WEBP or AVIF, up to 15 MB. 3. You land on the pose's page, which shows **Preparing** while the mannequin is made. 4. Give it a name: click the title (new poses are called "Pose") and type a new one. ### From your moodboard You can also make poses from the images you already collect on a campaign's moodboard: 1. On the moodboard, each image has a **Used for** row of labels (Model, Location, Pose and so on). Click **Pose** on the images whose pose you want. That only tags them; nothing is made or charged yet. 2. On the campaign's **Plan** tab, the **Ready to plan?** box lists your tagged images. Click **Plan with the agent**. The agent goes through your Pose images: if a pose in your library clearly has the same body position, it uses that one; otherwise it proposes a new pose, together with any castings and sets it wants to make, and asks you to confirm once. 3. The agent assigns the poses to looks while it plans: each look gets at most one pose, the one whose image suits that look. It doesn't wait for the poses to finish preparing; the looks show the pose as Preparing until it is ready. You can change any look's pose on the plan board afterwards (see below). Before it makes anything, the agent names each pose it wants to create, so you see what you confirm. Each new pose costs 4 cents; reusing one from your library costs nothing. To make one pose without the agent, click **Create pose** next to that image in the **Ready to plan?** box. The moodboard's **Poses** card shows each Pose image and whether its pose is preparing, ready or failed. --- ## Check the Mannequin Open the pose: its page shows the **reference photo** and the **wireframe** side by side. Compare them before you use the pose: - Is the body position the same: weight, lean, arms, legs, head turn? - Is anything missing or added: a limb, an object the mannequin seems to hold? Renders follow the mannequin, so what it lost (a lean, the height of the camera) the shot loses too. A pose can't be edited or redone once it is ready, so looks that use it keep rendering the same way. If the mannequin is wrong, **archive** the pose and make a new one, if possible from a clearer photo. --- ## Using a Pose on a Look 1. Open the look and find the **Pose** card. 2. Click **Select**, pick a pose from your library and click **Select** again. Use **Clear** to remove it. 3. In the look's **Instructions**, remove the sentences that describe a body position or camera angle ("standing with arms crossed", "shot from below"). Keep everything else. Conflicting text works against the pose. On the campaign's plan board, the **Pose** chip in each look's header shows and changes the look's pose, until the look is generated. The board is also the quickest way to see which looks use which pose. A pose needs a **fashion model** on the look. A pose that is still preparing can be picked straight away; generating waits until it is ready. A look can have a pose and a **Look Reference** at the same time. The Look Reference then sets only mood, lighting and colour; the pose sets the body position and framing. You can also ask the agent to put a pose on looks. It tells you which pose goes on which looks and asks you to confirm first. **Changing a pose later:** pick another pose (or clear it) on the look's Pose card and generate again. Images already generated don't change. --- ## Archiving and Deleting - **Archive** when you don't want a pose offered any more. It disappears from the library for new looks, but looks that already use it keep rendering with it. Restore it any time from the **Archived** tab. This is the usual choice. - **Delete** only when the pose must be gone, for example because you may not use the photo. It removes the pose and its reference photo for good, and looks and moodboard images that used it lose their pose (images already generated stay as they are). You can only delete an archived pose. --- ## If Preparing Fails The pose shows **Failed** with the reason. Click **Retry** to convert the same photo again. A failed attempt is not charged; only a successful one is. If it fails again, try a clearer photo with **New pose**. --- ## Cost and Roles - **Making a pose costs 4 cents**, charged once, only when it succeeds. Using a pose doesn't change what a render costs; renders are charged as usual, also when you generate again with a different pose. Roles, from fewest to most rights: Viewer, Member, Creator, Approver, Admin, Owner. - **Member** and above can put poses on looks, and archive or restore them. - **Creator** and above can also make poses (including **Create pose** on the Plan tab), retry them and rename them. - **Approver** and above can also delete poses. See [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/) for what each role can do. --- ## Q&A **Does the pose also set the camera angle?** Not reliably. The model aims for the camera height in the mannequin, but a view from straight above or below often doesn't carry over. If the angle matters, check the first render. **Does the pose adapt to my fashion model's body?** Yes. The look keeps its fashion model; the pose only sets the position. A model with very different proportions from the person in the photo may hold the pose slightly differently. **The photo shows only part of the body. What happens?** The mannequin shows the same part. For a full-body look, use a full-body photo; otherwise the model fills in the rest freely. **The photo has several people. Which one is used?** Use photos with one person. Poses are made for one model; a photo with several people may produce an unexpected mannequin. **Can I mirror a pose?** Not in Brandmachine. Flip the photo before you upload it and make a new pose. **Will the model hold my product, for example a bag?** The mannequin has empty hands, so the pose itself never adds an object. How your products are worn or carried comes from the look's products and instructions, as before. **What about long coats, wide skirts or dresses?** The pose sets the body position; the garments come from your products. Where a garment hides the legs, the leg position matters less and may not show. **My look has a different shape than the pose photo. Is that a problem?** The look renders at its own shape. If the shapes differ a lot (for example a wide photo of a lying pose on a portrait look), the figure may be placed or cropped differently than in the mannequin. **Can I use a photo of a seated pose?** You can, but it was not part of our testing. A chair or bench in the photo isn't part of the mannequin, so check the result. **The render doesn't match the pose. What do I check?** 1. Compare the photo and the mannequin on the pose's page; if the mannequin is off, make a new pose. 2. Remove body-position and camera text from the look's Instructions. 3. Check that the Look Reference (if any) doesn't show a very different pose. 4. Generate again: like any render, results vary. **Can I use poses in Product Studio?** Not yet. Poses work on campaign looks. **Can several looks use the same pose?** Yes, as many of your team's looks as you like. **Can other teams see my poses or photos?** No. Poses and their reference photos belong to your team. **Why does generating say "The pose is still being prepared"?** The pose isn't ready yet. Wait a minute and generate again. **Why does generating say "A pose needs a fashion model"?** Poses position a model, so the look needs one. Pick a fashion model for the look. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Product Videos Source: https://help.brandmachine.shop/product-shorts-getting-started/ Product Videos turns a product image into a short animated video you can add straight to your Shopify catalog. Pick a product or upload an image, choose an animation prompt (or write your own), generate, preview, then push the finished clip to your product as new Shopify media. --- ## 1. What You Need - **Input**: any single product image works, garments, accessories, furniture, electronics, and everything in between. There's no restriction on product type. - A note on licensing: make sure you're allowed to use the source image for further processing. --- ## 2. Workflow Steps 1. ### Choose Your Product Image - Click **Catalog** to pick an existing product using Shopify's product picker, or click **Upload** to add a new image instead. 2. ### Pick or Write a Prompt - Brandmachine suggests exactly 4 animation prompts tailored to your product. Click one to use it as is. - Want something different? Edit the prompt directly in the text field (placeholder: "Describe the video animation you want to create..."). There's no character limit, write as much detail as you need. 3. ### Generate Video - Click **Generate Video**. Generation takes a few minutes. If you regenerate later, this button reads **Generate New Version** instead. 4. ### Preview - Once rendering finishes, the video appears in the preview area so you can watch it before deciding to use it. 5. ### Upload to Product Catalog - Click **Upload to Product Catalog** to attach the video to the product in Shopify. The video is added as a new media item, your original product image is kept, not replaced. - A success banner confirms the upload. - If the upload fails (e.g. API permissions revoked), reach out to [support@brandmachine.shop](mailto:support@brandmachine.shop). --- ## 3. FAQs 1. **Can I upload any product image, or does it need a specific background?** - Any clear product image works, studio shots, lifestyle images, or flat lays. 2. **Which AI model is used for generation?** - We use best-in-class external video models and keep them updated, so you don't have to think about it. 3. **What if I don't like the suggested prompts?** - Edit the prompt directly in the text field before generating, or generate a version and try a different prompt afterward. 4. **How long does it take to generate a video?** - Typically a few minutes per video. 5. **Can I regenerate until I like the result?** - Yes, generating and regenerating both use credits, so this depends on your plan's quota. See [Billing & Credits](https://help.brandmachine.shop/billing-credits/). 6. **Will the video replace my original product image?** - No. The video is added as a new media item alongside your existing images on the Shopify product page. Your original image remains intact. 7. **Is the generated video optimized, so it won't negatively affect my store's performance?** - Yes. Shopify handles the upload and optimizes the video, which is also why it can take a few minutes for the video to be ready within Shopify after the upload itself completes. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Brand Memory Source: https://help.brandmachine.shop/brand-identity-getting-started/ Brand Memory lets you define a consistent brand persona that Brandmachine uses across AI-generated media and prompt suggestions. Once it's set up, you don't need to re-describe your brand every time you generate an image or video, Brandmachine references it automatically. In the sidebar, this lives under **Shared Resources → Brand Memory**. You may still see it called **"Brand Identity"** in a few places, most notably the tile label on the Settings page. How much it helps depends almost entirely on how it's written. For what to actually put in the box, see [Writing a Good Brand Identity](https://help.brandmachine.shop/brand-identity-writing-guide/). --- ## Creating Your Brand Memory 1. Go to **Settings**. If you haven't set one up yet, you'll see a **"Setup Brand Identity"** tile (once a profile exists, this becomes **"Edit Brand Identity"**). 2. Click it. A **"Discovering Brand"** popup appears, prompting for your brand or store name (Brandmachine tries to suggest one from your store name automatically). 3. Confirm with **"Yes, create Brand Identity"**. Brandmachine drafts a profile describing your brand's style and tone. 4. You'll land on the edit page, where the generated description appears under **"Core Values & Identity"**, a multiline text box. The generated draft is written from your store name alone, without ever having seen your products, so treat it as a starting point rather than a finished profile. ## Editing Your Brand Memory Come back to this page any time from **Settings** or from **Brand Memory** in the sidebar. There are three things to edit: - **The brand name**, using the pencil icon next to it. This is for your own reference. It's never printed into a generated image. - **Core Values & Identity**, the main description. This is the text that shapes generated media. Be specific about visual style, colour, casting, and setting rather than abstract about values. - **Fashion Model Casting Instructions**, rules that apply whenever Brandmachine casts a model for you: age range, grooming, makeup, hair, accessories. Optional. Leave it empty and a sensible default standard applies. A save bar appears as soon as you change something, with **Save** and **Discard**. There's currently no "Regenerate" button, if you want a different starting point, edit the text box directly. You can also ask the agent in chat to update your Brand Memory for you, in plain language. A store keeps one Brand Memory in practice, Brandmachine uses your most recently created profile. It isn't a hard limit enforced by the app, but you shouldn't rely on creating multiple profiles and switching between them. ## Where Brand Memory Is Used Brand Memory is read whenever Brandmachine has to make a creative decision you haven't made yourself. In practice that means: - **The agent's proposals in chat.** When you ask for a campaign and don't spell out the concept, the agent grounds what it suggests in your brand rather than in generic fashion photography. - **[Fashion Models](https://help.brandmachine.shop/fashion-models-getting-started/).** Casting a new model and refining an existing casting both draw on it for styling, hair, makeup, and mood. - **[Campaigns](https://help.brandmachine.shop/campaign-composer-getting-started/).** It shapes the mood, atmosphere, and styling direction of a campaign image, and the pose and expression notes when you refine one. - **[Set Locations](https://help.brandmachine.shop/set-locations-getting-started/).** When you refine a location, your brand steers the lighting, mood, and overall feel of the scene. - **[Shot Planner](https://help.brandmachine.shop/shot-planner/).** Used mainly to complete bare looks in your brand's spirit, for example pairing a lone skirt with your staple top. - **Product Spotlight.** The scene ideas suggested for a product are proposed on brand rather than at random. - **Reference images you upload.** When Brandmachine analyses an image you've provided, your brand gives it context for what to pay attention to. A few places deliberately don't use it. **[Product Studio](https://help.brandmachine.shop/product-studio-getting-started/)** perspectives are driven by your Product Studio settings and instructions instead, so catalogue styling rules belong there. **[Designer](https://help.brandmachine.shop/designer/)** and **[Patterns](https://help.brandmachine.shop/patterns/)** work from the inspiration and references you attach to each design. ## Good to Know - Generation reads your Brand Memory live, at the moment you generate something. Editing your Brand Memory does not retroactively update media you've already generated, only new generations pick up the change. - You don't need to re-enter brand details in each feature. Once Brand Memory is set, it's applied automatically wherever it's used. - If you write a prompt or copy manually, your input is respected, Brand Memory only shapes auto-generated suggestions. - Brand Memory sits below what you type in chat and below your saved Skills. It fills the gaps when nothing more specific applies, so it never fights a direct instruction. [Shot Planner](https://help.brandmachine.shop/shot-planner/) has the full priority order. - Your brand name and logo never appear inside a generated image. Scenes are kept free of brand marks and signage on purpose. ================================================================================ # Writing a Good Brand Identity Source: https://help.brandmachine.shop/brand-identity-writing-guide/ Your [Brand Memory](https://help.brandmachine.shop/brand-identity-getting-started/) is the text Brandmachine reads before it proposes a scene, casts a model, or completes a look. A vague one produces generic photography. A specific one produces photography that looks like yours. This page is about what to actually write in the two text boxes on the Brand Identity page. --- ## The one rule **Write things a photographer could act on.** Everything that reads your Brand Memory is building an image. It can act on a colour, a fabric, a backdrop, a kind of face, a quality of light. It cannot act on a value. Compare these two lines. Both describe the same brand: > We believe in authenticity, timeless quality, and craftsmanship that lasts. > Garments are shot with the weave visible and the retouching light, on models with unstyled hair and natural skin, against worn concrete and painted brick rather than seamless studio backdrops. The first one is true and says nothing an image can be built from. The second one produces a photograph. Write the second kind. You don't have to drop your values, but every value should be followed by what it looks like. "Sustainable" becomes "undyed and low-wash fabrics, visible mending, muted natural colours." "Premium" becomes "deep shadow, single-source light, no props competing with the garment." --- ## What to cover Aim for roughly 250 to 350 words in **Core Values & Identity**, organised under a few headings. Cover these four areas: **Who the brand is.** Two or three sentences on where it comes from and what it stands for. Keep it short. This is the part that grounds the rest, not the part that does the work. **The clothes.** Name your actual silhouettes and fabrics. "The boxy chore jacket, the wide-leg trouser, the ribbed tank." "Heavyweight organic cotton, washed linen, undyed merino." Named garments are what let Brandmachine style a complete look that looks like your catalogue instead of a generic one. **Casting and setting.** Who wears the clothes and where they're shot. Not demographics, but a picture: "women in their thirties with unstyled hair and minimal makeup, more artist than model." For setting: "coastal light, weathered timber, empty interiors with big windows." These lines carry the most weight in campaign and set-location work. **Colour and light.** Name colours, not moods. "Bone, oatmeal, deep navy, a rare rust accent" beats "a warm, earthy palette." Say how it's lit: overcast daylight, hard midday sun, a single warm lamp. Say how it's graded: cool and slightly desaturated, or warm with lifted blacks. --- ## Name your staple basics This is the single highest-value sentence in your Brand Memory, and most brands leave it out. When you shoot a skirt with no top, or trousers with no shirt, Brandmachine has to complete the outfit so the model isn't half-dressed. The complement it adds is always neutral and unbranded so your real product stays the hero. Left to itself it will pick something sensible. Told what you'd pick, it picks yours. So write the line: > Bare bottoms are completed with a plain white ribbed tank. Bare tops go with straight-leg indigo denim. Footwear is a low leather sneaker in bone, never a dress shoe. That one sentence changes what comes out of [Shot Planner](https://help.brandmachine.shop/shot-planner/) on every product you upload with a single photo. It's used as a fallback, so anything you say in chat or save as a Skill still overrides it. See the priority order in [Shot Planner](https://help.brandmachine.shop/shot-planner/). --- ## A worked example A short, complete Brand Memory for a made-up label: > **Nordlys** > > **The brand.** Nordlys makes everyday wardrobe pieces in Copenhagen, cut for wear rather than for the season. The clothes are meant to be kept for years, so nothing is trend-loud and nothing is disposable. > > **The clothes.** The core is the oversized poplin shirt, the pleated wide-leg trouser, the ribbed knit tank and the unstructured wool coat. Fabrics are washed linen, heavy poplin, undyed merino and organic cotton with visible texture. Fits are generous and hang away from the body. > > **Casting and setting.** Models read as real people rather than fashion mannequins: women and men from mid-twenties to mid-forties, unstyled or loosely tied hair, minimal makeup, hands and skin left natural. Locations are quiet and unpeopled: bare Nordic interiors with tall windows, pale wood floors, coastal dunes, concrete stairwells. No studio seamless, no props that compete with the garment. > > **Colour and light.** The palette is bone, oatmeal, stone grey, deep navy and black, with rust or moss as the only accents. Light is soft overcast daylight from one side, with long shadows rather than fill. Grading is cool and slightly desaturated, blacks left soft, skin kept warm. > > **Staple basics.** Complete a bare bottom with a plain bone ribbed tank. Complete a bare top with straight-leg indigo denim. Shoes are a low bone leather sneaker or a bare foot, never a heel. That's about 240 words and every line of it can be photographed. --- ## Fashion Model Casting Instructions The second box on the page is narrower. It applies whenever Brandmachine casts a model for you, and it's the right home for rules that should hold on every model regardless of the shoot. Good things to put there: age range, grooming and beard rules, makeup level, hair, jewellery and accessories, body types you want represented, anything you never want to see. Write it as short direct rules, and split by gender where the rules differ. > For all models: skin left natural with visible texture, no heavy smoothing. Hair loose or simply tied, no elaborate styling. Men: clean-shaven or short stubble, no full beards. No jewellery. Women: minimal makeup, no strong lip. Small studs only. Leave it empty and Brandmachine applies a sensible default grooming standard, so this box is optional. Fill it in if you have opinions about faces. --- ## Common mistakes **Marketing copy.** Your About page, your brand deck, and your tagline are written to persuade a customer. They tend to be all values and no surface. Rewrite them into what the camera sees before pasting them in. **Too long.** Past roughly 400 words the important lines start competing with each other. If you catch yourself writing a fourth paragraph about heritage, cut it and spend those words on colour and casting. **Contradictions.** "Minimal and clean" in one paragraph and "maximalist, layered, chaotic" in another leaves Brandmachine to pick one, and it may not pick the same one twice. Read the whole thing through and resolve the fights. **Naming the brand as a visual.** Your brand name is stored for your reference but it's deliberately kept out of generated scenes: no logos, signage, or labels are invented into a shot. Describing your logo or your packaging won't put them in an image. **Copying a reference brand.** Naming another label as shorthand ("like Toteme but cheaper") gives Brandmachine nothing to work with, since it can only use what's actually written down. Describe the look directly instead. --- ## Keeping it current Brand Memory is read live, at the moment you generate. Editing it changes everything you make from that point on and leaves what you already generated untouched. That makes it worth revisiting. If a season shifts your palette, or you keep correcting the same thing in chat, put the correction into your Brand Memory so you stop repeating it. A rule you've typed into chat three times belongs either here or in a Skill. You can also just ask the agent in chat to update your Brand Memory. Describe the change in plain language ("our palette moved to warmer neutrals this season") and it will revise the text for you. --- ## FAQs **How long should it be?** Roughly 250 to 350 words for Core Values & Identity. Long enough for four short sections, short enough that no line gets lost. **Can I include hex codes, fonts, or my logo?** You can write them, but they won't be used. Brand Memory drives photography, not graphic design, so colours are best given as names ("bone, deep navy, rust") rather than hex values, and generated images never contain your logo or brand name. **Does it override what I ask for in chat?** No, it's the opposite. What you type in chat wins, then your saved Skills, then Brand Memory, then Brandmachine's defaults. Brand Memory is what fills the gaps when nothing more specific applies. See [Shot Planner](https://help.brandmachine.shop/shot-planner/) for the full order. **Why doesn't my Product Studio shot follow my Brand Memory?** Product Studio perspectives are driven by their own settings and instructions rather than by Brand Memory, so styling rules for catalogue shots belong in your Product Studio settings. See [Product Studio](https://help.brandmachine.shop/product-studio-getting-started/). **Do I have to write it myself?** No. Brandmachine drafts one from your store name when you first set it up, and that draft is a reasonable starting point. It's written without ever having seen your product, though, so it will be generic until you replace the abstract lines with your real garments, colours, and casting. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # Downloading and Exporting Source: https://help.brandmachine.shop/downloading-and-exporting/ Images stay in Brandmachine until you download them. This page lists every way to get them out, explains the **Export** view for a whole product studio and for a whole campaign, and says which file format to choose. The first time you download an image, Brandmachine **releases** it. On pay-as-you-go, that first download counts as one export and is charged as a release (see [Billing & Credits](https://help.brandmachine.shop/billing-credits/)). Downloading an image that is already released does not count again. Every download goes through this release step, so downloading needs the **Approver** role or higher, also for images that are already released (see [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/)). No upscale runs when you download. Product Studio generates at full resolution up front, so a download releases the image you already have. --- ## Ways to Get Images Out | Where | What you get | | --- | --- | | **One image**, from the **"..." (more actions)** menu on an image tile in a product studio | That image, as JPEG or PNG | | **The Export view** of a product studio | One image per perspective, as JPEG or PNG, each saved as its own file | | **Campaign images and group shots**, from the **"..." (more actions)** menu on the image | That image, as JPEG or PNG | | **The Export view** of a campaign | One image per shot (single shots and group shots), or all favorites, as JPEG or PNG, each saved as its own file | | **Media Plans** | A zip file with a folder per language, holding JPEGs | | **The API** | Every released image as a JPEG, for a DAM, PIM or shop. See [Exporting Released Images](https://help.brandmachine.shop/api-exporting-images/) | ### One image On an image tile in a product studio, open the **"..." (more actions)** menu. Its **Download** section has two entries: - **JPEG**: "sRGB, AI-content tag". Teams with Content Credentials switched on also see "Content Credentials" here. - **PNG**: "The original, for retouching. Not for marketplace uploads". [Image: An image tile with its more-actions menu open. Under Edit: Edit with AI and Reject. Under Download: JPEG, described as sRGB, AI-content tag, Content Credentials, with a shield icon, and PNG, described as the original, for retouching, not for marketplace uploads.] The Download section of an image's menu. Choose JPEG for anything that goes to a shop or marketplace. A preview shows **Preview (not releasable)** instead. Previews can't be downloaded; generate a full render of the shot first. Campaign images and group shots offer the same JPEG and PNG choice in their **"..." (more actions)** menu. To download a whole campaign at once, use its Export view, described in [Exporting a Campaign](https://help.brandmachine.shop/downloading-and-exporting/#exporting-a-campaign). ### Media Plans Media Plans download as one zip file with a folder per ad language. The images inside are JPEGs with the AI label described in [AI Metadata on Downloads](https://help.brandmachine.shop/ai-metadata/). They never carry Content Credentials, even when your team has them switched on. --- ## The Export View The Export view is where you download a whole product studio at once: one image for each perspective. It replaces the old **Finalize Selection** page. Campaigns have an Export view of their own, which works the same way; see [Exporting a Campaign](https://help.brandmachine.shop/downloading-and-exporting/#exporting-a-campaign). To open it, click **Export** in the studio's header. In a [Shot Planner](https://help.brandmachine.shop/shot-planner/) shoot, each studio in the results has its own **Export** button. The page is titled **Export:** followed by the studio title. [Image: The Export view for a suede bomber. Under the title, the export sentence: Download the 4 visible picks as JPEG and make them the only favorites, with a Download 4 images button. Below it, four cards: Breuninger Studio Front, Back, Detail and Freisteller, each with arrows to pick an image.] The Export view: the download sentence at the top, one card per perspective below. ### Pick one image per perspective The page shows one card per perspective, for example Breuninger Studio Front, Back, Detail and Freisteller. - A perspective with favorites shows only its favorites. - A perspective without favorites shows all of its images. - Previews never appear here, because they can't be released. Use the arrows on a card to pick the image you want for that perspective. **Open** takes you to the studio, and the heart removes the image from your favorites. ### Download Above the cards, one sentence sets up the download. It reads like this: > Download **the N visible picks** as **JPEG** and make them the only favorites [Image: The export sentence: Download the 4 visible picks (or all 13 favorites) as JPEG (or PNG), a shield icon next to JPEG, and a switch for make them the only favorites, switched on. A Download 4 images button on the right.] JPEG selected. In the Export view, the shield means the files also carry Content Credentials. Each bold part is a choice: - **The N visible picks** downloads the image each card currently shows. Switch to **all N favorites** to download every favorite instead. - **JPEG** or **PNG** sets the format. See [JPEG or PNG](https://help.brandmachine.shop/downloading-and-exporting/#jpeg-or-png) below. Hover over the choice to see what each format carries: the PNG is "not for marketplace uploads". - **Make them the only favorites** is a switch, on by default, offered when you download your picks. Afterwards, the images you downloaded are the studio's only favorites, so the favorites always show what you delivered. Turn it off to keep your favorites as they are. Then click **Download N images**. On pay-as-you-go, the page tells you how many of these images have not been exported yet and how many exports they count as ("N not exported yet, count as N exports"). Each image is saved as its own file, not as a zip, wherever your browser saves downloads. ### File names Downloaded files are named by your team's download pattern, set in **Settings → Filename convention → Downloads**. The pattern uses placeholders such as `{perspectiveCode}_{article}`. Every placeholder except `{perspectiveCode}` is read from the names of the product photos you uploaded. `{perspectiveCode}` inserts the perspective's **Export code**, which you set on each perspective in **Settings → Product Studio** (see [Product Studio](https://help.brandmachine.shop/product-studio-getting-started/)). If two images would get the same name, the second one gets " (2)" added. A " (2)" in your downloads usually means the pattern doesn't tell those perspectives apart: add `{perspectiveCode}` to it, and set an export code on every perspective. A perspective without a code, or a photo whose name lacks a field the pattern needs, gets a generic file name instead. ### How the Export view relates to Workbench Downloading from the Export view is what exports an image, and a studio counts as finished on the [Workbench](https://help.brandmachine.shop/workbench/) once every perspective you generated has an exported image. --- ## Exporting a Campaign A campaign has its own Export view, where you download its shots at once: one image for each single shot and each group shot. It works like the studio's Export view above, with shots in place of perspectives. To open it, go to the campaign's **Shots** tab and click **Export**. The button is greyed out until at least one shot has a full render. The page is titled **Export:** followed by the campaign name. ### Pick one image per shot The page shows one card per shot: first the single shots, in the campaign's order, then the group shots. A single shot's card carries the shot's title, or the fashion model's name if the shot has no title. A group shot's card reads **Group shot** followed by the models in it, for example "Group shot (Amy, Atlas)". - A shot with favorites shows only its favorites. - A shot without favorites shows all of its images. - Previews and rejected images never appear here, because they can't be released. A shot with nothing else has no card. Use the arrows on a card to pick the image you want for that shot. **Open** takes you to the shot's page, and the heart removes the image from your favorites. Favorites are given on a shot's page. ### Download The download works as in the studio's Export view: the sentence above the cards reads "Download **the N visible picks** as **JPEG** and make them the only favorites". - **The N visible picks** downloads the image each card shows. Switch to **all N favorites** to download every favorite of every shot instead. - **JPEG** or **PNG** sets the format. See [JPEG or PNG](https://help.brandmachine.shop/downloading-and-exporting/#jpeg-or-png) below. - **Make them the only favorites** is the same switch, on by default, offered when you download your picks. Afterwards, the images you downloaded are each shot's only favorites. Turn it off to keep your favorites as they are. Click **Download N images**. Each image is saved as its own file, not as a zip. On pay-as-you-go, the page tells you how many of them have not been exported yet and how many exports they count as. ### File names Campaign downloads don't use your team's filename convention, which describes Product Studio photos. Each file is named after the campaign, the shot and a number: `__`, for example `Summer Linen_Astrid_01.jpg`. - The number counts the files of one shot: `01`, `02` and so on. With **the N visible picks** every shot has one file, so every number is `01`. - Characters that Windows doesn't allow in file names, such as `/` or `:`, become a hyphen. - If two shots have the same title, the second file gets " (2)" added. --- ## JPEG or PNG | | JPEG | PNG | | --- | --- | --- | | What it is | Made from the original at download time, at quality 90 | The original file, exactly as stored | | Colour profile | sRGB, embedded in the file | None | | AI label (IPTC) | Yes, always | No | | Content Credentials (C2PA) | Yes, when your team has them switched on | No | | Use it for | Shops, marketplaces such as Breuninger, and anything that must be marked as AI-generated | Retouching, or a designer who wants the untouched original | | Don't use it for | | Marketplace uploads | The tooltips in the app say the same thing: - **JPEG**: "sRGB, AI-content tag. For shops and marketplaces." With Content Credentials switched on, it adds "Content Credentials". - **PNG**: "The original, for retouching. No AI label and not signed, so not for marketplace uploads." When in doubt, download JPEG. Every marketplace upload should be a JPEG, because the PNG carries no AI label. [AI Metadata on Downloads](https://help.brandmachine.shop/ai-metadata/) explains the labels in detail. --- ## The Shield Icon If your team has Content Credentials switched on, a shield icon appears next to **JPEG** in the Export view. It means every JPEG you download carries a signed Content Credential (a C2PA manifest) in addition to the AI label. In an image's menu, the JPEG entry has a shield for every team. There, the words "Content Credentials" in the JPEG line tell you that your files carry them. No shield in the Export view means the JPEG carries the AI label only. Content Credentials are switched on per brand, for teams on the Enterprise tier. See [Content Credentials and C2PA Conformance](https://help.brandmachine.shop/content-credentials/). --- ## Checking a Downloaded File You can read the AI label back with the free ExifTool utility. [AI Metadata on Downloads](https://help.brandmachine.shop/ai-metadata/#how-to-verify-it-yourself) has the command and the expected output. --- ## FAQs **I delivered PNGs to a marketplace. Do I have to generate the images again?** No. Open the studio's (or campaign's) Export view, choose **JPEG**, and download the same images again. Images that are already released don't count again. **Why can't I download a preview?** Previews are drafts and can't be released. Generate a full render of the shot, then download that. **Where do my downloads go?** Wherever your browser saves downloads. The Export view saves one file per image. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # AI Metadata on Downloads Source: https://help.brandmachine.shop/ai-metadata/ Every **JPEG** you download from Brandmachine is labelled as **AI-generated** in its metadata. This applies to every team and is written into the file automatically, so images you hand to marketplaces, retailers or platforms that require AI disclosure carry the label from the moment you download them. You don't have to do anything beyond choosing JPEG. Teams on the Enterprise tier can also have **Content Credentials** (C2PA) switched on. Their JPEGs then carry a second, signed label in the same file, on top of the first one. --- ## The Two Labels | | AI label (IPTC) | Content Credentials (C2PA) | | --- | --- | --- | | Who gets it | Every team, on every JPEG download | Teams on the Enterprise tier that have it switched on, on every JPEG download | | What it is | A plain statement in the file's metadata: this image was made by AI | A signed record attached to the file, stating that the image was made by AI and who signed it | | Can it be changed without anyone noticing? | Yes. Anyone can edit or remove it with free tools | It can be removed, but changing the image or the record makes the signature check fail | | How to check it | ExifTool, see [below](https://help.brandmachine.shop/ai-metadata/#how-to-verify-it-yourself) | A Content Credentials validator | Content Credentials are added **on top of** the AI label, never instead of it. A JPEG from a team with Content Credentials switched on carries both. [Content Credentials and C2PA Conformance](https://help.brandmachine.shop/content-credentials/) explains the signed label in detail. --- ## Why This Matters A growing number of marketplaces and platforms require AI-generated product and campaign images to be labelled as such **in the file itself**, not just declared in a form. An image that arrives without that label can be rejected on upload. Brandmachine adds the label to every JPEG download, so your catalog pipeline keeps moving. --- ## The AI Label: What Gets Written We use the open **IPTC "Digital Source Type"** standard, the same vocabulary the press and stock-photo industry uses. The value marks the image as fully AI-generated: ``` http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia ``` It sits in the image's XMP metadata and is written **last**, after colour conversion, so it survives the export intact. The JPEG also carries an embedded **sRGB colour profile**, so colours stay correct in shops, print and design tools. The label has been on every JPEG download since July 2026. A JPEG you downloaded before then does not have it. Download the image again as JPEG to get a labelled file; an image that is already released doesn't count again. --- ## Content Credentials: What Gets Added When your team has Content Credentials switched on, each JPEG download also carries a signed **C2PA manifest**. Its "created" action records the same Digital Source Type, `trainedAlgorithmicMedia`, so both labels say the image is AI-generated. The signature lets a validator confirm that the record is intact and that the image has not been changed since it was signed. You can tell whether your team has it switched on: In the Export view, a shield icon next to **JPEG** shows that your team has Content Credentials switched on. In an image's menu, look for the words "Content Credentials" in the JPEG line instead: the shield there appears for every team. Content Credentials are switched on per brand, for teams on the Enterprise tier. --- ## Which Downloads Carry Which Label | Download | AI label (IPTC) | Content Credentials | | --- | --- | --- | | JPEG, from an image's menu or the Export view of a product studio | Yes | When switched on for your team | | JPEG, from a campaign image or group shot | Yes | When switched on for your team | | JPEG, through the API (`exportImageUrl`) | Yes | When switched on for your team | | Media Plans zip | Yes | No, never | | PNG, from any of the above | No | No | The **PNG** is the original file as stored, for retouching. It has no AI label, no colour profile and no signature, so don't use it for marketplace uploads. If you need a lossless copy for your own archive, keep the PNG separately and use the JPEG for any submission that requires AI disclosure. See [Downloading and Exporting](https://help.brandmachine.shop/downloading-and-exporting/) for where each download lives, and [Exporting Released Images](https://help.brandmachine.shop/api-exporting-images/) for the API. --- ## How to Verify It Yourself If a marketplace asks you to confirm the AI label, or you just want to check, read it back with the free [ExifTool](https://exiftool.org) utility: ``` exiftool -XMP-iptcExt:DigitalSourceType your-image.jpg ``` You should see: ``` Digital Source Type : http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia ``` That confirms the image is labelled as AI-generated. If the command prints nothing, the file is a PNG or a JPEG downloaded before July 2026: download it again as JPEG. To check Content Credentials, run the file through a Content Credentials validator. See [Content Credentials and C2PA Conformance](https://help.brandmachine.shop/content-credentials/#how-to-check-this-yourself). --- ## Good to Know - Both labels are statements about **how the image was made**. They do not change how the image looks. - Both are machine-readable, so a marketplace's automated intake can detect them without anyone reviewing the image by hand. - Editing or re-saving a file in other software can strip its metadata, including both labels. Upload the file as you downloaded it. ================================================================================ # Content Credentials and C2PA Conformance Source: https://help.brandmachine.shop/content-credentials/ Brandmachine signs images with **Content Credentials**, the provenance standard defined by C2PA. Content Credentials are switched on per brand, for teams on the Enterprise tier. When they are on, every JPEG your team downloads carries a signed Content Credential in addition to the AI label that every JPEG carries. Brandmachine has also been assessed as conformant by the C2PA Conformance Program and is on the public list of conforming products. This page explains how Content Credentials differ from the AI label, which files carry them, what the certification covers, and how you can check each claim yourself. --- ## The Short Version - **Every team, every JPEG:** an IPTC "AI-generated" label in the file's metadata. See [AI Metadata on Downloads](https://help.brandmachine.shop/ai-metadata/). - **Enterprise teams with Content Credentials switched on, every JPEG:** a signed Content Credential as well, on top of the IPTC label, never instead of it. - **PNG downloads:** neither. The PNG is the original file for retouching. --- ## Two Different Things These are easy to confuse, because both mark an image as AI-generated. | | AI label (IPTC) | Content Credentials | | --- | --- | --- | | What it is | A plain text label in the file's metadata: "this was made by AI" | A signed record attached to the file: how it was made and by whom | | Who gets it | Every team, on JPEG downloads | Enterprise teams that have it switched on, on JPEG downloads | | Can someone edit or remove it? | Yes, with free tools, and without leaving a trace | Removing it is possible, but changing the image or the record while keeping the credential makes the signature fail | | Can you prove who made it? | No. Anyone can write the same label into any file | Yes. The signature is tied to a certificate that identifies the signer | | Checked against | Nothing. A reader just reads the label | A public list of certificate authorities that C2PA trusts | The AI label is a note on the image. A Content Credential is a note with a signature on it, so a reader can tell whether the note is original and whether the image was altered afterwards. Neither replaces the other. A JPEG with Content Credentials still carries the IPTC label, so a marketplace that reads the IPTC label finds it either way. --- ## What C2PA and Content Credentials Are **C2PA** (the Coalition for Content Provenance and Authenticity) is the standards organisation behind the technical specification. It also runs the conformance programme that Brandmachine took part in. **Content Credentials** is the name of the system built on that specification, and also the name of the provenance data inside a file. A file with Content Credentials carries a signed manifest. The manifest can state that the image was produced by an AI system, which tool produced it, and what was done to it afterwards. The signature makes the manifest tamper-evident: if the image or the manifest is changed, a validator reports it. --- ## What Your Files Carry When your team has Content Credentials switched on: - Every **JPEG** download carries a signed C2PA manifest. Its "created" action records the image as AI-generated (`trainedAlgorithmicMedia`), the same value as the IPTC label. - This covers JPEGs from an image's menu, from the Export view of a product studio, from campaign images and group shots, and from the API (`exportImageUrl`, see [Exporting Released Images](https://help.brandmachine.shop/api-exporting-images/)). - **PNG** downloads are the original files and are not signed. - **Media Plans** zip downloads carry the IPTC label but never Content Credentials. In the Export view, a shield icon next to **JPEG** shows that your team has Content Credentials switched on. In an image's menu, look for the words "Content Credentials" in the JPEG line instead: the shield there appears for every team. See [Downloading and Exporting](https://help.brandmachine.shop/downloading-and-exporting/). If your team is not on the Enterprise tier, your JPEGs carry the IPTC label only. To have Content Credentials switched on, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). --- ## What Our Conformance Means On **21 October 2026**, Brandmachine was deemed conformant by the C2PA Conformance Program, at **Max Assurance Level 1**. We were assessed under Conformance Program version 0.2, against version 2.4 of the Content Credentials specification. This was not a self-declaration. Two separate parties were involved: - An independent assessor reviewed our signing architecture: how the signing keys are kept, who can access them, how vulnerabilities are handled, and how certificates are rotated. - A separate approver checked sample files that we had actually signed, against a machine-readable rubric. Our record has been on the public **C2PA Conforming Products List** since **27 October 2026**. It lists Brandmachine GmbH as the applicant, the product as "Brandmachine", the status as "conformant", and the file formats JPEG, PNG, WebP and AVIF. The certification is about how we sign, not about any single image. Which of your downloads are signed is described in [What Your Files Carry](https://help.brandmachine.shop/content-credentials/#what-your-files-carry). --- ## Limits Worth Planning Around - **Credentials can be lost.** Any step that re-encodes or re-saves a file, such as an image editor, a resizing service or a platform's upload pipeline, can remove metadata, including a Content Credential. A file without a credential is not proof that the image is fake or edited. It only means the credential is not there. - **Your own edits.** If you change a signed image in other software, the original credential no longer describes the file you have. Keep the file as downloaded for any submission that needs the credential. - **Earlier downloads.** A JPEG you downloaded before Content Credentials were switched on for your team is not signed. Download the image again as JPEG to get a signed file; an image that is already released doesn't count again. --- ## EU AI Act and Marketplace Rules Marketplaces and retailers increasingly ask for AI-generated images to be marked in the file itself, and the EU AI Act contains transparency obligations about marking AI-generated content in a machine-readable way. Which marking satisfies a particular rule depends on the rule and on who is asking, and we cannot give legal advice on that. What we can say is what each feature does. The IPTC label is a machine-readable statement that an image is AI-generated, on every JPEG for every team. Content Credentials add a signature that can be verified, on every JPEG for Enterprise teams that have them switched on. If a marketplace or your legal team requires Content Credentials specifically, contact us to have them switched on for your brand. --- ## How to Check This Yourself **Check that we are certified.** The C2PA Conforming Products List is public. Open the [Conformance Explorer](https://spec.c2pa.org/conformance-explorer/) and search for Brandmachine. You can also read the underlying JSON files in the [conforming-products folder](https://github.com/c2pa-org/conformance-public/tree/main/conforming-products) of the c2pa-org/conformance-public repository. Our record id is `01a10713-a9b1-78ff-b56f-20726ebe6285`, the applicant is "Brandmachine GmbH", and the status is "conformant". **Check that a file has the AI label.** Use ExifTool, as described in [AI Metadata on Downloads](https://help.brandmachine.shop/ai-metadata/#how-to-verify-it-yourself). **Check that a file has Content Credentials.** Run the file through a Content Credentials validator. A JPEG downloaded by a team with Content Credentials switched on shows a valid credential that records the image as AI-generated. A PNG, a Media Plans image, or a JPEG from a team without Content Credentials shows none, which is expected. --- ## Good to Know - Conformance is assessed against a specific version of the programme. The record on the public list shows the current status. - The names matter. "C2PA" refers to the organisation and its programme. "Content Credentials" refers to the provenance data in a file. ================================================================================ # Photo Editor Source: https://help.brandmachine.shop/photo-editor/ The Photo Editor is Brandmachine's in-browser tool for fine-tuning generated images. It opens from any image card's **"..." (More actions)** menu. Three modes cover most retouching needs: color correction, spot correction, and lasso-driven generative edits. > **Note:** "Edit with AI" is a gated feature and may not be available in every workspace yet. If you don't see it in the "..." menu, contact [support@brandmachine.shop](mailto:support@brandmachine.shop) to ask about access. --- ## Opening the Editor From any image's card in **All Images**, **Favorites**, or **Rejected**, click the **"..." (More actions)** icon in the corner of the card, then choose **Edit with AI**. The editor opens in a full-screen modal titled "AI Image Editor". The three modes are selectable as toggle buttons at the top of the sidebar: 1. **Color Correction** 2. **Spot Correction** 3. **Image Edit** --- ## Color Correction Useful for region-specific color and exposure tweaks. 1. Type what you want to segment (e.g. "background", "jacket", "skin"). 2. Click **Segment.** Brandmachine generates a mask for that region. 3. Adjust:- **Exposure**. ±2.0 EV - **Hue Shift**. ±180° - **Saturation**. 0 to 2.0x 4. Fine-tune the mask:- **Grow / Shrink**. ±20 px to expand or contract the selection - **Blur**. 0 to 25 px to feather the edge 5. Click **Save & Start New Adjustment** to lock in this layer and start another region. Layers are stackable, each toggleable on/off, each deletable. --- ## Spot Correction For fixing blemishes, damage, or inconsistencies using a clean reference crop. 1. Upload a **reference image**: a clean crop showing what the area should look like. You'll need to crop this yourself before uploading. 2. Use the **brush tool** to paint over the area you want to fix. 3. Click **Apply Fix.** Brandmachine returns one or more variants. 4. The editor enters **blend refinement** (see below). 5. Browse variants with arrow controls and **Apply** the one you want, or **Discard** to start over. --- ## Image Edit (Lasso) For generative edits: replace, modify, or augment regions using a prompt. 1. Use the **lasso tool** to outline the area to change (freehand outline, not a brush). 2. Write a prompt describing the edit, e.g. "Replace jacket with leather, keep pose and lighting". 3. (Optional) Click the **+** icon to attach reference images that guide the AI. 4. Click **Generate.** Brandmachine returns one or more variants at the image's native resolution. 5. The editor enters **blend refinement**. 6. Browse variants and **Apply**, or **Discard**. --- ## Blend Refinement After Spot Correction or Image Edit returns variants, the editor opens the blend controls so you can seat the AI patch cleanly into the original image: - **Grow / Shrink**. ±20 px. Spreads or contracts the patch into the surrounding image. - **Feather**. 10 to 150 px. Softens the transition edge. - **Edge Sharpness**. 1 to 20. How abruptly the falloff happens. - **Rotation**. ±200°. Rotate the patch if the content sits at an angle. - **Offset X / Y**. ±256 px. Nudge the patch position. - **Hue**. ±180°. Color-correct just the patch. - **Brightness**. ±2.0 EV. Match exposure to the surrounding image. Internally, the editor erodes and feathers the boundary inward before compositing, which prevents the dark halos you'd otherwise see where an AI patch meets original pixels. --- ## Viewing and Comparing Outside the editor, the card-level controls give you a viewer and, where applicable, a comparison view: - **Viewer.** Click a card's thumbnail to open it in a full-screen viewer. There's no dedicated zoom control, just a toggle between **full-width** (scrollable) and **fit-to-viewport** display. (Pinch-to-zoom works on the canvas inside the AI Image Editor itself, but the card-level viewer doesn't have a separate zoom icon.) - **Compare modal.** Columns icon, only shown when the image has input images attached (for example product references). Split-screen view: inputs on the left, generated image on the right. Useful for color or pose checks. If an image has no inputs, this option isn't available. --- ## FAQs **Will edits cost credits?** Yes. See [Billing & Credits](https://help.brandmachine.shop/billing-credits/) for the price list. Color correction layers are cheaper than generative edits. **Can I edit a Group Shot or Product Studio output?** Yes. The Photo Editor works on any generated image's card. **Where do edits get saved?** Applied edits replace the active image. The original is kept under the hood; if you want it back, contact support. For further help, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ================================================================================ # API Reference Source: https://help.brandmachine.shop/api-reference/ The Brandmachine GraphQL API gives you programmatic access to the same data you work with in the app: Product Studio sessions, campaigns and campaign images, group shots, batches, fashion models, shooting locations, wardrobe items, the Designer (collections, designs, revisions, size charts), the Media Planner, brand assets, and billing. File uploads go through a set of REST endpoints next to the GraphQL endpoint. ## Getting Started New to the API? Start here: 1. **[Authentication](https://help.brandmachine.shop/api-authentication/)**: generate an API token and authenticate requests 2. **[Getting Started Guide](https://help.brandmachine.shop/api-getting-started/)**: make your first API call 3. **[Exporting Released Images](https://help.brandmachine.shop/api-exporting-images/)**: pick up released images automatically, for a DAM, PIM or shop 4. **[Queries](https://help.brandmachine.shop/api-queries/)**: explore the read operations 5. **[Mutations](https://help.brandmachine.shop/api-mutations/)**: create, change and delete data ## API Endpoint All GraphQL requests go to: ``` https://production.api.brandmachine.shop/graphql ``` File uploads use REST endpoints on the same host (for example `https://production.api.brandmachine.shop/api/product-studios/:studioId/inputs/upload`). See [File Uploads](https://help.brandmachine.shop/api-file-uploads/) for the full list. ## GraphQL Resources ### Core Operations - **[Queries](https://help.brandmachine.shop/api-queries/)**: read data - **[Mutations](https://help.brandmachine.shop/api-mutations/)**: write data ### Type Definitions - **[Types](https://help.brandmachine.shop/api-types/)**: object types and their fields - **[Input Types](https://help.brandmachine.shop/api-input-types/)**: input objects that operations take as arguments - **[Enums](https://help.brandmachine.shop/api-enums/)**: enumeration types - **[Scalars](https://help.brandmachine.shop/api-scalars/)**: custom scalars (`Date`, `UUID`) These pages are generated from the schema. Every type name in a signature links to its definition. ## Additional Resources - **[File Uploads](https://help.brandmachine.shop/api-file-uploads/)**: REST endpoints for product images, batch images and looks sheets, wardrobe images, brand assets, fashion model uploads, Designer resources, patterns, size chart imports, and edited images ## What a Token May Do Every API token has a role, from Viewer up to Approver, and can do what that role allows: read with any role, start paid generations from Creator, release results and delete work from Approver. Topping up credits is for account Owners in the app, so no token can do it. [Authentication](https://help.brandmachine.shop/api-authentication/#roles) has the details and the error a token gets when its role is too low. ## Error Handling ### GraphQL errors Errors raised while an operation runs come back with HTTP status `200` and an `errors` array. The HTTP status of the underlying failure is part of the message, in the form `Abort.: `: ``` { "errors": [ { "message": "Abort.404: Batch not found", "locations": [{ "line": 1, "column": 3 }], "path": ["batch"] } ] } ``` Apart from permission errors (below), the API does not set `extensions.code` on errors, so read the status from the start of the message. Common cases: - `Abort.400`: invalid input, for example a value outside the allowed range or a combination of arguments the operation does not accept - `Abort.402: Top up credits to continue.`: the operation would start a paid generation and your team's credit balance is too low (see [Billing & Credits](https://help.brandmachine.shop/billing-credits/)) - `Abort.403`: the operation is not allowed for this caller. When the token's role is too low, the message is `You do not have permission to do this.` and `extensions.code` is `FORBIDDEN` (see [Authentication](https://help.brandmachine.shop/api-authentication/#roles)) - `Abort.404`: the requested record was not found for your team A request that fails GraphQL validation (an unknown field, a wrong argument type) also returns HTTP status `200` and an `errors` array. Its message is the validation message, without the `Abort` prefix. ### Authentication errors Authentication is checked before the GraphQL request runs. A missing, invalid or revoked token returns HTTP status `401` with a plain JSON body instead of a GraphQL response: ``` { "error": true, "reason": "Invalid API token" } ``` [Authentication](https://help.brandmachine.shop/api-authentication/#troubleshooting) lists the possible reasons. ## Billing-Related Queries Brandmachine runs on pay-as-you-go credits. These queries are useful for billing integrations, and all of them work with an API token: - `currentTeam`: your team's identity and whether it is billed pay-as-you-go (`isPAYG`) - `creditBalance`: current balance in cents - `creditBalanceDigest`: a timestamp that changes whenever the balance changes; poll it and refetch `creditBalance` when it moves - `billingLedger`: paginated transaction history, newest first - `billingCostSummary`: aggregated costs over a date range - `pricelist`: the current price list, with a `label` and `tier` for each charge Topping up credits (`createTopUpCheckoutSession`, `createShopifyTopUpCharge`, `createTopUpIntent`) and opening the billing portal (`createBillingPortalSession`) need the Owner role, which no API token can have. Top up in the app instead. ## Support Need help with the API? Email [support@brandmachine.shop](mailto:support@brandmachine.shop) with the request you sent and the response you got back. ================================================================================ # Getting Started Source: https://help.brandmachine.shop/api-getting-started/ This guide walks you through your first call to the Brandmachine GraphQL API. ## Prerequisites Before you begin, you need: 1. A Brandmachine account 2. An API token (see [Authentication](https://help.brandmachine.shop/api-authentication/)) 3. A tool to make HTTP requests (cURL, Postman, or code) The examples below use `YOUR_API_TOKEN` as a placeholder. Replace it with your token. ## Your First Query Start by asking which team your token belongs to. ### Using cURL ``` curl -X POST https://production.api.brandmachine.shop/graphql \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "query": "query { currentTeam { id teamDomain isPAYG } }" }' ``` ### Using JavaScript ``` async function whoAmI() { const response = await fetch('https://production.api.brandmachine.shop/graphql', { method: 'POST', headers: { Authorization: 'Bearer YOUR_API_TOKEN', 'Content-Type': 'application/json', }, body: JSON.stringify({ query: ` query { currentTeam { id teamDomain isPAYG } } `, }), }); const result = await response.json(); if (result.errors) { console.error('GraphQL Errors:', result.errors); return; } console.log('Team:', result.data.currentTeam.teamDomain); } whoAmI(); ``` ### Expected Response ``` { "data": { "currentTeam": { "id": "881CB316-F30B-48D6-A928-59CD44421CD8", "teamDomain": "your-team", "isPAYG": true } } } ``` If you get HTTP status `401` instead, the token is missing or not accepted. See [Troubleshooting](https://help.brandmachine.shop/api-authentication/#troubleshooting). ## Useful Read Queries Once authentication works, a few common starting points (see [Queries](https://help.brandmachine.shop/api-queries/) for the full list with arguments and return types): ``` # List all your library fashion models query { fashionModels { id name gender } } # List your campaign images query { campaignImages(limit: 10, offset: 0) { id title status } } # List your Product Studio sessions, most recent first query { getAllProductStudios { id title } } # Get the current credit balance and team info query { currentTeam { id teamDomain isPAYG } creditBalance { balanceCents currency } } # Fetch the pay-as-you-go price list query { pricelist { label tier outputUnit chargeCents currency } } ``` Each price list entry carries its own `label` (the name to show) and `tier`: `generation` is charged per attempt while creating, `release` is charged once when an asset is exported. `outputUnit` says what `chargeCents` buys one of: an `image`, a `video`, or a `second` of video. Use these fields rather than deriving anything from `usageType`. ## Understanding GraphQL Queries GraphQL lets you request exactly the fields you need: ``` query { fashionModels { id name gender revisions { id fullPortraitKey } } } ``` **Key concepts:** - **Operation type:** `query` (read) or `mutation` (write). - **Fields:** you choose which fields to return. - **Nested fields:** request related data like `revisions` within `fashionModels`. ## Mutations Mutations create, change, or delete data. For example, to mark a campaign image result as a favorite: ``` mutation { toggleCampaignImageResultFavorite(id: "6c2a...your-uuid") { id favorite } } ``` See [Mutations](https://help.brandmachine.shop/api-mutations/) for the full list. What a mutation may do depends on your token's role: starting generations needs Creator, releasing and deleting needs Approver. See [Roles and Tokens](https://help.brandmachine.shop/api-authentication/#roles). ## Using Variables For dynamic queries, use GraphQL variables instead of building the query string yourself: ``` const query = ` query GetCampaignImage($id: UUID!) { campaignImage(id: $id) { id title status } } `; const variables = { id: '6c2a...your-uuid' }; const response = await fetch('https://production.api.brandmachine.shop/graphql', { method: 'POST', headers: { Authorization: 'Bearer YOUR_API_TOKEN', 'Content-Type': 'application/json', }, body: JSON.stringify({ query, variables }), }); ``` ## Error Handling Check the HTTP status first, then `result.errors` before using `result.data`: ``` if (response.status === 401) { const body = await response.json(); throw new Error(`Not authenticated: ${body.reason}`); } const result = await response.json(); if (result.errors) { result.errors.forEach((error) => { // Messages look like "Abort.404: Batch not found". console.error(`- ${error.message}`); }); return; } const data = result.data; ``` A message starting with `Abort.402` means the team's credit balance is too low for a paid generation. Top up in the app before retrying. See [Error Handling](https://help.brandmachine.shop/api-reference/#error-handling) for the other cases. ## Best Practices ### Request Only What You Need GraphQL returns exactly the fields you ask for. Keep payloads small by selecting only the fields you use. ### Use Fragments ``` fragment ModelBasics on FashionModel { id name gender } query { fashionModels { ...ModelBasics } } ``` ### Retry on Transient Errors Retry network failures and HTTP `5xx` responses with a delay. Do not retry `401` responses or `Abort.4xx` errors unchanged: they fail the same way again. ``` async function fetchWithRetry(query, variables, maxRetries = 3) { for (let i = 0; i < maxRetries; i++) { try { const response = await fetch('https://production.api.brandmachine.shop/graphql', { method: 'POST', headers: { Authorization: 'Bearer YOUR_API_TOKEN', 'Content-Type': 'application/json', }, body: JSON.stringify({ query, variables }), }); if (response.status >= 500) throw new Error(`Server error ${response.status}`); return await response.json(); } catch (error) { if (i === maxRetries - 1) throw error; await new Promise((r) => setTimeout(r, 1000 * (i + 1))); } } } ``` ## Next Steps 1. **[Explore Queries](https://help.brandmachine.shop/api-queries/)**: full reference of read operations 2. **[Learn Mutations](https://help.brandmachine.shop/api-mutations/)**: write operations 3. **[Review Types](https://help.brandmachine.shop/api-types/)**: object types in the schema 4. **[Upload Files](https://help.brandmachine.shop/api-file-uploads/)**: REST upload endpoints ## Need Help? Contact [support@brandmachine.shop](mailto:support@brandmachine.shop) with the request payload and the response you got back if something doesn't work. ================================================================================ # Authentication Source: https://help.brandmachine.shop/api-authentication/ Every request to the Brandmachine API, GraphQL and file uploads alike, needs a bearer token. For programmatic (machine-to-machine) access, create an **API token** in the Brandmachine app. ## Authentication Methods Brandmachine accepts: 1. **API tokens**: the method for server-to-server and script integrations. This page covers them. 2. **Auth0 session tokens**: used by the Brandmachine web app for signed-in users. 3. **Shopify session tokens**: used by the Brandmachine app inside Shopify Admin. The session tokens are handled by the apps themselves and are not meant for direct use. ## About API Tokens - An API token is a signed JSON Web Token (JWT). It is a long string that starts with `eyJ`. There is no fixed prefix to check for. - An account can have **several** tokens. Give each integration its own, with a name that says what it is for. - Each token has a **role**, just like a person on your account, and can do exactly what that role allows. The highest role a token can have is **Approver**, so a token can never manage members or tokens, or top up credits. See [Roles and Tokens](https://help.brandmachine.shop/api-authentication/#roles) below. - Tokens do not expire. A token stays valid until you revoke it. - The full token is shown only once, when it is created. Brandmachine stores only a fingerprint of it, so it cannot show it to you again. ## Creating a Token You need the **Admin** or **Owner** role to manage tokens. See [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/). 1. Sign in to Brandmachine. 2. Open **Settings**, find the **API Access** tile and click **Manage API tokens**. 3. Under **Create a token**, enter a **Name** (for example "PIM sync") and choose a **Role**. Pick the lowest role the integration needs. Roles go up to Approver, and never above your own role. 4. Click **Create token**. 5. Click **Copy**, store the token somewhere safe, such as your secrets manager, then click **I have saved it**. The **Tokens** list shows each token's name, role, the last characters of the token, when it was created and by whom, and when it was last used. ## Making Authenticated Requests Send the token in the `Authorization` header of every request: ``` Authorization: Bearer YOUR_API_TOKEN ``` ### Using cURL ``` curl -X POST https://production.api.brandmachine.shop/graphql \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "query": "{ currentTeam { teamDomain } }" }' ``` ### Using JavaScript (fetch) ``` const response = await fetch('https://production.api.brandmachine.shop/graphql', { method: 'POST', headers: { Authorization: `Bearer ${process.env.BRANDMACHINE_API_TOKEN}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ query: ` query { currentTeam { teamDomain } } `, }), }); const data = await response.json(); ``` ### Using Python (requests) ``` import os import requests url = 'https://production.api.brandmachine.shop/graphql' headers = { 'Authorization': f"Bearer {os.environ['BRANDMACHINE_API_TOKEN']}", 'Content-Type': 'application/json', } query = ''' query { currentTeam { teamDomain } } ''' response = requests.post(url, json={'query': query}, headers=headers) data = response.json() ``` The same header works for the [File Uploads](https://help.brandmachine.shop/api-file-uploads/) endpoints. ## Roles and Tokens A token can do what its role allows, the same as a person with that role in the app: | Token role | What it can do | | --- | --- | | **Viewer** | Read everything, change nothing. | | **Member** | Also upload, edit and organise work. | | **Creator** | Also start generations, which spend credits, and change the shared library (fashion models, set locations, patterns, wardrobe, perspectives). | | **Approver** | Also release results for export and delete content. | The main operations by the role they need. The [Mutations](https://help.brandmachine.shop/api-mutations/) reference marks every operation that needs more than Member: | Area | Operations | Lowest role | | --- | --- | --- | | Starting generations | `startProductStudioFlow`, `generateCampaignImages`, `generateGroupShot`, `generateProductVideo`, `executeBatch`, `startWorkflowRun` | Creator | | Libraries | `addFashionModelToLibrary`, `createShootingLocation`, `duplicateProductStudioPerspective` | Creator | | Releasing results | `releaseProductStudioOutput`, `releaseCampaignImageResult`, `releaseGroupShotResult`, `releaseProductVideo`, `releaseDesignerRevision`, `releasePatternRevision` | Approver | | Deleting work | `deleteProductStudio`, `deleteCampaign`, `deleteCampaignImage`, `deleteGroupShot`, `deleteProductVideo`, `deleteBatch`, `deleteFashionModel`, `deleteDesignerInstance`, `deletePattern`, `deleteWardrobeItem`, `deleteShootingLocation` | Approver | | Team and tokens | `auditEntries`, `inviteTeamMember`, `updateTeamMemberRole`, `removeTeamMember`, `createApiToken`, `revokeApiToken` | Admin, so no token | | Billing | `createTopUpCheckoutSession`, `createShopifyTopUpCharge`, `createTopUpIntent`, `createBillingPortalSession` | Owner, so no token | An operation the token's role doesn't allow fails for that field only, with the message `You do not have permission to do this.` and `extensions.code` set to `FORBIDDEN`. `extensions.capability` names what was missing, for example `START_GENERATION`: ``` { "errors": [ { "message": "You do not have permission to do this.", "path": ["startProductStudioFlow"], "extensions": { "code": "FORBIDDEN", "capability": "START_GENERATION" } } ] } ``` To fix it, create a token with a higher role, up to Approver. ## Token Management ### Replacing a Token There is no regenerate button. To replace a token, for example on a schedule or after someone who knew it leaves, create a new one first, update the application to use it, check that it works, then revoke the old one. Because an account can have several tokens, the integration keeps working throughout. ### Revoking a Token If a token is compromised or no longer needed, click **Revoke** next to it in the **Tokens** list and confirm. Anything using it stops working on its next request. This can't be undone. When a person is removed from the account, the tokens they created are revoked too. Create replacements for any integrations that still need them. ### Activity Actions made with a token appear in **Settings → Activity** as `API token "name"`, so you can see what each integration did. See [Team Members & Roles](https://help.brandmachine.shop/team-members-roles/#activity). ## Security Best Practices ### Never Commit Tokens to Version Control Store tokens in environment variables or a secrets manager: ``` # .env file (add to .gitignore) BRANDMACHINE_API_TOKEN=YOUR_API_TOKEN ``` ``` const token = process.env.BRANDMACHINE_API_TOKEN; ``` ### Keep the Token on the Server Every token, whatever its role, can read your account's work through the API. Use it from your own backend or scripts, never from code that runs in a browser or a mobile app. ### Give Each Integration the Lowest Role It Needs A token that only reads data, for example to export released images, needs no more than **Viewer**. Only give **Creator** or **Approver** to integrations that start generations or release results. ### Watch the Last Used Time The **Tokens** list shows when each token was last used. If it shows use you do not expect, revoke the token and create a new one. ## Troubleshooting Authentication fails before the request reaches GraphQL. The response has HTTP status `401` and a JSON body with a `reason`: ``` { "error": true, "reason": "API token revoked or not found" } ``` | Reason | Cause | Solution | | --- | --- | --- | | `Shopify Auth header missing` | No `Authorization: Bearer ...` header was sent. The reason names Shopify because that is the last method checked. | Send the header exactly as `Authorization: Bearer YOUR_API_TOKEN`, with one space after `Bearer`. | | `Invalid API token` | The token's signature does not verify, usually because it was copied incompletely or changed. | Copy the full token again, without extra whitespace or line breaks. | | `API token revoked or not found` | The token was revoked, or the person who created it was removed from the account. | Create a new token. | | `Unauthorized` | The value sent is not an API token at all (for example a truncated string or a token from another system). | Check that the header contains the token you copied when you created it. | If authentication succeeds but an operation returns `You do not have permission to do this.`, the token's role doesn't allow that operation. See [Roles and Tokens](https://help.brandmachine.shop/api-authentication/#roles). ## Next Steps - [Make your first API call](https://help.brandmachine.shop/api-getting-started/) - [Explore available queries](https://help.brandmachine.shop/api-queries/) - [Create and update data with mutations](https://help.brandmachine.shop/api-mutations/) ================================================================================ # Exporting Released Images Source: https://help.brandmachine.shop/api-exporting-images/ This guide shows how to pick up finished images from Brandmachine automatically, for example to move them into a DAM, a PIM or a shop. The idea is simple: your team reviews and releases images in the Brandmachine app, and your integration collects every released image on a schedule. You need an API token (see [Authentication](https://help.brandmachine.shop/api-authentication/)). Everything below is read-only, so the integration never starts paid work or changes anything in the app. ## How it works 1. Your team releases images in the app. Releasing is the approval step: only released images are exported. 2. Your integration calls the `releasedImages` query on a schedule, for example every 15 minutes. Each call returns the images released or changed since the previous call. 3. For each image, your integration downloads the file from `exportImageUrl` and stores it under the release `id`. ## The sync query ``` query Sync($after: String) { releasedImages(after: $after, first: 100) { cursor hasMore releases { id updatedAt exportImageUrl productStudioOutput { id exportFileName productStudio { id title } } campaignImageResult { id } groupShotResult { id } } } } ``` - `releases` lists the released images, oldest change first. Each one belongs to exactly one of `productStudioOutput`, `campaignImageResult` or `groupShotResult`; the other two are `null`. - `cursor` marks how far you have read. Store it, and pass it as `after` on your next call. - `hasMore` is `true` when more releases are waiting. Keep calling with the new `cursor` until it is `false`. - `first` is the page size, from 1 to 500. It defaults to 100. On the very first sync, leave out `after`. You then receive every image your team has released so far. ### How the cursor works The cursor is a bookmark into the list of releases, ordered by when each release last changed. Brandmachine stores nothing about your integration: the cursor itself says where you are. If you lose it, call without `after` and you receive everything again. Pass the cursor back exactly as you received it. A value that was not returned by `releasedImages` is rejected with `Invalid cursor`. ## Edited and re-released images A released image can still change. If someone edits it in the photo editor, or releases a newer version of the same output, the release appears in your next sync again, with the same `id` and a new `exportImageUrl`. Use the release `id` as your key and overwrite the file you stored before. Changes appear in the feed about **one minute** after they happen. This makes sure a release is fully saved before it is handed out, so a sync never skips one. Deleting a product studio or campaign in the app removes its releases. The feed does not report deletions. ## Downloading the file `exportImageUrl` is a plain HTTPS link. Download it with a `GET` request, no token needed. The file is: - a JPEG with an embedded **sRGB colour profile** - labelled as **AI-generated** in its metadata, using the IPTC Digital Source Type `trainedAlgorithmicMedia` (see [AI Metadata on Downloads](https://help.brandmachine.shop/ai-metadata/)) - signed with **Content Credentials** (a C2PA manifest), if your team has them switched on. The manifest is added on top of the IPTC label, not instead of it. See [Content Credentials and C2PA Conformance](https://help.brandmachine.shop/content-credentials/) It is the same file the JPEG download in the app gives you, so your integration needs no change when Content Credentials are switched on for your team. The downloaded file is named after its storage key. For product studio images, `exportFileName` gives the name your team's file naming pattern (**Settings → Filename convention → Downloads**) produces (without extension; add `.jpg`). It is `null` when your team has not set up a pattern, or when a studio mixes several products and there is no single correct name. Don't use `downloadableImageUrl`. It points to the stored original (the PNG download in the app), which has no colour profile, no AI label and no Content Credentials. ## Example: a complete sync ``` const API = 'https://production.api.brandmachine.shop/graphql'; const TOKEN = process.env.BRANDMACHINE_API_TOKEN; const QUERY = ` query Sync($after: String) { releasedImages(after: $after, first: 100) { cursor hasMore releases { id exportImageUrl productStudioOutput { exportFileName } } } } `; // `storedCursor` is what you saved after the previous run (null on the first). async function sync(storedCursor) { let cursor = storedCursor; while (true) { const response = await fetch(API, { method: 'POST', headers: { Authorization: `Bearer ${TOKEN}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ query: QUERY, variables: { after: cursor } }), }); const result = await response.json(); if (result.errors) throw new Error(result.errors[0].message); const page = result.data.releasedImages; for (const release of page.releases) { const file = await fetch(release.exportImageUrl); const name = release.productStudioOutput?.exportFileName ?? release.id; await saveFile(release.id, `${name}.jpg`, await file.arrayBuffer()); // your storage } cursor = page.cursor; if (!page.hasMore) return cursor; // save this for the next run } } ``` Save the returned cursor only after the files are stored. If a run fails half way, the next run starts again from the last saved cursor and fetches those images again, which is safe because you overwrite by release `id`. ## What an API token cannot do Everything in this guide is read-only, so a token with the **Viewer** role is enough, and it can't start paid work, release images or delete anything. Give the export integration its own Viewer token. No token can manage members or tokens or top up credits, whatever its role. [Authentication](https://help.brandmachine.shop/api-authentication/#roles) explains token roles. ================================================================================ # File Uploads Source: https://help.brandmachine.shop/api-file-uploads/ File uploads in Brandmachine use **REST endpoints** with `multipart/form-data`, separate from the GraphQL endpoint. Each kind of resource has its own upload endpoint (product studio inputs, batch images, wardrobe images, brand assets and so on) rather than one generic upload. ## Authentication All upload endpoints accept the same API token as the GraphQL endpoint: ``` Authorization: Bearer YOUR_API_TOKEN ``` See [Authentication](https://help.brandmachine.shop/api-authentication/) for how to create a token. Which uploads a token may make depends on its role: - **Member** or higher: product images (Product Studio, Campaign, Product Videos), batch images and looks sheets, and campaign guidance images. - **Creator** or higher: uploads into the shared library: wardrobe images, brand assets, fashion model uploads, Designer resources, patterns and size chart imports. - **Approver**: edited images. A token whose role is too low gets HTTP status `403` with the reason `You do not have permission to do this.` ## Upload Endpoints All endpoints take `POST` requests on `https://production.api.brandmachine.shop`. Replace the `:id` placeholders in the path with the UUID of the record. The **Form fields** column lists the multipart fields; fields in *italics* are optional. ### Product Studio | Endpoint | Form fields | Purpose | | --- | --- | --- | | `/api/product-studios/:studioId/inputs/upload` | `file`, `viewType`, *`title`* | Add a product photo to a Product Studio session. `viewType` is `front`, `back`, `other` or `cropped`. A session holds at most 15 inputs. | | `/api/product-studio/plates` | `perspectiveId`, `file`, *`kind`* | Upload a plate or guide image for a Product Studio perspective. `kind` is `plate` (the default) or `guide`. Returns `key` and `url`. | ### Campaigns and Batches | Endpoint | Form fields | Purpose | | --- | --- | --- | | `/api/campaign-images/:campaignImageId/products/upload` | `file`, *`productTitle`*, *`productDescription`* | Add a product reference image to a campaign image | | `/api/campaign-images/:campaignImageId/guidance/upload` | `file` | Set a guidance image on a campaign image | | `/api/batches/:batchId/images/upload` | `file`, *`viewType`* | Add an input image to a batch. When `viewType` is missing or not a known value, the view is detected from the image. | | `/api/batches/:batchId/reference-sheet/upload` | `file` | Upload a stylist's looks sheet for a batch. The looks read from it appear on the batch as `referenceSheetLooks`. | Batch image uploads are refused once the batch is running or completed. ### Wardrobe | Endpoint | Form fields | Purpose | | --- | --- | --- | | `/api/wardrobe-items/:wardrobeItemId/images/upload` | `file`, *`viewType`* | Add a photo to a wardrobe item. An item holds at most 8 images. | ### Brand Assets (Media Planner) | Endpoint | Form fields | Purpose | | --- | --- | --- | | `/api/brand-assets/upload` | `file`, *`title`* | Upload a brand asset such as a logo. Must be a PNG. | | `/api/brand-assets/:brandAssetId/dark-ground-version/upload` | `file` | Upload the version of a brand asset for dark backgrounds. Must be a PNG with the same aspect ratio as the original (within 1%). | ### Fashion Models | Endpoint | Form fields | Purpose | | --- | --- | --- | | `/api/fashion-models/upload` | `file`, `gender` | Start a casting from a reference image. `gender` is `male`, `female` or `other`. | | `/api/fashion-models/upload-existing` | `file`, `modelName`, `gender`, *`setCardFile`* | Add an existing model directly, without casting | ### Designer | Endpoint | Form fields | Purpose | | --- | --- | --- | | `/api/designer-instances/resources` | `designerInstanceId`, *`file`*, *`text`*, *`label`* | Add an inspiration resource to a design. Send a `file`, a `text`, or both. A text-only resource needs a `label`; for an image the label is written automatically when you leave it out. | | `/api/designer/annotation-overlays` | `sourceRevisionId`, `file` | Upload an annotation overlay drawn on a revision. Returns `imageKey` and `imageUrl`. | | `/api/size-charts/import` | `file` | Import size charts from a JSON file in Brandmachine's size chart import format. Add `?dryRun=true` to the URL to check the file without importing anything. The format is described in [Importing Size Charts](https://help.brandmachine.shop/api-size-charts/). | ### Patterns | Endpoint | Form fields | Purpose | | --- | --- | --- | | `/api/patterns/upload` | `file`, *`patternId`*, *`name`*, *`repeatHorizontal`*, *`repeatVertical`* | Upload a finished pattern image. Without `patternId` a new pattern is created, and `name` is required. | | `/api/patterns/references` | `patternId`, `label`, `file` | Add an inspiration reference to a pattern | ### Product Video | Endpoint | Form fields | Purpose | | --- | --- | --- | | `/api/product-videos/:videoId/upload` | `file`, *`productTitle`* | Upload the product image a product video is generated from | ### Edited Images | Endpoint | Form fields | Purpose | | --- | --- | --- | | `/api/images/upload-edited` | `file`, `imageType`, `imageId` | Save an edited version of a generated image. `imageType` is `campaignImage`, `productStudio` or `groupShot` (case-sensitive), and `imageId` is the UUID of the campaign image result, product studio output or group shot result. Must be a PNG of at most 27 MiB. Returns `success`, `imageKey` and `imageUrl`. | ## Example: Upload a Product Studio Input ### cURL ``` curl -X POST \ https://production.api.brandmachine.shop/api/product-studios/STUDIO_UUID/inputs/upload \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -F "file=@/path/to/product.jpg;type=image/jpeg" \ -F "viewType=front" ``` ### JavaScript (Node.js 18 or later) ``` import { readFile } from 'node:fs/promises'; async function uploadProductInput(studioId, path, viewType = 'front') { const formData = new FormData(); formData.append('file', new Blob([await readFile(path)], { type: 'image/jpeg' }), 'product.jpg'); formData.append('viewType', viewType); const response = await fetch( `https://production.api.brandmachine.shop/api/product-studios/${studioId}/inputs/upload`, { method: 'POST', headers: { Authorization: `Bearer ${process.env.BRANDMACHINE_API_TOKEN}`, }, body: formData, } ); if (!response.ok) { const error = await response.json(); throw new Error(`Upload failed (${response.status}): ${error.reason}`); } return response.json(); } ``` ### Python ``` import os import requests url = 'https://production.api.brandmachine.shop/api/product-studios/STUDIO_UUID/inputs/upload' headers = {'Authorization': f"Bearer {os.environ['BRANDMACHINE_API_TOKEN']}"} with open('product.jpg', 'rb') as f: files = {'file': ('product.jpg', f, 'image/jpeg')} data = {'viewType': 'front'} response = requests.post(url, headers=headers, files=files, data=data) response.raise_for_status() print(response.json()) ``` ## Example: Upload a Designer Inspiration Resource ``` curl -X POST \ https://production.api.brandmachine.shop/api/designer-instances/resources \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -F "designerInstanceId=DESIGN_UUID" \ -F "label=bird chest" \ -F "file=@/path/to/inspiration.jpg;type=image/jpeg" ``` ## File Requirements ### Supported Image Types - JPEG (`.jpg`, `.jpeg`) - PNG (`.png`) - WebP (`.webp`) The file name must end in one of these extensions. If the multipart part has a `Content-Type`, it must be `image/jpeg`, `image/png` or `image/webp`; a generic type such as `application/octet-stream` is refused. Brand assets and edited images accept PNG only. The size chart import takes a JSON file. ### Size Limits - A single image may be at most 15 MB. Edited images may be up to 27 MiB. - The whole request body may be at most 32 MB. - Images are stored as uploaded. They are not resized or converted. Several uploads (product studio inputs, batch images and looks sheets, wardrobe images, fashion model uploads, Designer resources) analyse the image before they respond, so these requests can take several seconds. ## Response Format A successful upload returns HTTP status `200` and the created or updated record as JSON, including its `id`. For example, a product studio input upload returns the new input with fields such as `id`, `viewType`, `productImage` and `createdAt`. The endpoints that return something other than a record are noted in the tables above. The size chart import always returns HTTP status `200` with a report: problems in the file are listed in its `errors` array rather than returned as an HTTP error. Errors return a non-2xx status and a JSON body with a `reason`: ``` { "error": true, "reason": "Only image files (JPG, PNG, WEBP) are allowed" } ``` ## Error Handling | Status | Typical reason | What to do | | --- | --- | --- | | `400` | The file is too large, has the wrong type, or a required form field is missing or invalid | Check the file and the form fields against the tables above | | `401` | Missing or invalid token | Check the `Authorization` header. See [Authentication](https://help.brandmachine.shop/api-authentication/#troubleshooting). | | `403` or `404` | The record in the path or form does not exist or belongs to another team | Check the UUID | | `413` | The request body is over 32 MB, or an edited image is over 27 MiB | Send a smaller file | | `422` | No looks could be read from a looks sheet | Upload a clearer sheet | ### Retry Failed Uploads Retry network failures and `5xx` responses. A `4xx` response fails the same way again, so fix the request instead of retrying it. ``` async function uploadWithRetry(url, formData, maxRetries = 3) { for (let attempt = 1; attempt <= maxRetries; attempt++) { const response = await fetch(url, { method: 'POST', headers: { Authorization: `Bearer ${process.env.BRANDMACHINE_API_TOKEN}` }, body: formData, }).catch((error) => { if (attempt === maxRetries) throw error; return null; }); if (response?.ok) return response.json(); if (response && response.status < 500) { const error = await response.json(); throw new Error(`Upload failed (${response.status}): ${error.reason}`); } if (attempt === maxRetries) throw new Error(`Upload failed after ${maxRetries} attempts`); await new Promise((r) => setTimeout(r, 1000 * attempt)); } } ``` ## Best Practices - **Validate before uploading** (size, type, file extension) to avoid round trips on bad files. - **Set the part's content type** explicitly, as in the examples above. Some HTTP clients send `application/octet-stream` by default, which is refused. - **Use the right endpoint.** A campaign reference image goes through the campaign endpoint and a pattern reference through the pattern endpoint; the endpoints are not interchangeable. - **Follow up with GraphQL.** Uploading adds the file to the record; starting a generation is a separate GraphQL mutation. Use `activeMediaGenerationTasks` to see which generations are still running. ## Need Help? Contact [support@brandmachine.shop](mailto:support@brandmachine.shop) for upload-related issues, with the endpoint and the `reason` from the response. ================================================================================ # Importing Size Charts Source: https://help.brandmachine.shop/api-size-charts/ Brandmachine's Designer uses your size specs (the measurement tables you give a factory) to put real dimensions on a design. You bring them in with one REST call that takes a JSON file. This page describes that file and what happens to it. If your specs live in Excel, PDF or a PLM system, you convert them to this JSON format first. Brandmachine does not read spreadsheets, images or PDFs, because every customer sheet is laid out differently and a guess at what a column means would end up as a wrong number on a design. ## The Short Version 1. Convert each size chart to the JSON format below. Measurements are whole numbers in hundredths of a centimetre, so 63.20 cm is `6320`. 2. Use measurement names from the closed list in [Measurement Codes](https://help.brandmachine.shop/api-size-charts/#measurement-codes). A name that is not on the list rejects the file. 3. Send the file with `?dryRun=true` first. Check that the report says `"dryRun": true`, because a misspelled parameter is ignored and the file is imported for real. Fix what the report lists. 4. Send it again without `dryRun`. Nothing is saved unless the whole file is valid. ## Send a File ``` POST https://production.api.brandmachine.shop/api/size-charts/import ``` The request is `multipart/form-data` with the JSON file in the `file` field. Authenticate with an API token, as for every [file upload](https://help.brandmachine.shop/api-file-uploads/): ``` curl -X POST \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -F "file=@size-charts.json" \ "https://production.api.brandmachine.shop/api/size-charts/import?dryRun=true" ``` Who can import: the import changes your shared library, so it needs the **Creator** role or higher. This applies to an API token as well: a token only works if it was created with that role or a higher one. With a lower role the call fails with HTTP status `403` and the reason `You do not have permission to do this.` Reading charts back needs no more than a Viewer token. The request body can be up to 32 MB. No smaller limit on charts, sizes or rows is enforced. ### The Response Once the file reaches the importer, the response is HTTP status `200`, also when the file is invalid. A request without a `file` field is refused with an HTTP error before that. Problems are in the report, not in the status code. ``` { "dryRun": true, "imported": false, "charts": [ { "code": "BOY-TSS-BASIC-FIT", "name": "TSS BASIC FIT", "department": "boys", "garmentType": "tee-short-sleeve", "sizes": ["104", "116", "128", "140", "152", "164", "176"], "baseSize": "140", "rowCount": 1, "incrementRowCount": 0, "action": "CREATE" } ], "errors": [], "warnings": [] } ``` | Field | Meaning | | --- | --- | | `dryRun` | `true` when you sent `?dryRun=true`. A dry run never saves anything. | | `imported` | `true` only when the charts were saved. Always `false` on a dry run, and whenever `errors` is not empty. | | `charts` | One summary per chart in the file. | | `charts[].patternGroup` | Present only when the chart has a `pattern_group`. Fields that have no value are left out of the report, not sent as `null`. | | `charts[].action` | `CREATE` for a new chart code, `SUPERSEDE` when the code already exists in your library (see [Re-importing](https://help.brandmachine.shop/api-size-charts/#re-importing)). | | `charts[].incrementRowCount` | Rows that have grade steps but no absolute value. See [Rows](https://help.brandmachine.shop/api-size-charts/#rows). | | `errors` | Problems that stop the import. Each has `kind` (`INVALID`) and a `message`, plus `chartCode` and `rowKey` when the problem belongs to a chart or a row. | | `warnings` | Things worth a look that never block the import. | ## The File Format A file holds one or more charts. This is the smallest valid file: ``` { "format_version": 1, "source": { "file": "QC BOYS 26.xlsx" }, "charts": [ { "code": "BOY-TSS-BASIC-FIT", "name": "TSS BASIC FIT", "garment_type": "tee-short-sleeve", "product_group": "tops", "department": "boys", "pattern_group": null, "sizes": ["104", "116", "128", "140", "152", "164", "176"], "base_size": "140", "rows": [ { "code": "SLEEVE_LENGTH", "origin": "CB", "source_label": "Sleevelength from CB", "convention": "full", "base_hundredths": 3750, "grade_deltas_hundredths": { "104": -800, "116": -500, "128": -250, "140": 0, "152": 250, "164": 500, "176": 750 }, "tolerance": { "minus_hundredths": -80, "plus_hundredths": 80, "raw": "-0,8/+0,8" } } ] } ] } ``` The value of a measurement at any size is the base value plus the grade step for that size. In the example, the sleeve length is 37.50 cm at size 140 and 45.00 cm at size 176. ### File | Field | Type | Required | Notes | | --- | --- | --- | --- | | `format_version` | integer | Yes | Must be `1`. | | `source.file` | string | No | The name of the sheet the charts came from. If you leave it out, the name of the uploaded file is stored. | | `charts` | array | Yes | At least one chart. | Other keys in the file, such as a note about where the sheet came from, are ignored. ### Charts | Field | Type | Required | Notes | | --- | --- | --- | --- | | `code` | string | Yes | Your identifier for the spec. Unique within the file. Importing the same code again replaces the chart (see [Re-importing](https://help.brandmachine.shop/api-size-charts/#re-importing)). | | `name` | string | Yes | A readable name shown in the app. | | `department` | string | Yes | Your target group, for example `boys` or `women`. Free text. Brandmachine suggests charts within one department only. | | `garment_type` | string | Yes | Your own word for the garment, for example `tee-short-sleeve` or `trouser`. Free text, not a fixed list. | | `product_group` | string | No | A broader grouping such as `tops` or `bottoms`. Free text. | | `sizes` | array of strings | Yes | The size labels in grading order, smallest to largest. No duplicates. | | `base_size` | string | Yes | The size the base values belong to. Must be one of `sizes`. | | `pattern_group` | string or `null` | No | Give charts that are readouts of one pattern (for example one tee finished with two trim widths) the same value. Use `null` when the chart has no siblings. An empty string is rejected. | | `rows` | array | Yes | At least one row. | ### Rows A row is one measurement across all sizes. | Field | Type | Required | Notes | | --- | --- | --- | --- | | `code` | string | Yes | A code from [Measurement Codes](https://help.brandmachine.shop/api-size-charts/#measurement-codes). | | `origin` | string or `null` | No | Where the measurement is taken from, from the list in [Origins](https://help.brandmachine.shop/api-size-charts/#origins). | | `source_label` | string | Yes | The row's name in your sheet, for example `1/2 Chest`. Kept as written. | | `convention` | string | Yes | `half` if the value is half of the full girth (a flat-laid chest, for example), otherwise `full`. Lower case. Brandmachine does not check this against the measurement. | | `base_hundredths` | integer or `null` | No | The value at the base size. `null` makes an **increment row** that has grade steps only. | | `grade_deltas_hundredths` | object | Yes | The difference to the base value, one entry per size, keyed by size label. The entry for the base size must be `0`. | | `tolerance` | object or `null` | No | See below. Leave it out when your sheet gives none. | | `position` | integer | No | Display order. Defaults to the row's place in the array. Unique within the chart. | **Row identity.** A row is addressed by its code together with its origin, written `CODE@origin`, for example `SLEEVE_LENGTH@CB`. The same code with a different origin is a different measurement, and two rows in one chart cannot share a code and origin. If a design has two constructions of the same garment, put them in separate charts that share a `pattern_group`. **Increment rows.** A row with `base_hundredths: null` is allowed. The chart then counts as incomplete: that row shows no values and cannot be adjusted in the app. **Tolerance.** | Field | Type | Notes | | --- | --- | --- | | `minus_hundredths` | integer | Zero or negative. | | `plus_hundredths` | integer | Zero or positive. | | `raw` | string | The tolerance as it appears in your sheet. Kept for reference. | | `parse_failed` | boolean | Optional. If you set it to `true`, both bounds must be `null`. | Send both bounds or neither. A tolerance with no bounds and no `raw` text is rejected. ### Units Every number is an integer in hundredths of a centimetre. There is no inch input. If your sheet uses inches, convert to centimetres first. Round to two decimals of a centimetre before scaling, so 63.204 cm becomes 63.20 and then `6320`. Brandmachine cannot detect a wrong rounding order, so the converter has to get this right. ## Measurement Codes Measurement names are a closed list, because rows have to be comparable between charts. Free-text names are exactly what makes two customers' charts impossible to line up. Map your own spellings to these codes in your converter. A code that is not on the list rejects the whole file, and the error names the code it did not recognise and suggests up to three close ones (`Unknown POM code X (normalised: Y). Did you mean A, B, C?`). ``` ARMHOLE_DEPTH, ARMHOLE_HALF, ARMHOLE_LEN_BACK, ARMHOLE_LEN_FRONT, ARMHOLE_RAGLAN_BACK, ARMHOLE_RAGLAN_FRONT, ARMHOLE_STRAIGHT, ARTWORK_HEIGHT, ARTWORK_POS_ARMHOLE, ARTWORK_POS_CB, ARTWORK_POS_CF, ARTWORK_POS_HSP, ARTWORK_POS_RIB, ARTWORK_POS_SS, ARTWORK_WIDTH, BACK_LENGTH, BACK_NECK_DROP, BACK_POCKET_HEIGHT, BACK_POCKET_POS_CB, BACK_POCKET_POS_WB, BACK_POCKET_WIDTH, BACK_RISE, BACK_WELT_POCKET_HEIGHT, BACK_YOKE, BICEP, BOTTOM_CUFF_HEIGHT, BOTTOM_WIDTH, BOTTOM_WIDTH_RELAXED, BOTTOM_WIDTH_STRETCHED, BUTTON_1_FROM_BOTTOM, BUTTON_1_FROM_TOP, BUTTON_SPACING, CHEST, COLLAR_HEIGHT, COLLAR_LENGTH, COLLAR_POINT, COLLAR_STAND, CORD_LENGTH, CUFF_HEIGHT, ELBOW, ELBOW_POSITION, FIRST_BUTTON, FLAP_HEIGHT, FLAP_LENGTH, FLY_LENGTH, FLY_WIDTH, FRONT_NECK_DROP, FRONT_POCKET_INSERT_LEN, FRONT_POCKET_INSERT_WB, FRONT_POCKET_LEN_INSIDE, FRONT_POCKET_LEN_SS, FRONT_POCKET_LEN_WB, FRONT_POCKET_WIDTH_SS, FRONT_POCKET_WIDTH_WB, FRONT_RISE, HIP, HIP_POSITION, HOOD_HEIGHT, HOOD_WIDTH, INSEAM, KNEE, KNEE_POSITION, LEG_OPENING, LEG_OPENING_RELAXED, LEG_OPENING_STRETCHED, LOWER_ARM, MIN_NECK_STRETCH, NECK_RIB_HEIGHT, NECK_WIDTH, OUTSEAM, PLACKET_LENGTH, PLACKET_WIDTH, POCKET_HEIGHT_CENTRE, POCKET_LENGTH, POCKET_POS_CF, POCKET_POS_HSP, POCKET_POS_SS_BOTTOM, POCKET_POS_SS_TOP, POCKET_WIDTH, POCKET_WIDTH_BOTTOM, POCKET_WIDTH_MIDDLE, POCKET_WIDTH_TOP, SHOULDER, SHOULDER_FORWARD, SIDE_POCKET_LENGTH, SIDE_POCKET_POS, SIDE_POCKET_WIDTH, SLEEVE_LENGTH, SLEEVE_LENGTH_INCL_CUFF, SLEEVE_OPENING, SLEEVE_OPENING_RELAXED, SLEEVE_OPENING_STRETCHED, SLIT_LENGTH, THIGH, TRIM_WIDTH, WAIST, WAISTBAND_HEIGHT, WAIST_HEIGHT, WAIST_RELAXED, WAIST_STRETCHED ``` New measurements are added when a customer's sheet needs one. If you need a code that is missing, contact [support@brandmachine.shop](mailto:support@brandmachine.shop). ### Origins `origin` says where a measurement is taken from. It is not interchangeable: a sleeve length from centre back includes half the shoulder, one from the shoulder point does not. Leave it `null` when the measurement has no such reference. The allowed values are case-sensitive: ``` CB, CF, HSP, armhole, armpit, bottom, crotch, cuff, neckline seam, ribbing seam, seam to seam, shoulder point, side seam, waistband ``` ## Validation The import is **all or nothing**. If anything in the file produces an error, nothing is saved, including the charts that were fine. A file that is not valid JSON, or does not fit the format, comes back as one error: `The file is not in the size chart upload format:` followed by the reason. Errors you may see, in the `message` of an entry in `errors`: | Message | Fix | | --- | --- | | `Unsupported format_version N; this backend reads version 1.` | Set `format_version` to `1`. | | `The file contains no charts.` | Add at least one chart. | | `Chart code appears more than once in this file.` | Give each chart its own `code`. | | `code is empty.`, `name is empty.`, `department is empty.`, `garment_type is empty.` | Fill the field. | | `sizes is empty.`, `sizes contains a size more than once.` | List each size once. | | `base_size X is not one of sizes [...].` | Use a label that appears in `sizes`. | | `The chart has no rows.` | Add rows. | | `pattern_group is empty; leave it null when the chart has no siblings.` | Use `null` instead of an empty string. | | `Two rows share position N. Every row needs its own position.` | Make positions unique, or leave them out. | | `Unknown POM code X ... Did you mean ...?` | Use a code from the list. | | `Unknown origin X. Allowed: ...` | Use one of the origins, spelled exactly. | | `Two rows share the key K. ...` | Split the constructions into separate charts with the same `pattern_group`. | | `source_label is empty.` | Fill the field. | | `convention must be half or full, got X.` | Use `half` or `full`, lower case. | | `grade_deltas_hundredths must have exactly one entry per size in [...].` | Give one step per size, keyed by label. | | `grade_deltas_hundredths must be 0 at the base size X.` | Set the base size's step to `0`. | | `tolerance bounds have the wrong sign: minus must be ≤ 0 and plus ≥ 0.` | Check the signs. | | `tolerance bounds must be both set or both null.` | Send both bounds or neither. | | `tolerance is marked parse_failed but has bounds; an unreadable tolerance must have null bounds.` | Remove the bounds or the flag. | | `tolerance has neither bounds nor raw text; leave tolerance out when the source gives none.` | Remove the empty tolerance. | Warnings do not stop the import. They point at values that look like typos: | `kind` | When | | --- | --- | | `UNREADABLE_TOLERANCE` | A tolerance has `raw` text but no bounds. It is stored as text and never used as a limit. | | `IMPLAUSIBLE_TOLERANCE` | A tolerance bound is wider than 1.00 cm and more than 10% of the base value. | | `GRADING_REVERSES_DIRECTION` | The values get smaller where they should get larger (or the other way round) between two sizes. The warning lists the values and the size where it turns. | ## Re-importing The chart `code` is the key. When you import a code that is already in your library, the new chart replaces it: the old one is marked as superseded and stays on the designs that were already made from it, and new designs use the new one. Charts that are not in the file are left alone, so you can send only the charts that changed. The report shows `SUPERSEDE` for these charts, so a dry run tells you what will be replaced before anything changes. ## What Happens After the Import Imported charts are your library of standard specs. They are not matched to Shopify products by size label. In the Designer, you pick a department for a design, and Brandmachine shortlists up to three candidates from that department based on the design description (charts that share a `pattern_group` count as one candidate). You choose one, and the design gets its own copy of the rows. You can then adjust values on that copy, and the Designer draws the base-size measurements onto the technical drawings. Your uploaded charts stay untouched, because they are your standard specs. The chart operations are in the GraphQL reference: [`sizeCharts`](https://help.brandmachine.shop/api-queries/#sizecharts) and [`sizeChart`](https://help.brandmachine.shop/api-queries/#sizechart) to read, [`matchSizeChart`](https://help.brandmachine.shop/api-mutations/#matchsizechart), [`createDesignerSizeChart`](https://help.brandmachine.shop/api-mutations/#createdesignersizechart), [`setSizeChartAdjustments`](https://help.brandmachine.shop/api-mutations/#setsizechartadjustments) and [`annotateSizeChart`](https://help.brandmachine.shop/api-mutations/#annotatesizechart) on a design, and [`deleteSizeChart`](https://help.brandmachine.shop/api-mutations/#deletesizechart). ## Checklist for Your Converter - Output centimetres as integers in hundredths, rounded to two decimals first. - Map every measurement name to a code from the list, and keep the original name in `source_label`. - Set `convention` to `half` for flat-laid girths. - Include `grade_deltas_hundredths` for every size, with `0` at the base size. - Keep the same `code` for a chart across imports so it supersedes the old one. - Build each `code` from what makes the chart different (for example the trim width), never from its position in the sheet. Otherwise a reordered sheet swaps the data between sibling charts. - Run with `?dryRun=true` in your pipeline and fail on a non-empty `errors` array. ================================================================================ # Queries Source: https://help.brandmachine.shop/api-queries/ All GraphQL queries for reading data from the Brandmachine API, in alphabetical order. Each example selects a few fields of the returned type. Select the fields you need instead: the linked type lists all of them. An [API token](https://help.brandmachine.shop/api-authentication/) can call an operation when its role allows it: reading works with any role, and changes need Member or higher unless the operation says otherwise. Operations that need more are marked with the lowest role a token needs. ## activeMediaGenerationTasks Get active (in-queue or in-progress) media generation tasks for notification center **Returns:** [`[MediaGenerationTask!]!`](https://help.brandmachine.shop/api-types/#mediagenerationtask) **Example:** ``` query ActiveMediaGenerationTasks { activeMediaGenerationTasks { id campaignImageId completedAt createdAt designerInstanceRevisionId errorMessage } } ``` --- ## apiTokens This team's API tokens, oldest first. Never includes a secret. Not available with API tokens: This operation needs the Admin role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`[ApiToken!]!`](https://help.brandmachine.shop/api-types/#apitoken) **Example:** ``` query ApiTokens { apiTokens { id createdAt lastUsedAt name role tokenPreview } } ``` --- ## auditEntries This team's activity log, newest first: membership, spending, deletions, shared settings, publishing and Brandmachine support actions. Keep calling with nextCursor while it is not null. Not available with API tokens: This operation needs the Admin role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`AuditEntryPage!`](https://help.brandmachine.shop/api-types/#auditentrypage) **Arguments:** - `category` [`AuditCategory`](https://help.brandmachine.shop/api-enums/#auditcategory): Only actions of this kind. Omit for all. - `before` `String`: The nextCursor of the previous page, unchanged. Omit for the newest entries. - `limit` `Int`: Page size, 1 to 100. Defaults to 50. **Example:** ``` query AuditEntries($category: AuditCategory, $before: String, $limit: Int) { auditEntries(category: $category, before: $before, limit: $limit) { nextCursor } } ``` --- ## backendCommit **Returns:** `String!` **Example:** ``` query BackendCommit { backendCommit } ``` --- ## batch Get a single batch by ID with full relationships **Returns:** [`Batch!`](https://help.brandmachine.shop/api-types/#batch) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query Batch($id: UUID!) { batch(id: $id) { id campaignImageCount createdAt inspirationCount instructions isGenerated } } ``` --- ## batches Shot Planner shoots for the current team, newest first. Excludes moodboard shoots, which are listed by moodboardShoots. **Returns:** [`[Batch!]!`](https://help.brandmachine.shop/api-types/#batch) **Arguments:** - `limit` `Int` - `offset` `Int` **Example:** ``` query Batches($limit: Int, $offset: Int) { batches(limit: $limit, offset: $offset) { id campaignImageCount createdAt inspirationCount instructions isGenerated } } ``` --- ## batchInputImages Get input images for a batch **Returns:** [`[BatchInputImage!]!`](https://help.brandmachine.shop/api-types/#batchinputimage) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query BatchInputImages($batchId: UUID!) { batchInputImages(batchId: $batchId) { id batchId createdAt fileName filenameView imageUrl } } ``` --- ## billingCostSummary Aggregated cost breakdown over a date range; totals + per-feature buckets for the cost-overview chart. `from` inclusive, `to` exclusive. **Returns:** [`BillingCostSummary!`](https://help.brandmachine.shop/api-types/#billingcostsummary) **Arguments:** - `from` [`Date!`](https://help.brandmachine.shop/api-scalars/#date) **required** - `to` [`Date!`](https://help.brandmachine.shop/api-scalars/#date) **required** **Example:** ``` query BillingCostSummary($from: Date!, $to: Date!) { billingCostSummary(from: $from, to: $to) { fromDate generationCents releaseCents toDate totalCents } } ``` --- ## billingLedger Paginated billing ledger for the requesting team, newest first. **Returns:** [`[BillingLedgerEntry!]!`](https://help.brandmachine.shop/api-types/#billingledgerentry) **Arguments:** - `limit` `Int!` **required** - `offset` `Int!` **required** **Example:** ``` query BillingLedger($limit: Int!, $offset: Int!) { billingLedger(limit: $limit, offset: $offset) { id aiModel balanceAfterCents costCents createdAt deltaCents } } ``` --- ## brandAssets The team's live brand asset library, logos first. Upload through POST /api/brand-assets/upload. **Returns:** [`[BrandAsset!]!`](https://help.brandmachine.shop/api-types/#brandasset) **Example:** ``` query BrandAssets { brandAssets { id archivedAt createdAt darkGroundImageKey defaultSize height } } ``` --- ## campaign Get a single campaign by ID with full relationships **Returns:** [`Campaign!`](https://help.brandmachine.shop/api-types/#campaign) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query Campaign($id: UUID!) { campaign(id: $id) { id createdAt name teamDomain updatedAt } } ``` --- ## campaignImage Get a single campaign image by ID **Returns:** [`CampaignImage`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query CampaignImage($id: UUID!) { campaignImage(id: $id) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## campaignImages Get campaign images with pagination **Returns:** [`[CampaignImage!]!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `limit` `Int` - `offset` `Int` **Example:** ``` query CampaignImages($limit: Int, $offset: Int) { campaignImages(limit: $limit, offset: $offset) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## campaignImagesForBatch Get draft CampaignImages for a batch plan review **Returns:** [`[CampaignImage!]!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query CampaignImagesForBatch($batchId: UUID!) { campaignImagesForBatch(batchId: $batchId) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## campaigns Get campaigns for the current team with pagination **Returns:** [`[Campaign!]!`](https://help.brandmachine.shop/api-types/#campaign) **Arguments:** - `limit` `Int` - `offset` `Int` **Example:** ``` query Campaigns($limit: Int, $offset: Int) { campaigns(limit: $limit, offset: $offset) { id createdAt name teamDomain updatedAt } } ``` --- ## creditBalance The requesting team's PAYG credit balance in cents. **Returns:** [`CreditBalanceResponse!`](https://help.brandmachine.shop/api-types/#creditbalanceresponse) **Example:** ``` query CreditBalance { creditBalance { balanceCents currency } } ``` --- ## creditBalanceDigest Lightweight polling digest — MAX(created_at) over the team's billing ledger; refetch creditBalance when it changes. **Returns:** [`Date`](https://help.brandmachine.shop/api-scalars/#date) **Example:** ``` query CreditBalanceDigest { creditBalanceDigest } ``` --- ## currentTeam Identity + billing-routing flags for the requesting team. **Returns:** [`CurrentTeamResponse!`](https://help.brandmachine.shop/api-types/#currentteamresponse) **Example:** ``` query CurrentTeam { currentTeam { id accountName adLocales hasWebDoor isPAYG setupPending } } ``` --- ## designerCollection Fetch a single DesignerCollection by ID **Returns:** [`DesignerCollection!`](https://help.brandmachine.shop/api-types/#designercollection) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query DesignerCollection($id: UUID!) { designerCollection(id: $id) { id brief createdAt season status teamDomain } } ``` --- ## designerCollections List DesignerCollections for the current team, most-recently updated first **Returns:** [`[DesignerCollection!]!`](https://help.brandmachine.shop/api-types/#designercollection) **Arguments:** - `limit` `Int` - `offset` `Int` **Example:** ``` query DesignerCollections($limit: Int, $offset: Int) { designerCollections(limit: $limit, offset: $offset) { id brief createdAt season status teamDomain } } ``` --- ## designerInstance Get a single designer instance by ID **Returns:** [`DesignerInstance`](https://help.brandmachine.shop/api-types/#designerinstance) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query DesignerInstance($id: UUID!) { designerInstance(id: $id) { id activeFabricId archivedAt createdAt description fashionModelRevisionId } } ``` --- ## designerInstanceRevision Get a single designer instance revision by ID **Returns:** [`DesignerInstanceRevision`](https://help.brandmachine.shop/api-types/#designerinstancerevision) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query DesignerInstanceRevision($id: UUID!) { designerInstanceRevision(id: $id) { id annotationOverlayKey annotationOverlaySourceSlot annotationOverlayUrl backColourwayUrl backFlatKey } } ``` --- ## designerInstances Get designer instances with pagination **Returns:** [`[DesignerInstance!]!`](https://help.brandmachine.shop/api-types/#designerinstance) **Arguments:** - `limit` `Int!` **required** - `offset` `Int!` **required** **Example:** ``` query DesignerInstances($limit: Int!, $offset: Int!) { designerInstances(limit: $limit, offset: $offset) { id activeFabricId archivedAt createdAt description fashionModelRevisionId } } ``` --- ## designerIterationRequest Read-only: reconcile an admitted Designer iteration by its request claim. Returns null before admission and refuses unrelated historical revision IDs. **Returns:** [`DesignerInstanceRevision`](https://help.brandmachine.shop/api-types/#designerinstancerevision) **Arguments:** - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `requestId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query DesignerIterationRequest($designerInstanceId: UUID!, $requestId: UUID!) { designerIterationRequest(designerInstanceId: $designerInstanceId, requestId: $requestId) { id annotationOverlayKey annotationOverlaySourceSlot annotationOverlayUrl backColourwayUrl backFlatKey } } ``` --- ## fashionModel Get a single fashion model by ID **Returns:** [`FashionModel`](https://help.brandmachine.shop/api-types/#fashionmodel) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query FashionModel($id: UUID!) { fashionModel(id: $id) { id createdAt gender name status teamDomain } } ``` --- ## fashionModelCasting Get a single fashion model casting with results **Returns:** [`FashionModelCasting`](https://help.brandmachine.shop/api-types/#fashionmodelcasting) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query FashionModelCasting($id: UUID!) { fashionModelCasting(id: $id) { id createdAt gender prompt teamDomain updatedAt } } ``` --- ## fashionModelCastings Get fashion model castings with pagination **Returns:** [`[FashionModelCasting!]!`](https://help.brandmachine.shop/api-types/#fashionmodelcasting) **Arguments:** - `limit` `Int` - `offset` `Int` **Example:** ``` query FashionModelCastings($limit: Int, $offset: Int) { fashionModelCastings(limit: $limit, offset: $offset) { id createdAt gender prompt teamDomain updatedAt } } ``` --- ## fashionModelRevision Get a single fashion model revision by ID **Returns:** [`FashionModelRevision`](https://help.brandmachine.shop/api-types/#fashionmodelrevision) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query FashionModelRevision($id: UUID!) { fashionModelRevision(id: $id) { id createdAt fashionModelId favorite fullPortraitKey generationModel } } ``` --- ## fashionModels Get all fashion models **Returns:** [`[FashionModel!]!`](https://help.brandmachine.shop/api-types/#fashionmodel) **Example:** ``` query FashionModels { fashionModels { id createdAt gender name status teamDomain } } ``` --- ## fileNameConvention This team's filename convention, or the built-in fallback with isDefault=true when nothing is declared **Returns:** [`FileNameConvention!`](https://help.brandmachine.shop/api-types/#filenameconvention) **Example:** ``` query FileNameConvention { fileNameConvention { exportPattern isDefault } } ``` --- ## getAllBrandMemories **Returns:** [`[BrandMemory!]!`](https://help.brandmachine.shop/api-types/#brandmemory) **Example:** ``` query GetAllBrandMemories { getAllBrandMemories { id brandIdentity brandName copywritingInstructions createdAt fashionModelInstructions } } ``` --- ## getAllPlans **Returns:** [`[Plan!]!`](https://help.brandmachine.shop/api-types/#plan) **Example:** ``` query GetAllPlans { getAllPlans { id createdAt handle name productShortQuota updatedAt } } ``` --- ## getAllProductStudioPerspectiveGroups The team's perspective rail tabs, in rail order. Perspectives carry their own groupId, so fetch this once and join client-side rather than expecting a nested list here. **Returns:** [`[ProductStudioPerspectiveGroup!]!`](https://help.brandmachine.shop/api-types/#productstudioperspectivegroup) **Example:** ``` query GetAllProductStudioPerspectiveGroups { getAllProductStudioPerspectiveGroups { id createdAt name purpose sortOrder teamDomain } } ``` --- ## getAllProductStudioPerspectives Get all product studio perspectives for the current team **Returns:** [`[ProductStudioPerspective!]!`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `includeArchived` `Boolean` **Example:** ``` query GetAllProductStudioPerspectives($includeArchived: Boolean) { getAllProductStudioPerspectives(includeArchived: $includeArchived) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## getAllProductStudios Get ProductStudio sessions for the current team, most recent first, capped (default 100). **Returns:** [`[ProductStudio!]!`](https://help.brandmachine.shop/api-types/#productstudio) **Arguments:** - `limit` `Int`: Maximum number of studios to return, most recent first. Defaults to 100. Pass higher to fetch more history; the cap prevents unbounded payload growth. **Example:** ``` query GetAllProductStudios($limit: Int) { getAllProductStudios(limit: $limit) { id createdAt isGenerated status teamDomain title } } ``` --- ## getAllProductStudioSettings **Returns:** [`[ProductStudioSetting!]!`](https://help.brandmachine.shop/api-types/#productstudiosetting) **Example:** ``` query GetAllProductStudioSettings { getAllProductStudioSettings { id createdAt instructions scanInstructions teamDomain updatedAt } } ``` --- ## getAllProductVideos **Returns:** [`[ProductVideo!]!`](https://help.brandmachine.shop/api-types/#productvideo) **Example:** ``` query GetAllProductVideos { getAllProductVideos { id createdAt durationSeconds modelType productId productImage } } ``` --- ## getBrandMemory **Returns:** [`BrandMemory`](https://help.brandmachine.shop/api-types/#brandmemory) **Example:** ``` query GetBrandMemory { getBrandMemory { id brandIdentity brandName copywritingInstructions createdAt fashionModelInstructions } } ``` --- ## getBrandMemoryById **Returns:** [`BrandMemory!`](https://help.brandmachine.shop/api-types/#brandmemory) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query GetBrandMemoryById($id: UUID!) { getBrandMemoryById(id: $id) { id brandIdentity brandName copywritingInstructions createdAt fashionModelInstructions } } ``` --- ## getCampaignSetting Returns the current team's CampaignSetting, or null if not set. **Returns:** [`CampaignSetting`](https://help.brandmachine.shop/api-types/#campaignsetting) **Example:** ``` query GetCampaignSetting { getCampaignSetting { id createdAt gptImage25Quality teamDomain updatedAt useGemini3Pro } } ``` --- ## getPlan **Returns:** [`Plan!`](https://help.brandmachine.shop/api-types/#plan) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query GetPlan($id: UUID!) { getPlan(id: $id) { id createdAt handle name productShortQuota updatedAt } } ``` --- ## getProductStudio Get a single ProductStudio by ID with perspective filtering **Returns:** [`ProductStudio`](https://help.brandmachine.shop/api-types/#productstudio) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `productStudioPerspectiveId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) **Example:** ``` query GetProductStudio($id: UUID!, $productStudioPerspectiveId: UUID) { getProductStudio(id: $id, productStudioPerspectiveId: $productStudioPerspectiveId) { id createdAt isGenerated status teamDomain title } } ``` --- ## getProductStudioPerspective Get a single product studio perspective by ID **Returns:** [`ProductStudioPerspective`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query GetProductStudioPerspective($id: UUID!) { getProductStudioPerspective(id: $id) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## getProductStudioSetting **Returns:** [`ProductStudioSetting`](https://help.brandmachine.shop/api-types/#productstudiosetting) **Example:** ``` query GetProductStudioSetting { getProductStudioSetting { id createdAt instructions scanInstructions teamDomain updatedAt } } ``` --- ## getProductStudioSettingById **Returns:** [`ProductStudioSetting!`](https://help.brandmachine.shop/api-types/#productstudiosetting) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query GetProductStudioSettingById($id: UUID!) { getProductStudioSettingById(id: $id) { id createdAt instructions scanInstructions teamDomain updatedAt } } ``` --- ## getProductVideo **Returns:** [`ProductVideo!`](https://help.brandmachine.shop/api-types/#productvideo) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query GetProductVideo($id: UUID!) { getProductVideo(id: $id) { id createdAt durationSeconds modelType productId productImage } } ``` --- ## getShopifyProduct **Returns:** `String!` **Arguments:** - `id` `String!` **required** **Example:** ``` query GetShopifyProduct($id: String!) { getShopifyProduct(id: $id) } ``` --- ## getShopName Get information about the Shopify Store **Returns:** `String!` **Example:** ``` query GetShopName { getShopName } ``` --- ## groupShot Get a single group shot by ID **Returns:** [`GroupShot!`](https://help.brandmachine.shop/api-types/#groupshot) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query GroupShot($id: UUID!) { groupShot(id: $id) { id aspectRatio campaignId createdAt errorMessage prompt } } ``` --- ## headlineTreatments The team's headline treatments (over the photo, solid bands, panels), installing the presets on first read. Idempotent. **Returns:** [`[BrandHeadlineTreatment!]!`](https://help.brandmachine.shop/api-types/#brandheadlinetreatment) **Example:** ``` query HeadlineTreatments { headlineTreatments { id bandPosition bandSize copySurface fillColor ground } } ``` --- ## inspiration One inspiration by ID **Returns:** [`Inspiration`](https://help.brandmachine.shop/api-types/#inspiration) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query Inspiration($id: UUID!) { inspiration(id: $id) { id archivedAt categories createdAt fileName height } } ``` --- ## inspirations The team's inspiration library, newest first. Archived images only with includeArchived. **Returns:** [`[Inspiration!]!`](https://help.brandmachine.shop/api-types/#inspiration) **Arguments:** - `includeArchived` `Boolean` **Example:** ``` query Inspirations($includeArchived: Boolean) { inspirations(includeArchived: $includeArchived) { id archivedAt categories createdAt fileName height } } ``` --- ## me Who is signed in, their role in this team, and every capability that role holds. Use it to disable controls up front; every field still checks for itself. **Returns:** [`CurrentUser!`](https://help.brandmachine.shop/api-types/#currentuser) **Example:** ``` query Me { me { id askForName capabilities email name newsSeenUntil } } ``` --- ## mediaFormats The team's image-format catalog, installing it on first read. Idempotent. **Returns:** [`[MediaFormat!]!`](https://help.brandmachine.shop/api-types/#mediaformat) **Example:** ``` query MediaFormats { mediaFormats { id aspectRatio copyLimitsSourced descriptionMaxChars headlineMaxChars maxBytes } } ``` --- ## mediaGenerationTasks Get media generation tasks with optional filtering by status and type **Returns:** [`[MediaGenerationTask!]!`](https://help.brandmachine.shop/api-types/#mediagenerationtask) **Arguments:** - `status` [`ContentGenerationStatus`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `type` [`TaskType`](https://help.brandmachine.shop/api-enums/#tasktype) **Example:** ``` query MediaGenerationTasks($status: ContentGenerationStatus, $type: TaskType) { mediaGenerationTasks(status: $status, type: $type) { id campaignImageId completedAt createdAt designerInstanceRevisionId errorMessage } } ``` --- ## mediaGenerationTasksDigest Lightweight polling — returns MAX(updated_at) across all team tasks **Returns:** [`Date`](https://help.brandmachine.shop/api-scalars/#date) **Example:** ``` query MediaGenerationTasksDigest { mediaGenerationTasksDigest } ``` --- ## mediaPlacements The team's ad-unit catalog, installing it on first read. Idempotent. **Returns:** [`[MediaPlacement!]!`](https://help.brandmachine.shop/api-types/#mediaplacement) **Example:** ``` query MediaPlacements { mediaPlacements { id channel copyLimitsSourced ctaMaxChars descriptionMaxChars headlineMaxChars } } ``` --- ## mediaPlan One media plan with its sources, placements and cards. **Returns:** [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query MediaPlan($id: UUID!) { mediaPlan(id: $id) { id copyGeneratingSince copyGenerationError createdAt headlineTreatmentId instructions } } ``` --- ## mediaPlans Every media plan for the team, newest first. **Returns:** [`[MediaPlan!]!`](https://help.brandmachine.shop/api-types/#mediaplan) **Example:** ``` query MediaPlans { mediaPlans { id copyGeneratingSince copyGenerationError createdAt headlineTreatmentId instructions } } ``` --- ## moodboardShoots Shoots started from a moodboard ("New campaign"), newest first, for the Campaigns page. inspirationCount, inspirationPreview, campaign and the counts are batched for the whole page. **Returns:** [`[Batch!]!`](https://help.brandmachine.shop/api-types/#batch) **Arguments:** - `limit` `Int` - `offset` `Int` **Example:** ``` query MoodboardShoots($limit: Int, $offset: Int) { moodboardShoots(limit: $limit, offset: $offset) { id campaignImageCount createdAt inspirationCount instructions isGenerated } } ``` --- ## pattern Get a single pattern by ID **Returns:** [`Pattern`](https://help.brandmachine.shop/api-types/#pattern) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query Pattern($id: UUID!) { pattern(id: $id) { id createdAt name repeatHorizontal repeatVertical status } } ``` --- ## patternRevision Get a single pattern revision by ID **Returns:** [`PatternRevision`](https://help.brandmachine.shop/api-types/#patternrevision) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query PatternRevision($id: UUID!) { patternRevision(id: $id) { id baseRevisionId createdAt errorMessage favorite generationModel } } ``` --- ## patterns Get patterns with pagination, scoped to the current team **Returns:** [`[Pattern!]!`](https://help.brandmachine.shop/api-types/#pattern) **Arguments:** - `limit` `Int!` **required** - `offset` `Int!` **required** **Example:** ``` query Patterns($limit: Int!, $offset: Int!) { patterns(limit: $limit, offset: $offset) { id createdAt name repeatHorizontal repeatVertical status } } ``` --- ## planDesignerChange Read-only: compute the deterministic plan for a change set relative to a base revision (designer.md 5.0). Returns the effective setup (base's frozen setup overlaid with the change), which slots regenerate, whether the person base rebuilds (derived: outfit differs from the base's frozen value, or the base has no frozen setup), and exactly which shape/render prompts the composer must author (with context: base puppet key to edit, frozen description + outfit for the keep-clause, resolved fabric-swatch / paint-overlay URLs, the view). Creates nothing — generateDesignerRevision re-derives the same plan authoritatively and is the write. baseRevisionId is null for the first generation. Also returns viewDetails, the placed details per view that every render prompt for that view must bind. Refuses (400) a render view whose base has no puppet. A change set that matches the base returns an empty plan (regenerates: [], needFromComposer: []) rather than an error, which is the noop signal: do not compose and do not submit, because generateDesignerRevision refuses a change set that produces no render. **Returns:** [`DesignerChangePlan!`](https://help.brandmachine.shop/api-types/#designerchangeplan) **Arguments:** - `recoverySourceRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `baseRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `changeSet` [`DesignerChangeSet!`](https://help.brandmachine.shop/api-input-types/#designerchangeset) **required** - `renderQuality` [`DesignerRenderQuality`](https://help.brandmachine.shop/api-enums/#designerrenderquality): FAST (default when omitted) or QUALITY. Part of the plan fingerprint, so generate with the same value. - `stage` [`DesignerRevisionStage`](https://help.brandmachine.shop/api-enums/#designerrevisionstage): DRAWING plans a drawing revision: puppets and print-free flats, no person base, no render. Without a base it is the first-look drawing; with a base it is a redraw and needs a fabric or cut change (only changed puppets are rebuilt; a fabric-only redraw plans no model call and is still generated). **Example:** ``` query PlanDesignerChange($recoverySourceRevisionId: UUID, $designerInstanceId: UUID!, $baseRevisionId: UUID, $changeSet: DesignerChangeSet!, $renderQuality: DesignerRenderQuality, $stage: DesignerRevisionStage) { planDesignerChange(recoverySourceRevisionId: $recoverySourceRevisionId, designerInstanceId: $designerInstanceId, baseRevisionId: $baseRevisionId, changeSet: $changeSet, renderQuality: $renderQuality, stage: $stage) { baseRevisionId deterministic fingerprint rebuildPersonBase regenerates } } ``` --- ## previewFileNameConvention Dry-run a convention without saving. Omit fileNames to run against the team's own uploads, which is what shows whether saving would change existing files. **Returns:** [`FileNameConventionPreview!`](https://help.brandmachine.shop/api-types/#filenameconventionpreview) **Arguments:** - `convention` [`FileNameConventionInput!`](https://help.brandmachine.shop/api-input-types/#filenameconventioninput) **required** - `fileNames` `[String!]` - `perspectiveCode` `String` **Example:** ``` query PreviewFileNameConvention($convention: FileNameConventionInput!, $fileNames: [String!], $perspectiveCode: String) { previewFileNameConvention(convention: $convention, fileNames: $fileNames, perspectiveCode: $perspectiveCode) { unmatchedCount } } ``` --- ## pricelist Public PAYG pricelist derived from the current server-side PricingVersion. Every row carries its own `label` and `tier`: render those, and do not derive presentation from the usageType string. `tier` is GENERATION (charged per attempt while creating) or RELEASE (charged once when an asset is exported). Only charges a merchant can actually incur are returned. Rates that exist as internal fallbacks or belong to removed features are omitted, so this list will not match the full UsageType enum. **Returns:** [`[PricelistEntry!]!`](https://help.brandmachine.shop/api-types/#pricelistentry) **Example:** ``` query Pricelist { pricelist { chargeCents currency label outputUnit pricingVersion tier } } ``` --- ## productStudioHomeDigest Pre-bucketed Home view payload: needs-your-attention and recently-generated sections. **Returns:** [`ProductStudioHomeDigest!`](https://help.brandmachine.shop/api-types/#productstudiohomedigest) **Example:** ``` query ProductStudioHomeDigest { productStudioHomeDigest { needsAttention { perspectivesGenerated perspectivesPicked reviewState thumbnailUrl } } } ``` --- ## productStudioRenderSize The pixel size a perspective with these settings renders at, before any crop. A free-form target ratio renders at its closest native ratio. Null for models Product Studio does not render with. **Returns:** [`RenderSize`](https://help.brandmachine.shop/api-types/#rendersize) **Arguments:** - `aiModel` [`AiModel!`](https://help.brandmachine.shop/api-enums/#aimodel) **required** - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio) - `targetRatioW` `Int` - `targetRatioH` `Int` - `preview` `Boolean` **Example:** ``` query ProductStudioRenderSize($aiModel: AiModel!, $aspectRatio: AspectRatio, $targetRatioW: Int, $targetRatioH: Int, $preview: Boolean) { productStudioRenderSize(aiModel: $aiModel, aspectRatio: $aspectRatio, targetRatioW: $targetRatioW, targetRatioH: $targetRatioH, preview: $preview) { height width } } ``` --- ## productStudiosForBatch Get draft ProductStudios for a batch plan review **Returns:** [`[ProductStudio!]!`](https://help.brandmachine.shop/api-types/#productstudio) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query ProductStudiosForBatch($batchId: UUID!) { productStudiosForBatch(batchId: $batchId) { id createdAt isGenerated status teamDomain title } } ``` --- ## releasedImages Every released image of the team that is new or changed since `after`, oldest change first: product studio outputs, campaign image results and group shot results. A change appears about one minute after it happens, so a release is never delivered before it is fully saved. A release changes when the image is re-released or edited after release, so the same release can appear again with a new `exportImageUrl`; treat its `id` as the key to overwrite. Deleting the studio or campaign removes its releases and is not reported here. To sync: call without `after`, then keep calling with the returned `cursor` while `hasMore` is true, and store the last `cursor` for the next run. **Returns:** [`ReleasedImagesPage!`](https://help.brandmachine.shop/api-types/#releasedimagespage) **Arguments:** - `after` `String`: The `cursor` from your previous call. Omit it on the first sync to start from the team's first release. - `first` `Int`: Page size, 1 to 500. Defaults to 100. **Example:** ``` query ReleasedImages($after: String, $first: Int) { releasedImages(after: $after, first: $first) { cursor hasMore } } ``` --- ## resourcesInDesignerCollection Every DesignerInstanceResource owned by any DI inside the collection, most recent first. Drives the cross-DI resource browse panel in the Designer inspector. **Returns:** [`[DesignerInstanceResource!]!`](https://help.brandmachine.shop/api-types/#designerinstanceresource) **Arguments:** - `designerCollectionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query ResourcesInDesignerCollection($designerCollectionId: UUID!) { resourcesInDesignerCollection(designerCollectionId: $designerCollectionId) { id createdAt description designerInstanceId imageKey imageUrl } } ``` --- ## searchFashionModels Search fashion models by name (case-insensitive) **Returns:** [`[FashionModel!]!`](https://help.brandmachine.shop/api-types/#fashionmodel) **Arguments:** - `name` `String!` **required** - `limit` `Int` **Example:** ``` query SearchFashionModels($name: String!, $limit: Int) { searchFashionModels(name: $name, limit: $limit) { id createdAt gender name status teamDomain } } ``` --- ## shootingLocation Get a single shootingLocation by ID **Returns:** [`ShootingLocation`](https://help.brandmachine.shop/api-types/#shootinglocation) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query ShootingLocation($id: UUID!) { shootingLocation(id: $id) { id createdAt teamDomain thumbnailUrl title updatedAt } } ``` --- ## shootingLocationRevision Get a single shooting location revision by ID **Returns:** [`ShootingLocationRevision`](https://help.brandmachine.shop/api-types/#shootinglocationrevision) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query ShootingLocationRevision($id: UUID!) { shootingLocationRevision(id: $id) { id createdAt favorite imageKey label model } } ``` --- ## shootingLocations Get shootingLocations with pagination **Returns:** [`[ShootingLocation!]!`](https://help.brandmachine.shop/api-types/#shootinglocation) **Arguments:** - `limit` `Int!` **required** - `offset` `Int!` **required** **Example:** ``` query ShootingLocations($limit: Int!, $offset: Int!) { shootingLocations(limit: $limit, offset: $offset) { id createdAt teamDomain thumbnailUrl title updatedAt } } ``` --- ## shopifyProducts Search Shopify products via the Admin API **Returns:** [`ShopifyProductsResult!`](https://help.brandmachine.shop/api-types/#shopifyproductsresult) **Arguments:** - `query` `String!` **required** - `first` `Int` - `after` `String` - `sortKey` `String` - `reverse` `Boolean` **Example:** ``` query ShopifyProducts($query: String!, $first: Int, $after: String, $sortKey: String, $reverse: Boolean) { shopifyProducts(query: $query, first: $first, after: $after, sortKey: $sortKey, reverse: $reverse) { pageInfo { endCursor hasNextPage } } } ``` --- ## sizeChart Get a single size chart by ID **Returns:** [`SizeChart!`](https://help.brandmachine.shop/api-types/#sizechart) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query SizeChart($id: UUID!) { sizeChart(id: $id) { id baseSize code createdAt department derivedFromChartId } } ``` --- ## sizeChartDepartments Departments that have current uploaded charts, for the matcher's department picker. Preselect when there is only one. **Returns:** `[String!]!` **Example:** ``` query SizeChartDepartments { sizeChartDepartments } ``` --- ## sizeCharts The team's size chart library: uploaded standard specs and design charts. Metadata is cheap; rows load in batches. **Returns:** [`[SizeChart!]!`](https://help.brandmachine.shop/api-types/#sizechart) **Arguments:** - `source` [`SizeChartSource`](https://help.brandmachine.shop/api-enums/#sizechartsource) - `department` `String` - `garmentType` `String` - `patternGroup` `String`: Only the charts of one pattern group, e.g. to show a chart's siblings. - `includeSuperseded` `Boolean`: Include uploaded charts replaced by a later upload. Default false. **Example:** ``` query SizeCharts($source: SizeChartSource, $department: String, $garmentType: String, $patternGroup: String, $includeSuperseded: Boolean) { sizeCharts(source: $source, department: $department, garmentType: $garmentType, patternGroup: $patternGroup, includeSuperseded: $includeSuperseded) { id baseSize code createdAt department derivedFromChartId } } ``` --- ## skill Get a single skill by ID **Returns:** [`Skill!`](https://help.brandmachine.shop/api-types/#skill) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query Skill($id: UUID!) { skill(id: $id) { id body createdAt teamDomain title updatedAt } } ``` --- ## skills Get all skills for the current team **Returns:** [`[Skill!]!`](https://help.brandmachine.shop/api-types/#skill) **Example:** ``` query Skills { skills { id body createdAt teamDomain title updatedAt } } ``` --- ## storeConnectionPreview From the Shopify app: the account a store-connect code belongs to, to show before connecting. **Returns:** [`StoreConnectionPreview!`](https://help.brandmachine.shop/api-types/#storeconnectionpreview) **Arguments:** - `code` `String!` **required** **Example:** ``` query StoreConnectionPreview($code: String!) { storeConnectionPreview(code: $code) { accountName createdAt creditBalanceCents memberCount } } ``` --- ## teamMembers Everyone with access to this team, oldest first. Shopify staff have no email or name. **Returns:** [`[TeamMember!]!`](https://help.brandmachine.shop/api-types/#teammember) **Example:** ``` query TeamMembers { teamMembers { id email expiresAt isCurrentUser joinedAt name } } ``` --- ## unassignedCampaignImages Get campaign images not assigned to any campaign **Returns:** [`[CampaignImage!]!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `limit` `Int` - `offset` `Int` **Example:** ``` query UnassignedCampaignImages($limit: Int, $offset: Int) { unassignedCampaignImages(limit: $limit, offset: $offset) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## wardrobeItem Get a single wardrobe article by ID **Returns:** [`WardrobeItem`](https://help.brandmachine.shop/api-types/#wardrobeitem) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query WardrobeItem($id: UUID!) { wardrobeItem(id: $id) { id archivedAt category createdAt styleReference teamDomain } } ``` --- ## wardrobeItems Styling articles the team completes looks with **Returns:** [`[WardrobeItem!]!`](https://help.brandmachine.shop/api-types/#wardrobeitem) **Arguments:** - `includeArchived` `Boolean`: Include archived articles. Settings only; pickers and the planner must not. **Example:** ``` query WardrobeItems($includeArchived: Boolean) { wardrobeItems(includeArchived: $includeArchived) { id archivedAt category createdAt styleReference teamDomain } } ``` --- ## workflow A single workflow definition **Returns:** [`Workflow!`](https://help.brandmachine.shop/api-types/#workflow) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query Workflow($id: UUID!) { workflow(id: $id) { id createdAt instructions name teamDomain updatedAt } } ``` --- ## workflowRun A single workflow run; poll while non-terminal to watch progress **Returns:** [`WorkflowRun!`](https://help.brandmachine.shop/api-types/#workflowrun) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query WorkflowRun($id: UUID!) { workflowRun(id: $id) { id awaitingStepId batchId completedStepIds createdAt lastError } } ``` --- ## workflowRuns All runs of one workflow, newest first **Returns:** [`[WorkflowRun!]!`](https://help.brandmachine.shop/api-types/#workflowrun) **Arguments:** - `workflowId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` query WorkflowRuns($workflowId: UUID!) { workflowRuns(workflowId: $workflowId) { id awaitingStepId batchId completedStepIds createdAt lastError } } ``` --- ## workflows All workflow definitions for the team, newest first **Returns:** [`[Workflow!]!`](https://help.brandmachine.shop/api-types/#workflow) **Example:** ``` query Workflows { workflows { id createdAt instructions name teamDomain updatedAt } } ``` --- ================================================================================ # Mutations Source: https://help.brandmachine.shop/api-mutations/ All GraphQL mutations for creating, changing and deleting data, in alphabetical order. Each example selects a few fields of the returned type. Select the fields you need instead: the linked type lists all of them. An [API token](https://help.brandmachine.shop/api-authentication/) can call an operation when its role allows it: reading works with any role, and changes need Member or higher unless the operation says otherwise. Operations that need more are marked with the lowest role a token needs. ## addDesignerInstanceToDesignerCollection Attach a DesignerInstance to a DesignerCollection. Idempotent. **Returns:** [`DesignerCollection!`](https://help.brandmachine.shop/api-types/#designercollection) **Arguments:** - `designerCollectionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation AddDesignerInstanceToDesignerCollection($designerCollectionId: UUID!, $designerInstanceId: UUID!) { addDesignerInstanceToDesignerCollection(designerCollectionId: $designerCollectionId, designerInstanceId: $designerInstanceId) { id brief createdAt season status teamDomain } } ``` --- ## addFashionModelToLibrary Add a fashion model to your team's library (quota dependent) Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation AddFashionModelToLibrary($id: UUID!) { addFashionModelToLibrary(id: $id) } ``` --- ## addMarketplacePreset Install a marketplace preset (e.g. BREUNINGER) for the team: copies the preset's perspectives in as team-owned rows. Locked slots come back frozen (only aiModel editable, no archive/delete); the detail slot is a regular editable perspective. Idempotent: existing copies are returned instead of duplicated. Returns the preset's perspectives. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`[ProductStudioPerspective!]!`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `marketplace` [`MarketplacePreset!`](https://help.brandmachine.shop/api-enums/#marketplacepreset) **required** **Example:** ``` mutation AddMarketplacePreset($marketplace: MarketplacePreset!) { addMarketplacePreset(marketplace: $marketplace) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## addMediaPlanCard Add an image already in the plan to a carousel as another card, scored immediately. Refused for a single-image unit, past the unit's maximum, or for an image already in it. **Returns:** [`PlannedPlacement!`](https://help.brandmachine.shop/api-types/#plannedplacement) **Arguments:** - `placementId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `mediaPlanSourceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation AddMediaPlanCard($placementId: UUID!, $mediaPlanSourceId: UUID!) { addMediaPlanCard(placementId: $placementId, mediaPlanSourceId: $mediaPlanSourceId) { id approvedAt brandAssetsOverridden headlineTreatmentId mediaPlacementId notes } } ``` --- ## addMediaPlanSources Add finished campaign outputs to an existing plan. Each gets its own single-image ads in the units the plan still has, and joins each carousel as a card. Spends what creating a plan spends per image (copy, measurement, two SAM calls); new cards return at PENDING. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) **Arguments:** - `planId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `campaignImageResultIds` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation AddMediaPlanSources($planId: UUID!, $campaignImageResultIds: [UUID!]!) { addMediaPlanSources(planId: $planId, campaignImageResultIds: $campaignImageResultIds) { id copyGeneratingSince copyGenerationError createdAt headlineTreatmentId instructions } } ``` --- ## addPatternRevisionToDesignerCollection Attach a PatternRevision to a DesignerCollection. Idempotent. **Returns:** [`DesignerCollection!`](https://help.brandmachine.shop/api-types/#designercollection) **Arguments:** - `designerCollectionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `patternRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation AddPatternRevisionToDesignerCollection($designerCollectionId: UUID!, $patternRevisionId: UUID!) { addPatternRevisionToDesignerCollection(designerCollectionId: $designerCollectionId, patternRevisionId: $patternRevisionId) { id brief createdAt season status teamDomain } } ``` --- ## addPatternRevisionToDesignerInstance Select (connect) a PatternRevision on a Designer Instance. Idempotent. The pattern becomes available to materialise into a fabric swatch via createDesignerFabric. **Returns:** [`DesignerInstance!`](https://help.brandmachine.shop/api-types/#designerinstance) **Arguments:** - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `patternRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation AddPatternRevisionToDesignerInstance($designerInstanceId: UUID!, $patternRevisionId: UUID!) { addPatternRevisionToDesignerInstance(designerInstanceId: $designerInstanceId, patternRevisionId: $patternRevisionId) { id activeFabricId archivedAt createdAt description fashionModelRevisionId } } ``` --- ## addProductStudioInput Add an existing batch input image as a new input on a ProductStudio (planner support-product edit) **Returns:** [`ProductStudioInput!`](https://help.brandmachine.shop/api-types/#productstudioinput) **Arguments:** - `productStudioId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `batchInputImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `isHero` `Boolean` - `productTitle` `String` **Example:** ``` mutation AddProductStudioInput($productStudioId: UUID!, $batchInputImageId: UUID!, $isHero: Boolean, $productTitle: String) { addProductStudioInput(productStudioId: $productStudioId, batchInputImageId: $batchInputImageId, isHero: $isHero, productTitle: $productTitle) { id createdAt fileName filenameView isHero isStylingPiece } } ``` --- ## addSingleShotToGroupShot Add a single shot to a group shot (max 3) **Returns:** [`GroupShotSingleShot!`](https://help.brandmachine.shop/api-types/#groupshotsingleshot) **Arguments:** - `groupShotId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation AddSingleShotToGroupShot($groupShotId: UUID!, $campaignImageId: UUID!) { addSingleShotToGroupShot(groupShotId: $groupShotId, campaignImageId: $campaignImageId) { id campaignImageId createdAt groupShotId } } ``` --- ## addSkillToBatch Add a skill to a batch **Returns:** [`Batch!`](https://help.brandmachine.shop/api-types/#batch) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `skillId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation AddSkillToBatch($batchId: UUID!, $skillId: UUID!) { addSkillToBatch(batchId: $batchId, skillId: $skillId) { id campaignImageCount createdAt inspirationCount instructions isGenerated } } ``` --- ## amendMediaPlan Bulk-edit a plan by handle (look-1, stories, stories-9x16, 4:5, band-bottom-white, logo slugs), never by id. Operations apply in order, all or nothing. An unknown handle is rejected with the valid set named, and every error in a call is reported at once. A known handle that matches nothing succeeds with a note; a call where every operation matched nothing is rejected. Rejection wording is a contract with the agent: do not change it casually. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`AmendMediaPlanResult!`](https://help.brandmachine.shop/api-types/#amendmediaplanresult) **Arguments:** - `planId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `operations` [`[MediaPlanOperation!]!`](https://help.brandmachine.shop/api-input-types/#mediaplanoperation) **required** **Example:** ``` mutation AmendMediaPlan($planId: UUID!, $operations: [MediaPlanOperation!]!) { amendMediaPlan(planId: $planId, operations: $operations) { adsAdded adsApproved adsUnapproved approvalsWithdrawn cardsChanged cardsRemoved } } ``` --- ## amendPlan Surgically amend a batch plan: update, add, or remove individual draft items; untouched items are never modified **Returns:** [`AmendPlanResult!`](https://help.brandmachine.shop/api-types/#amendplanresult) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `updateStudios` [`[AmendStudioInput!]`](https://help.brandmachine.shop/api-input-types/#amendstudioinput) - `updateCampaigns` [`[AmendCampaignInput!]`](https://help.brandmachine.shop/api-input-types/#amendcampaigninput) - `addStudios` [`[PlanStudioItemInput!]`](https://help.brandmachine.shop/api-input-types/#planstudioiteminput) - `addCampaigns` [`[PlanCampaignItemInput!]`](https://help.brandmachine.shop/api-input-types/#plancampaigniteminput) - `removeItemIds` [`[UUID!]`](https://help.brandmachine.shop/api-scalars/#uuid) - `campaignName` `String`: Name for the campaign when added campaign looks need one and the batch has none yet. **Example:** ``` mutation AmendPlan($batchId: UUID!, $updateStudios: [AmendStudioInput!], $updateCampaigns: [AmendCampaignInput!], $addStudios: [PlanStudioItemInput!], $addCampaigns: [PlanCampaignItemInput!], $removeItemIds: [UUID!], $campaignName: String) { amendPlan(batchId: $batchId, updateStudios: $updateStudios, updateCampaigns: $updateCampaigns, addStudios: $addStudios, addCampaigns: $addCampaigns, removeItemIds: $removeItemIds, campaignName: $campaignName) { added removed updated } } ``` --- ## annotateSizeChart Draw the design chart's base-size values onto the revision's front and back technical drawings. Needs the drawings to exist. Billed per view. Replaces the chart's previous annotation. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`SizeChartAnnotation!`](https://help.brandmachine.shop/api-types/#sizechartannotation) **Arguments:** - `sizeChartId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `designerInstanceRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation AnnotateSizeChart($sizeChartId: UUID!, $designerInstanceRevisionId: UUID!) { annotateSizeChart(sizeChartId: $sizeChartId, designerInstanceRevisionId: $designerInstanceRevisionId) { id backUrl createdAt designerInstanceRevisionId errorMessage frontUrl } } ``` --- ## approveMediaPlanCopy Approve or un-approve one line in one language. **Returns:** [`PlannedPlacement!`](https://help.brandmachine.shop/api-types/#plannedplacement) **Arguments:** - `placementId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `cardId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `slot` [`MediaCopySlot!`](https://help.brandmachine.shop/api-enums/#mediacopyslot) **required** - `locale` `String!` **required** - `approved` `Boolean!` **required** - `text` `String`: The text shown to the reviewer. When given, approval only lands on exactly that text and returns 409 if the line changed. **Example:** ``` mutation ApproveMediaPlanCopy($placementId: UUID!, $cardId: UUID, $slot: MediaCopySlot!, $locale: String!, $approved: Boolean!, $text: String) { approveMediaPlanCopy(placementId: $placementId, cardId: $cardId, slot: $slot, locale: $locale, approved: $approved, text: $text) { id approvedAt brandAssetsOverridden headlineTreatmentId mediaPlacementId notes } } ``` --- ## approveMediaPlanPlacement Approve or un-approve one ad unit. The unit, never the card: approving three of five carousel cards is not a state that means anything. Un-approving keeps the previous approver on the row. **Returns:** [`PlannedPlacement!`](https://help.brandmachine.shop/api-types/#plannedplacement) **Arguments:** - `placementId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `approved` `Boolean!` **required** **Example:** ``` mutation ApproveMediaPlanPlacement($placementId: UUID!, $approved: Boolean!) { approveMediaPlanPlacement(placementId: $placementId, approved: $approved) { id approvedAt brandAssetsOverridden headlineTreatmentId mediaPlacementId notes } } ``` --- ## archiveBrandAsset Hide a brand asset from pickers. Ads already carrying it keep it. **Returns:** [`BrandAsset!`](https://help.brandmachine.shop/api-types/#brandasset) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ArchiveBrandAsset($id: UUID!) { archiveBrandAsset(id: $id) { id archivedAt createdAt darkGroundImageKey defaultSize height } } ``` --- ## archiveDesignerInstance Archive a Designer Instance: it disappears from designerInstances and from its collections, still opens by id (old links and its revisions keep working), and refuses every change until it is unarchived — generating, resource uploads, pattern changes, fabrics, technical drawings and releases all 400. Generations already in progress continue, including dependent image calls, and delivered outputs charge normally. Idempotent; this is what the product offers instead of deleting a design. **Returns:** [`DesignerInstance!`](https://help.brandmachine.shop/api-types/#designerinstance) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ArchiveDesignerInstance($id: UUID!) { archiveDesignerInstance(id: $id) { id activeFabricId archivedAt createdAt description fashionModelRevisionId } } ``` --- ## archiveInspiration Hide an inspiration from the library and every board. Renders never depend on it, so nothing already generated changes. **Returns:** [`Inspiration!`](https://help.brandmachine.shop/api-types/#inspiration) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ArchiveInspiration($id: UUID!) { archiveInspiration(id: $id) { id archivedAt categories createdAt fileName height } } ``` --- ## archiveProductStudioPerspective Archive a product studio perspective (soft hide from default list) **Returns:** [`ProductStudioPerspective!`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ArchiveProductStudioPerspective($id: UUID!) { archiveProductStudioPerspective(id: $id) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## archiveWardrobeItem Hide a wardrobe article from pickers and from the planner, keeping it and its photographs intact **Returns:** [`WardrobeItem!`](https://help.brandmachine.shop/api-types/#wardrobeitem) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ArchiveWardrobeItem($id: UUID!) { archiveWardrobeItem(id: $id) { id archivedAt category createdAt styleReference teamDomain } } ``` --- ## assignCampaignImageToCampaign Assign an existing campaign image to a campaign **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `campaignId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation AssignCampaignImageToCampaign($campaignImageId: UUID!, $campaignId: UUID!) { assignCampaignImageToCampaign(campaignImageId: $campaignImageId, campaignId: $campaignId) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## attachPlateToPerspective **Returns:** [`ProductStudioPerspective!`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `perspectiveId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `plateKey` `String!` **required**: Storage key of an already-uploaded plate: a photograph of the empty set with the person replaced by a flat grey silhouette. It pins where the model stands and how large they are in the frame. - `guideKey` `String`: OPTIONAL. Storage key of a shadow guide for this plate: the SAME photograph with a magenta dashed outline marking the region the model's shadow may occupy. Authored alongside the plate by whoever made it, never derived here. Omit it and the plate is used on its own, which is the ordinary case: a guide is a refinement for a partner who wants the shadow constrained precisely, and measurement found it changes neither the shadow's direction nor its extent. Three-state: send a key to set the guide, null to remove it, or omit it to keep whatever guide is already stored. Omitting it while ALSO changing the plate is refused rather than guessed, because a guide is positioned against its own plate's silhouette and one drawn for a different plate marks the wrong floor. **Example:** ``` mutation AttachPlateToPerspective($perspectiveId: UUID!, $plateKey: String!, $guideKey: String) { attachPlateToPerspective(perspectiveId: $perspectiveId, plateKey: $plateKey, guideKey: $guideKey) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## attachWardrobeItemToCampaignImage Style a campaign look with a wardrobe article. Takes one photograph per article, front where there is one, since this arc has no view types. **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `wardrobeItemId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation AttachWardrobeItemToCampaignImage($campaignImageId: UUID!, $wardrobeItemId: UUID!) { attachWardrobeItemToCampaignImage(campaignImageId: $campaignImageId, wardrobeItemId: $wardrobeItemId) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## attachWardrobeItemToProductStudio Style a product studio look with a wardrobe article. **Returns:** [`ProductStudio!`](https://help.brandmachine.shop/api-types/#productstudio) **Arguments:** - `productStudioId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `wardrobeItemId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation AttachWardrobeItemToProductStudio($productStudioId: UUID!, $wardrobeItemId: UUID!) { attachWardrobeItemToProductStudio(productStudioId: $productStudioId, wardrobeItemId: $wardrobeItemId) { id createdAt isGenerated status teamDomain title } } ``` --- ## castFromInspiration Start a casting of new people from a MODEL pin's description (never its photo). Picking a candidate links the new model to the pin. Billed like any casting. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`FashionModelCasting!`](https://help.brandmachine.shop/api-types/#fashionmodelcasting) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `inspirationId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `gender` [`FashionModelGender`](https://help.brandmachine.shop/api-enums/#fashionmodelgender): Defaults to the gender the pin's MODEL reading suggests. **Example:** ``` mutation CastFromInspiration($batchId: UUID!, $inspirationId: UUID!, $gender: FashionModelGender) { castFromInspiration(batchId: $batchId, inspirationId: $inspirationId, gender: $gender) { id createdAt gender prompt teamDomain updatedAt } } ``` --- ## clearCampaignImageFashionModel Clear fashion model from a campaign image **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ClearCampaignImageFashionModel($campaignImageId: UUID!) { clearCampaignImageFashionModel(campaignImageId: $campaignImageId) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## clearCampaignImageGuidance Remove the guidance reference image from a campaign image **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ClearCampaignImageGuidance($campaignImageId: UUID!) { clearCampaignImageGuidance(campaignImageId: $campaignImageId) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## clearCampaignImageShootingLocation Clear shooting location revision from a campaign image **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ClearCampaignImageShootingLocation($campaignImageId: UUID!) { clearCampaignImageShootingLocation(campaignImageId: $campaignImageId) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## connectStore From a freshly installed Shopify app: join this store to the account the code belongs to. **Returns:** `Boolean!` **Arguments:** - `code` `String!` **required** **Example:** ``` mutation ConnectStore($code: String!) { connectStore(code: $code) } ``` --- ## copyDesignerInstanceResource Clone a DesignerInstanceResource onto a target DI. Shares the underlying image_key; label, description, roles and roleSource are copied verbatim and the rows are independent thereafter. Powers the cross-DI resource browse pull-in. **Returns:** [`DesignerInstanceResource!`](https://help.brandmachine.shop/api-types/#designerinstanceresource) **Arguments:** - `sourceResourceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `targetDesignerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation CopyDesignerInstanceResource($sourceResourceId: UUID!, $targetDesignerInstanceId: UUID!) { copyDesignerInstanceResource(sourceResourceId: $sourceResourceId, targetDesignerInstanceId: $targetDesignerInstanceId) { id createdAt description designerInstanceId imageKey imageUrl } } ``` --- ## createApiToken Create a named API token with its own role. The response is the only time the secret is ever returned; rotating a token is revoke, then create. Not available with API tokens: This operation needs the Admin role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`CreatedApiToken!`](https://help.brandmachine.shop/api-types/#createdapitoken) **Arguments:** - `name` `String!` **required** - `role` [`Role!`](https://help.brandmachine.shop/api-enums/#role) **required**: At most APPROVER, and at most your own role. **Example:** ``` mutation CreateApiToken($name: String!, $role: Role!) { createApiToken(name: $name, role: $role) { secret } } ``` --- ## createBatch Create a new batch **Returns:** [`Batch!`](https://help.brandmachine.shop/api-types/#batch) **Arguments:** - `instructions` `String` - `shootType` [`ShootType`](https://help.brandmachine.shop/api-enums/#shoottype) - `campaignId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): Campaign this shoot fills, e.g. from "New campaign". Every plan on the batch puts its campaign looks there. - `startsFromMoodboard` `Boolean`: True when the shoot starts from a moodboard ("New campaign"): the agent then prepares cast and sets from the board before asking for products. **Example:** ``` mutation CreateBatch($instructions: String, $shootType: ShootType, $campaignId: UUID, $startsFromMoodboard: Boolean) { createBatch(instructions: $instructions, shootType: $shootType, campaignId: $campaignId, startsFromMoodboard: $startsFromMoodboard) { id campaignImageCount createdAt inspirationCount instructions isGenerated } } ``` --- ## createBillingPortalSession Create a Stripe Customer Portal session for invoice and billing management. Not available with API tokens: This operation needs the Owner role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`CreateBillingPortalSessionResponse!`](https://help.brandmachine.shop/api-types/#createbillingportalsessionresponse) **Arguments:** - `returnUrl` `String!` **required** **Example:** ``` mutation CreateBillingPortalSession($returnUrl: String!) { createBillingPortalSession(returnUrl: $returnUrl) { url } } ``` --- ## createBrandMemory **Returns:** [`BrandMemory!`](https://help.brandmachine.shop/api-types/#brandmemory) **Arguments:** - `brandName` `String!` **required** - `brandIdentity` `String!` **required** - `fashionModelInstructions` `String` - `photoStyleInstructions` `String` - `targetGroupInstructions` `String` - `copywritingInstructions` `String` **Example:** ``` mutation CreateBrandMemory($brandName: String!, $brandIdentity: String!, $fashionModelInstructions: String, $photoStyleInstructions: String, $targetGroupInstructions: String, $copywritingInstructions: String) { createBrandMemory(brandName: $brandName, brandIdentity: $brandIdentity, fashionModelInstructions: $fashionModelInstructions, photoStyleInstructions: $photoStyleInstructions, targetGroupInstructions: $targetGroupInstructions, copywritingInstructions: $copywritingInstructions) { id brandIdentity brandName copywritingInstructions createdAt fashionModelInstructions } } ``` --- ## createCampaign Create a new campaign **Returns:** [`Campaign!`](https://help.brandmachine.shop/api-types/#campaign) **Arguments:** - `name` `String!` **required** - `shootingLocationRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) **Example:** ``` mutation CreateCampaign($name: String!, $shootingLocationRevisionId: UUID) { createCampaign(name: $name, shootingLocationRevisionId: $shootingLocationRevisionId) { id createdAt name teamDomain updatedAt } } ``` --- ## createCampaignImage Create a new campaign image, optionally assigned to a campaign **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `title` `String!` **required** - `prompt` `String` - `campaignId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio) **Example:** ``` mutation CreateCampaignImage($title: String!, $prompt: String, $campaignId: UUID, $aspectRatio: AspectRatio) { createCampaignImage(title: $title, prompt: $prompt, campaignId: $campaignId, aspectRatio: $aspectRatio) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## createCampaignImageResource Create a resource with pre-analyzed content **Returns:** [`CampaignImageResource!`](https://help.brandmachine.shop/api-types/#campaignimageresource) **Arguments:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `name` `String!` **required** - `content` `String!` **required** - `purpose` `String!` **required** **Example:** ``` mutation CreateCampaignImageResource($campaignImageId: UUID!, $name: String!, $content: String!, $purpose: String!) { createCampaignImageResource(campaignImageId: $campaignImageId, name: $name, content: $content, purpose: $purpose) { id campaignImageId content createdAt name purpose } } ``` --- ## createDesignerCollection Create a new DesignerCollection (named parent that groups Designer Instances and Pattern Revisions). Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`DesignerCollection!`](https://help.brandmachine.shop/api-types/#designercollection) **Arguments:** - `title` `String!` **required** - `season` `String` - `brief` `String` **Example:** ``` mutation CreateDesignerCollection($title: String!, $season: String, $brief: String) { createDesignerCollection(title: $title, season: $season, brief: $brief) { id brief createdAt season status teamDomain } } ``` --- ## createDesignerFabric Designer v4 fabric layer: materialise a frozen fabric swatch from a connected PatternRevision (tiled via Ideogram, tiling mode driven by the Pattern's repeat flags) and set it as the instance's active fabric when the tiling completes. Pass baseFabricId to iterate from an existing fabric. reinterpretation (0 to 1, default 0.3) is how far the tiling model may travel from the source print: low reproduces the designer's print, high lets the model reinterpret it; out-of-range is rejected. Fabric materialisation is backend-owned; the agent routes but does not compose the tiling prompt. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`DesignerFabric!`](https://help.brandmachine.shop/api-types/#designerfabric) **Arguments:** - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `sourcePatternRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `baseFabricId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `reinterpretation` `Float` **Example:** ``` mutation CreateDesignerFabric($designerInstanceId: UUID!, $sourcePatternRevisionId: UUID!, $baseFabricId: UUID, $reinterpretation: Float) { createDesignerFabric(designerInstanceId: $designerInstanceId, sourcePatternRevisionId: $sourcePatternRevisionId, baseFabricId: $baseFabricId, reinterpretation: $reinterpretation) { id baseFabricId createdAt designerInstanceId errorMessage generationModel } } ``` --- ## createDesignerInstance Create a new Designer Instance Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`DesignerInstance!`](https://help.brandmachine.shop/api-types/#designerinstance) **Arguments:** - `title` `String!` **required** **Example:** ``` mutation CreateDesignerInstance($title: String!) { createDesignerInstance(title: $title) { id activeFabricId archivedAt createdAt description fashionModelRevisionId } } ``` --- ## createDesignerSizeChart Create the design's size chart by copying every row of the source chart. Replaces the design's existing chart. **Returns:** [`SizeChart!`](https://help.brandmachine.shop/api-types/#sizechart) **Arguments:** - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `sourceSizeChartId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required**: Any chart in the team's library: a matcher candidate, another chart the designer picked, or a previous design's chart. - `matchRunId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The run this pick resolves, if it came from the matcher. Pass it even when the pick is outside the shortlist. **Example:** ``` mutation CreateDesignerSizeChart($designerInstanceId: UUID!, $sourceSizeChartId: UUID!, $matchRunId: UUID) { createDesignerSizeChart(designerInstanceId: $designerInstanceId, sourceSizeChartId: $sourceSizeChartId, matchRunId: $matchRunId) { id baseSize code createdAt department derivedFromChartId } } ``` --- ## createFashionModelCasting Create a new fashion model casting session **Returns:** [`FashionModelCasting!`](https://help.brandmachine.shop/api-types/#fashionmodelcasting) **Arguments:** - `gender` [`FashionModelGender!`](https://help.brandmachine.shop/api-enums/#fashionmodelgender) **required** - `prompt` `String!` **required** **Example:** ``` mutation CreateFashionModelCasting($gender: FashionModelGender!, $prompt: String!) { createFashionModelCasting(gender: $gender, prompt: $prompt) { id createdAt gender prompt teamDomain updatedAt } } ``` --- ## createFashionModelFromCastingResult Create a fashion model from a selected casting result Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`FashionModel!`](https://help.brandmachine.shop/api-types/#fashionmodel) **Arguments:** - `castingResultId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `modelName` `String!` **required** - `gender` [`FashionModelGender!`](https://help.brandmachine.shop/api-enums/#fashionmodelgender) **required** **Example:** ``` mutation CreateFashionModelFromCastingResult($castingResultId: UUID!, $modelName: String!, $gender: FashionModelGender!) { createFashionModelFromCastingResult(castingResultId: $castingResultId, modelName: $modelName, gender: $gender) { id createdAt gender name status teamDomain } } ``` --- ## createGroupShot Create a new group shot within a campaign **Returns:** [`GroupShot!`](https://help.brandmachine.shop/api-types/#groupshot) **Arguments:** - `campaignId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `shootingLocationRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `prompt` `String` - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio) **Example:** ``` mutation CreateGroupShot($campaignId: UUID!, $shootingLocationRevisionId: UUID, $prompt: String, $aspectRatio: AspectRatio) { createGroupShot(campaignId: $campaignId, shootingLocationRevisionId: $shootingLocationRevisionId, prompt: $prompt, aspectRatio: $aspectRatio) { id aspectRatio campaignId createdAt errorMessage prompt } } ``` --- ## createLocationFromInspiration Create a new set location from a LOCATION pin's reading, with the board's mood written into it, and link it to the pin. Billed like any set generation. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`BatchInspiration!`](https://help.brandmachine.shop/api-types/#batchinspiration) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `inspirationId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation CreateLocationFromInspiration($batchId: UUID!, $inspirationId: UUID!) { createLocationFromInspiration(batchId: $batchId, inspirationId: $inspirationId) { id sortOrder } } ``` --- ## createMediaPlan An empty plan: no images and no ads. Add images with addMediaPlanSources, then ads on the board or through amendMediaPlan. Languages start from the team's default when omitted. Spends nothing. **Returns:** [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) **Arguments:** - `name` `String` - `instructions` `String` - `locales` `[String!]` **Example:** ``` mutation CreateMediaPlan($name: String, $instructions: String, $locales: [String!]) { createMediaPlan(name: $name, instructions: $instructions, locales: $locales) { id copyGeneratingSince copyGenerationError createdAt headlineTreatmentId instructions } } ``` --- ## createOnboardingSampleData Create initial sample data for onboarding (idempotent) **Returns:** [`OnboardingSampleDataResult!`](https://help.brandmachine.shop/api-types/#onboardingsampledataresult) **Example:** ``` mutation CreateOnboardingSampleData { createOnboardingSampleData { created } } ``` --- ## createPattern Create a new Pattern (shop-level, scoped to the current team). Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`Pattern!`](https://help.brandmachine.shop/api-types/#pattern) **Arguments:** - `name` `String!` **required** - `repeatHorizontal` `Boolean` - `repeatVertical` `Boolean` **Example:** ``` mutation CreatePattern($name: String!, $repeatHorizontal: Boolean, $repeatVertical: Boolean) { createPattern(name: $name, repeatHorizontal: $repeatHorizontal, repeatVertical: $repeatVertical) { id createdAt name repeatHorizontal repeatVertical status } } ``` --- ## createPatternFromDesignerResource Make a team Pattern from an image resource on this Designer Instance: copies the image into a new completed PatternRevision (no generation, no charge) and selects it on the instance. name defaults to the resource label. Idempotent per resource: if a revision was already made from this resource it is returned as is (its repeat flags are not changed) and re-selected. Use the returned id as the fabric source (fabric.kind 'pattern'). 404 if the resource is not on this instance, 400 if it has no image or the design is archived. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`PatternRevision!`](https://help.brandmachine.shop/api-types/#patternrevision) **Arguments:** - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `resourceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `name` `String` - `repeatHorizontal` `Boolean!` **required** - `repeatVertical` `Boolean!` **required** **Example:** ``` mutation CreatePatternFromDesignerResource($designerInstanceId: UUID!, $resourceId: UUID!, $name: String, $repeatHorizontal: Boolean!, $repeatVertical: Boolean!) { createPatternFromDesignerResource(designerInstanceId: $designerInstanceId, resourceId: $resourceId, name: $name, repeatHorizontal: $repeatHorizontal, repeatVertical: $repeatVertical) { id baseRevisionId createdAt errorMessage favorite generationModel } } ``` --- ## createProductStudio Create a new ProductStudio session **Returns:** [`ProductStudio!`](https://help.brandmachine.shop/api-types/#productstudio) **Example:** ``` mutation CreateProductStudio { createProductStudio { id createdAt isGenerated status teamDomain title } } ``` --- ## createProductStudioPerspective Create a new product studio perspective Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ProductStudioPerspective!`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `name` `String!` **required** - `prompt` `String!` **required** - `qaPrompt` `String`: Whether this perspective is quality-checked, and what extra it is checked for. Null means it is not scored at all; an empty string means scored on the standard rubric with nothing added; text means scored on the standard rubric plus that text. Not a render instruction. - `acceptedViewTypes` [`[ViewType!]`](https://help.brandmachine.shop/api-enums/#viewtype) - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio) - `targetRatioW` `Int`: Optional free-form target ratio width (e.g. 7 in 7:9). Must be sent together with targetRatioH. When set, renders generate at the closest native ratio and are cropped down to this exact ratio; it takes precedence over aspectRatio. Pass null (both) for no crop. - `targetRatioH` `Int`: Optional free-form target ratio height (e.g. 9 in 7:9). Must be sent together with targetRatioW. - `backgroundHexColor` `String`: Optional 6-character hex color for the studio backdrop (e.g. 'ff0077'). Pass null to clear. - `specCrop` `String`: How outputs are cropped, as the JSON crop object: placement (anchored | fitted | frame), anchors or margin, aspect and sizing. Null means outputs are not cropped. Marketplace slots ignore this and use their own. Sent as JSON rather than a typed input so the one shape the container reads is not redefined a third time here. - `isProductOnly` `Boolean`: When true, generates product-only pack shots without a fashion model. - `useHeroOnly` `Boolean`: When true, generation uses only inputs marked as hero. Use for fabric samples and similar focused shots. - `aiModel` [`AiModel`](https://help.brandmachine.shop/api-enums/#aimodel): Which AI model renders this perspective. Defaults to GEMINI_3_PRO if omitted. - `shootingLocationRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): Optional scene (shooting location revision id) to render into. When set it overrides backgroundHexColor as the backdrop. Pass null for a plain studio backdrop. - `exportCode` `String`: Token representing this perspective in delivered filenames ("001", "FRONT"). Free-form and never interpreted. Renders of a perspective with no code get no computed filename. **Example:** ``` mutation CreateProductStudioPerspective($name: String!, $prompt: String!, $qaPrompt: String, $acceptedViewTypes: [ViewType!], $aspectRatio: AspectRatio, $targetRatioW: Int, $targetRatioH: Int, $backgroundHexColor: String, $specCrop: String, $isProductOnly: Boolean, $useHeroOnly: Boolean, $aiModel: AiModel, $shootingLocationRevisionId: UUID, $exportCode: String) { createProductStudioPerspective(name: $name, prompt: $prompt, qaPrompt: $qaPrompt, acceptedViewTypes: $acceptedViewTypes, aspectRatio: $aspectRatio, targetRatioW: $targetRatioW, targetRatioH: $targetRatioH, backgroundHexColor: $backgroundHexColor, specCrop: $specCrop, isProductOnly: $isProductOnly, useHeroOnly: $useHeroOnly, aiModel: $aiModel, shootingLocationRevisionId: $shootingLocationRevisionId, exportCode: $exportCode) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## createProductStudioPerspectiveGroup Create a perspective rail tab for the current team **Returns:** [`ProductStudioPerspectiveGroup!`](https://help.brandmachine.shop/api-types/#productstudioperspectivegroup) **Arguments:** - `name` `String!` **required**: Display name of the tab. Not required to be unique: the rail creates the group on drop and only then opens the name field. - `purpose` `String`: OPTIONAL. What this group is for, in your own words ("the perspectives we ship to our own webshop"). The agent reads it to match a phrase like "add my ecommerce options" to this group. It never reaches a render prompt. **Example:** ``` mutation CreateProductStudioPerspectiveGroup($name: String!, $purpose: String) { createProductStudioPerspectiveGroup(name: $name, purpose: $purpose) { id createdAt name purpose sortOrder teamDomain } } ``` --- ## createProductStudioSetting **Returns:** [`ProductStudioSetting!`](https://help.brandmachine.shop/api-types/#productstudiosetting) **Arguments:** - `instructions` `String` - `scanInstructions` `String` **Example:** ``` mutation CreateProductStudioSetting($instructions: String, $scanInstructions: String) { createProductStudioSetting(instructions: $instructions, scanInstructions: $scanInstructions) { id createdAt instructions scanInstructions teamDomain updatedAt } } ``` --- ## createProductStudioStylingResource Create styling instructions for a ProductStudio session and perspective **Returns:** [`ProductStudioStylingResource!`](https://help.brandmachine.shop/api-types/#productstudiostylingresource) **Arguments:** - `productStudioId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `productStudioPerspectiveId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `stylingInstructions` `String!` **required** **Example:** ``` mutation CreateProductStudioStylingResource($productStudioId: UUID!, $productStudioPerspectiveId: UUID!, $stylingInstructions: String!) { createProductStudioStylingResource(productStudioId: $productStudioId, productStudioPerspectiveId: $productStudioPerspectiveId, stylingInstructions: $stylingInstructions) { id createdAt productStudioId productStudioPerspectiveId stylingInstructions } } ``` --- ## createProductVideo **Returns:** [`ProductVideo!`](https://help.brandmachine.shop/api-types/#productvideo) **Arguments:** - `productId` `String` - `productTitle` `String` - `productImage` `String` - `productImageId` `String` - `videoUrl` `String` - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) **required** - `prompt` `String` **Example:** ``` mutation CreateProductVideo($productId: String, $productTitle: String, $productImage: String, $productImageId: String, $videoUrl: String, $status: ContentGenerationStatus!, $prompt: String) { createProductVideo(productId: $productId, productTitle: $productTitle, productImage: $productImage, productImageId: $productImageId, videoUrl: $videoUrl, status: $status, prompt: $prompt) { id createdAt durationSeconds modelType productId productImage } } ``` --- ## createShootingLocation Create a new shootingLocation Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ShootingLocation!`](https://help.brandmachine.shop/api-types/#shootinglocation) **Arguments:** - `title` `String!` **required** **Example:** ``` mutation CreateShootingLocation($title: String!) { createShootingLocation(title: $title) { id createdAt teamDomain thumbnailUrl title updatedAt } } ``` --- ## createShopifyTopUpCharge Create a Shopify one-time charge to top up the team's credit balance. Not available with API tokens: This operation needs the Owner role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`CreateShopifyTopUpChargeResponse!`](https://help.brandmachine.shop/api-types/#createshopifytopupchargeresponse) **Arguments:** - `amountCents` `Int!` **required** - `returnUrl` `String!` **required** **Example:** ``` mutation CreateShopifyTopUpCharge($amountCents: Int!, $returnUrl: String!) { createShopifyTopUpCharge(amountCents: $amountCents, returnUrl: $returnUrl) { confirmationUrl purchaseId } } ``` --- ## createSkill Create a new skill for the current team **Returns:** [`Skill!`](https://help.brandmachine.shop/api-types/#skill) **Arguments:** - `title` `String!` **required** - `body` `String!` **required** **Example:** ``` mutation CreateSkill($title: String!, $body: String!) { createSkill(title: $title, body: $body) { id body createdAt teamDomain title updatedAt } } ``` --- ## createStoreConnectCode From the web app: a one-time code to enter in the Shopify app to connect its store to this account. Not available with API tokens: This operation needs the Admin role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`CreatedStoreConnectCode!`](https://help.brandmachine.shop/api-types/#createdstoreconnectcode) **Example:** ``` mutation CreateStoreConnectCode { createStoreConnectCode { code expiresAt } } ``` --- ## createTopUpCheckoutSession Create a Stripe Checkout session to top up the team's credit balance with VAT-compliant invoicing. Not available with API tokens: This operation needs the Owner role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`CreateTopUpCheckoutSessionResponse!`](https://help.brandmachine.shop/api-types/#createtopupcheckoutsessionresponse) **Arguments:** - `amountCents` `Int!` **required** - `returnUrl` `String!` **required** **Example:** ``` mutation CreateTopUpCheckoutSession($amountCents: Int!, $returnUrl: String!) { createTopUpCheckoutSession(amountCents: $amountCents, returnUrl: $returnUrl) { sessionId url } } ``` --- ## createTopUpIntent [Deprecated] Create a raw Stripe PaymentIntent. Use createTopUpCheckoutSession instead. Not available with API tokens: This operation needs the Owner role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`CreateTopUpIntentResponse!`](https://help.brandmachine.shop/api-types/#createtopupintentresponse) **Arguments:** - `amountCents` `Int!` **required** **Example:** ``` mutation CreateTopUpIntent($amountCents: Int!) { createTopUpIntent(amountCents: $amountCents) { clientSecret paymentIntentId } } ``` --- ## createWardrobeItem Create a wardrobe article. The title is free text, duplicates and all: the planner references an article by id, so nothing depends on it being unique. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`WardrobeItem!`](https://help.brandmachine.shop/api-types/#wardrobeitem) **Arguments:** - `title` `String!` **required** - `category` [`WardrobeCategory!`](https://help.brandmachine.shop/api-enums/#wardrobecategory) **required** - `usageNote` `String`: What the piece is for and when not to use it. Read by the planner. - `styleReference` `String`: The team's own style name or number. Display and search only; never links the article into product grouping or export. **Example:** ``` mutation CreateWardrobeItem($title: String!, $category: WardrobeCategory!, $usageNote: String, $styleReference: String) { createWardrobeItem(title: $title, category: $category, usageNote: $usageNote, styleReference: $styleReference) { id archivedAt category createdAt styleReference teamDomain } } ``` --- ## createWorkflow Create a workflow definition (name + Markdown instructions) **Returns:** [`Workflow!`](https://help.brandmachine.shop/api-types/#workflow) **Arguments:** - `name` `String!` **required** - `instructions` `String!` **required** **Example:** ``` mutation CreateWorkflow($name: String!, $instructions: String!) { createWorkflow(name: $name, instructions: $instructions) { id createdAt instructions name teamDomain updatedAt } } ``` --- ## deleteBatch Delete a batch and all its children Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteBatch($id: UUID!) { deleteBatch(id: $id) } ``` --- ## deleteBatchInputImage Delete an uploaded input image from a batch (also removes from R2) **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteBatchInputImage($id: UUID!) { deleteBatchInputImage(id: $id) } ``` --- ## deleteCampaign Delete a campaign and all its children Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`Campaign!`](https://help.brandmachine.shop/api-types/#campaign) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteCampaign($id: UUID!) { deleteCampaign(id: $id) { id createdAt name teamDomain updatedAt } } ``` --- ## deleteCampaignImage Delete a campaign image Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteCampaignImage($id: UUID!) { deleteCampaignImage(id: $id) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## deleteDesignerCollection Delete a DesignerCollection. Does not cascade-delete its DIs or PatternRevisions; pivot rows go away, members survive. **Returns:** [`DesignerCollection!`](https://help.brandmachine.shop/api-types/#designercollection) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteDesignerCollection($id: UUID!) { deleteDesignerCollection(id: $id) { id brief createdAt season status teamDomain } } ``` --- ## deleteDesignerInstance Delete a Designer Instance and all its resources and revisions. Not offered in the frontend: a design's revisions record work that was generated and charged for, so archiveDesignerInstance is the affordance. Kept for support and cleanup. Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteDesignerInstance($id: UUID!) { deleteDesignerInstance(id: $id) } ``` --- ## deleteDesignerInstanceResource Delete an inspiration resource (upload happens via REST POST /api/designer-instances/resources) **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteDesignerInstanceResource($id: UUID!) { deleteDesignerInstanceResource(id: $id) } ``` --- ## deleteDesignerRevision Delete a Designer Instance Revision **Returns:** `Boolean!` **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteDesignerRevision($revisionId: UUID!) { deleteDesignerRevision(revisionId: $revisionId) } ``` --- ## deleteFashionModel Delete a fashion model Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteFashionModel($id: UUID!) { deleteFashionModel(id: $id) } ``` --- ## deleteFashionModelRevision Delete a fashion model revision **Returns:** `Boolean!` **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteFashionModelRevision($revisionId: UUID!) { deleteFashionModelRevision(revisionId: $revisionId) } ``` --- ## deleteGroupShot Delete a group shot Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`GroupShot!`](https://help.brandmachine.shop/api-types/#groupshot) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteGroupShot($id: UUID!) { deleteGroupShot(id: $id) { id aspectRatio campaignId createdAt errorMessage prompt } } ``` --- ## deletePattern Delete a Pattern and all its revisions. Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeletePattern($id: UUID!) { deletePattern(id: $id) } ``` --- ## deletePatternInputReference Delete a pattern-level input reference. Does not affect revisions that already froze it into their snapshot. **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeletePatternInputReference($id: UUID!) { deletePatternInputReference(id: $id) } ``` --- ## deletePatternRevision Delete a PatternRevision. **Returns:** `Boolean!` **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeletePatternRevision($revisionId: UUID!) { deletePatternRevision(revisionId: $revisionId) } ``` --- ## deleteProductStudio Delete a ProductStudio session Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ProductStudio!`](https://help.brandmachine.shop/api-types/#productstudio) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteProductStudio($id: UUID!) { deleteProductStudio(id: $id) { id createdAt isGenerated status teamDomain title } } ``` --- ## deleteProductStudioPerspective Delete a product studio perspective **Returns:** [`ProductStudioPerspective!`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteProductStudioPerspective($id: UUID!) { deleteProductStudioPerspective(id: $id) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## deleteProductStudioPerspectiveGroup Delete a perspective rail tab. Its members return to the ungrouped rail; no perspective is deleted. There is no archive counterpart, because an archived tab would leave its members pointing at something the rail no longer shows. **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteProductStudioPerspectiveGroup($id: UUID!) { deleteProductStudioPerspectiveGroup(id: $id) } ``` --- ## deleteProductVideo Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteProductVideo($id: UUID!) { deleteProductVideo(id: $id) } ``` --- ## deleteShootingLocation Delete a shootingLocation Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteShootingLocation($id: UUID!) { deleteShootingLocation(id: $id) } ``` --- ## deleteShootingLocationRevision Delete a shooting location revision **Returns:** `Boolean!` **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteShootingLocationRevision($revisionId: UUID!) { deleteShootingLocationRevision(revisionId: $revisionId) } ``` --- ## deleteSizeChart Delete a size chart. Design charts derived from it keep their copied rows. **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteSizeChart($id: UUID!) { deleteSizeChart(id: $id) } ``` --- ## deleteSkill Delete a skill **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteSkill($id: UUID!) { deleteSkill(id: $id) } ``` --- ## deleteWardrobeItem Delete a wardrobe article and its photographs outright Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteWardrobeItem($id: UUID!) { deleteWardrobeItem(id: $id) } ``` --- ## deleteWardrobeItemImage Delete one photograph of a wardrobe article **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DeleteWardrobeItemImage($id: UUID!) { deleteWardrobeItemImage(id: $id) } ``` --- ## detachPlateFromPerspective Clear a perspective's plate and guide together. The stored files are kept: a queued render already resolved these keys. **Returns:** [`ProductStudioPerspective!`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `perspectiveId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DetachPlateFromPerspective($perspectiveId: UUID!) { detachPlateFromPerspective(perspectiveId: $perspectiveId) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## detachWardrobeItemFromCampaignImage Stop styling a campaign look with a wardrobe article **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `wardrobeItemId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DetachWardrobeItemFromCampaignImage($campaignImageId: UUID!, $wardrobeItemId: UUID!) { detachWardrobeItemFromCampaignImage(campaignImageId: $campaignImageId, wardrobeItemId: $wardrobeItemId) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## detachWardrobeItemFromProductStudio Stop styling a product studio look with a wardrobe article **Returns:** [`ProductStudio!`](https://help.brandmachine.shop/api-types/#productstudio) **Arguments:** - `productStudioId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `wardrobeItemId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DetachWardrobeItemFromProductStudio($productStudioId: UUID!, $wardrobeItemId: UUID!) { detachWardrobeItemFromProductStudio(productStudioId: $productStudioId, wardrobeItemId: $wardrobeItemId) { id createdAt isGenerated status teamDomain title } } ``` --- ## duplicateProductStudioPerspective Copy a perspective's render configuration (prompt, QA criteria, ratios, backdrop, scene, plate and guide, crop, AI model, flags) and its group into a new perspective named " (copy)", placed directly after the original on the rail, or at the end of the rail when the original was never placed. The export code is not copied, so the copy's renders never share a filename with the original's. Refused for marketplace presets and for archived perspectives. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ProductStudioPerspective!`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation DuplicateProductStudioPerspective($id: UUID!) { duplicateProductStudioPerspective(id: $id) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## executeBatch Execute a batch — triggers generation on draft ProductStudios and CampaignImages. Optional itemIds runs a subset only. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`Batch!`](https://help.brandmachine.shop/api-types/#batch) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `preview` `Boolean` - `itemIds` [`[UUID!]`](https://help.brandmachine.shop/api-scalars/#uuid) **Example:** ``` mutation ExecuteBatch($id: UUID!, $preview: Boolean, $itemIds: [UUID!]) { executeBatch(id: $id, preview: $preview, itemIds: $itemIds) { id campaignImageCount createdAt inspirationCount instructions isGenerated } } ``` --- ## exportMediaPlan Render cards as finished images, one per card per language, with their image copy and logos. Runs in the background: poll the plan's renders. Cards and languages default to all of the plan's. An image still rendering from an earlier export is skipped; an unchanged image reuses its file. Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ExportMediaPlanResult!`](https://help.brandmachine.shop/api-types/#exportmediaplanresult) **Arguments:** - `planId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `cardIds` [`[UUID!]`](https://help.brandmachine.shop/api-scalars/#uuid) - `locales` `[String!]` **Example:** ``` mutation ExportMediaPlan($planId: UUID!, $cardIds: [UUID!], $locales: [String!]) { exportMediaPlan(planId: $planId, cardIds: $cardIds, locales: $locales) { alreadyRendering failed queued } } ``` --- ## generateBrandMemory Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`BrandMemory!`](https://help.brandmachine.shop/api-types/#brandmemory) **Arguments:** - `storeName` `String!` **required** **Example:** ``` mutation GenerateBrandMemory($storeName: String!) { generateBrandMemory(storeName: $storeName) { id brandIdentity brandName copywritingInstructions createdAt fashionModelInstructions } } ``` --- ## generateCampaignImages Generate images for a campaign image with optional feedback Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `feedback` `String` - `preview` `Boolean` **Example:** ``` mutation GenerateCampaignImages($campaignImageId: UUID!, $feedback: String, $preview: Boolean) { generateCampaignImages(campaignImageId: $campaignImageId, feedback: $feedback, preview: $preview) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## generateDesignerRevision Generate a new Designer Instance Revision (plan-then-compose, designer.md 5.0). Pass a changeSet (what the user wants to change, relative to baseRevisionId) and prompts (the composer's authored SHAPE/RENDER prompts). The backend re-derives the plan authoritatively from the changeSet — which slots regenerate, whether the person base rebuilds (derived: the outfit differs from the base's frozen value, or the base has no frozen setup) — and validates that prompts covers exactly the plan's needFromComposer: a missing or extra slot 400s (person and flat slots are backend-composed and must NOT appear in prompts). The effective setup (base's frozen setup overlaid with the changeSet) is frozen onto the new revision. Use planDesignerChange first to learn which prompts to author. Preconditions: the effective description must be non-empty; a rebuild needs the instance's fashion model to have a portrait (else 400); baseRevisionId must belong to designerInstanceId; a garment/paint change needs non-empty views. Placed details: the effective detail set is frozen onto the new revision (a details change replaces it, otherwise the base's set carries), and every render prompt for a view that has details must contain each detail's label and marker colour word (see the plan's viewDetails), else 400. rebuildPersonBase is an optional force override (the backend derives it; this can only force it on). Flats are ordered separately via generateDesignerRevisionTechnicalDrawings. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`DesignerInstanceRevision!`](https://help.brandmachine.shop/api-types/#designerinstancerevision) **Arguments:** - `recoverySourceRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `requestId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `expectedPlanFingerprint` `String!` **required** - `provenance` `String!` **required** - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `baseRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `changeSet` [`DesignerChangeSet!`](https://help.brandmachine.shop/api-input-types/#designerchangeset) **required** - `prompts` [`DesignerComposedPrompts!`](https://help.brandmachine.shop/api-input-types/#designercomposedprompts) **required** - `userRequest` `String!` **required** - `intentTag` `String` - `rebuildPersonBase` `Boolean` - `renderQuality` [`DesignerRenderQuality`](https://help.brandmachine.shop/api-enums/#designerrenderquality): FAST (default when omitted) renders at medium; QUALITY renders the FRONT and BACK render slots, masked edits included, at high. Puppets, person bases and flats stay at medium. - `stage` [`DesignerRevisionStage`](https://help.brandmachine.shop/api-enums/#designerrevisionstage): DRAWING creates a drawing revision (puppets and print-free flats, completes when both flats land): a first-look drawing without a base, or a redraw of a fabric or cut change on a base. - `acceptedImpliedWork` [`[DesignerImpliedWorkKind!]`](https://help.brandmachine.shop/api-enums/#designerimpliedworkkind): The kinds of the plan's impliedWork that genkit accepted. Any implied kind not listed refuses the generation (400 naming it); implied work is never added on its own. Omitted accepts none. **Example:** ``` mutation GenerateDesignerRevision($recoverySourceRevisionId: UUID, $requestId: UUID!, $expectedPlanFingerprint: String!, $provenance: String!, $designerInstanceId: UUID!, $baseRevisionId: UUID, $changeSet: DesignerChangeSet!, $prompts: DesignerComposedPrompts!, $userRequest: String!, $intentTag: String, $rebuildPersonBase: Boolean, $renderQuality: DesignerRenderQuality, $stage: DesignerRevisionStage, $acceptedImpliedWork: [DesignerImpliedWorkKind!]) { generateDesignerRevision(recoverySourceRevisionId: $recoverySourceRevisionId, requestId: $requestId, expectedPlanFingerprint: $expectedPlanFingerprint, provenance: $provenance, designerInstanceId: $designerInstanceId, baseRevisionId: $baseRevisionId, changeSet: $changeSet, prompts: $prompts, userRequest: $userRequest, intentTag: $intentTag, rebuildPersonBase: $rebuildPersonBase, renderQuality: $renderQuality, stage: $stage, acceptedImpliedWork: $acceptedImpliedWork) { id annotationOverlayKey annotationOverlaySourceSlot annotationOverlayUrl backColourwayUrl backFlatKey } } ``` --- ## generateDesignerRevisionTechnicalDrawings Generate the front-flat and back-flat technical drawings for an existing revision once the design is settled. Requires both photo slots to be present. Charges separately from the initial revision (v3 Cluster A). Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`DesignerInstanceRevision!`](https://help.brandmachine.shop/api-types/#designerinstancerevision) **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation GenerateDesignerRevisionTechnicalDrawings($revisionId: UUID!) { generateDesignerRevisionTechnicalDrawings(revisionId: $revisionId) { id annotationOverlayKey annotationOverlaySourceSlot annotationOverlayUrl backColourwayUrl backFlatKey } } ``` --- ## generateFashionModelCastingImages Trigger async image generation for a fashion model casting Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`FashionModelCasting!`](https://help.brandmachine.shop/api-types/#fashionmodelcasting) **Arguments:** - `castingId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `useBrandIdentity` `Boolean` - `optimizedPrompt` `String` **Example:** ``` mutation GenerateFashionModelCastingImages($castingId: UUID!, $useBrandIdentity: Boolean, $optimizedPrompt: String) { generateFashionModelCastingImages(castingId: $castingId, useBrandIdentity: $useBrandIdentity, optimizedPrompt: $optimizedPrompt) { id createdAt gender prompt teamDomain updatedAt } } ``` --- ## generateFashionModelResources Auto-generate resources by analyzing portrait, creates a new revision Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`FashionModelRevision!`](https://help.brandmachine.shop/api-types/#fashionmodelrevision) **Arguments:** - `fashionModelId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation GenerateFashionModelResources($fashionModelId: UUID!) { generateFashionModelResources(fashionModelId: $fashionModelId) { id createdAt fashionModelId favorite fullPortraitKey generationModel } } ``` --- ## generateFashionModelRevision Generate a new revision from an existing one. Takes sourceRevisionId (not fashionModelId) because the user iterates from a specific revision whose portrait is used as the reference image. `prompt` is the caller-authored edit instruction and reaches the image model verbatim: the backend adds no framing, lighting or identity text of its own, and never renders `resources` into it. `resources` is a three-state patch over the source revision: omit a field to keep it, send null to clear it. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`FashionModelRevision!`](https://help.brandmachine.shop/api-types/#fashionmodelrevision) **Arguments:** - `sourceRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `prompt` `String!` **required** - `userInput` `String!` **required** - `resources` [`FashionModelResourceInput!`](https://help.brandmachine.shop/api-input-types/#fashionmodelresourceinput) **required** **Example:** ``` mutation GenerateFashionModelRevision($sourceRevisionId: UUID!, $prompt: String!, $userInput: String!, $resources: FashionModelResourceInput!) { generateFashionModelRevision(sourceRevisionId: $sourceRevisionId, prompt: $prompt, userInput: $userInput, resources: $resources) { id createdAt fashionModelId favorite fullPortraitKey generationModel } } ``` --- ## generateGroupShot Trigger group shot generation pipeline (Phase 1 renders + Phase 2 composite) Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`GroupShot!`](https://help.brandmachine.shop/api-types/#groupshot) **Arguments:** - `groupShotId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation GenerateGroupShot($groupShotId: UUID!) { generateGroupShot(groupShotId: $groupShotId) { id aspectRatio campaignId createdAt errorMessage prompt } } ``` --- ## generateImages Generate a new shooting location revision. Takes shootingLocationId because the first revision is created by this mutation (text-to-image, no prior revision needed as reference). Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ShootingLocationRevision!`](https://help.brandmachine.shop/api-types/#shootinglocationrevision) **Arguments:** - `shootingLocationId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `resources` [`ShootingLocationResourceInput!`](https://help.brandmachine.shop/api-input-types/#shootinglocationresourceinput) **required** - `userInput` `String` **Example:** ``` mutation GenerateImages($shootingLocationId: UUID!, $resources: ShootingLocationResourceInput!, $userInput: String) { generateImages(shootingLocationId: $shootingLocationId, resources: $resources, userInput: $userInput) { id createdAt favorite imageKey label model } } ``` --- ## generateMediaPlanCopy Generate text on the images, written natively per language from the brief. Runs in the background: poll the plan's copyGeneratingSince. Never overwrites a line a person edited or approved unless regenerate is true. Only IMAGE_ slots so far. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) **Arguments:** - `planId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `placementIds` [`[UUID!]`](https://help.brandmachine.shop/api-scalars/#uuid) - `cardIds` [`[UUID!]`](https://help.brandmachine.shop/api-scalars/#uuid) - `slots` [`[MediaCopySlot!]`](https://help.brandmachine.shop/api-enums/#mediacopyslot) - `locales` `[String!]` - `regenerate` `Boolean` **Example:** ``` mutation GenerateMediaPlanCopy($planId: UUID!, $placementIds: [UUID!], $cardIds: [UUID!], $slots: [MediaCopySlot!], $locales: [String!], $regenerate: Boolean) { generateMediaPlanCopy(planId: $planId, placementIds: $placementIds, cardIds: $cardIds, slots: $slots, locales: $locales, regenerate: $regenerate) { id copyGeneratingSince copyGenerationError createdAt headlineTreatmentId instructions } } ``` --- ## generatePatternRevision Generate a new PatternRevision via Fal. Agent composes the prompt; backend does not inspect it. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`PatternRevision!`](https://help.brandmachine.shop/api-types/#patternrevision) **Arguments:** - `patternId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `baseRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `userInput` `String` - `prompt` `String!` **required** - `inputs` [`[PatternRevisionInputArg!]!`](https://help.brandmachine.shop/api-input-types/#patternrevisioninputarg) **required** **Example:** ``` mutation GeneratePatternRevision($patternId: UUID!, $baseRevisionId: UUID, $userInput: String, $prompt: String!, $inputs: [PatternRevisionInputArg!]!) { generatePatternRevision(patternId: $patternId, baseRevisionId: $baseRevisionId, userInput: $userInput, prompt: $prompt, inputs: $inputs) { id baseRevisionId createdAt errorMessage favorite generationModel } } ``` --- ## generateProductVideo Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ProductVideo!`](https://help.brandmachine.shop/api-types/#productvideo) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `prompt` `String` - `modelType` [`VideoModelType`](https://help.brandmachine.shop/api-enums/#videomodeltype): Ignored. Every video generates with Kling; the field remains so older clients keep working. - `durationSeconds` `Int`: Length of the video in seconds, 3 to 15. Omit to reuse the length this video last generated with. Billed per second. **Example:** ``` mutation GenerateProductVideo($id: UUID!, $prompt: String, $modelType: VideoModelType, $durationSeconds: Int) { generateProductVideo(id: $id, prompt: $prompt, modelType: $modelType, durationSeconds: $durationSeconds) { id createdAt durationSeconds modelType productId productImage } } ``` --- ## generateVideoButtons Generate interactive buttons for a product video using Gemini AI **Returns:** [`ProductVideo!`](https://help.brandmachine.shop/api-types/#productvideo) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation GenerateVideoButtons($id: UUID!) { generateVideoButtons(id: $id) { id createdAt durationSeconds modelType productId productImage } } ``` --- ## hideCampaignImageResult Hide a campaign image result (soft delete) **Returns:** [`CampaignImageResult!`](https://help.brandmachine.shop/api-types/#campaignimageresult) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation HideCampaignImageResult($id: UUID!) { hideCampaignImageResult(id: $id) { id aspectRatio campaignImageId createdAt downloadableImageUrl editedImageUrl } } ``` --- ## hideGroupShotResult Hide a group shot result (soft delete) **Returns:** [`GroupShotResult!`](https://help.brandmachine.shop/api-types/#groupshotresult) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation HideGroupShotResult($id: UUID!) { hideGroupShotResult(id: $id) { id aspectRatio createdAt downloadableImageUrl editedImageKey exportImageUrl } } ``` --- ## hideProductStudioOutput Hide a product studio output (soft delete) **Returns:** [`ProductStudioOutput!`](https://help.brandmachine.shop/api-types/#productstudiooutput) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation HideProductStudioOutput($id: UUID!) { hideProductStudioOutput(id: $id) { id completionPercentage correctedImageUrl createdAt downloadableImageUrl editedImageUrl } } ``` --- ## inviteTeamMember Invite someone to this account. An address that already has a Brandmachine login joins at once and comes back ACTIVE, with no email sent; any other address comes back INVITED and receives an invitation email valid for 7 days. On a Shopify-only account the first invitation also gives it a web-app login, so invitees never need Shopify. Not available with API tokens: This operation needs the Admin role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`TeamMember!`](https://help.brandmachine.shop/api-types/#teammember) **Arguments:** - `email` `String!` **required** - `role` [`Role!`](https://help.brandmachine.shop/api-enums/#role) **required**: At most your own role. **Example:** ``` mutation InviteTeamMember($email: String!, $role: Role!) { inviteTeamMember(email: $email, role: $role) { id email expiresAt isCurrentUser joinedAt name } } ``` --- ## linkInspirationsToBatch Pin library inspirations to a shoot's moodboard, at the end. Already pinned ones are skipped. **Returns:** [`Batch!`](https://help.brandmachine.shop/api-types/#batch) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `inspirationIds` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation LinkInspirationsToBatch($batchId: UUID!, $inspirationIds: [UUID!]!) { linkInspirationsToBatch(batchId: $batchId, inspirationIds: $inspirationIds) { id campaignImageCount createdAt inspirationCount instructions isGenerated } } ``` --- ## markNewsSeen Record that the person has seen the news up to that item. **Returns:** `Boolean!` **Arguments:** - `publishedAt` [`Date!`](https://help.brandmachine.shop/api-scalars/#date) **required**: The publication date of the news item the person dismissed or acted on. **Example:** ``` mutation MarkNewsSeen($publishedAt: Date!) { markNewsSeen(publishedAt: $publishedAt) } ``` --- ## matchSizeChart Shortlist the department's standard specs for this revision's design description. Returns two or three candidates; resolve the run with createDesignerSizeChart (passing matchRunId) or rejectSizeChartMatch. **Returns:** [`SizeChartMatchRun!`](https://help.brandmachine.shop/api-types/#sizechartmatchrun) **Arguments:** - `designerInstanceRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `department` `String!` **required**: Chosen by the designer, never inferred. Only uploaded charts in this department are considered. **Example:** ``` mutation MatchSizeChart($designerInstanceRevisionId: UUID!, $department: String!) { matchSizeChart(designerInstanceRevisionId: $designerInstanceRevisionId, department: $department) { id createdAt department designerInstanceId designerInstanceRevisionId garmentTypeConfident } } ``` --- ## materializeMediaPlan Build a media plan from finished campaign outputs: owns a copy of each, measures its tone, fans it across the units of the chosen channels (Meta when omitted) into placements and cards, and fires segmentation. Cards return at PENDING and fill in when segmentation lands, so this does not hold the request open for model calls. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) **Arguments:** - `campaignImageResultIds` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `name` `String` - `instructions` `String` - `locales` `[String!]` - `channels` [`[MediaChannel!]`](https://help.brandmachine.shop/api-enums/#mediachannel) **Example:** ``` mutation MaterializeMediaPlan($campaignImageResultIds: [UUID!]!, $name: String, $instructions: String, $locales: [String!], $channels: [MediaChannel!]) { materializeMediaPlan(campaignImageResultIds: $campaignImageResultIds, name: $name, instructions: $instructions, locales: $locales, channels: $channels) { id copyGeneratingSince copyGenerationError createdAt headlineTreatmentId instructions } } ``` --- ## materializePlan Create draft ProductStudios and CampaignImages from grouped plan inputs **Returns:** [`MaterializePlanResult!`](https://help.brandmachine.shop/api-types/#materializeplanresult) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `studioItems` [`[PlanStudioItemInput!]!`](https://help.brandmachine.shop/api-input-types/#planstudioiteminput) **required** - `campaignItems` [`[PlanCampaignItemInput!]!`](https://help.brandmachine.shop/api-input-types/#plancampaigniteminput) **required** - `campaignId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): Campaign for the campaign looks. Omit to use the batch's campaign, or to create one on the first plan with campaign looks. - `campaignName` `String`: Name for the campaign when this plan creates one. Ignored when the batch already has a campaign. **Example:** ``` mutation MaterializePlan($batchId: UUID!, $studioItems: [PlanStudioItemInput!]!, $campaignItems: [PlanCampaignItemInput!]!, $campaignId: UUID, $campaignName: String) { materializePlan(batchId: $batchId, studioItems: $studioItems, campaignItems: $campaignItems, campaignId: $campaignId, campaignName: $campaignName) { campaignImagesCreated productStudiosCreated } } ``` --- ## moveMediaPlanBrandAsset Put a logo in a slot on one ad; every card of the ad shares it. A slot another logo holds is swapped. Refused, naming the format, when the slot does not fit one of the ad's cards. Null hands the logo back to the scorer; slot is required, and leaving it out is refused. **Returns:** [`PlannedPlacement!`](https://help.brandmachine.shop/api-types/#plannedplacement) **Arguments:** - `placementId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `brandAssetId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `slot` [`BrandAssetSlot`](https://help.brandmachine.shop/api-enums/#brandassetslot) **Example:** ``` mutation MoveMediaPlanBrandAsset($placementId: UUID!, $brandAssetId: UUID!, $slot: BrandAssetSlot) { moveMediaPlanBrandAsset(placementId: $placementId, brandAssetId: $brandAssetId, slot: $slot) { id approvedAt brandAssetsOverridden headlineTreatmentId mediaPlacementId notes } } ``` --- ## readMoodboard Read every image on a shoot's moodboard that has a marked category without a reading, in parallel, and return the shoot. The agent calls this before it plans. A board already read makes no model call; an image that cannot be read is marked FAILED and does not fail the call. **Returns:** [`Batch!`](https://help.brandmachine.shop/api-types/#batch) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ReadMoodboard($batchId: UUID!) { readMoodboard(batchId: $batchId) { id campaignImageCount createdAt inspirationCount instructions isGenerated } } ``` --- ## reinstateTeamMember Undo a removal, putting the person back into the Auth0 organization on a web-app account. Not available with API tokens: This operation needs the Admin role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`TeamMember!`](https://help.brandmachine.shop/api-types/#teammember) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ReinstateTeamMember($id: UUID!) { reinstateTeamMember(id: $id) { id email expiresAt isCurrentUser joinedAt name } } ``` --- ## rejectSizeChartMatch Record that none of the shortlisted charts fits. Creates no chart. **Returns:** [`SizeChartMatchRun!`](https://help.brandmachine.shop/api-types/#sizechartmatchrun) **Arguments:** - `matchRunId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `reason` [`SizeChartNoneFitReason!`](https://help.brandmachine.shop/api-enums/#sizechartnonefitreason) **required** - `notes` `String` **Example:** ``` mutation RejectSizeChartMatch($matchRunId: UUID!, $reason: SizeChartNoneFitReason!, $notes: String) { rejectSizeChartMatch(matchRunId: $matchRunId, reason: $reason, notes: $notes) { id createdAt department designerInstanceId designerInstanceRevisionId garmentTypeConfident } } ``` --- ## releaseCampaignImageResult Release a campaign image result. Quota relevant Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`CampaignImageResult!`](https://help.brandmachine.shop/api-types/#campaignimageresult) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ReleaseCampaignImageResult($id: UUID!) { releaseCampaignImageResult(id: $id) { id aspectRatio campaignImageId createdAt downloadableImageUrl editedImageUrl } } ``` --- ## releaseDesignerRevision Release a completed designer revision. Quota relevant. Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`DesignerInstanceRevision!`](https://help.brandmachine.shop/api-types/#designerinstancerevision) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ReleaseDesignerRevision($id: UUID!) { releaseDesignerRevision(id: $id) { id annotationOverlayKey annotationOverlaySourceSlot annotationOverlayUrl backColourwayUrl backFlatKey } } ``` --- ## releaseGroupShotResult Release a group shot result. Quota relevant Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`GroupShotResult!`](https://help.brandmachine.shop/api-types/#groupshotresult) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ReleaseGroupShotResult($id: UUID!) { releaseGroupShotResult(id: $id) { id aspectRatio createdAt downloadableImageUrl editedImageKey exportImageUrl } } ``` --- ## releasePatternRevision Release a completed pattern revision. Quota relevant. Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`PatternRevision!`](https://help.brandmachine.shop/api-types/#patternrevision) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ReleasePatternRevision($id: UUID!) { releasePatternRevision(id: $id) { id baseRevisionId createdAt errorMessage favorite generationModel } } ``` --- ## releaseProductStudioOutput Release a product studio output Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ProductStudioOutput!`](https://help.brandmachine.shop/api-types/#productstudiooutput) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ReleaseProductStudioOutput($id: UUID!) { releaseProductStudioOutput(id: $id) { id completionPercentage correctedImageUrl createdAt downloadableImageUrl editedImageUrl } } ``` --- ## releaseProductVideo Release a product video. Quota relevant. Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ProductVideo!`](https://help.brandmachine.shop/api-types/#productvideo) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ReleaseProductVideo($id: UUID!) { releaseProductVideo(id: $id) { id createdAt durationSeconds modelType productId productImage } } ``` --- ## removeCampaignImageProduct Remove a product from a campaign image **Returns:** [`CampaignImageProduct!`](https://help.brandmachine.shop/api-types/#campaignimageproduct) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RemoveCampaignImageProduct($id: UUID!) { removeCampaignImageProduct(id: $id) { id campaignImageId createdAt isStylingPiece productDescription productId } } ``` --- ## removeCampaignImageResource Remove a resource from a campaign image **Returns:** [`CampaignImageResource!`](https://help.brandmachine.shop/api-types/#campaignimageresource) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RemoveCampaignImageResource($id: UUID!) { removeCampaignImageResource(id: $id) { id campaignImageId content createdAt name purpose } } ``` --- ## removeDesignerInstanceFromDesignerCollection Detach a DesignerInstance from a DesignerCollection. The DI itself is not deleted. **Returns:** [`DesignerCollection!`](https://help.brandmachine.shop/api-types/#designercollection) **Arguments:** - `designerCollectionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RemoveDesignerInstanceFromDesignerCollection($designerCollectionId: UUID!, $designerInstanceId: UUID!) { removeDesignerInstanceFromDesignerCollection(designerCollectionId: $designerCollectionId, designerInstanceId: $designerInstanceId) { id brief createdAt season status teamDomain } } ``` --- ## removeMediaPlanCard Drop one card. The placement stays even if this leaves it under its minimum, and says it is short rather than vanishing. **Returns:** [`PlannedPlacement!`](https://help.brandmachine.shop/api-types/#plannedplacement) **Arguments:** - `cardId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RemoveMediaPlanCard($cardId: UUID!) { removeMediaPlanCard(cardId: $cardId) { id approvedAt brandAssetsOverridden headlineTreatmentId mediaPlacementId notes } } ``` --- ## removeMediaPlanPlacement Drop a whole ad unit from the plan. Its cards and copy cascade. **Returns:** [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) **Arguments:** - `placementId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RemoveMediaPlanPlacement($placementId: UUID!) { removeMediaPlanPlacement(placementId: $placementId) { id copyGeneratingSince copyGenerationError createdAt headlineTreatmentId instructions } } ``` --- ## removePatternRevisionFromDesignerCollection Detach a PatternRevision from a DesignerCollection. **Returns:** [`DesignerCollection!`](https://help.brandmachine.shop/api-types/#designercollection) **Arguments:** - `designerCollectionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `patternRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RemovePatternRevisionFromDesignerCollection($designerCollectionId: UUID!, $patternRevisionId: UUID!) { removePatternRevisionFromDesignerCollection(designerCollectionId: $designerCollectionId, patternRevisionId: $patternRevisionId) { id brief createdAt season status teamDomain } } ``` --- ## removePatternRevisionFromDesignerInstance Remove a selected PatternRevision from a Designer Instance. **Returns:** [`DesignerInstance!`](https://help.brandmachine.shop/api-types/#designerinstance) **Arguments:** - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `patternRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RemovePatternRevisionFromDesignerInstance($designerInstanceId: UUID!, $patternRevisionId: UUID!) { removePatternRevisionFromDesignerInstance(designerInstanceId: $designerInstanceId, patternRevisionId: $patternRevisionId) { id activeFabricId archivedAt createdAt description fashionModelRevisionId } } ``` --- ## removeProductStudioInput Remove an input from a ProductStudio session **Returns:** [`ProductStudioInput!`](https://help.brandmachine.shop/api-types/#productstudioinput) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RemoveProductStudioInput($id: UUID!) { removeProductStudioInput(id: $id) { id createdAt fileName filenameView isHero isStylingPiece } } ``` --- ## removeProductStudioStylingResource Remove styling instructions from a ProductStudio session **Returns:** [`ProductStudioStylingResource!`](https://help.brandmachine.shop/api-types/#productstudiostylingresource) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RemoveProductStudioStylingResource($id: UUID!) { removeProductStudioStylingResource(id: $id) { id createdAt productStudioId productStudioPerspectiveId stylingInstructions } } ``` --- ## removeSingleShotFromGroupShot Remove a single shot from a group shot **Returns:** [`GroupShot!`](https://help.brandmachine.shop/api-types/#groupshot) **Arguments:** - `groupShotId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RemoveSingleShotFromGroupShot($groupShotId: UUID!, $campaignImageId: UUID!) { removeSingleShotFromGroupShot(groupShotId: $groupShotId, campaignImageId: $campaignImageId) { id aspectRatio campaignId createdAt errorMessage prompt } } ``` --- ## removeSkillFromBatch Remove a skill from a batch **Returns:** [`Batch!`](https://help.brandmachine.shop/api-types/#batch) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `skillId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RemoveSkillFromBatch($batchId: UUID!, $skillId: UUID!) { removeSkillFromBatch(batchId: $batchId, skillId: $skillId) { id campaignImageCount createdAt inspirationCount instructions isGenerated } } ``` --- ## removeTeamMember Take a member out of this account without deleting them; on a web-app account they also leave the Auth0 organization. Takes effect on their next request. Refused for the team's last active owner. Safe to repeat if it reports an Auth0 error. Not available with API tokens: This operation needs the Admin role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`TeamMember!`](https://help.brandmachine.shop/api-types/#teammember) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RemoveTeamMember($id: UUID!) { removeTeamMember(id: $id) { id email expiresAt isCurrentUser joinedAt name } } ``` --- ## reorderBatchInspirations Reorder a shoot's moodboard **Returns:** [`Batch!`](https://help.brandmachine.shop/api-types/#batch) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `inspirationIds` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid) **required**: The board's new order. Pins not listed keep their order after these. **Example:** ``` mutation ReorderBatchInspirations($batchId: UUID!, $inspirationIds: [UUID!]!) { reorderBatchInspirations(batchId: $batchId, inspirationIds: $inspirationIds) { id campaignImageCount createdAt inspirationCount instructions isGenerated } } ``` --- ## reorderDesignerInstanceResources Reorder a design's uploads on the Designer Board and return the design; read the new order from its resources. 404 if the design is not your team's, 400 for an archived design, a duplicate id, or an id that is not an upload on this design. **Returns:** [`DesignerInstance!`](https://help.brandmachine.shop/api-types/#designerinstance) **Arguments:** - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `resourceIds` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid) **required**: The board's new order. Uploads not listed keep their order after these. **Example:** ``` mutation ReorderDesignerInstanceResources($designerInstanceId: UUID!, $resourceIds: [UUID!]!) { reorderDesignerInstanceResources(designerInstanceId: $designerInstanceId, resourceIds: $resourceIds) { id activeFabricId archivedAt createdAt description fashionModelRevisionId } } ``` --- ## rescoreMediaPlan Lay out every card of the plan's unapproved ads again from the current catalog and treatments, for example after a format correction. Approved ads are never touched. Cards a person adjusted keep their layout unless discardHandEdits is true. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) **Arguments:** - `planId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `discardHandEdits` `Boolean` **Example:** ``` mutation RescoreMediaPlan($planId: UUID!, $discardHandEdits: Boolean) { rescoreMediaPlan(planId: $planId, discardHandEdits: $discardHandEdits) { id copyGeneratingSince copyGenerationError createdAt headlineTreatmentId instructions } } ``` --- ## resendInvitation Send a pending or expired invitation again with a fresh 7-day expiry. The old link stops working. Not available with API tokens: This operation needs the Admin role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`TeamMember!`](https://help.brandmachine.shop/api-types/#teammember) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required**: The id of an INVITED row from teamMembers. **Example:** ``` mutation ResendInvitation($id: UUID!) { resendInvitation(id: $id) { id email expiresAt isCurrentUser joinedAt name } } ``` --- ## restoreCampaignImageResult Restore a hidden campaign image result **Returns:** [`CampaignImageResult!`](https://help.brandmachine.shop/api-types/#campaignimageresult) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RestoreCampaignImageResult($id: UUID!) { restoreCampaignImageResult(id: $id) { id aspectRatio campaignImageId createdAt downloadableImageUrl editedImageUrl } } ``` --- ## restoreGroupShotResult Restore a hidden group shot result **Returns:** [`GroupShotResult!`](https://help.brandmachine.shop/api-types/#groupshotresult) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RestoreGroupShotResult($id: UUID!) { restoreGroupShotResult(id: $id) { id aspectRatio createdAt downloadableImageUrl editedImageKey exportImageUrl } } ``` --- ## restoreInspiration Return an archived inspiration to the library and its boards **Returns:** [`Inspiration!`](https://help.brandmachine.shop/api-types/#inspiration) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RestoreInspiration($id: UUID!) { restoreInspiration(id: $id) { id archivedAt categories createdAt fileName height } } ``` --- ## restoreProductStudioOutput Restore a hidden product studio output **Returns:** [`ProductStudioOutput!`](https://help.brandmachine.shop/api-types/#productstudiooutput) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RestoreProductStudioOutput($id: UUID!) { restoreProductStudioOutput(id: $id) { id completionPercentage correctedImageUrl createdAt downloadableImageUrl editedImageUrl } } ``` --- ## restoreProductStudioPerspective Restore an archived product studio perspective **Returns:** [`ProductStudioPerspective!`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RestoreProductStudioPerspective($id: UUID!) { restoreProductStudioPerspective(id: $id) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## restoreWardrobeItem Return an archived wardrobe article to use **Returns:** [`WardrobeItem!`](https://help.brandmachine.shop/api-types/#wardrobeitem) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RestoreWardrobeItem($id: UUID!) { restoreWardrobeItem(id: $id) { id archivedAt category createdAt styleReference teamDomain } } ``` --- ## revokeApiToken Revoke an API token. It stops working on its next request. Not available with API tokens: This operation needs the Admin role, which no API token can have. Use the Brandmachine app instead. **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation RevokeApiToken($id: UUID!) { revokeApiToken(id: $id) } ``` --- ## revokeInvitation Cancel a pending invitation. Its link stops working. Not available with API tokens: This operation needs the Admin role, which no API token can have. Use the Brandmachine app instead. **Returns:** `Boolean!` **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required**: The id of an INVITED row from teamMembers. **Example:** ``` mutation RevokeInvitation($id: UUID!) { revokeInvitation(id: $id) } ``` --- ## setBatchInspirationLink Record what a moodboard pin resolved to for this shoot. Both links are written as given. **Returns:** [`BatchInspiration!`](https://help.brandmachine.shop/api-types/#batchinspiration) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `inspirationId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `fashionModelRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): MODEL pins: the existing model this pin becomes for the shoot. Null clears. - `shootingLocationRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): LOCATION pins: the existing set this pin becomes for the shoot. Null clears. **Example:** ``` mutation SetBatchInspirationLink($batchId: UUID!, $inspirationId: UUID!, $fashionModelRevisionId: UUID, $shootingLocationRevisionId: UUID) { setBatchInspirationLink(batchId: $batchId, inspirationId: $inspirationId, fashionModelRevisionId: $fashionModelRevisionId, shootingLocationRevisionId: $shootingLocationRevisionId) { id sortOrder } } ``` --- ## setCampaignImageFashionModel Set fashion model for a campaign image **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `fashionModelRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation SetCampaignImageFashionModel($campaignImageId: UUID!, $fashionModelRevisionId: UUID!) { setCampaignImageFashionModel(campaignImageId: $campaignImageId, fashionModelRevisionId: $fashionModelRevisionId) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## setCampaignImageGuidance Point a campaign image at an existing image (a Studio output, a batch pool image) as its guidance reference. The image is copied into the look's own storage, so the source is never affected. Replaces any existing guidance image. To upload a new file instead, POST /api/campaign-images/:campaignImageId/guidance/upload **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `imageKey` `String!` **required** **Example:** ``` mutation SetCampaignImageGuidance($campaignImageId: UUID!, $imageKey: String!) { setCampaignImageGuidance(campaignImageId: $campaignImageId, imageKey: $imageKey) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## setCampaignImageOrder Set the order of a campaign's single shots in one call. Team-wide: last writer wins for the whole list. Returns the campaign, whose campaignImages are in the new order, so a client can replace its state from the response. Group shots are not orderable. **Returns:** [`Campaign!`](https://help.brandmachine.shop/api-types/#campaign) **Arguments:** - `campaignId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `ids` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid) **required**: The COMPLETE ordered list of this campaign's single-shot ids. Listed images are placed 0..n-1; every other image in the campaign is reset to unplaced and sorts last in creation order. Send an empty list to reset the campaign to creation order. Duplicate ids, or ids not in this campaign, are refused before anything is written. **Example:** ``` mutation SetCampaignImageOrder($campaignId: UUID!, $ids: [UUID!]!) { setCampaignImageOrder(campaignId: $campaignId, ids: $ids) { id createdAt name teamDomain updatedAt } } ``` --- ## setCampaignImageProducts Set products for a campaign image with smart merging **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `products` [`[CampaignImageProductInput!]!`](https://help.brandmachine.shop/api-input-types/#campaignimageproductinput) **required** **Example:** ``` mutation SetCampaignImageProducts($campaignImageId: UUID!, $products: [CampaignImageProductInput!]!) { setCampaignImageProducts(campaignImageId: $campaignImageId, products: $products) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## setCampaignImageShootingLocation Set shooting location revision for a campaign image **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `shootingLocationRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation SetCampaignImageShootingLocation($campaignImageId: UUID!, $shootingLocationRevisionId: UUID!) { setCampaignImageShootingLocation(campaignImageId: $campaignImageId, shootingLocationRevisionId: $shootingLocationRevisionId) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## setDesignerResourceRoles Set the roles of a Designer upload from the designer's multi-select chips. Always records roleSource 'designer' (null when cleared), including when the list equals the Vision suggestion: that tap is the confirmation. Idempotent. 404 if the resource is not on one of your team's designs, 400 for an unknown role or an archived design. **Returns:** [`DesignerInstanceResource!`](https://help.brandmachine.shop/api-types/#designerinstanceresource) **Arguments:** - `resourceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `roles` `[String!]!` **required**: The complete set, not a patch: any of fabric_or_print, garment_reference, artwork, mood; an empty list clears the roles. Duplicates are dropped and the list is stored in that fixed order. Anything else is a 400. **Example:** ``` mutation SetDesignerResourceRoles($resourceId: UUID!, $roles: [String!]!) { setDesignerResourceRoles(resourceId: $resourceId, roles: $roles) { id createdAt description designerInstanceId imageKey imageUrl } } ``` --- ## setFileNameConvention Replace this team's filename convention. Validated and written as one unit; a set with problems writes nothing and returns them. Upserts by team, so no settings row is needed first. **Returns:** [`SetFileNameConventionResult!`](https://help.brandmachine.shop/api-types/#setfilenameconventionresult) **Arguments:** - `convention` [`FileNameConventionInput!`](https://help.brandmachine.shop/api-input-types/#filenameconventioninput) **required** **Example:** ``` mutation SetFileNameConvention($convention: FileNameConventionInput!) { setFileNameConvention(convention: $convention) { convention { exportPattern isDefault } } } ``` --- ## setHeadlineTreatmentImageCopyLines Which lines images using this treatment carry: HEADLINE, HEADLINE_SUBHEADLINE or HEADLINE_SUBHEADLINE_CTA (default). **Returns:** [`BrandHeadlineTreatment!`](https://help.brandmachine.shop/api-types/#brandheadlinetreatment) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `imageCopyLines` [`ImageCopyLines!`](https://help.brandmachine.shop/api-enums/#imagecopylines) **required** **Example:** ``` mutation SetHeadlineTreatmentImageCopyLines($id: UUID!, $imageCopyLines: ImageCopyLines!) { setHeadlineTreatmentImageCopyLines(id: $id, imageCopyLines: $imageCopyLines) { id bandPosition bandSize copySurface fillColor ground } } ``` --- ## setInspirationCategories Mark what an inspiration image is for. Only saves the choice: readings of removed categories are dropped, and new ones stay unread until the board is read with `readMoodboard`. **Returns:** [`Inspiration!`](https://help.brandmachine.shop/api-types/#inspiration) **Arguments:** - `inspirationId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `categories` [`[InspirationCategory!]!`](https://help.brandmachine.shop/api-enums/#inspirationcategory) **required**: The full set of confirmed categories; replaces the previous set. **Example:** ``` mutation SetInspirationCategories($inspirationId: UUID!, $categories: [InspirationCategory!]!) { setInspirationCategories(inspirationId: $inspirationId, categories: $categories) { id archivedAt categories createdAt fileName height } } ``` --- ## setMediaPlanBrandAssets Set the plan's default logo set, in order. Every ad that has not chosen its own set follows it; logos that stay keep their positions. **Returns:** [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) **Arguments:** - `planId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `assets` [`[MediaPlanBrandAssetInput!]!`](https://help.brandmachine.shop/api-input-types/#mediaplanbrandassetinput) **required** **Example:** ``` mutation SetMediaPlanBrandAssets($planId: UUID!, $assets: [MediaPlanBrandAssetInput!]!) { setMediaPlanBrandAssets(planId: $planId, assets: $assets) { id copyGeneratingSince copyGenerationError createdAt headlineTreatmentId instructions } } ``` --- ## setMediaPlanCopy Set one line in one language as a person wrote it. Empty text removes it. Changing the text clears its approval. Image slots need a card. **Returns:** [`PlannedPlacement!`](https://help.brandmachine.shop/api-types/#plannedplacement) **Arguments:** - `placementId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `cardId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `slot` [`MediaCopySlot!`](https://help.brandmachine.shop/api-enums/#mediacopyslot) **required** - `locale` `String!` **required** - `text` `String!` **required** **Example:** ``` mutation SetMediaPlanCopy($placementId: UUID!, $cardId: UUID, $slot: MediaCopySlot!, $locale: String!, $text: String!) { setMediaPlanCopy(placementId: $placementId, cardId: $cardId, slot: $slot, locale: $locale, text: $text) { id approvedAt brandAssetsOverridden headlineTreatmentId mediaPlacementId notes } } ``` --- ## setMediaPlanHeadlineTreatment Set the headline treatment every placement in the plan uses unless it has its own; null makes the plan plain, and leaving the argument out is refused. Re-lays the affected cards and discards their hand edits, since a band changes the crop. Never refused: cards on a format the band does not fit are flagged BAND_OUTSIDE_SAFE_AREA instead. **Returns:** [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) **Arguments:** - `planId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `headlineTreatmentId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) **Example:** ``` mutation SetMediaPlanHeadlineTreatment($planId: UUID!, $headlineTreatmentId: UUID) { setMediaPlanHeadlineTreatment(planId: $planId, headlineTreatmentId: $headlineTreatmentId) { id copyGeneratingSince copyGenerationError createdAt headlineTreatmentId instructions } } ``` --- ## setMediaPlanLocales A plan's languages, the first being the main one. Removing a language hides its copy rather than deleting it. **Returns:** [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) **Arguments:** - `planId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `locales` `[String!]!` **required** **Example:** ``` mutation SetMediaPlanLocales($planId: UUID!, $locales: [String!]!) { setMediaPlanLocales(planId: $planId, locales: $locales) { id copyGeneratingSince copyGenerationError createdAt headlineTreatmentId instructions } } ``` --- ## setMediaPlanPlacementBrandAssets Give one ad its own logo set and sizes. Null inherits the plan's set again; an empty list means no logos on this ad. assets is required: leaving it out is refused. **Returns:** [`PlannedPlacement!`](https://help.brandmachine.shop/api-types/#plannedplacement) **Arguments:** - `placementId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `assets` [`[MediaPlanBrandAssetInput!]`](https://help.brandmachine.shop/api-input-types/#mediaplanbrandassetinput) **Example:** ``` mutation SetMediaPlanPlacementBrandAssets($placementId: UUID!, $assets: [MediaPlanBrandAssetInput!]) { setMediaPlanPlacementBrandAssets(placementId: $placementId, assets: $assets) { id approvedAt brandAssetsOverridden headlineTreatmentId mediaPlacementId notes } } ``` --- ## setMediaPlanPlacementHeadlineTreatment Give one ad its own headline treatment; null inherits the plan's default again, and leaving the argument out is refused. Re-lays its cards and discards their hand edits. Refused, naming the format, when the band cannot hold the headline on one of the ad's formats. **Returns:** [`PlannedPlacement!`](https://help.brandmachine.shop/api-types/#plannedplacement) **Arguments:** - `placementId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `headlineTreatmentId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) **Example:** ``` mutation SetMediaPlanPlacementHeadlineTreatment($placementId: UUID!, $headlineTreatmentId: UUID) { setMediaPlanPlacementHeadlineTreatment(placementId: $placementId, headlineTreatmentId: $headlineTreatmentId) { id approvedAt brandAssetsOverridden headlineTreatmentId mediaPlacementId notes } } ``` --- ## setProductStudioPerspectiveGroup File a perspective under a rail tab, or ungroup it. Allowed on locked marketplace slots: locking protects the render configuration, not where a team files it. **Returns:** [`ProductStudioPerspective!`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `perspectiveId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `groupId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The tab to file this perspective under, or null to return it to the ungrouped rail. A group belonging to another team is refused with a 404. **Example:** ``` mutation SetProductStudioPerspectiveGroup($perspectiveId: UUID!, $groupId: UUID) { setProductStudioPerspectiveGroup(perspectiveId: $perspectiveId, groupId: $groupId) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## setProductStudioPerspectiveGroupOrder Set the order of the perspective rail's tabs in one call. **Returns:** [`[ProductStudioPerspectiveGroup!]!`](https://help.brandmachine.shop/api-types/#productstudioperspectivegroup) **Arguments:** - `ids` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid) **required**: The COMPLETE ordered list of group ids. Same contract as setProductStudioPerspectiveOrder: unlisted groups are reset to unplaced and sort last in creation order. **Example:** ``` mutation SetProductStudioPerspectiveGroupOrder($ids: [UUID!]!) { setProductStudioPerspectiveGroupOrder(ids: $ids) { id createdAt name purpose sortOrder teamDomain } } ``` --- ## setProductStudioPerspectiveOrder Set the team's perspective rail order in one call. Team-wide: last writer wins for the whole list. Returns the team's unarchived perspectives in the new order, so a client can replace its state from the response. Allowed on locked marketplace slots. **Returns:** [`[ProductStudioPerspective!]!`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `ids` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid) **required**: The COMPLETE ordered list of perspective ids. Listed rows are placed 0..n-1; every other perspective on the team is reset to unplaced and sorts last in creation order, so a perspective dropped from the list cannot keep a stale position. Send an empty list to reset the whole rail to creation order. Duplicate ids, or ids belonging to another team, are refused before anything is written. **Example:** ``` mutation SetProductStudioPerspectiveOrder($ids: [UUID!]!) { setProductStudioPerspectiveOrder(ids: $ids) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## setSizeChartAdjustments Set base-size changes on a design chart, all or none. Every other size follows by its grade step. Uploaded charts and increment rows refuse. **Returns:** [`SizeChart!`](https://help.brandmachine.shop/api-types/#sizechart) **Arguments:** - `sizeChartId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `adjustments` [`[SizeChartAdjustmentInput!]!`](https://help.brandmachine.shop/api-input-types/#sizechartadjustmentinput) **required** **Example:** ``` mutation SetSizeChartAdjustments($sizeChartId: UUID!, $adjustments: [SizeChartAdjustmentInput!]!) { setSizeChartAdjustments(sizeChartId: $sizeChartId, adjustments: $adjustments) { id baseSize code createdAt department derivedFromChartId } } ``` --- ## setTeamAdLocales The languages this team normally writes ads in, as BCP-47 tags. New media plans start from these. Any real language is accepted; malformed tags are refused. **Returns:** [`CurrentTeamResponse!`](https://help.brandmachine.shop/api-types/#currentteamresponse) **Arguments:** - `locales` `[String!]!` **required** **Example:** ``` mutation SetTeamAdLocales($locales: [String!]!) { setTeamAdLocales(locales: $locales) { id accountName adLocales hasWebDoor isPAYG setupPending } } ``` --- ## skipNamePrompt The person skipped "What should we call you?"; it is not asked again. **Returns:** `Boolean!` **Example:** ``` mutation SkipNamePrompt { skipNamePrompt } ``` --- ## startFresh From a freshly installed Shopify app: this store is a new account. **Returns:** `Boolean!` **Example:** ``` mutation StartFresh { startFresh } ``` --- ## startProductStudioFlow Start the AI generation flow for a ProductStudio session with optional perspective Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ProductStudio!`](https://help.brandmachine.shop/api-types/#productstudio) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `productStudioPerspectiveId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `preview` `Boolean` **Example:** ``` mutation StartProductStudioFlow($id: UUID!, $productStudioPerspectiveId: UUID!, $preview: Boolean) { startProductStudioFlow(id: $id, productStudioPerspectiveId: $productStudioPerspectiveId, preview: $preview) { id createdAt isGenerated status teamDomain title } } ``` --- ## startWorkflowRun Trigger a workflow run; optionally scoped to a batch (UC1). Pass maxOutputs to run it as a capped "test drive" that runs at most that many generation calls across all steps (a call can emit more than one image; see autonomous-workflows.md). Returns the run after it parks, completes, or halts. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`WorkflowRun!`](https://help.brandmachine.shop/api-types/#workflowrun) **Arguments:** - `workflowId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `batchId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `maxOutputs` `Int` **Example:** ``` mutation StartWorkflowRun($workflowId: UUID!, $batchId: UUID, $maxOutputs: Int) { startWorkflowRun(workflowId: $workflowId, batchId: $batchId, maxOutputs: $maxOutputs) { id awaitingStepId batchId completedStepIds createdAt lastError } } ``` --- ## swapMediaPlanCardSource Point a card at a different source in the same plan and re-score just that card. **Returns:** [`PlannedAsset!`](https://help.brandmachine.shop/api-types/#plannedasset) **Arguments:** - `cardId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `mediaPlanSourceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation SwapMediaPlanCardSource($cardId: UUID!, $mediaPlanSourceId: UUID!) { swapMediaPlanCardSource(cardId: $cardId, mediaPlanSourceId: $mediaPlanSourceId) { id cropH cropW cropX cropY faceFullyInside } } ``` --- ## toggleCampaignImageResultFavorite Toggle favorite status on a campaign image result **Returns:** [`CampaignImageResult!`](https://help.brandmachine.shop/api-types/#campaignimageresult) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ToggleCampaignImageResultFavorite($id: UUID!) { toggleCampaignImageResultFavorite(id: $id) { id aspectRatio campaignImageId createdAt downloadableImageUrl editedImageUrl } } ``` --- ## toggleDesignerRevisionFavorite Toggle favorite on a Designer Instance Revision **Returns:** [`DesignerInstanceRevision!`](https://help.brandmachine.shop/api-types/#designerinstancerevision) **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ToggleDesignerRevisionFavorite($revisionId: UUID!) { toggleDesignerRevisionFavorite(revisionId: $revisionId) { id annotationOverlayKey annotationOverlaySourceSlot annotationOverlayUrl backColourwayUrl backFlatKey } } ``` --- ## toggleFashionModelRevisionFavorite Toggle favorite status on a fashion model revision **Returns:** [`FashionModelRevision!`](https://help.brandmachine.shop/api-types/#fashionmodelrevision) **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ToggleFashionModelRevisionFavorite($revisionId: UUID!) { toggleFashionModelRevisionFavorite(revisionId: $revisionId) { id createdAt fashionModelId favorite fullPortraitKey generationModel } } ``` --- ## toggleGroupShotResultFavorite Toggle favorite status on a group shot result **Returns:** [`GroupShotResult!`](https://help.brandmachine.shop/api-types/#groupshotresult) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ToggleGroupShotResultFavorite($id: UUID!) { toggleGroupShotResultFavorite(id: $id) { id aspectRatio createdAt downloadableImageUrl editedImageKey exportImageUrl } } ``` --- ## togglePatternRevisionFavorite Toggle favorite on a PatternRevision. **Returns:** [`PatternRevision!`](https://help.brandmachine.shop/api-types/#patternrevision) **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation TogglePatternRevisionFavorite($revisionId: UUID!) { togglePatternRevisionFavorite(revisionId: $revisionId) { id baseRevisionId createdAt errorMessage favorite generationModel } } ``` --- ## toggleProductStudioOutputFavorite Toggle favorite status on a product studio output **Returns:** [`ProductStudioOutput!`](https://help.brandmachine.shop/api-types/#productstudiooutput) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ToggleProductStudioOutputFavorite($id: UUID!) { toggleProductStudioOutputFavorite(id: $id) { id completionPercentage correctedImageUrl createdAt downloadableImageUrl editedImageUrl } } ``` --- ## toggleShootingLocationRevisionFavorite Toggle favorite status on a shooting location revision **Returns:** [`ShootingLocationRevision!`](https://help.brandmachine.shop/api-types/#shootinglocationrevision) **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation ToggleShootingLocationRevisionFavorite($revisionId: UUID!) { toggleShootingLocationRevisionFavorite(revisionId: $revisionId) { id createdAt favorite imageKey label model } } ``` --- ## unarchiveDesignerInstance Unarchive a Designer Instance: it returns to the lists and accepts changes again. Idempotent. **Returns:** [`DesignerInstance!`](https://help.brandmachine.shop/api-types/#designerinstance) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation UnarchiveDesignerInstance($id: UUID!) { unarchiveDesignerInstance(id: $id) { id activeFabricId archivedAt createdAt description fashionModelRevisionId } } ``` --- ## unlinkInspirationFromBatch Take an inspiration off a shoot's moodboard. It stays in the library. **Returns:** [`Batch!`](https://help.brandmachine.shop/api-types/#batch) **Arguments:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `inspirationId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** **Example:** ``` mutation UnlinkInspirationFromBatch($batchId: UUID!, $inspirationId: UUID!) { unlinkInspirationFromBatch(batchId: $batchId, inspirationId: $inspirationId) { id campaignImageCount createdAt inspirationCount instructions isGenerated } } ``` --- ## updateBatch Update a batch **Returns:** [`Batch!`](https://help.brandmachine.shop/api-types/#batch) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `instructions` `String` - `status` [`BatchStatus`](https://help.brandmachine.shop/api-enums/#batchstatus) - `shootType` [`ShootType`](https://help.brandmachine.shop/api-enums/#shoottype) **Example:** ``` mutation UpdateBatch($id: UUID!, $instructions: String, $status: BatchStatus, $shootType: ShootType) { updateBatch(id: $id, instructions: $instructions, status: $status, shootType: $shootType) { id campaignImageCount createdAt inspirationCount instructions isGenerated } } ``` --- ## updateBatchInputImage Update a batch input image (e.g. correct the detected view type) **Returns:** [`BatchInputImage!`](https://help.brandmachine.shop/api-types/#batchinputimage) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `viewType` [`ViewType`](https://help.brandmachine.shop/api-enums/#viewtype) **Example:** ``` mutation UpdateBatchInputImage($id: UUID!, $viewType: ViewType) { updateBatchInputImage(id: $id, viewType: $viewType) { id batchId createdAt fileName filenameView imageUrl } } ``` --- ## updateBrandAsset Rename a brand asset or change its default and minimum size. Sizes are fractions of the frame's shorter edge taken by the logo's longer side. An absent argument is left unchanged. **Returns:** [`BrandAsset!`](https://help.brandmachine.shop/api-types/#brandasset) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `title` `String` - `defaultSize` `Float` - `minimumSize` `Float` **Example:** ``` mutation UpdateBrandAsset($id: UUID!, $title: String, $defaultSize: Float, $minimumSize: Float) { updateBrandAsset(id: $id, title: $title, defaultSize: $defaultSize, minimumSize: $minimumSize) { id archivedAt createdAt darkGroundImageKey defaultSize height } } ``` --- ## updateBrandMemory **Returns:** [`BrandMemory!`](https://help.brandmachine.shop/api-types/#brandmemory) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `brandName` `String!` **required** - `brandIdentity` `String!` **required** - `fashionModelInstructions` `String` - `photoStyleInstructions` `String` - `targetGroupInstructions` `String` - `copywritingInstructions` `String`: How the brand writes: tone of voice, form of address, words to avoid, language-specific rules. Omit to leave unchanged, null to clear. **Example:** ``` mutation UpdateBrandMemory($id: UUID!, $brandName: String!, $brandIdentity: String!, $fashionModelInstructions: String, $photoStyleInstructions: String, $targetGroupInstructions: String, $copywritingInstructions: String) { updateBrandMemory(id: $id, brandName: $brandName, brandIdentity: $brandIdentity, fashionModelInstructions: $fashionModelInstructions, photoStyleInstructions: $photoStyleInstructions, targetGroupInstructions: $targetGroupInstructions, copywritingInstructions: $copywritingInstructions) { id brandIdentity brandName copywritingInstructions createdAt fashionModelInstructions } } ``` --- ## updateCampaign Update an existing campaign **Returns:** [`Campaign!`](https://help.brandmachine.shop/api-types/#campaign) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `name` `String` - `shootingLocationRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) **Example:** ``` mutation UpdateCampaign($id: UUID!, $name: String, $shootingLocationRevisionId: UUID) { updateCampaign(id: $id, name: $name, shootingLocationRevisionId: $shootingLocationRevisionId) { id createdAt name teamDomain updatedAt } } ``` --- ## updateCampaignImage Update an existing campaign image **Returns:** [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `title` `String` - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio) **Example:** ``` mutation UpdateCampaignImage($id: UUID!, $title: String, $aspectRatio: AspectRatio) { updateCampaignImage(id: $id, title: $title, aspectRatio: $aspectRatio) { id aspectRatio createdAt errorMessage guidanceImageKey guidanceImageUrl } } ``` --- ## updateCampaignImageResource Update an existing campaign image resource **Returns:** [`CampaignImageResource!`](https://help.brandmachine.shop/api-types/#campaignimageresource) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `name` `String` - `content` `String` - `purpose` `String` **Example:** ``` mutation UpdateCampaignImageResource($id: UUID!, $name: String, $content: String, $purpose: String) { updateCampaignImageResource(id: $id, name: $name, content: $content, purpose: $purpose) { id campaignImageId content createdAt name purpose } } ``` --- ## updateCampaignSetting Updates which AI models are enabled for Campaign generation. Both enabled = mixed mode. At least one must stay enabled. Omit gptImage25Quality to leave the team's existing tier alone; it is never defaulted on an existing row. useGptImage2 and gptImage2Quality are retired: GPT Image 2 was replaced by GPT Image 2.5 on 2026-09-10 and sending either is an error. **Returns:** [`CampaignSetting!`](https://help.brandmachine.shop/api-types/#campaignsetting) **Arguments:** - `useGptImage25` `Boolean` - `useGemini3Pro` `Boolean!` **required** - `gptImage25Quality` [`GptImage25Quality`](https://help.brandmachine.shop/api-enums/#gptimage25quality) - `useGptImage2` `Boolean` - `gptImage2Quality` [`GptImage2Quality`](https://help.brandmachine.shop/api-enums/#gptimage2quality) **Example:** ``` mutation UpdateCampaignSetting($useGptImage25: Boolean, $useGemini3Pro: Boolean!, $gptImage25Quality: GptImage25Quality, $useGptImage2: Boolean, $gptImage2Quality: GptImage2Quality) { updateCampaignSetting(useGptImage25: $useGptImage25, useGemini3Pro: $useGemini3Pro, gptImage25Quality: $gptImage25Quality, useGptImage2: $useGptImage2, gptImage2Quality: $gptImage2Quality) { id createdAt gptImage25Quality teamDomain updatedAt useGemini3Pro } } ``` --- ## updateDesignerCollection Update a DesignerCollection's title, season, or status. Use updateDesignerCollectionBrief to set the brief. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`DesignerCollection!`](https://help.brandmachine.shop/api-types/#designercollection) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `title` `String` - `season` `String` - `status` [`DesignerCollectionStatus`](https://help.brandmachine.shop/api-enums/#designercollectionstatus) **Example:** ``` mutation UpdateDesignerCollection($id: UUID!, $title: String, $season: String, $status: DesignerCollectionStatus) { updateDesignerCollection(id: $id, title: $title, season: $season, status: $status) { id brief createdAt season status teamDomain } } ``` --- ## updateDesignerCollectionBrief Set or clear the long-form DesignerCollection brief. Agent-authorable. Empty / null clears. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`DesignerCollection!`](https://help.brandmachine.shop/api-types/#designercollection) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `brief` `String`: Omit to leave the brief unchanged, send null to clear it. **Example:** ``` mutation UpdateDesignerCollectionBrief($id: UUID!, $brief: String) { updateDesignerCollectionBrief(id: $id, brief: $brief) { id brief createdAt season status teamDomain } } ``` --- ## updateDesignerInstance Update a Designer Instance (title or chosen fashion model) Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`DesignerInstance!`](https://help.brandmachine.shop/api-types/#designerinstance) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `title` `String` - `fashionModelRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) **Example:** ``` mutation UpdateDesignerInstance($id: UUID!, $title: String, $fashionModelRevisionId: UUID) { updateDesignerInstance(id: $id, title: $title, fashionModelRevisionId: $fashionModelRevisionId) { id activeFabricId archivedAt createdAt description fashionModelRevisionId } } ``` --- ## updateDesignerRevisionLabel Update the label on a Designer Instance Revision **Returns:** [`DesignerInstanceRevision!`](https://help.brandmachine.shop/api-types/#designerinstancerevision) **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `label` `String`: Omit to leave the label unchanged, send null to clear it. **Example:** ``` mutation UpdateDesignerRevisionLabel($revisionId: UUID!, $label: String) { updateDesignerRevisionLabel(revisionId: $revisionId, label: $label) { id annotationOverlayKey annotationOverlaySourceSlot annotationOverlayUrl backColourwayUrl backFlatKey } } ``` --- ## updateFashionModel Update an existing fashion model **Returns:** [`FashionModel!`](https://help.brandmachine.shop/api-types/#fashionmodel) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `name` `String` **Example:** ``` mutation UpdateFashionModel($id: UUID!, $name: String) { updateFashionModel(id: $id, name: $name) { id createdAt gender name status teamDomain } } ``` --- ## updateFashionModelRevisionLabel Update the label on a fashion model revision **Returns:** [`FashionModelRevision!`](https://help.brandmachine.shop/api-types/#fashionmodelrevision) **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `label` `String`: Omit to leave the label unchanged, send null to clear it. **Example:** ``` mutation UpdateFashionModelRevisionLabel($revisionId: UUID!, $label: String) { updateFashionModelRevisionLabel(revisionId: $revisionId, label: $label) { id createdAt fashionModelId favorite fullPortraitKey generationModel } } ``` --- ## updateGroupShot Update a group shot **Returns:** [`GroupShot!`](https://help.brandmachine.shop/api-types/#groupshot) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `shootingLocationRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `prompt` `String` - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio) **Example:** ``` mutation UpdateGroupShot($id: UUID!, $shootingLocationRevisionId: UUID, $prompt: String, $aspectRatio: AspectRatio) { updateGroupShot(id: $id, shootingLocationRevisionId: $shootingLocationRevisionId, prompt: $prompt, aspectRatio: $aspectRatio) { id aspectRatio campaignId createdAt errorMessage prompt } } ``` --- ## updateInspiration Rename an inspiration **Returns:** [`Inspiration!`](https://help.brandmachine.shop/api-types/#inspiration) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `title` `String` **Example:** ``` mutation UpdateInspiration($id: UUID!, $title: String) { updateInspiration(id: $id, title: $title) { id archivedAt categories createdAt fileName height } } ``` --- ## updateMediaPlan Rename a plan or change its brief. Changing the brief rewrites no copy; generate again to apply it. **Returns:** [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) **Arguments:** - `planId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `name` `String`: Omit to leave unchanged; null or an empty string clears it, and the plan shows its derived name. At most 200 characters. - `instructions` `String`: The campaign brief copy generation follows. Omit to leave unchanged; null or an empty string clears it. At most 2000 characters. **Example:** ``` mutation UpdateMediaPlan($planId: UUID!, $name: String, $instructions: String) { updateMediaPlan(planId: $planId, name: $name, instructions: $instructions) { id copyGeneratingSince copyGenerationError createdAt headlineTreatmentId instructions } } ``` --- ## updateMediaPlanCardLayout Move a card's crop or headline zone by hand. Marks the card hand-edited so later re-scoring skips it; pass reset:true to discard the edit and take the computed layout back. All values are normalised fractions. **Returns:** [`PlannedAsset!`](https://help.brandmachine.shop/api-types/#plannedasset) **Arguments:** - `cardId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `cropX` `Float` - `cropY` `Float` - `cropW` `Float` - `cropH` `Float` - `zoneX0` `Float` - `zoneY0` `Float` - `zoneX1` `Float` - `zoneY1` `Float` - `reset` `Boolean` **Example:** ``` mutation UpdateMediaPlanCardLayout($cardId: UUID!, $cropX: Float, $cropY: Float, $cropW: Float, $cropH: Float, $zoneX0: Float, $zoneY0: Float, $zoneX1: Float, $zoneY1: Float, $reset: Boolean) { updateMediaPlanCardLayout(cardId: $cardId, cropX: $cropX, cropY: $cropY, cropW: $cropW, cropH: $cropH, zoneX0: $zoneX0, zoneY0: $zoneY0, zoneX1: $zoneX1, zoneY1: $zoneY1, reset: $reset) { id cropH cropW cropX cropY faceFullyInside } } ``` --- ## updateMyName Set the signed-in person's own name, 1 to 80 characters. Also ends the name prompt. **Returns:** [`CurrentUser!`](https://help.brandmachine.shop/api-types/#currentuser) **Arguments:** - `name` `String!` **required** **Example:** ``` mutation UpdateMyName($name: String!) { updateMyName(name: $name) { id askForName capabilities email name newsSeenUntil } } ``` --- ## updatePattern Update a Pattern's name or repeatability flags. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`Pattern!`](https://help.brandmachine.shop/api-types/#pattern) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `name` `String` - `repeatHorizontal` `Boolean` - `repeatVertical` `Boolean` **Example:** ``` mutation UpdatePattern($id: UUID!, $name: String, $repeatHorizontal: Boolean, $repeatVertical: Boolean) { updatePattern(id: $id, name: $name, repeatHorizontal: $repeatHorizontal, repeatVertical: $repeatVertical) { id createdAt name repeatHorizontal repeatVertical status } } ``` --- ## updatePatternInputReference Rename a pattern-level input reference. **Returns:** [`PatternInputReference!`](https://help.brandmachine.shop/api-types/#patterninputreference) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `label` `String!` **required** **Example:** ``` mutation UpdatePatternInputReference($id: UUID!, $label: String!) { updatePatternInputReference(id: $id, label: $label) { id createdAt imageKey label patternId } } ``` --- ## updatePatternRevisionLabel Update the label on a PatternRevision. **Returns:** [`PatternRevision!`](https://help.brandmachine.shop/api-types/#patternrevision) **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `label` `String`: Omit to leave the label unchanged, send null to clear it. **Example:** ``` mutation UpdatePatternRevisionLabel($revisionId: UUID!, $label: String) { updatePatternRevisionLabel(revisionId: $revisionId, label: $label) { id baseRevisionId createdAt errorMessage favorite generationModel } } ``` --- ## updateProductStudio Update a ProductStudio session **Returns:** [`ProductStudio!`](https://help.brandmachine.shop/api-types/#productstudio) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `title` `String` - `fashionModelRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) **Example:** ``` mutation UpdateProductStudio($id: UUID!, $title: String, $fashionModelRevisionId: UUID) { updateProductStudio(id: $id, title: $title, fashionModelRevisionId: $fashionModelRevisionId) { id createdAt isGenerated status teamDomain title } } ``` --- ## updateProductStudioInput Update metadata for a ProductStudio input (all fields optional) **Returns:** [`ProductStudioInput!`](https://help.brandmachine.shop/api-types/#productstudioinput) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `productTitle` `String` - `productDescription` `String` - `productDetailPrompt` `String` - `viewType` [`ViewType`](https://help.brandmachine.shop/api-enums/#viewtype) - `productId` `String` - `isHero` `Boolean`: Marks this input as a focus / hero product. Perspectives with useHeroOnly=true filter generation down to hero inputs only. - `fileName` `String`: Corrects the uploaded filename this input is read as. Whitespace is trimmed; "" clears the name. Rejects names over 256 characters, and names containing "/", "" or control characters, since this value feeds the delivered download filename. Does not change viewType. Re-read ProductStudio.exportFileNames afterwards: a correction can resolve or create a disagreement between inputs. **Example:** ``` mutation UpdateProductStudioInput($id: UUID!, $productTitle: String, $productDescription: String, $productDetailPrompt: String, $viewType: ViewType, $productId: String, $isHero: Boolean, $fileName: String) { updateProductStudioInput(id: $id, productTitle: $productTitle, productDescription: $productDescription, productDetailPrompt: $productDetailPrompt, viewType: $viewType, productId: $productId, isHero: $isHero, fileName: $fileName) { id createdAt fileName filenameView isHero isStylingPiece } } ``` --- ## updateProductStudioPerspective Update an existing product studio perspective. Every optional argument is three-state: omit it to leave the stored value alone, send null to clear it. Omitting a field never erases it. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ProductStudioPerspective!`](https://help.brandmachine.shop/api-types/#productstudioperspective) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `name` `String!` **required** - `prompt` `String!` **required** - `qaPrompt` `String`: Whether this perspective is quality-checked, and what extra it is checked for. Omit to leave unchanged. Null turns scoring OFF entirely, it does not fall back to the standard rubric; send an empty string for scored-with-nothing-added. Text is scored on the standard rubric plus that text. Frozen on locked marketplace presets. - `acceptedViewTypes` [`[ViewType!]`](https://help.brandmachine.shop/api-enums/#viewtype): Which input view types this perspective accepts. Omit to leave unchanged. - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio): Generation aspect ratio. Omit to leave unchanged, null to clear. - `targetRatioW` `Int`: Optional free-form target ratio width (e.g. 7 in 7:9). Must be sent together with targetRatioH, and the pair must agree: omit both to leave the target ratio unchanged, send null for both to clear it, send both to set it. When set, it takes precedence over aspectRatio for generation and crop. - `targetRatioH` `Int`: Optional free-form target ratio height (e.g. 9 in 7:9). Must be sent together with targetRatioW. - `backgroundHexColor` `String`: Optional 6-character hex color for the studio backdrop (e.g. 'ff0077'). Omit to leave unchanged, null to clear. - `specCrop` `String`: How outputs are cropped, as the JSON crop object: placement (anchored | fitted | frame), anchors or margin, aspect and sizing. Omit to leave unchanged, null to stop cropping outputs. Marketplace slots ignore this and use their own. Sent as JSON rather than a typed input so the one shape the container reads is not redefined a third time here. - `isProductOnly` `Boolean`: When true, generates product-only pack shots without a fashion model. Omit to leave unchanged. - `useHeroOnly` `Boolean`: When true, generation uses only inputs marked as hero. Use for fabric samples and similar focused shots. Omit to leave unchanged. - `aiModel` [`AiModel`](https://help.brandmachine.shop/api-enums/#aimodel): Which AI model renders this perspective. Omit to leave unchanged. - `shootingLocationRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): Optional scene (shooting location revision id) to render into. When set it overrides backgroundHexColor as the backdrop. Omit to leave unchanged, null to detach the scene and fall back to a plain studio backdrop. - `exportCode` `String`: Token representing this perspective in delivered filenames ("001", "FRONT"). Omit to leave unchanged, null to clear. Settable even on locked marketplace presets, since it concerns delivery rather than rendering. **Example:** ``` mutation UpdateProductStudioPerspective($id: UUID!, $name: String!, $prompt: String!, $qaPrompt: String, $acceptedViewTypes: [ViewType!], $aspectRatio: AspectRatio, $targetRatioW: Int, $targetRatioH: Int, $backgroundHexColor: String, $specCrop: String, $isProductOnly: Boolean, $useHeroOnly: Boolean, $aiModel: AiModel, $shootingLocationRevisionId: UUID, $exportCode: String) { updateProductStudioPerspective(id: $id, name: $name, prompt: $prompt, qaPrompt: $qaPrompt, acceptedViewTypes: $acceptedViewTypes, aspectRatio: $aspectRatio, targetRatioW: $targetRatioW, targetRatioH: $targetRatioH, backgroundHexColor: $backgroundHexColor, specCrop: $specCrop, isProductOnly: $isProductOnly, useHeroOnly: $useHeroOnly, aiModel: $aiModel, shootingLocationRevisionId: $shootingLocationRevisionId, exportCode: $exportCode) { id acceptedViewTypes aiModel archivedAt aspectRatio backgroundHexColor } } ``` --- ## updateProductStudioPerspectiveGroup Rename a perspective rail tab or change its purpose text. Both arguments are three-state: omitting one leaves the stored value alone. **Returns:** [`ProductStudioPerspectiveGroup!`](https://help.brandmachine.shop/api-types/#productstudioperspectivegroup) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `name` `String`: New display name. Omit to leave unchanged. Null is refused: a tab with no name is unusable in the rail. - `purpose` `String`: What this group is for, read by the agent when matching a user's words to a group. Omit to leave unchanged, null (or an empty string) to clear it. **Example:** ``` mutation UpdateProductStudioPerspectiveGroup($id: UUID!, $name: String, $purpose: String) { updateProductStudioPerspectiveGroup(id: $id, name: $name, purpose: $purpose) { id createdAt name purpose sortOrder teamDomain } } ``` --- ## updateProductStudioSetting **Returns:** [`ProductStudioSetting!`](https://help.brandmachine.shop/api-types/#productstudiosetting) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `instructions` `String` - `scanInstructions` `String` **Example:** ``` mutation UpdateProductStudioSetting($id: UUID!, $instructions: String, $scanInstructions: String) { updateProductStudioSetting(id: $id, instructions: $instructions, scanInstructions: $scanInstructions) { id createdAt instructions scanInstructions teamDomain updatedAt } } ``` --- ## updateProductStudioStylingResource Update styling instructions for a ProductStudio resource **Returns:** [`ProductStudioStylingResource!`](https://help.brandmachine.shop/api-types/#productstudiostylingresource) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `stylingInstructions` `String!` **required** **Example:** ``` mutation UpdateProductStudioStylingResource($id: UUID!, $stylingInstructions: String!) { updateProductStudioStylingResource(id: $id, stylingInstructions: $stylingInstructions) { id createdAt productStudioId productStudioPerspectiveId stylingInstructions } } ``` --- ## updateProductVideo **Returns:** [`ProductVideo!`](https://help.brandmachine.shop/api-types/#productvideo) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `productId` `String` - `productTitle` `String` - `productImage` `String` - `productImageId` `String` - `videoUrl` `String` - `status` [`ContentGenerationStatus`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `prompt` `String` - `modelType` [`VideoModelType`](https://help.brandmachine.shop/api-enums/#videomodeltype) **Example:** ``` mutation UpdateProductVideo($id: UUID!, $productId: String, $productTitle: String, $productImage: String, $productImageId: String, $videoUrl: String, $status: ContentGenerationStatus, $prompt: String, $modelType: VideoModelType) { updateProductVideo(id: $id, productId: $productId, productTitle: $productTitle, productImage: $productImage, productImageId: $productImageId, videoUrl: $videoUrl, status: $status, prompt: $prompt, modelType: $modelType) { id createdAt durationSeconds modelType productId productImage } } ``` --- ## updateShootingLocation Update an existing shootingLocation Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ShootingLocation!`](https://help.brandmachine.shop/api-types/#shootinglocation) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `title` `String` **Example:** ``` mutation UpdateShootingLocation($id: UUID!, $title: String) { updateShootingLocation(id: $id, title: $title) { id createdAt teamDomain thumbnailUrl title updatedAt } } ``` --- ## updateShootingLocationRevisionLabel Update the label on a shooting location revision **Returns:** [`ShootingLocationRevision!`](https://help.brandmachine.shop/api-types/#shootinglocationrevision) **Arguments:** - `revisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `label` `String`: Omit to leave the label unchanged, send null to clear it. **Example:** ``` mutation UpdateShootingLocationRevisionLabel($revisionId: UUID!, $label: String) { updateShootingLocationRevisionLabel(revisionId: $revisionId, label: $label) { id createdAt favorite imageKey label model } } ``` --- ## updateSkill Update an existing skill **Returns:** [`Skill!`](https://help.brandmachine.shop/api-types/#skill) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `title` `String` - `body` `String` **Example:** ``` mutation UpdateSkill($id: UUID!, $title: String, $body: String) { updateSkill(id: $id, title: $title, body: $body) { id body createdAt teamDomain title updatedAt } } ``` --- ## updateTeamMemberRole Change what a member may do. Refused above your own role, for anyone at or above your own role other than yourself (owners may act on other owners), and for the team's last active owner. Not available with API tokens: This operation needs the Admin role, which no API token can have. Use the Brandmachine app instead. **Returns:** [`TeamMember!`](https://help.brandmachine.shop/api-types/#teammember) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required**: The TeamMember id. - `role` [`Role!`](https://help.brandmachine.shop/api-enums/#role) **required** **Example:** ``` mutation UpdateTeamMemberRole($id: UUID!, $role: Role!) { updateTeamMemberRole(id: $id, role: $role) { id email expiresAt isCurrentUser joinedAt name } } ``` --- ## updateWardrobeItem Update a wardrobe article. Renaming is safe for an article looks already use: each look keeps the title it was styled with. Needs a Creator token: An API token needs the Creator role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`WardrobeItem!`](https://help.brandmachine.shop/api-types/#wardrobeitem) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `title` `String` - `category` [`WardrobeCategory`](https://help.brandmachine.shop/api-enums/#wardrobecategory) - `usageNote` `String` - `styleReference` `String` **Example:** ``` mutation UpdateWardrobeItem($id: UUID!, $title: String, $category: WardrobeCategory, $usageNote: String, $styleReference: String) { updateWardrobeItem(id: $id, title: $title, category: $category, usageNote: $usageNote, styleReference: $styleReference) { id archivedAt category createdAt styleReference teamDomain } } ``` --- ## uploadProductVideoToShopify Upload a generated product video to Shopify and attach it to the product Needs an Approver token: An API token needs the Approver role or higher for this operation. With a lower role the call fails with the error message `You do not have permission to do this.` **Returns:** [`ProductVideo!`](https://help.brandmachine.shop/api-types/#productvideo) **Arguments:** - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `videoName` `String` **Example:** ``` mutation UploadProductVideoToShopify($id: UUID!, $videoName: String) { uploadProductVideoToShopify(id: $id, videoName: $videoName) { id createdAt durationSeconds modelType productId productImage } } ``` --- ================================================================================ # Types Source: https://help.brandmachine.shop/api-types/ All GraphQL object types the API returns, in alphabetical order. ## AmendMediaPlanResult **Fields:** - `adsAdded` `Int!` - `adsApproved` `Int!`: Ads SET_APPROVAL approved. Ads it skipped as not ready are in notes, with the reason. - `adsUnapproved` `Int!`: Ads SET_APPROVAL un-approved on purpose. Not counted in approvalsWithdrawn. - `approvalsWithdrawn` `Int!`: Approved ads this amendment changed, which are no longer approved and need approving again. Tell the person. - `cardsChanged` `Int!` - `cardsRemoved` `Int!` - `notes` `[String!]!`: Not errors, but worth telling the person: operations that changed nothing (e.g. removing a unit already gone, adding one already there), ads SET_APPROVAL skipped as not ready and why, hand-adjusted layouts an edit reset. - `plan` [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) --- ## AmendPlanResult Result of amendPlan: counts of updated, added, and removed draft records **Fields:** - `added` `Int!` - `removed` `Int!` - `updated` `Int!` --- ## ApiToken A named API token. The token itself is the principal and holds this role. **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `createdBy` [`User`](https://help.brandmachine.shop/api-types/#user): Who created the token. Their tokens are revoked when they are removed from the account. - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `lastUsedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `name` `String!` - `role` [`Role!`](https://help.brandmachine.shop/api-enums/#role) - `tokenPreview` `String!`: The last characters of the stored hash, to tell tokens apart. Not part of the secret. --- ## AuditDetail One fact recorded with an activity log entry. **Fields:** - `key` `String!` - `value` `String!` --- ## AuditEntry One entry in the team's activity log. **Fields:** - `action` `String!`: What happened, such as member.role_changed. New actions can appear; show an unknown one by its category. - `actorEmail` `String`: The address the person acted with, kept after their account is gone. Always null for STAFF. - `actorKind` [`AuditActorKind!`](https://help.brandmachine.shop/api-enums/#auditactorkind) - `actorLabel` `String`: TOKEN: which API token. SYSTEM: the internal service. STAFF: Brandmachine support. Null for USER. - `actorName` `String`: The person's current name. Null once their account is gone, when they never gave one, and always for STAFF. - `category` [`AuditCategory!`](https://help.brandmachine.shop/api-enums/#auditcategory) - `details` [`[AuditDetail!]!`](https://help.brandmachine.shop/api-types/#auditdetail): What changed, such as a role going from one rung to another, sorted by key. - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `occurredAt` [`Date!`](https://help.brandmachine.shop/api-scalars/#date) - `summary` `String`: The name the thing was known by when it happened, so a deleted item can still be named. - `targetType` `String`: The kind of thing acted on, as its table name, such as campaigns. --- ## AuditEntryPage A page of the activity log. **Fields:** - `entries` [`[AuditEntry!]!`](https://help.brandmachine.shop/api-types/#auditentry) - `nextCursor` `String`: Pass as before to get older entries. Null when there are none. --- ## Batch A unit of work grouping images, skills, and a plan for batch creation **Fields:** - `campaign` [`Campaign`](https://help.brandmachine.shop/api-types/#campaign): The Campaign this shoot's campaign looks land in. Set by createBatch(campaignId:) or by the first plan with campaign looks; null for studio-only shoots. Single-batch reads: not batched for the batch list. - `campaignImageCount` `Int!`: Number of CampaignImages in this batch (tile overview count) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `inputImages` [`[BatchInputImage!]!`](https://help.brandmachine.shop/api-types/#batchinputimage): Product images uploaded for this batch - `inspirationCount` `Int!`: Pins on the shoot's board, archived excluded. Batched on moodboardShoots. - `inspirationPreview` [`[Inspiration!]!`](https://help.brandmachine.shop/api-types/#inspiration): The board's first pins in board order, for a collage card. Batched on moodboardShoots. - `inspirations` [`[BatchInspiration!]!`](https://help.brandmachine.shop/api-types/#batchinspiration): The shoot's moodboard, in board order. Excludes archived inspirations. Single-batch reads: not batched for the batch list. - `instructions` `String` - `isGenerated` `Boolean!`: True once every item in the batch (studio + campaign) has finished generating. Derived from task state; unlike `status`, which flips to completed at dispatch. Single-batch only: do not select on the batch list. - `mediaGenerationTaskIds` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid): Ids of the generation tasks this batch has dispatched (product studio + campaign, excluding QA). The workflow runner reads these after executeBatch to declare the render step's wait-set. - `productStudioCount` `Int!`: Number of ProductStudios in this batch (tile overview count) - `referenceSheetFileName` `String`: The customer's file name for the looks sheet. Provenance only. - `referenceSheetLooks` [`[ReferenceLook!]!`](https://help.brandmachine.shop/api-types/#referencelook): Looks read off the uploaded sheet, in reading order. Empty when no sheet was uploaded. The planner reproduces these by matching each description to the batch's products. - `referenceSheetUrl` `String`: R2 key of the uploaded looks sheet, null when none was uploaded. Upload via POST /api/batches/{batchId}/reference-sheet/upload; re-uploading replaces it. - `shootType` [`ShootType`](https://help.brandmachine.shop/api-enums/#shoottype): Creation-time choice of what this batch produces; a hint for the plan board and planner, not a constraint - `skills` [`[Skill!]!`](https://help.brandmachine.shop/api-types/#skill): Skills referenced by this batch - `startsFromMoodboard` `Boolean!`: True for a shoot started from a moodboard. Key the moodboard-first flow on this or on existing pins, never on `campaign`, which every campaign plan sets. - `status` [`BatchStatus!`](https://help.brandmachine.shop/api-enums/#batchstatus) - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## BatchInputImage Uploaded input image for a batch, scanned via Gemini pipeline **Fields:** - `batchId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `fileName` `String!` - `filenameView` `String`: The view this file's name declares, in the team's own vocabulary ("001", "front"). Null when no template matched or the name declares no view. Compare against `viewType` to flag scan-versus-filename disagreements. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageUrl` `String!` - `productDescription` `String` - `productKey` `String`: Identity shared by every uploaded photo of one product, derived from the team's declared filename convention: the fields their template marks as IDENTITY, joined in pattern order. Group images by this instead of parsing filenames. It is stable across a product's front and back, and across whatever the team marks as OTHER, typically a shoot week or a per-frame camera number, both of which would otherwise split one product into several. It also does not collapse different products that happen to scan as the same category. Null when no template matched. - `productTitle` `String` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `viewType` [`ViewType`](https://help.brandmachine.shop/api-enums/#viewtype) --- ## BatchInspiration An inspiration pinned to one shoot's moodboard, with what it resolved to for that shoot. **Fields:** - `fashionModelRevision` [`FashionModelRevision`](https://help.brandmachine.shop/api-types/#fashionmodelrevision): MODEL pins: the model this pin became for this shoot, reused or newly cast. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `inspiration` [`Inspiration!`](https://help.brandmachine.shop/api-types/#inspiration) - `shootingLocationRevision` [`ShootingLocationRevision`](https://help.brandmachine.shop/api-types/#shootinglocationrevision): LOCATION pins: the set location this pin became for this shoot, reused or newly created. - `sortOrder` `Int!` --- ## BillingCostSummary Aggregated cost breakdown for the requesting team over a date range; powers the cost-overview chart. **Fields:** - `byFeature` [`[BillingFeatureCostBucket!]!`](https://help.brandmachine.shop/api-types/#billingfeaturecostbucket) - `fromDate` [`Date!`](https://help.brandmachine.shop/api-scalars/#date) - `generationCents` `Int!` - `releaseCents` `Int!` - `toDate` [`Date!`](https://help.brandmachine.shop/api-scalars/#date) - `totalCents` `Int!` --- ## BillingFeatureCostBucket Per-feature cost slice within a BillingCostSummary; one bar in the cost-overview chart. **Fields:** - `feature` `String!` - `generationCents` `Int!` - `releaseCents` `Int!` - `totalCents` `Int!` --- ## BillingLedgerEntry One entry in the billing ledger. **Fields:** - `aiModel` `String` - `balanceAfterCents` `Int!` - `costCents` `Int!` - `createdAt` [`Date!`](https://help.brandmachine.shop/api-scalars/#date) - `deltaCents` `Int!` - `entryDescription` `String` - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `kind` `String!` - `outputCount` `Int!` - `outputUnit` [`OutputUnit`](https://help.brandmachine.shop/api-enums/#outputunit): What outputCount counts on this row: IMAGE, VIDEO or SECOND. Null on top-ups and adjustments. Render this rather than assuming images; product video generation bills per second. - `pricingVersion` `String` - `usageType` `String` --- ## BrandAsset A reusable file a team puts on its ads, a logo first. PNG only. **Fields:** - `archivedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `darkGroundImageKey` `String`: The optional PNG for dark grounds. Upload through POST /api/brand-assets/{id}/dark-ground-version/upload. - `defaultSize` `Float!`: Fraction of the frame's shorter edge taken by the logo's longer side, when an ad sets no size. - `height` `Int!` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageKey` `String!`: The PNG for light grounds, and the only version when there is one. - `minimumSize` `Float!` - `slug` `String!`: The handle the planning agent uses. - `title` `String!` - `width` `Int!` --- ## BrandHeadlineTreatment How a headline sits on an ad: over the photo, on a solid band beside it, or on a panel over it. A band changes the crop, because the photo fills only what the band leaves. **Fields:** - `bandPosition` [`HeadlineBandPosition`](https://help.brandmachine.shop/api-enums/#headlinebandposition) - `bandSize` `Float`: Band height as a fraction of the frame height. Null unless the ground is SOLID_BAND. - `copySurface` [`HeadlineSurface`](https://help.brandmachine.shop/api-enums/#headlinesurface): Whether the copy sits in the band or on the photo. Null unless the ground is SOLID_BAND. - `fillColor` `String`: #RRGGBB fill of the band or panel. Decides the ink. - `ground` [`HeadlineGround!`](https://help.brandmachine.shop/api-enums/#headlineground) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageCopyLines` [`ImageCopyLines!`](https://help.brandmachine.shop/api-enums/#imagecopylines): Which lines of copy images with this treatment carry. The scorer, generation and the renderer use only these. - `presetKey` `String` - `slug` `String!`: The handle the planning agent uses, such as band-bottom-white. - `title` `String!` --- ## BrandMemory Core content model for the Brand Identity feature. **Fields:** - `brandIdentity` `String!` - `brandName` `String!` - `copywritingInstructions` `String`: How the brand writes. Followed by media planner copy generation, beneath a plan's own brief. - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `fashionModelInstructions` `String` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `photoStyleInstructions` `String` - `targetGroupInstructions` `String` - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## Campaign Named container for organizing single shots and group shots **Fields:** - `batches` [`[Batch!]!`](https://help.brandmachine.shop/api-types/#batch): Shoots whose campaign looks land in this campaign, e.g. the one "New campaign" created. Single-campaign reads: not batched for the list. - `campaignImages` [`[CampaignImage!]!`](https://help.brandmachine.shop/api-types/#campaignimage): Single shots in this campaign, in the team's manual order (see setCampaignImageOrder): placed images first by sortOrder, then unplaced ones by creation. Excludes DRAFT images: those are Shot Planner plan rows and show on the plan board until generated. - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `groupShots` [`[GroupShot!]!`](https://help.brandmachine.shop/api-types/#groupshot): Group shots in this campaign, oldest first. Not manually orderable. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `name` `String!` - `shootingLocationRevision` [`ShootingLocationRevision`](https://help.brandmachine.shop/api-types/#shootinglocationrevision): Default location used by campaign images at generation time. Group shots fall back to this if they don't set their own. - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## CampaignImage Campaign image for marketing content creation **Fields:** - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio) - `batch` [`Batch`](https://help.brandmachine.shop/api-types/#batch): Parent batch if this is a draft campaign image (non-null means part of a plan) - `campaign` [`Campaign`](https://help.brandmachine.shop/api-types/#campaign) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `errorMessage` `String` - `fashionModelRevision` [`FashionModelRevision`](https://help.brandmachine.shop/api-types/#fashionmodelrevision) - `generatedImages` [`[CampaignImageResult!]!`](https://help.brandmachine.shop/api-types/#campaignimageresult)- `includeArchived` `Boolean` - `favoritesOnly` `Boolean` - `guidanceImageKey` `String`: Cloudflare R2 key of the guidance reference image, or null when the look has none - `guidanceImageUrl` `String`: Displayable URL of the guidance reference image: the lookbook page or mood shot this look should feel like. Attached to generation as a style reference only, never as a product or as the human subject. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `iterations` [`[CampaignImageIteration!]!`](https://help.brandmachine.shop/api-types/#campaignimageiteration) - `products` [`[CampaignImageProduct!]!`](https://help.brandmachine.shop/api-types/#campaignimageproduct) - `prompt` `String` - `resources` [`[CampaignImageResource!]!`](https://help.brandmachine.shop/api-types/#campaignimageresource) - `shootingLocationRevision` [`ShootingLocationRevision`](https://help.brandmachine.shop/api-types/#shootinglocationrevision) - `sortOrder` `Int`: 0-based position among its campaign's single shots, or null if never placed. Unplaced images sort after every placed one, in creation order. Team-wide: one person's reorder moves the campaign for everybody. Reset to null when the image moves to another campaign. - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `teamDomain` `String!` - `thumbnailUrl` `String`: Image key of the newest non-rejected result, derived live - `title` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## CampaignImageIteration Campaign image iteration with feedback loop **Fields:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `feedback` `String` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `prompt` `String!` - `results` [`[CampaignImageResult!]!`](https://help.brandmachine.shop/api-types/#campaignimageresult) --- ## CampaignImageProduct Product associated with campaign image **Fields:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `isStylingPiece` `Boolean!`: True when this row is a styling piece the look is completed with, rather than part of what the shot is of - `productDescription` `String` - `productId` `String` - `productImage` `String!` - `productImageId` `String!` - `productTitle` `String` - `wardrobeItemId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): Which wardrobe article this was stamped from, and what detaches it. Null once that article has been removed from the library. --- ## CampaignImageResource Analyzed resource content for campaign images **Fields:** - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `content` `String!` - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `name` `String!` - `purpose` [`CampaignImageResourcePurpose!`](https://help.brandmachine.shop/api-enums/#campaignimageresourcepurpose) --- ## CampaignImageResult AI-generated campaign image result **Fields:** - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio) - `campaignImage` [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `downloadableImageUrl` `String`: The stored file of the latest media release as generated, with no sRGB profile and no AI-provenance statement. To deliver the image, use `exportImageUrl`. - `editedImageUrl` `String`: DEPRECATED: use 'images' / 'latestImage'. URL of the most recent photo-editor save (legacy single-slot field). - `exportImageUrl` `String`: The file to deliver for the latest media release: a JPEG with an sRGB profile and a machine-readable statement that the image is AI-generated (IPTC DigitalSourceType). Content Credentials (C2PA) will be added behind this same URL once they ship, so integrators need no change. Null until the asset is released. - `favorite` `Boolean!`: Whether the user has marked this result as a favorite - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageKey` `String!`: Cloudflare R2 key for the generated image - `images` [`[OutputImage!]!`](https://help.brandmachine.shop/api-types/#outputimage): Chronological history of this result's image variants: INITIAL_GENERATION (raw render), then USER_EDITED entries, one per photo-editor save, so earlier edits stay reachable. Same OutputImage shape as Product Studio outputs. - `isPreview` `Boolean!`: True when this is a low-res preview render (preview mode). Preview results are generation-free and cannot be released or downloaded: `releaseCampaignImageResult` will reject them. Hide release/download and show a preview badge in the UI; to get a final, re-run generation with `preview: false`. - `iterations` [`[CampaignImageIteration!]!`](https://help.brandmachine.shop/api-types/#campaignimageiteration) - `latestImage` `String`: Server-side resolution of the most recent stage: the newest entry in the image history. Use this when you just want 'the current image'; use `images` for the full history. - `latestMediaRelease` [`MediaRelease`](https://help.brandmachine.shop/api-types/#mediarelease): Most recent media release for this result - `mediaGenerationTask` [`MediaGenerationTask`](https://help.brandmachine.shop/api-types/#mediagenerationtask): The media generation task that produced this result - `mediaReleases` [`[MediaRelease!]!`](https://help.brandmachine.shop/api-types/#mediarelease): All media releases for this result - `model` `String` - `prompt` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `url` `String!`: DEPRECATED: Use 'imageKey' instead. Returns the Cloudflare R2 key for the generated image. --- ## CampaignSetting Per-team selection of which AI models to use for Campaign generation. Both enabled = mixed mode (parallel FAL calls, 2 + 2 outputs). **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `gptImage25Quality` [`GptImage25Quality!`](https://help.brandmachine.shop/api-enums/#gptimage25quality): Which GPT Image 2.5 tier this team renders at while useGptImage25 is on: MEDIUM, HIGH, XHIGH or MAX, in ascending detail and price (about 9c, 18c, 28c and 55c per delivered image). New teams default to HIGH. 1K previews always render at FAL's low tier regardless, so a preview does not preview this setting. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `useGemini3Pro` `Boolean!` - `useGptImage25` `Boolean!` --- ## CardLogo A logo as one card shows it: its rectangle in output-frame fractions and the version chosen for the ground under it. Derived on read. **Fields:** - `brandAssetId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageKey` `String!`: The file to draw on this card: the dark-ground version when the ground under the logo is dark and one exists. - `slot` [`BrandAssetSlot!`](https://help.brandmachine.shop/api-enums/#brandassetslot) - `version` [`BrandAssetVersion!`](https://help.brandmachine.shop/api-enums/#brandassetversion) - `x0` `Float!` - `x1` `Float!` - `y0` `Float!` - `y1` `Float!` --- ## CopyLengthTarget A provisional length target for one image line on this card, from its zone and a minimum type size. A target, not a limit: the renderer decides what fits. **Fields:** - `maxCharacters` `Int!` - `slot` [`MediaCopySlot!`](https://help.brandmachine.shop/api-enums/#mediacopyslot) --- ## CopySlotTexts One slot of copy with its languages. Stored as a row per language, shaped as a map here. **Fields:** - `slot` [`MediaCopySlot!`](https://help.brandmachine.shop/api-enums/#mediacopyslot) - `texts` [`[LocalizedCopy!]!`](https://help.brandmachine.shop/api-types/#localizedcopy) --- ## CreateBillingPortalSessionResponse Stripe Customer Portal session for invoice and billing management. Frontend redirects the top window to url. **Fields:** - `url` `String!` --- ## CreatedApiToken A newly created API token together with its secret. **Fields:** - `secret` `String!`: Shown once. Only its hash is stored. - `token` [`ApiToken!`](https://help.brandmachine.shop/api-types/#apitoken) --- ## CreatedStoreConnectCode A one-time code that connects a Shopify store to this account. Fifteen minutes, one use. **Fields:** - `code` `String!` - `expiresAt` [`Date!`](https://help.brandmachine.shop/api-scalars/#date) --- ## CreateShopifyTopUpChargeResponse Shopify one-time charge for a top-up. Frontend redirects the merchant to confirmationUrl. **Fields:** - `confirmationUrl` `String!` - `purchaseId` `String!` --- ## CreateTopUpCheckoutSessionResponse Stripe Checkout session for a VAT-compliant top-up. Frontend redirects the top window to url. **Fields:** - `sessionId` `String!` - `url` `String!` --- ## CreateTopUpIntentResponse [Deprecated] Stripe PaymentIntent for a PAYG top-up. Frontend confirms with clientSecret. Replaced by CreateTopUpCheckoutSessionResponse. **Fields:** - `clientSecret` `String!` - `paymentIntentId` `String!` --- ## CreditBalanceResponse Current PAYG credit balance for a team. **Fields:** - `balanceCents` `Int!` - `currency` `String!` --- ## CurrentTeamResponse Identity + billing-routing flags for the requesting team. **Fields:** - `accountName` `String!`: What to call this account in copy, e.g. "Give someone access to ". - `adLocales` `[String!]!`: BCP-47 tags this team normally writes ads in. New media plans start from these. - `hasWebDoor` `Boolean!`: Whether people can log into this account through the web app, and so be invited. - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `isPAYG` `Boolean!` - `setupPending` `Boolean!`: A fresh Shopify install that has not chosen between a new account and connecting an existing one. Ask before anything else: until answered, nobody here can generate. - `shopDomain` `String`: The connected Shopify store, or null. - `teamDomain` `String!`: The tenant key. Says nothing about which doors the account has: use hasWebDoor and shopDomain. --- ## CurrentUser The signed-in principal and what it may do in this team. **Fields:** - `askForName` `Boolean!`: Show the one-time "What should we call you?" prompt. Answering (updateMyName) or skipping (skipNamePrompt) ends it for good, in every app. - `capabilities` [`[Capability!]!`](https://help.brandmachine.shop/api-enums/#capability) - `email` `String` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): Null only for machine principals, never for a browser session. - `name` `String` - `newsSeenUntil` [`Date`](https://help.brandmachine.shop/api-scalars/#date): Show the newest news item published after this date, if any; any interaction with it calls markNewsSeen with that item's date. Null for machine principals. - `role` [`Role!`](https://help.brandmachine.shop/api-enums/#role) --- ## DesignerChangePlan The deterministic dependency closure for a change set: which slots regenerate, whether the person base rebuilds, the effective setup, exactly which prompts the composer must author, and human-readable notes on backend-only work. **Fields:** - `baseRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `deterministic` `[String!]!` - `effectiveSetup` [`DesignerEffectiveSetup!`](https://help.brandmachine.shop/api-types/#designereffectivesetup) - `fingerprint` `String` - `impliedWork` [`[DesignerImpliedWork!]!`](https://help.brandmachine.shop/api-types/#designerimpliedwork): Work the change set implies but did not request, one entry per kind. Read it before generating: ask or explain when it would surprise the designer, and accept the kinds you proceed with. - `needFromComposer` [`[DesignerComposerRequest!]!`](https://help.brandmachine.shop/api-types/#designercomposerrequest) - `rebuildPersonBase` `Boolean!` - `regenerates` [`[OutputSlot!]!`](https://help.brandmachine.shop/api-enums/#outputslot) - `viewDetails` [`[DesignerViewDetails!]!`](https://help.brandmachine.shop/api-types/#designerviewdetails): Placed details per view. Every render prompt for a view listed here must bind each detail's marker colour to its artwork by label; generateDesignerRevision refuses one that does not name them. --- ## DesignerCollection Named, tenant-scoped parent that groups Designer Instances and Pattern Revisions. Many-to-many on both joins. Resources stay on DIs; the DesignerCollection is a scope. Use the `resourcesInDesignerCollection` query to browse all DI-level resources within a collection. **Fields:** - `brief` `String`: Narrative anchor for the collection (customer, mood, references). Agent-authorable. Injected as additional prompt context into every DI generation in the collection. - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `designerInstances` [`[DesignerInstance!]!`](https://help.brandmachine.shop/api-types/#designerinstance): Live designs in this collection. Archived designs are left out; unarchiving one returns it here. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `patternRevisions` [`[PatternRevision!]!`](https://help.brandmachine.shop/api-types/#patternrevision) - `season` `String` - `status` [`DesignerCollectionStatus!`](https://help.brandmachine.shop/api-enums/#designercollectionstatus) - `teamDomain` `String!` - `title` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## DesignerColourwayArtwork **Fields:** - `artworkKey` `String!` - `artworkUrl` `String!`: Resolved CDN URL of the artwork image, from artworkKey. - `box` [`DesignerColourwayBox!`](https://help.brandmachine.shop/api-types/#designercolourwaybox) - `label` `String!` - `resourceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid): The DesignerInstanceResource the artwork was picked from. The resource may since have been deleted. --- ## DesignerColourwayBox A box in fractions (0 to 1) of the flat's frame, not the puppet's: it cannot be reused as a placed-detail box. **Fields:** - `height` `Float!` - `width` `Float!` - `x` `Float!` - `y` `Float!` --- ## DesignerColourwayBuild What one colourway drawing was built from, as the frontend sent it in DesignerColourwayBuildInput. The flat and the fabric are not repeated here: read them from the revision's flat keys and pinnedFabricId. **Fields:** - `artwork` [`[DesignerColourwayArtwork!]!`](https://help.brandmachine.shop/api-types/#designercolourwayartwork) - `lineStrength` `Float!`: How strongly the flat's lines show over the fill, 0 to 1. - `plainRgb` `String`: #RRGGBB, for a garment with no fabric. Null when the fill used a fabric. - `repeatsAcross` `Float`: The approved print scale: the garment's width on the FRONT flat at the chest row (garment top plus 0.30 of its height) divided by the width of one fabric repeat. Computed once on FRONT and reused for BACK, so both views carry the same value. Stored as the frontend sent it. - `tileScale` `Float` - `trims` [`[DesignerColourwayTrim!]!`](https://help.brandmachine.shop/api-types/#designercolourwaytrim) --- ## DesignerColourwayBuildByView The colourway inputs per view. A view is null when its render had no colourway drawing. **Fields:** - `back` [`DesignerColourwayBuild`](https://help.brandmachine.shop/api-types/#designercolourwaybuild) - `front` [`DesignerColourwayBuild`](https://help.brandmachine.shop/api-types/#designercolourwaybuild) --- ## DesignerColourwayTrim **Fields:** - `piece` `String!` - `rgb` `String!`: #RRGGBB --- ## DesignerComposerContext Context pushed to the composer to author one prompt well: the frozen description + outfit (for a correct keep-clause), the resolved fabric-swatch URL (on a fabric change), the paint-overlay URL (on a paint edit), and the view. **Fields:** - `colourwayUrl` `String`: Set on a RENDER request whose render gets a colourway drawing as its last input. The backend appends the sentence that names it; the prompt must not name, number or describe it. - `description` `String!` - `fabricSwatchUrl` `String` - `maskUrl` `String`: The designer's mask on a MASKED_EDIT request: transparent where the area may change. Null otherwise. - `outfitContext` `String` - `overlayUrl` `String` - `view` [`DesignerPersonView!`](https://help.brandmachine.shop/api-enums/#designerpersonview) --- ## DesignerComposerDetail One placed detail as the composer needs it to write a render prompt. **Fields:** - `artworkKey` `String!` - `artworkUrl` `String` - `label` `String!`: Use verbatim as the name of this artwork's image in the render prompt. generateDesignerRevision refuses a render prompt for this view that does not contain it. - `markerColor` [`DesignerMarkerColor!`](https://help.brandmachine.shop/api-enums/#designermarkercolor): The marker's colour. The render prompt must name it (lowercase word, e.g. purple); generateDesignerRevision checks for it. --- ## DesignerComposerRequest One shape or render prompt the composer must author. kind=SHAPE carries editFromKey (the base puppet key to edit); kind=RENDER is authored whole (including the keep-clause); kind=MASKED_EDIT carries editFromKey (the base render the model edits inside context.maskUrl) and gets only that render and the mask, so its prompt has no layout, fabric role or details paragraph. The composer must supply a prompt for exactly these slots: generateDesignerRevision 400s on a missing or extra slot. **Fields:** - `context` [`DesignerComposerContext!`](https://help.brandmachine.shop/api-types/#designercomposercontext) - `editFromKey` `String` - `kind` [`DesignerComposerKind!`](https://help.brandmachine.shop/api-enums/#designercomposerkind) - `slot` [`OutputSlot!`](https://help.brandmachine.shop/api-enums/#outputslot) --- ## DesignerEffectiveSetup The base revision's frozen setup overlaid with the change set — the state sync every plan reader sees (authoritative stored state, never conversation memory). **Fields:** - `collectionBrief` `String` - `collectionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `description` `String` - `fabricMaterialHint` `String`: Source pattern prompt or user intent for composition, not visual verification of the generated swatch. - `fabricRef` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `fabricStatus` [`ContentGenerationStatus`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `fabricSwatchUrl` `String` - `fashionModelRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `outfitContext` `String` - `placedDetails` [`[DesignerPlacedDetail!]`](https://help.brandmachine.shop/api-types/#designerplaceddetail): The detail set the generation will freeze: the change set's details with marker colours assigned, or the base's set carried forward. - `sourcePatternRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) --- ## DesignerFabric Designer v4 fabric layer: a frozen, design-owned material swatch created from a connected PatternRevision (and tiled at create time). Renders composite this as the 'fabric' role input; never touched by a shape edit. **Fields:** - `baseFabricId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The fabric this one iterates from, if it was an explicit fabric edit. - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `errorMessage` `String` - `generationModel` `String` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageKey` `String` - `imageUrl` `String`: Resolved CDN URL of the frozen swatch. Null while the fabric is still generating. - `reinterpretation` `Float!`: How far the tiling model was allowed to travel from the source print when this swatch was made, 0 to 1 (default 0.3). Low reproduces the designer's print, high reinterprets it. Stored per swatch, so a slider can show what this one used. - `sourcePatternRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The PatternRevision this fabric was materialised from (provenance). The frozen swatch image lives on imageKey, independent of later edits to the shared Pattern. - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) --- ## DesignerImpliedWork Work the plan contains that the change set did not ask for: a person-base rebuild (always implied), renders or puppets added by the backend's rules. generateDesignerRevision refuses it unless its kind is in acceptedImpliedWork. **Fields:** - `kind` [`DesignerImpliedWorkKind!`](https://help.brandmachine.shop/api-enums/#designerimpliedworkkind) - `reason` `String!` - `views` [`[DesignerPersonView!]!`](https://help.brandmachine.shop/api-enums/#designerpersonview) --- ## DesignerInstance Brandmachine Designer instance: owns inspiration resources, revisions, selected patterns, and the chosen fashion model used across the whole instance **Fields:** - `activeFabric` [`DesignerFabric`](https://help.brandmachine.shop/api-types/#designerfabric): The active fabric (the swatch renders use). Null until established. - `activeFabricId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): Designer v4 'fabric' layer pointer: the DesignerFabric whose swatch renders currently composite. Null until a fabric is established. - `archivedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date): When the design was archived. An archived design is hidden from designerInstances and from a collection's designerInstances, still opens by id so old links and revisions work, and refuses every change (generating, uploads, patterns, fabrics, flats, releases) until it is unarchived. Generations already in progress finish and delivered outputs charge normally. Null for a live design. - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `description` `String`: Agent-authored garment description, injected into every generation prompt as a stable anchor. Null until the agent and designer settle on one. - `designerCollections` [`[DesignerCollection!]!`](https://help.brandmachine.shop/api-types/#designercollection): DesignerCollections this DI belongs to (v3 Cluster B). Many-to-many; a DI can sit in zero, one, or several Collections. Powers the inspector's cross-DI resource browse panel: surface it when this list is non-empty. - `fabrics` [`[DesignerFabric!]!`](https://help.brandmachine.shop/api-types/#designerfabric): All fabrics created for this instance (the active one plus prior iterations). - `fashionModelRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `latestSizeChartMatchRun` [`SizeChartMatchRun`](https://help.brandmachine.shop/api-types/#sizechartmatchrun): The newest matcher shortlist for this design, whatever its outcome. - `outfitContext` `String`: Agent-authored description of the rest of the outfit, around the hero garment. Used for upper-body designs so the model has something concrete to render in the lower-body region. Null for dresses and full-length pieces. - `resources` [`[DesignerInstanceResource!]!`](https://help.brandmachine.shop/api-types/#designerinstanceresource): The design's uploads in board order (sortOrder, then upload time). Change the order with reorderDesignerInstanceResources. - `revisions` [`[DesignerInstanceRevision!]!`](https://help.brandmachine.shop/api-types/#designerinstancerevision) - `selectedPatternRevisions` [`[PatternRevision!]!`](https://help.brandmachine.shop/api-types/#patternrevision): PatternRevisions this instance has selected. Multi-select by design; the agent disambiguates by Pattern.name. - `sizeChart` [`SizeChart`](https://help.brandmachine.shop/api-types/#sizechart): This design's size chart, copied from a chart in the library. Null until one is created with createDesignerSizeChart. - `teamDomain` `String!` - `thumbnailUrl` `String`: Image key of the newest revision's front photo, derived live - `title` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## DesignerInstanceResource Inspiration resource scoped to a DesignerInstance. Image-backed resources have an `imageKey` and an auto-authored `description`; text-only resources have a typed `text` body. **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `description` `String`: Gemini Vision description of an image-backed resource, written once at upload. Null for text-only resources. Replaces the v2 `analysis` field. - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageKey` `String` - `imageUrl` `String`: Resolved CDN URL of the image, from imageKey. Null for text-only resources. - `label` `String!` - `roleSource` `String`: Who set roles, for the list as a whole: 'analysis' (Gemini Vision suggestion, a reason to ask the designer) or 'designer' (chosen or confirmed by the designer, an instruction). Null when roles is empty, and for roles suggested before this field existed; treat roles with a null roleSource as a suggestion. - `roles` `[String!]!`: What the upload is for, possibly several at once: fabric_or_print, garment_reference, artwork, mood, in that order and without duplicates. Suggested by Gemini Vision at upload (one role) or set by the designer, see roleSource. Empty when unknown: uploads made before roles existed, uploads the model could not classify, and lists the designer cleared. Plain strings, not an enum, so the vocabulary can change without a schema break; ignore unrecognised values. - `sortOrder` `Int!`: 0-based position on the design's board. New uploads and copies go last; reorderDesignerInstanceResources rewrites it. Ties are possible and break by upload time, which is how DesignerInstance.resources is already sorted, so read the order from that list rather than sorting by this field alone. Shared: one designer's reorder moves the board for everybody on the team. - `text` `String` --- ## DesignerInstanceRevision Immutable result row for one generation cycle of a DesignerInstance: the eight image slots (person base, grey puppet, photo renders, technical flats) plus the frozen setup (outfit, description, model ref, fabric pin) this look was built with. **Fields:** - `annotationOverlayKey` `String`: Cloudflare bucket key of the painted composite (v3 Cluster A) when this revision was triggered by paint-and-regenerate. Null otherwise. - `annotationOverlaySourceSlot` [`OutputSlot`](https://help.brandmachine.shop/api-enums/#outputslot): Which slot of the base revision the designer painted on (FRONT or BACK). Travels with annotationOverlayKey; null when no overlay. - `annotationOverlayUrl` `String`: Resolved public URL of the painted composite, derived from annotationOverlayKey via the Cloudflare CDN. The Genkit composer reads this in ANNOTATION_REGEN mode to attach the painted PNG as multimodal input to Gemini. Null when annotationOverlayKey is null. Treat as transient: the PNG ages out via the R2 lifecycle rule on media/annotation_overlays/. - `backColourwayUrl` `String`: Resolved CDN URL of the colourway drawing the BACK render was built with. Null when it had none. - `backFlatKey` `String` - `backFlatUrl` `String`: Resolved public CDN URL of the BACK technical drawing (opt-in flat). Null when backFlatKey is null. Use for multimodal agent reads. - `backPhotoKey` `String` - `backPhotoUrl` `String`: Resolved public CDN URL of the BACK photo, derived from backPhotoKey. Null when backPhotoKey is null. Same use as frontPhotoUrl. - `baseRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `colourwayInputs` [`DesignerColourwayBuildByView`](https://help.brandmachine.shop/api-types/#designercolourwaybuildbyview): What each view's colourway drawing was built from, carried with the colourway drawing itself. Read the print scale (repeatsAcross, tileScale) here rather than from generationProvenance. Null when the revision has no colourway. - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `designerInstance` [`DesignerInstance`](https://help.brandmachine.shop/api-types/#designerinstance): Owning design with its current title, loaded in a team-scoped batch. Renames are reflected on historical revisions too. - `designerInstanceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `effectiveOutfitContext` `String`: The outfit this look shows. Differs from frozenOutfitContext only after a masked edit changed the outfit in the render while the person base stayed; the next rebuild rebuilds the person base with it. Read this for what the look shows. - `errorMessage` `String` - `favorite` `Boolean!` - `frontColourwayUrl` `String`: Resolved CDN URL of the colourway drawing the FRONT render was built with. Null when it had none. - `frontFlatKey` `String` - `frontFlatUrl` `String`: Resolved public CDN URL of the FRONT technical drawing (opt-in flat). Null when frontFlatKey is null. Use for multimodal agent reads. - `frontPhotoKey` `String` - `frontPhotoUrl` `String`: Resolved public CDN URL of the FRONT photo, derived from frontPhotoKey. Null when frontPhotoKey is null. Use to attach the rendered output as multimodal input to Gemini (diagnose tool, etc.). - `frozenDescription` `String`: The garment description this revision was generated under. Authoritative per-look description; read this, not the instance's mutable description. Null on a legacy row. - `frozenFashionModelRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The fashion model revision this revision's person base used (fixed per design). Null on a legacy row. - `frozenOutfitContext` `String`: The outfit context this revision's person base reflects. Authoritative per-look outfit; read this, not the instance's mutable outfitContext. Null on a garment with no outfit context or a legacy row. - `generationProvenance` `String` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `intentTag` `String` - `label` `String` - `personBackKey` `String`: Designer v4 'person' layer: BACK dressed-base key. Null until generated. - `personBackUrl` `String`: Resolved CDN URL of the BACK dressed base. Null when personBackKey is null. - `personFrontKey` `String`: Designer v4 'person' layer: FRONT dressed-base key (the frozen full-body model wearing the outfit context, hero region a neutral placeholder). Carried forward from the base revision on a garment edit, rebuilt on a model/outfit change. Null until generated. - `personFrontUrl` `String`: Resolved CDN URL of the FRONT dressed base. Null when personFrontKey is null. - `pinnedFabricId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The frozen DesignerFabric this revision's renders resolve their swatch from (5.5). Immutable per revision; a fabric change sets a new pin, a carry copies the base's. Null for a fabric-less garment or a legacy row. - `placedDetails` [`[DesignerPlacedDetail!]`](https://help.brandmachine.shop/api-types/#designerplaceddetail): The graphics placed on this look, frozen per revision: a details change sets a new set, a carry copies the base's. Read this off the displayed revision to seed the placement editor. Null and an empty list both mean no details. - `renderQuality` [`DesignerRenderQuality`](https://help.brandmachine.shop/api-enums/#designerrenderquality): The Fast or Quality choice this revision was generated with. Null on revisions before the toggle, which were all rendered as Fast. - `resolvedFabricKey` `String`: The fabric swatch key a render actually composited, stamped at fire time. Null until a render fires or when the garment has no fabric. - `resolvedFabricUrl` `String`: Resolved CDN URL of the fabric swatch this revision composited, from resolvedFabricKey. Null when resolvedFabricKey is null. - `shapeBackKey` `String`: Designer v4 'shape' layer: BACK grey-puppet key. Null on legacy revisions and until generated. - `shapeBackUrl` `String`: Resolved CDN URL of the BACK grey puppet. Null when shapeBackKey is null. - `shapeFrontKey` `String`: Designer v4 'shape' layer: FRONT grey-puppet key (print-free garment, the editable layer renders composite onto). Null on legacy (v2/v3) revisions and until the puppet is generated. - `shapeFrontUrl` `String`: Resolved CDN URL of the FRONT grey puppet. Null when shapeFrontKey is null. - `snapshot` [`DesignerInstanceRevisionSnapshot`](https://help.brandmachine.shop/api-types/#designerinstancerevisionsnapshot) - `stage` [`DesignerRevisionStage`](https://help.brandmachine.shop/api-enums/#designerrevisionstage): DRAWING for the drawing revision of a drawing-first first look (puppets and flats, no photo). Null for a photo revision. - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `userRequest` `String` --- ## DesignerInstanceRevisionSlotSnapshot Per-slot frozen record of prompt + input files for a revision **Fields:** - `inputKeys` `[String!]!` - `maskKey` `String`: The designer's mask on a masked edit render slot. Null on every other slot. - `maskedEditBaseKey` `String`: The base render a masked edit started from. Null on every other slot. - `prompt` `String!` - `quality` `String`: The fal quality tier this slot was sent at (medium or high). Null means medium. - `resourceIDs` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid) - `slot` [`OutputSlot!`](https://help.brandmachine.shop/api-enums/#outputslot) --- ## DesignerInstanceRevisionSnapshot Frozen inputs + per-slot prompts for a DesignerInstanceRevision **Fields:** - `resourceIDs` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid) - `slots` [`[DesignerInstanceRevisionSlotSnapshot!]!`](https://help.brandmachine.shop/api-types/#designerinstancerevisionslotsnapshot) --- ## DesignerPlacedDetail A graphic placed on a look (patch, logo, placed print), frozen on the revision. Every render of a view it is placed on draws a coloured marker on the grey puppet at the box and passes the artwork as its own image input. **Fields:** - `artworkKey` `String!` - `artworkUrl` `String!`: Resolved CDN URL of the artwork image, from artworkKey. - `back` [`DesignerPlacement`](https://help.brandmachine.shop/api-types/#designerplacement) - `front` [`DesignerPlacement`](https://help.brandmachine.shop/api-types/#designerplacement) - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `label` `String!`: The name the render prompt gives this detail's artwork image. Unique per revision. - `markerColor` [`DesignerMarkerColor!`](https://help.brandmachine.shop/api-enums/#designermarkercolor): Backend-assigned marker colour, stable for this detail across revisions. - `sourceResourceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid): The DesignerInstanceResource the artwork was picked from. Provenance for the editor; the resource may since have been deleted, the artwork stays renderable. --- ## DesignerPlacement A box in fractions (0 to 1) of one view's grey puppet frame: the intended bounds of a placed detail. Sets position and rough size only; rendered patches come out somewhat larger than the box. **Fields:** - `height` `Float!` - `width` `Float!` - `x` `Float!` - `y` `Float!` --- ## DesignerViewDetails The placed details on one view. Present for every view that has details, whether or not it renders this turn, so a render the composer adds itself (paint on FRONT pulling in BACK) has them too. **Fields:** - `details` [`[DesignerComposerDetail!]!`](https://help.brandmachine.shop/api-types/#designercomposerdetail) - `markedPuppetUrl` `String`: The base puppet for this view with the markers drawn on, for reading each marker's garment part and wearer's side. Null when the base has no puppet for this view. - `view` [`DesignerPersonView!`](https://help.brandmachine.shop/api-enums/#designerpersonview) --- ## ExportMediaPlanResult **Fields:** - `alreadyRendering` `Int!`: Renders skipped because an earlier export of the same image is still rendering. - `failed` `Int!`: Renders that failed before anything was sent: no layout, no headline, or the renderer could not be reached. Each carries its reason in the plan's renders. - `plan` [`MediaPlan!`](https://help.brandmachine.shop/api-types/#mediaplan) - `queued` `Int!`: Renders sent to the renderer. --- ## FashionModel Fashion model for AI-generated content creation **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `gender` [`FashionModelGender!`](https://help.brandmachine.shop/api-enums/#fashionmodelgender) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `name` `String!` - `revisions` [`[FashionModelRevision!]!`](https://help.brandmachine.shop/api-types/#fashionmodelrevision) - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## FashionModelCasting Casting session that generates fashion model candidates **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `gender` [`FashionModelGender!`](https://help.brandmachine.shop/api-enums/#fashionmodelgender) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `prompt` `String!` - `results` [`[FashionModelCastingResult!]!`](https://help.brandmachine.shop/api-types/#fashionmodelcastingresult) - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## FashionModelCastingResult Single image result from a fashion model casting **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `fashionModelCastingId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageKey` `String!` - `model` `String` --- ## FashionModelRevision Immutable snapshot of an iterative edit on a fashion model **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `fashionModel` [`FashionModel!`](https://help.brandmachine.shop/api-types/#fashionmodel) - `fashionModelId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `favorite` `Boolean!` - `fullPortraitKey` `String` - `generationModel` `String` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `label` `String` - `prompt` `String` - `resources` [`FashionModelRevisionResources`](https://help.brandmachine.shop/api-types/#fashionmodelrevisionresources) - `setCardKey` `String` - `userInput` `String!` --- ## FashionModelRevisionResources Structured resources for a fashion model revision **Fields:** - `beard` `String` - `bodyShape` `String` - `description` `String` - `hairstyle` `String` - `makeup` `String` --- ## FileNameConvention How a team's uploaded filenames are read and how delivered filenames are written **Fields:** - `exportPattern` `String` - `isDefault` `Boolean!`: True when the team has declared nothing and this is the built-in fallback. Present it as 'not set up yet', not as their own configuration. - `templates` [`[FileNameTemplate!]!`](https://help.brandmachine.shop/api-types/#filenametemplate) - `viewCodes` [`[FileNameViewCodeMapping!]!`](https://help.brandmachine.shop/api-types/#filenameviewcodemapping) --- ## FileNameConventionPreview **Fields:** - `problems` [`[FileNameConventionProblem!]!`](https://help.brandmachine.shop/api-types/#filenameconventionproblem) - `rows` [`[FileNamePreviewRow!]!`](https://help.brandmachine.shop/api-types/#filenamepreviewrow) - `unmatchedCount` `Int!`: How many sampled files the proposed convention cannot read. A jump means a template was tightened too far. --- ## FileNameConventionProblem One reason a filename convention cannot be stored **Fields:** - `code` [`FileNameConventionProblemCode!`](https://help.brandmachine.shop/api-enums/#filenameconventionproblemcode): Stable machine name, for styling or grouping without reading the sentence. - `message` `String!`: Written for the person building the convention. Display this. - `templateIndex` `Int`: 1-based, matching the numbering inside `message`, so the editor can mark the offending row. Null when the problem concerns the whole declaration rather than one template. --- ## FileNameFieldCapture One field a template captured out of a filename **Fields:** - `name` `String!` - `value` `String!` --- ## FileNameFieldRule **Fields:** - `count` `Int` - `field` `String!` - `kind` [`FileNameFieldConstraintKind!`](https://help.brandmachine.shop/api-enums/#filenamefieldconstraintkind) - `role` [`FileNameFieldRole!`](https://help.brandmachine.shop/api-enums/#filenamefieldrole): What this field means: part of product identity, the view, or neither. - `values` `[String!]` --- ## FileNamePreviewRow **Fields:** - `changed` `Boolean!`: True when saving would change this file's product identity. This is the column that matters. - `currentProductKey` `String`: What this file resolves to under the currently saved convention. - `exportFileName` `String` - `fields` [`[FileNameFieldCapture!]!`](https://help.brandmachine.shop/api-types/#filenamefieldcapture): Every field the template captured, in pattern order. Do not try to derive this by splitting productKey: a field may contain the character that separates the others, so splitting produces wrong boundaries on common names like TEE-01_WHT01_front. - `fileName` `String!` - `matchedTemplate` `Int`: 1-based index of the template that matched, matching how templates are numbered in problem messages. Null when nothing matched. - `productKey` `String`: The identity fields joined in pattern order. Files sharing this group as one product, so it is the column to check when a template marks the wrong fields as identity. - `viewToken` `String`: The raw token from the field carrying the VIEW role, as the customer wrote it. Null when the template has no view field, which is normal: the delivered name takes its view from the perspective, not from the reference photo. - `viewType` [`ViewType`](https://help.brandmachine.shop/api-enums/#viewtype) --- ## FileNameTemplate **Fields:** - `fields` [`[FileNameFieldRule!]!`](https://help.brandmachine.shop/api-types/#filenamefieldrule): Only the fields that declare something. A field named in the pattern but absent here is an unconstrained identity field. - `pattern` `String!` --- ## FileNameViewCodeMapping **Fields:** - `code` `String!` - `viewType` [`ViewType!`](https://help.brandmachine.shop/api-enums/#viewtype) --- ## GroupShot Multi-model composite image assembled from single shots **Fields:** - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio) - `campaign` [`Campaign!`](https://help.brandmachine.shop/api-types/#campaign) - `campaignId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `errorMessage` `String` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `intermediateRenders` [`[GroupShotIntermediateRender!]!`](https://help.brandmachine.shop/api-types/#groupshotintermediaterender) - `prompt` `String` - `results` [`[GroupShotResult!]!`](https://help.brandmachine.shop/api-types/#groupshotresult)- `favoritesOnly` `Boolean` - `shootingLocationRevision` [`ShootingLocationRevision`](https://help.brandmachine.shop/api-types/#shootinglocationrevision) - `singleShots` [`[GroupShotSingleShot!]!`](https://help.brandmachine.shop/api-types/#groupshotsingleshot) - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `thumbnailUrl` `String`: Image key of the newest non-rejected composite result, derived live - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## GroupShotIntermediateRender Per-person intermediate render for group shot pipeline **Fields:** - `campaignImage` [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `errorMessage` `String` - `groupShotId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageKey` `String` - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## GroupShotResult Final composite image from the group shot pipeline **Fields:** - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `downloadableImageUrl` `String` - `editedImageKey` `String` - `exportImageUrl` `String`: The file to deliver for the latest media release: a JPEG with an sRGB profile and a machine-readable statement that the image is AI-generated (IPTC DigitalSourceType). Content Credentials (C2PA) will be added behind this same URL once they ship, so integrators need no change. Null until the asset is released. - `favorite` `Boolean!`: Whether the user has marked this result as a favorite - `groupShotId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `hiddenAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageKey` `String!` - `latestMediaRelease` [`MediaRelease`](https://help.brandmachine.shop/api-types/#mediarelease) - `mediaReleases` [`[MediaRelease!]!`](https://help.brandmachine.shop/api-types/#mediarelease) - `model` `String` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## GroupShotSingleShot Link between a group shot and one of its single shots **Fields:** - `campaignImage` [`CampaignImage!`](https://help.brandmachine.shop/api-types/#campaignimage) - `campaignImageId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `groupShotId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) --- ## Inspiration An image in the team's inspiration library. Upload via POST /api/inspirations/upload. **Fields:** - `archivedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `categories` [`[InspirationCategory!]!`](https://help.brandmachine.shop/api-enums/#inspirationcategory): Categories the user marked. Only these get readings, once the board is read (`readMoodboard`). - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `fileName` `String` - `height` `Int` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageUrl` `String!` - `readings` [`[InspirationReading!]!`](https://help.brandmachine.shop/api-types/#inspirationreading) - `scanStatus` [`InspirationScanStatus!`](https://help.brandmachine.shop/api-enums/#inspirationscanstatus) - `title` `String` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `width` `Int` --- ## InspirationReading What an inspiration image says for one category. Planners read these; they never see the image. **Fields:** - `category` [`InspirationCategory!`](https://help.brandmachine.shop/api-enums/#inspirationcategory) - `extras` `String`: LOCATION only: whether the set has background people, as a set location's extras resource. - `gender` `String`: MODEL only: the gender to cast (female / male). - `lighting` `String`: LOCATION only: the light, as a set location's lighting resource. - `location` `String`: LOCATION only: the physical setting, as a set location's location resource. - `mood` `String`: LOCATION only: the place's atmosphere, as a set location's mood resource. - `text` `String!` - `title` `String!` --- ## LocalizedCopy One line in one language. **Fields:** - `approvedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `approvedBy` [`User`](https://help.brandmachine.shop/api-types/#user): Who approved this line. Null when it is not approved, or when an API token or an internal service approved it. - `locale` `String!` - `origin` [`MediaCopyOrigin!`](https://help.brandmachine.shop/api-enums/#mediacopyorigin): GENERATED or EDITED. Generation never overwrites an EDITED or approved line unless asked to regenerate. - `text` `String!` --- ## LuminanceGrid Relative luminance over one source image, as a coarse grid. **Fields:** - `data` `String!`: Base64, one byte per cell, row-major. Each byte is WCAG relative luminance quantised to 0..255. Covers the WHOLE source at its own aspect ratio. - `height` `Int!` - `width` `Int!` --- ## MaterializePlanResult Result of materializePlan — counts of created draft records **Fields:** - `campaignImagesCreated` `Int!` - `productStudiosCreated` `Int!` --- ## MediaFormat One image specification: ratio, exact pixels, byte budget, safe area, and the copy limits that belong to a card. **Fields:** - `aspectRatio` `String!` - `copyLimitsSourced` `Boolean!` - `descriptionMaxChars` `Int` - `headlineMaxChars` `Int` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `maxBytes` `Int` - `overlaysAllowed` `Boolean!`: False where the platform takes a clean image (Google): cards are plain crops, with no headline zone, treatment, logos or text on the image, and export as crops. - `safeAreaBottom` `Float` - `safeAreaLeft` `Float` - `safeAreaRight` `Float` - `safeAreaTop` `Float` - `safeZonePublished` `Boolean!`: True when the safe areas are the platform's own published figures, false when they are our conservative default. - `slug` `String!` - `targetHeight` `Int!` - `targetWidth` `Int!` - `title` `String!` --- ## MediaGenerationTask Tracks media generation tasks for notification center **Fields:** - `campaignImage` [`CampaignImage`](https://help.brandmachine.shop/api-types/#campaignimage): Parent CampaignImage (non-null only for CampaignImage tasks) - `campaignImageId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): FK to the parent CampaignImage - `campaignImageResults` [`[CampaignImageResult!]!`](https://help.brandmachine.shop/api-types/#campaignimageresult): CampaignImage results produced by this task - `completedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `designerInstanceRevision` [`DesignerInstanceRevision`](https://help.brandmachine.shop/api-types/#designerinstancerevision): Parent DesignerInstanceRevision (non-null only for DesignerRevisionSlot tasks; one task per slot, up to four tasks point at the same revision) - `designerInstanceRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): FK to the parent DesignerInstanceRevision - `errorMessage` `String` - `fashionModelCasting` [`FashionModelCasting`](https://help.brandmachine.shop/api-types/#fashionmodelcasting): Parent FashionModelCasting (non-null only for FashionModelCasting tasks) - `fashionModelCastingId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): FK to the parent FashionModelCasting - `fashionModelRevision` [`FashionModelRevision`](https://help.brandmachine.shop/api-types/#fashionmodelrevision): Parent FashionModelRevision (non-null only for FashionModelRevision tasks) - `fashionModelRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): FK to the parent FashionModelRevision - `groupShot` [`GroupShot`](https://help.brandmachine.shop/api-types/#groupshot): Parent GroupShot (non-null only for GroupShot tasks) - `groupShotId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): FK to the parent GroupShot - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `mediaPlanId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The media plan this task works on: an export, a copy run, or segmenting one of its sources. - `patternRevision` [`PatternRevision`](https://help.brandmachine.shop/api-types/#patternrevision): Parent PatternRevision (non-null only for PatternRevision tasks) - `patternRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): FK to the parent PatternRevision - `phase` `String`: Optional sub-state for multi-stage flows (e.g. REMOVING_BACKGROUND, CORRECTING_COLOR). Status stays IN_PROGRESS while phase transitions; phase is for UX granularity only. - `productStudio` [`ProductStudio`](https://help.brandmachine.shop/api-types/#productstudio): Parent ProductStudio (non-null only for ProductStudio tasks) - `productStudioId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): FK to the parent ProductStudio (non-null only for ProductStudio tasks) - `productStudioOutputs` [`[ProductStudioOutput!]!`](https://help.brandmachine.shop/api-types/#productstudiooutput): ProductStudio outputs produced by this task - `productStudioPerspective` [`ProductStudioPerspective`](https://help.brandmachine.shop/api-types/#productstudioperspective): ProductStudio perspective being generated (non-null only for ProductStudio tasks) - `productStudioPerspectiveId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): FK to the ProductStudio perspective being generated - `productVideo` [`ProductVideo`](https://help.brandmachine.shop/api-types/#productvideo): Parent ProductVideo (non-null only for ProductVideo tasks) - `productVideoId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): FK to the parent ProductVideo - `shootingLocation` [`ShootingLocation`](https://help.brandmachine.shop/api-types/#shootinglocation): Parent ShootingLocation (non-null only for ShootingLocation tasks) - `shootingLocationId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): FK to the parent ShootingLocation - `sizeChartAnnotationId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): FK to the parent SizeChartAnnotation - `sizeChartDesignerInstanceId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The design whose size chart an annotation task draws, for navigating from the tasks panel. Non-null only for size chart annotation tasks. - `slot` [`OutputSlot`](https://help.brandmachine.shop/api-enums/#outputslot): Designer output slot derived from its standardized task title. Null for other task types or unrecognized titles. - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `teamDomain` `String!` - `title` `String!` - `type` [`TaskType!`](https://help.brandmachine.shop/api-enums/#tasktype) - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## MediaPlacement An ad unit in the delivery catalog: the surface, how many cards it holds, and the copy limits that belong to the advertisement rather than to a card. **Fields:** - `channel` [`MediaChannel!`](https://help.brandmachine.shop/api-enums/#mediachannel) - `copyLimitsSourced` `Boolean!`: False when a limit above is null because nobody has sourced it yet, rather than because the slot does not exist here. Copy generation must refuse a row with this false. - `ctaMaxChars` `Int` - `descriptionMaxChars` `Int` - `headlineMaxChars` `Int` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `maxCards` `Int!` - `minCards` `Int!` - `placementCode` `String!` - `primaryTextMaxChars` `Int` - `slug` `String!` - `title` `String!` --- ## MediaPlan The unit a human reviews and approves. No stored status: whether it is approved is derived from its placements rather than written down in a third place that can disagree. **Fields:** - `brandAssets` [`[MediaPlanBrandAsset!]!`](https://help.brandmachine.shop/api-types/#mediaplanbrandasset): The plan's default logo set, in order. - `copyGeneratingSince` [`Date`](https://help.brandmachine.shop/api-scalars/#date): Set while copy is being generated; poll until it clears. - `copyGenerationError` `String` - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `headlineTreatment` [`BrandHeadlineTreatment`](https://help.brandmachine.shop/api-types/#brandheadlinetreatment) - `headlineTreatmentId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The plan's default treatment. Null means plain type over the photo. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `instructions` `String` - `locales` `[String!]!`: BCP-47 tags this plan's copy is written in, the first being the main one. - `name` `String` - `placements` [`[PlannedPlacement!]!`](https://help.brandmachine.shop/api-types/#plannedplacement) - `renders` [`[MediaPlanRender!]!`](https://help.brandmachine.shop/api-types/#mediaplanrender): One render per exported card per language, the latest export of each. Poll while any is QUEUED. Includes languages the plan no longer lists; filter by the plan's locales. - `sources` [`[MediaPlanSource!]!`](https://help.brandmachine.shop/api-types/#mediaplansource) - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## MediaPlanBrandAsset One logo in a plan's default set. **Fields:** - `brandAsset` [`BrandAsset!`](https://help.brandmachine.shop/api-types/#brandasset) - `brandAssetId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `position` `Int!` - `size` `Float`: Null uses the asset's default size. --- ## MediaPlanRender One card's image in one language, rendered with its copy and logos. **Fields:** - `cardId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `failure` [`MediaPlanRenderFailure`](https://help.brandmachine.shop/api-types/#mediaplanrenderfailure) - `file` [`MediaPlanRenderFile`](https://help.brandmachine.shop/api-types/#mediaplanrenderfile): Set only while RENDERED. - `finishedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `fit` [`MediaPlanRenderFit`](https://help.brandmachine.shop/api-types/#mediaplanrenderfit): How the text fitted. Null on a reused file whose first render is no longer known. - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `locale` `String!` - `requestedAt` [`Date!`](https://help.brandmachine.shop/api-scalars/#date) - `status` [`MediaPlanRenderStatus!`](https://help.brandmachine.shop/api-enums/#mediaplanrenderstatus): A render queued for longer than the renderer can take reads as FAILED with TIMED_OUT. - `warnings` [`[MediaPlanRenderWarning!]!`](https://help.brandmachine.shop/api-enums/#mediaplanrenderwarning): Delivered with the file, worth a look: NEAR_FLOOR, HYPHENATED, FIT_NOT_STRICT, HYPHENATION_UNAVAILABLE. --- ## MediaPlanRenderFailure **Fields:** - `characters` `[String!]!`: The characters the font cannot draw, for GLYPHS_MISSING. - `code` [`MediaPlanRenderFailureCode!`](https://help.brandmachine.shop/api-enums/#mediaplanrenderfailurecode) - `message` `String!` - `slot` [`MediaCopySlot`](https://help.brandmachine.shop/api-enums/#mediacopyslot): The line the failure is about, for TEXT_DID_NOT_FIT and GLYPHS_MISSING. --- ## MediaPlanRenderFile **Fields:** - `bytes` `Int` - `height` `Int` - `key` `String!` - `reused` `Boolean!`: True when an identical render already existed and nothing was drawn again. - `url` `String!`: The finished JPEG on the CDN. Download through /download/, which adds nothing to renders: they already carry the sRGB profile and the AI statement. - `width` `Int` --- ## MediaPlanRenderFit **Fields:** - `atFloor` `Boolean!`: True when the headline only fitted at the smallest size allowed. - `headlineSizePx` `Float!` - `hyphenated` `Boolean!` - `lines` `Int!` --- ## MediaPlanSource One finished output the human selected, owned as a copy so editing or deleting the original cannot change what was planned. **Fields:** - `campaignImageId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The campaign shot this source was rendered for, so a picker can offer that shot's other renders. Null for other source types, or when the render has since been deleted. - `faceBox` [`NormalisedBox`](https://help.brandmachine.shop/api-types/#normalisedbox): Where the face is in the source. The layout scorer refuses any headline band that touches it. - `hasFaceBox` `Boolean!`: False either because segmentation is still in flight or because there is no face in the picture. The two are told apart by the source's tasks, not here. - `hasPersonBox` `Boolean!` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `isMeasured` `Boolean!`: Whether the tone measurement landed. - `luminanceGrid` [`LuminanceGrid`](https://help.brandmachine.shop/api-types/#luminancegrid) - `personBox` [`NormalisedBox`](https://help.brandmachine.shop/api-types/#normalisedbox) - `position` `Int!` - `sourceAspectRatio` `String` - `sourceHeight` `Int` - `sourceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `sourceKey` `String!`: The handle the planning agent sees, such as look-1. The agent never handles a UUID. - `sourceMediaKey` `String!` - `sourceResolution` `String` - `sourceType` `String!` - `sourceWidth` `Int` --- ## MediaRelease A media release of a generated asset (ProductStudioOutput, CampaignImageResult, etc.) **Fields:** - `campaignImageResult` [`CampaignImageResult`](https://help.brandmachine.shop/api-types/#campaignimageresult): The campaign image result this release belongs to, if any. Loaded with the release in `releasedImages`. - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date): When the asset was first released. - `exportImageUrl` `String`: The file to deliver: a JPEG with an sRGB profile and a machine-readable statement that the image is AI-generated (IPTC DigitalSourceType). Content Credentials (C2PA) will be added behind this same URL once they ship. Null for video releases. - `groupShotResult` [`GroupShotResult`](https://help.brandmachine.shop/api-types/#groupshotresult): The group shot result this release belongs to, if any. Loaded with the release in `releasedImages`. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `objectKey` `String!` - `productStudioOutput` [`ProductStudioOutput`](https://help.brandmachine.shop/api-types/#productstudiooutput): The product studio output this release belongs to, if any. Loaded with the release in `releasedImages`. - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date): When the release last changed: first release, re-release, or an edit saved after release. - `upscaleFactor` `Float` --- ## NormalisedBox A rectangle as fractions of the frame it sits in, centre-first. **Fields:** - `cx` `Float!` - `cy` `Float!` - `h` `Float!` - `w` `Float!` --- ## OnboardingSampleDataResult Response for onboarding sample data creation **Fields:** - `created` `Boolean!` --- ## OutputImage One entry in an output's chronological image history (Product Studio outputs and campaign image results). **Fields:** - `createdAt` [`Date!`](https://help.brandmachine.shop/api-scalars/#date) - `floorStatus` `String`: BREUNINGER_FRAMED entries only: floor-reserve outcome. Always 'cropped' on entries written from 2026-08-28, when a render with too little room started failing instead of coming back uncropped. Older entries may still read 'best_effort', meaning the source was returned unframed. - `key` `String!`: R2 key (or full URL for seed assets) of this variant. - `shadowFlag` `String`: BREUNINGER_FRAMED entries only: shadow verdict from the framing service (soft | stark | wrong_dir). Informational flag, never a gate. - `stepErrors` [`[SpecStepError!]!`](https://help.brandmachine.shop/api-types/#specsteperror): SPEC_APPLIED entries only: which steps of the Spec failed and why, empty when everything worked. A failure here is advisory and never blocks release: the render is paid for, so what survived is delivered and what did not is recorded. When every step failed, `key` points at the output's existing image and no new file was written. Show it as a warning on the image; do not gate export on it. - `type` [`OutputImageType!`](https://help.brandmachine.shop/api-enums/#outputimagetype) - `upscale` `Float`: BREUNINGER_FRAMED entries only: how much the crop was scaled to reach the delivered size. Above 1.0 means the render lacked pixels and the difference was interpolated, which reads as softness. Below 1.0 means it had pixels to spare. Null on entries written before 2026-08-31. - `url` `String!`: Full CDN URL for this variant. --- ## Pattern Shop-level, agent-iterable pattern asset used by Designer Instances. Produces a single image per revision. **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `inputReferences` [`[PatternInputReference!]!`](https://help.brandmachine.shop/api-types/#patterninputreference): Pattern-level reference library. Persistent; the agent flattens these into PatternRevision.inputs on every generation call. - `name` `String!` - `repeatHorizontal` `Boolean!` - `repeatVertical` `Boolean!` - `revisions` [`[PatternRevision!]!`](https://help.brandmachine.shop/api-types/#patternrevision) - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## PatternInputReference Persistent inspiration reference attached to a Pattern. Label + image. Uploaded via POST /api/patterns/references. **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageKey` `String!` - `label` `String!` - `patternId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) --- ## PatternRevision Immutable output of one iteration on a Pattern. **Fields:** - `baseRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `errorMessage` `String` - `favorite` `Boolean!` - `generationModel` `String` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageKey` `String` - `inputs` [`[PatternRevisionInput!]`](https://help.brandmachine.shop/api-types/#patternrevisioninput) - `label` `String` - `pattern` [`Pattern!`](https://help.brandmachine.shop/api-types/#pattern) - `patternId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `prompt` `String` - `sourceDesignerResourceId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The DesignerInstanceResource this revision's image was copied from (createPatternFromDesignerResource). Provenance only; the resource may since have been deleted, the revision keeps its own copy. - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `userInput` `String` --- ## PatternRevisionInput One labelled reference snapshotted onto a PatternRevision at generation time. **Fields:** - `imageKey` `String!` - `label` `String!` --- ## Plan **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `handle` `String!` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `name` `String!` - `productShortQuota` `Int!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## PlannedAsset One card: one source in one format, cropped, with a headline zone. All geometry is normalised fractions, never pixels, because a source's true size is sometimes unknown. **Fields:** - `copy` [`[CopySlotTexts!]!`](https://help.brandmachine.shop/api-types/#copyslottexts): This card's copy (text on its image, and Meta's per-card fields), per slot, per language. Includes languages the plan no longer lists; filter by the plan's locales. - `copyLengthTargets` [`[CopyLengthTarget!]!`](https://help.brandmachine.shop/api-types/#copylengthtarget) - `cropH` `Float` - `cropW` `Float` - `cropX` `Float` - `cropY` `Float` - `faceFullyInside` `Boolean!`: False when no crop could hold the whole face and it centre-cropped instead. Separate from layoutState because a card can be centre-cropped and still have a good zone. - `fillColor` `String`: #RRGGBB of the band or panel this card was laid out with. Null when it has neither. - `format` [`MediaFormat`](https://help.brandmachine.shop/api-types/#mediaformat) - `headlineGround` [`HeadlineGround!`](https://help.brandmachine.shop/api-enums/#headlineground): What this card's headline sits on. SOLID_BAND zones are placed by the band and cannot be dragged; PANEL takes its ink from the panel colour. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `ink` `String` - `layoutEditedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date): Non-null when a human moved this card by hand. Re-scoring skips such a card, so an automatic recompute cannot silently undo the adjustment. - `layoutState` [`MediaLayoutState!`](https://help.brandmachine.shop/api-enums/#medialayoutstate) - `logos` [`[CardLogo!]!`](https://help.brandmachine.shop/api-types/#cardlogo): The ad's logos as this card shows them. Empty until the card is laid out. - `measuredContrast` `Float`: Advisory, never a gate. Real contrast depends on the type treatment, which is downstream of a brand type spec. - `mediaFormatId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `mediaPlanSourceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `method` [`MediaAdaptationMethod!`](https://help.brandmachine.shop/api-enums/#mediaadaptationmethod) - `notes` `String` - `photoX0` `Float`: The part of the output frame the cropped photo fills, as fractions of the frame. The whole frame unless a band takes a share. The crop fills this area, not the frame, so a zone maps to the source through this and then the crop. - `photoX1` `Float` - `photoY0` `Float` - `photoY1` `Float` - `position` `Int!` - `suggestions` [`[MediaLayoutSuggestion!]!`](https://help.brandmachine.shop/api-enums/#medialayoutsuggestion): Optional improvements for this card. Nothing here is a fault: a card with suggestions is ready to approve and export. - `warnings` [`[MediaLayoutWarning!]!`](https://help.brandmachine.shop/api-enums/#medialayoutwarning): What is wrong with this card as it stands: the headline or a logo covers the face, sits where the platform's interface goes, overlaps, or does not fit. Derived on read so every client sees it, including the planning agent. Improvements that are optional are in suggestions, never here. - `zoneName` `String` - `zoneX0` `Float` - `zoneX1` `Float` - `zoneY0` `Float` - `zoneY1` `Float` --- ## PlannedPlacement One advertisement. Approved as a unit, because approving three of five carousel cards is not a state that means anything. **Fields:** - `approvedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `approvedBy` [`User`](https://help.brandmachine.shop/api-types/#user): Who approved this ad, kept when it is un-approved. Null when never approved, or when an API token or an internal service approved it. - `brandAssets` [`[PlannedPlacementBrandAsset!]!`](https://help.brandmachine.shop/api-types/#plannedplacementbrandasset): The logos on this ad, in order, with the slot each sits in. - `brandAssetsOverridden` `Boolean!`: False while this ad carries the plan's logo set, true once it has its own. - `cards` [`[PlannedAsset!]!`](https://help.brandmachine.shop/api-types/#plannedasset) - `copy` [`[CopySlotTexts!]!`](https://help.brandmachine.shop/api-types/#copyslottexts): Copy that belongs to the whole ad (Meta's ad-level fields), per slot, per language. - `headlineTreatment` [`BrandHeadlineTreatment`](https://help.brandmachine.shop/api-types/#brandheadlinetreatment) - `headlineTreatmentId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): This ad's own treatment. Null inherits the plan's. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `mediaPlacementId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `notes` `String` - `placement` [`MediaPlacement`](https://help.brandmachine.shop/api-types/#mediaplacement) - `position` `Int!` - `readyToApprove` `Boolean!`: Whether this ad can be approved: enough cards, every card laid out with the whole face in frame, and no warnings. Suggestions never block. The same rule SET_APPROVAL applies for the planning agent. --- ## PlannedPlacementBrandAsset One logo on one ad, with its position. Shared by every card of the ad. **Fields:** - `brandAsset` [`BrandAsset!`](https://help.brandmachine.shop/api-types/#brandasset) - `brandAssetId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `position` `Int!` - `size` `Float`: Null uses the asset's default size. - `slot` [`BrandAssetSlot`](https://help.brandmachine.shop/api-enums/#brandassetslot): Where the logo sits on every card of this ad. Null when no slot fits every card. - `slotEditedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date): Non-null when a person placed the logo. The scorer leaves it where it is. --- ## PricelistEntry One row of the public PAYG pricelist. Every row is something a merchant can actually be charged; rates that exist only as internal fallbacks are not returned. **Fields:** - `chargeCents` `Int!` - `currency` `String!` - `label` `String!`: Merchant-facing name for this charge, e.g. "GPT Image 2.5 (high)". Render this; do not derive a name from usageType. - `outputUnit` [`OutputUnit!`](https://help.brandmachine.shop/api-enums/#outputunit): What chargeCents buys one of: IMAGE, VIDEO or SECOND. Product video generation is priced per second of video. - `pricingVersion` `String!` - `tier` [`PricingTier!`](https://help.brandmachine.shop/api-enums/#pricingtier): Which half of the pricing model this charge belongs to: GENERATION per attempt while creating, RELEASE once when a finished asset is exported. - `usageType` `String!` --- ## ProductStudio Core content model for the ProductStudio feature. **Fields:** - `batch` [`Batch`](https://help.brandmachine.shop/api-types/#batch): Parent batch if this is a draft studio (non-null means part of a plan) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `exportFileNames` [`[ProductStudioExportName!]!`](https://help.brandmachine.shop/api-types/#productstudioexportname): What each active perspective would deliver this studio as, before anything is rendered. One row per perspective, each carrying a name or the reason it has none. - `fashionModelRevision` [`FashionModelRevision`](https://help.brandmachine.shop/api-types/#fashionmodelrevision): The selected fashion model revision for this studio session - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `inputs` [`[ProductStudioInput!]!`](https://help.brandmachine.shop/api-types/#productstudioinput): Product inputs for this studio session, sorted by creation date (newest first) - `isGenerated` `Boolean!`: True once all of this studio's render tasks have settled (derived from MediaGenerationTask, not the stored status which never rolls up). False while generating or before generation starts. - `outputs` [`[ProductStudioOutput!]!`](https://help.brandmachine.shop/api-types/#productstudiooutput): Generated outputs from this studio session- `includeArchived` `Boolean` - `productStudioPerspectiveId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `favoritesOnly` `Boolean` - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `stylingResources` [`[ProductStudioStylingResource!]!`](https://help.brandmachine.shop/api-types/#productstudiostylingresource): Styling instructions per perspective for this studio session - `teamDomain` `String!`: The Shopify team domain this studio belongs to - `title` `String` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## ProductStudioExportName What one perspective would deliver this studio as, before anything is rendered **Fields:** - `conflictingFileNames` `[String!]!`: The specific uploaded files that disagree, when the reason is a disagreement. Empty otherwise. - `exportCode` `String`: This perspective's token for delivered filenames, or null if it has none. - `fileName` `String`: What this studio would be delivered as for this perspective, with no extension. Null when it cannot be computed, in which case `unavailableReason` says why. - `perspectiveId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `perspectiveName` `String!` - `unavailableReason` [`ProductStudioExportNameUnavailableReason`](https://help.brandmachine.shop/api-enums/#productstudioexportnameunavailablereason): Why there is no name. Present exactly when `fileName` is null. --- ## ProductStudioHomeCard A single card on the Home view, carrying everything the UI renders for one studio. **Fields:** - `perspectivesGenerated` `Int!`: Distinct perspectives this studio has at least one output for. - `perspectivesPicked` `Int!`: Subset of perspectivesGenerated where at least one output is favorited. - `reviewState` [`StudioReviewState!`](https://help.brandmachine.shop/api-enums/#studioreviewstate) - `studio` [`ProductStudio!`](https://help.brandmachine.shop/api-types/#productstudio) - `thumbnailUrl` `String`: Full Cloudflare URL. TODO: oldest input image. IN_PROGRESS/DONE: most recently favorited output. Null if no inputs and no outputs exist. --- ## ProductStudioHomeDigest Aggregated Home view payload: 'needs your attention' plus 'recently generated'. **Fields:** - `needsAttention` [`[ProductStudioHomeCard!]!`](https://help.brandmachine.shop/api-types/#productstudiohomecard): TODO and IN_PROGRESS studios, most-recently-active first, capped at 10. - `recentlyGenerated` [`[ProductStudioHomeCard!]!`](https://help.brandmachine.shop/api-types/#productstudiohomecard): DONE studios whose last activity is within the past 7 days, most-recent first, capped at 10. --- ## ProductStudioInpaintResult Pivot model representing the many-to-many relationship between inputs and outputs with sequential inpainting. **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `inpaintedResult` `String`: Final inpainted image URL for this combination - `inputId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid): The ProductStudioInput this result belongs to - `isComplete` `Boolean!`: Whether this inpaint result is complete - `isReadyForInpainting` `Boolean!`: Whether this record is ready for inpainting - `outputId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid): The ProductStudioOutput this result belongs to - `sceneMask` `String`: Scene mask URL for this input in this specific scene --- ## ProductStudioInput Individual product input within a ProductStudio session. **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `fileName` `String`: Name of the file the customer uploaded, kept verbatim and parsed on read against the team's filename convention. Null for inputs created before the column existed. Use it to show which files an ambiguous studio is disagreeing about. - `filenameView` `String`: The raw view token the filename declares, before translation through the team's view codes. Null when nothing matched. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `inpaintResults` [`[ProductStudioInpaintResult!]!`](https://help.brandmachine.shop/api-types/#productstudioinpaintresult): Inpaint results for this input across all outputs - `isHero` `Boolean!`: Marks this input as a focus / hero product. Perspectives with useHeroOnly=true filter generation down to hero inputs only. - `isStylingPiece` `Boolean!`: True when this input is a styling piece the look is completed with, rather than part of what the shot is of. Never a product: styling pieces stay out of exports and product grouping. - `productDescription` `String`: Detailed product description - `productDetailPrompt` `String`: Guidance prompt to guide AI image generation - `productId` `String`: Optional Shopify product ID if attached to a product - `productImage` `String!`: The uploaded image URL (stored in Shopify after upload) - `productImageId` `String!`: The Shopify file ID (GID) for the uploaded image - `productKey` `String`: Identity shared by every photo of one product, derived from the team's declared filename convention. Group inputs by this rather than by productTitle, which is a scan artifact and disagrees across views of one product more often than not. Null when no template matched, and null for a styling piece, which carries no filename. - `productStudioId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid): The ProductStudio this input belongs to - `productTitle` `String`: User-provided title/description for this input - `viewType` [`ViewType!`](https://help.brandmachine.shop/api-enums/#viewtype): View type of this product input (front, back, other, or cropped) - `wardrobeItemId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): Which wardrobe article this was stamped from, and what detaches it. Null once that article has been removed from the library; the input itself is unaffected. --- ## ProductStudioOutput Generated image from a ProductStudio session. Each output passes through an additive pipeline of up to three stages: (1) raw AI generation → `imageKey`; (2) optional background color correction, only when the perspective carries a `backgroundHexColor` → `correctedImageUrl`; (3) optional user edit from the photo editor → `editedImageUrl`. Each stage persists independently, so older stages remain queryable for before/after views and reverts. `latestImage` returns the newest entry in the image history (chronological). **Fields:** - `completionPercentage` `Float!`: Returns progress based on which images are available - `correctedImageUrl` `String`: URL for the auto-corrected variant (stage 2 of the pipeline): the raw AI output run through the background-color-correction pipeline so the backdrop matches the perspective's `backgroundHexColor` exactly. Set only when the perspective carries a `backgroundHexColor` and correction has completed. Built on top of `imageKey` and remains populated even after a subsequent user edit, so the frontend can show pre-edit state or revert. - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `downloadableImageUrl` `String`: The stored file of the latest media release as generated, with no sRGB profile and no AI-provenance statement. To deliver the image, use `exportImageUrl`. - `editedImageUrl` `String`: URL for the user-edited variant (stage 3 of the pipeline). Produced when the user opens the photo editor and saves on top of whichever earlier stage was current at the time (corrected if present, otherwise raw). Set only after the user actually edits. - `evaluation` [`ProductStudioOutputEvaluation`](https://help.brandmachine.shop/api-types/#productstudiooutputevaluation): Automated quality evaluation of the raw AI generation (`imageKey`): a 0..1 score and a one-line comment, produced by Gemini shortly after generation. Null until scoring completes, or if scoring failed. Always reflects the raw generation, never the corrected or user-edited variant. - `exportFileName` `String`: The filename this image should be delivered as, assembled from the team's declared convention: the product identity in its input filenames plus the export code of the perspective that rendered it. No extension — pick that at download. Null when the team declared no export pattern, or when the studio resolves to more than one product identity and there is therefore no single correct name; fall back to the existing name and tell the user why. - `exportImageUrl` `String`: The file to deliver for the latest media release: a JPEG with an sRGB profile and a machine-readable statement that the image is AI-generated (IPTC DigitalSourceType). Content Credentials (C2PA) will be added behind this same URL once they ship, so integrators need no change. Null until the asset is released. The download is named after the stored file; name it from `exportFileName` to follow the team's naming convention. - `favorite` `Boolean!`: Whether the user has marked this output as a favorite - `finalImageUrl` `String`: DEPRECATED: Use 'imageKey' instead. Returns the Cloudflare R2 key for the final composed image. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageKey` `String`: Cloudflare R2 key for the raw AI output (stage 1 of the pipeline). Set once generation completes and remains populated even after later stages run, so the frontend can show the pre-correction / pre-edit state or revert. - `images` [`[OutputImage!]!`](https://help.brandmachine.shop/api-types/#outputimage): Chronological history of this output's image variants: INITIAL_GENERATION (raw render), HEX_BACKGROUND_CORRECTED (bg-correct service), USER_EDITED (one entry per photo-editor save, so earlier edits stay reachable), BREUNINGER_FRAMED (Breuninger crop). The last entry by createdAt is what latestImage returns. Prefer this over the legacy per-variant fields for stage displays. - `inpaintResults` [`[ProductStudioInpaintResult!]!`](https://help.brandmachine.shop/api-types/#productstudioinpaintresult): Inpaint results for this output across all inputs - `isPreview` `Boolean!`: True when this is a low-res preview render (preview mode). Preview outputs are generation-free and cannot be released or downloaded: `releaseProductStudioOutput` will reject them. Hide release/download and show a preview badge in the UI; to get a final, re-run generation with `preview: false`. - `latestImage` `String`: Server-side resolution of the most recent stage: the newest entry in the image history (chronological; in the normal pipeline that matches the old edited > corrected > raw priority). Use this when you just want 'the current image'; use `images` when you need the full history or before/after views. - `latestMediaRelease` [`MediaRelease`](https://help.brandmachine.shop/api-types/#mediarelease): Most recent media release for this output - `mediaGenerationTask` [`MediaGenerationTask`](https://help.brandmachine.shop/api-types/#mediagenerationtask): The media generation task that produced this output. Its `status` and `errorMessage` are how a failure that happened BEFORE any image was written becomes visible: a Spec that could not be submitted fails the task and leaves the output carrying only its raw render. A failure DURING the Spec is the other case and lands on the image entry's `stepErrors` instead. - `mediaReleases` [`[MediaRelease!]!`](https://help.brandmachine.shop/api-types/#mediarelease): All media releases for this output - `model` `String`: Which AI model rendered this output, as the raw `AiModel` value (`GEMINI_3_PRO`, `NANO_BANANA_2`, `GPT_IMAGE_2_5_HIGH`, ...). This is what produced THIS image, not what the perspective is set to now. Null for outputs generated before model attribution shipped; show nothing rather than a placeholder. - `productStudio` [`ProductStudio!`](https://help.brandmachine.shop/api-types/#productstudio): Parent ProductStudio session - `productStudioId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid): The ProductStudio this output belongs to - `productStudioPerspectiveId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid): The perspective this output was generated for. Read this directly when you only need the perspective ID; avoid walking through `mediaGenerationTask.productStudioPerspective.id` which fires per-output N+1 queries. - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## ProductStudioOutputEvaluation Automated quality evaluation of a ProductStudioOutput's raw AI generation, scored against the product input(s) by Gemini. **Fields:** - `comment` `String!`: One-line human-readable explanation of the score. - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `model` `String!`: The model id that produced the score, e.g. `gemini-3.7-flash`. - `score` `Float!`: Quality score from 0.0 (severe problems: wrong product, colour shift, distortion, artefacts) to 1.0 (excellent: faithful to the product, clean, professional). --- ## ProductStudioPerspective Perspective configuration for Product Studio Outputs. **Fields:** - `acceptedViewTypes` [`[ViewType!]!`](https://help.brandmachine.shop/api-enums/#viewtype): Which view types this perspective accepts (e.g., [front], [front, back], or all) - `aiModel` [`AiModel!`](https://help.brandmachine.shop/api-enums/#aimodel): Which AI model renders this perspective: NANO_BANANA_2 (fast pack shots), GEMINI_3_PRO (balanced), GPT_IMAGE_2_5_MEDIUM, GPT_IMAGE_2_5_HIGH, GPT_IMAGE_2_5_XHIGH or GPT_IMAGE_2_5_MAX (best for logos and prints; the four tiers run about 9c, 18c, 28c and 55c per delivered image). GPT Image 2 was replaced by GPT Image 2.5 on 2026-09-10; none of its values are accepted any more. - `archivedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date): When set, the perspective is archived and hidden from the default list. - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio) - `backgroundHexColor` `String`: 6-character hex color for the studio backdrop (e.g. 'ff0077'), without # prefix. Null means no specific backdrop color. - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `exportCode` `String`: Token representing this perspective in delivered filenames ("001", "FRONT"). Free-form and never interpreted. Separate from `name` on purpose: download filenames used to be derived from the display name, so renaming a perspective silently renamed every past delivery. - `groupId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The rail tab this perspective is filed under, or null for ungrouped. The id only: there is deliberately no `group` relation field here, because it would cost a query per perspective on a list the rail always fetches whole. Read the groups once via getAllProductStudioPerspectiveGroups and join client-side. - `guideKey` `String`: OPTIONAL shadow guide for plateKey: the same photograph with an outline marking where the shadow may fall. UPLOADED, never generated (changed 4 Sep 2026; 66 renders found a drawn bound changed neither the shadow's direction nor its extent). A guide requires a plate, a plate does NOT require a guide, and this is null on most plates. It is positioned against its own plate's silhouette, so one made for a different plate marks the wrong floor. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `isDefault` `Boolean!` - `isLocked` `Boolean!`: Locked marketplace-preset template: updateProductStudioPerspective accepts only aiModel changes (all other fields must be sent unchanged) and delete is rejected; archiving is allowed. Render the fields read-only except the model picker. Grouping and ordering are NOT locked: a locked slot can still be filed under a group and dragged around the rail. - `isProductOnly` `Boolean!`: When true, generates product-only pack shots without a fashion model. - `name` `String!` - `outputs` [`[ProductStudioOutput!]!`](https://help.brandmachine.shop/api-types/#productstudiooutput) - `plateKey` `String`: The team's own studio plate: a photograph of the empty set with the person replaced by a grey silhouette. It pins where the model stands, how large they are in the frame, and which room it is. A plate may stand alone; see guideKey. - `presetKey` [`PerspectivePresetKey`](https://help.brandmachine.shop/api-enums/#perspectivepresetkey): Which marketplace slot this perspective points at (e.g. BREUNINGER_FRONT), or null for regular perspectives. The slot's configuration lives in code and is never copied into this row. - `prompt` `String!` - `qaPrompt` `String`: Whether this perspective is quality-checked, and what extra it is checked for. Three states: null means it is NOT SCORED AT ALL (no evaluation, no quality-check task); an empty string means it is scored on the standard rubric with nothing added; text means it is scored on the standard rubric plus that text. Empty and null are different settings, not two spellings of "nothing". The text describes what "correct" looks like for this view ("the sole must be fully visible") and never reaches the renderer, that is what `prompt` does. - `shootingLocationRevision` [`ShootingLocationRevision`](https://help.brandmachine.shop/api-types/#shootinglocationrevision): Optional generated scene the subject is composited into. When set it replaces the flat backgroundHexColor backdrop and background correction is skipped. - `shootingLocationRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The attached scene (shooting location revision) this perspective renders into, if any. Read this directly when you only need the id. - `sortOrder` `Int`: 0-based position in the team's rail, or null if this perspective has never been placed. Unplaced perspectives sort after every placed one, in creation order. Team-wide: one person's reorder moves the rail for everybody. - `specCrop` `String`: How this perspective's outputs are cropped, as the JSON crop object, or null if they are not cropped. Placement is anchored (pin a top feature and the soles), fitted (inscribe the subject with a margin) or frame (inscribe the frame, no subject). On a marketplace slot this reflects the row, which is unused: the slot's own crop comes from code. - `targetRatioH` `Int`: Free-form target aspect ratio height (e.g. 9 in 7:9). Set with targetRatioW. - `targetRatioW` `Int`: Free-form target aspect ratio width (e.g. 7 in 7:9). Set with targetRatioH. When present, renders generate at the closest native ratio and are cropped down to this exact ratio. Null means no crop. - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `useHeroOnly` `Boolean!`: When true, generation uses only inputs marked as hero. Use for perspectives like fabric samples where accessories would dilute the output. --- ## ProductStudioPerspectiveGroup A tab on the perspective rail: the team's own filing of its perspectives. Team-wide. Deleting one returns its members to the ungrouped rail and never deletes a perspective. **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `name` `String!` - `purpose` `String`: What this group is for, in the team's own words ("the perspectives we ship to our own webshop"). Read by the agent to resolve a phrase like "add my ecommerce options" to a group. A matching hint only: it never reaches a render prompt, so editing it cannot change how anything is generated. - `sortOrder` `Int`: 0-based position of this tab in the rail, or null if it has never been dragged. Unplaced tabs sort after every placed one, in creation order. - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## ProductStudioSetting Settings for Product Studio feature customization. **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `instructions` `String` - `scanInstructions` `String` - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## ProductStudioStylingResource Styling instructions for a specific ProductStudio session and perspective **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `productStudioId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `productStudioPerspectiveId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `stylingInstructions` `String!` --- ## ProductVideo Core content model for the Product Shorts feature. **Fields:** - `buttons` [`[VideoButton!]`](https://help.brandmachine.shop/api-types/#videobutton): Array of interactive buttons with labels and descriptions - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `durationSeconds` `Int!`: Length in seconds of the video this row last generated, and the length a regenerate repeats. Generation is billed per second. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `modelType` [`VideoModelType`](https://help.brandmachine.shop/api-enums/#videomodeltype): The AI model used for video generation - `productId` `String` - `productImage` `String` - `productImageId` `String` - `productTitle` `String` - `progress` [`Progress!`](https://help.brandmachine.shop/api-types/#progress): Current progress information for the video generation flow - `prompt` `String`: Custom prompt for video generation - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus) - `teamDomain` `String!`: The Shopify team domain this video belongs to - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `videoUrl` `String`: The result of the genai video generation process. --- ## Progress Progress information for long-running flows **Fields:** - `message` `String!` - `percentage` `Float!` --- ## ReferenceLook One look as read off an uploaded looks sheet. **Fields:** - `description` `String!`: Every garment in the look, top to bottom, with type, colour, fit and any readable print; says so when a slot is absent. - `id` `String!`: look-1...look-N in sheet reading order, assigned by the backend. Regenerated on re-upload, so not stable across one. --- ## ReleasedImagesPage One page of the `releasedImages` feed. **Fields:** - `cursor` `String`: Pass as `after` on the next call. Store it after each sync; it is null only when the team has never released an image. - `hasMore` `Boolean!`: True when more releases follow this page right now. Keep paging until it is false. - `releases` [`[MediaRelease!]!`](https://help.brandmachine.shop/api-types/#mediarelease) --- ## RenderSize A render's size in pixels, as the model delivers it, before any crop. **Fields:** - `height` `Int!` - `width` `Int!` --- ## SetFileNameConventionResult **Fields:** - `convention` [`FileNameConvention!`](https://help.brandmachine.shop/api-types/#filenameconvention) - `problems` [`[FileNameConventionProblem!]!`](https://help.brandmachine.shop/api-types/#filenameconventionproblem): Empty means it saved. Non-empty means nothing was written and `convention` is what remains in force. --- ## ShootingLocation ShootingLocation for marketing content creation **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `revisions` [`[ShootingLocationRevision!]!`](https://help.brandmachine.shop/api-types/#shootinglocationrevision) - `teamDomain` `String!` - `thumbnailUrl` `String`: Image key of the newest revision with a generated image, derived live - `title` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## ShootingLocationRevision Immutable snapshot of a shooting location generation cycle **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `favorite` `Boolean!` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageKey` `String` - `label` `String` - `model` `String` - `resources` [`ShootingLocationRevisionResources`](https://help.brandmachine.shop/api-types/#shootinglocationrevisionresources) - `shootingLocation` [`ShootingLocation!`](https://help.brandmachine.shop/api-types/#shootinglocation) - `shootingLocationId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `userInput` `String!` --- ## ShootingLocationRevisionResources Structured resources for a shooting location revision **Fields:** - `extras` `String` - `lighting` `String` - `location` `String` - `mood` `String` --- ## ShopifyPageInfo Pagination info for Shopify queries **Fields:** - `endCursor` `String` - `hasNextPage` `Boolean!` --- ## ShopifyProduct A Shopify product from the Admin API **Fields:** - `handle` `String!` - `id` `String!` - `images` [`[ShopifyProductImage!]!`](https://help.brandmachine.shop/api-types/#shopifyproductimage) - `productType` `String!` - `status` `String!` - `tags` `[String!]!` - `title` `String!` - `totalInventory` `Int` - `variants` [`[ShopifyProductVariant!]!`](https://help.brandmachine.shop/api-types/#shopifyproductvariant) - `vendor` `String!` --- ## ShopifyProductImage A Shopify product image **Fields:** - `altText` `String` - `height` `Int` - `id` `String!` - `url` `String!` - `width` `Int` --- ## ShopifyProductsResult Paginated result of Shopify product search **Fields:** - `pageInfo` [`ShopifyPageInfo!`](https://help.brandmachine.shop/api-types/#shopifypageinfo) - `products` [`[ShopifyProduct!]!`](https://help.brandmachine.shop/api-types/#shopifyproduct) --- ## ShopifyProductVariant A Shopify product variant **Fields:** - `id` `String!` - `inventoryQuantity` `Int` - `price` `String!` - `sku` `String` - `title` `String!` --- ## SizeChart A size chart: points of measure down, sizes across, every value computed as base + adjustment + grade step. Uploaded standard specs and design charts share this type. **Fields:** - `annotation` [`SizeChartAnnotation`](https://help.brandmachine.shop/api-types/#sizechartannotation): The technical drawings with this chart drawn on. Design charts only. - `baseSize` `String!`: The size adjustments are made at. Every other size is base plus its grade step. - `code` `String`: The customer's identifier for an uploaded spec. Null on design charts. - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `department` `String!`: The customer's target group, e.g. boys or women. Matching stays inside one department. - `derivedFromChartId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The chart this one copied its rows from. May no longer exist. - `designerInstanceId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `garmentType` `String!`: The customer's own word for the garment type. Not a fixed list: departments and customers use their own vocabulary. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `isComplete` `Boolean!`: False when any row records grade steps and no absolute value. Such rows print no values and refuse adjustments; show a warning. - `name` `String!` - `patternGroup` `String`: Shared by charts that are readouts of one pattern, e.g. one tee finished with a 2.2 cm and a 2.8 cm neck trim. Siblings are identical on every shared row: present them together, never as a preference of one over the other. Null when the chart has no siblings. - `productGroup` `String` - `rows` [`[SizeChartRow!]!`](https://help.brandmachine.shop/api-types/#sizechartrow): Points of measure in display order, with their values at every size. - `sizes` `[String!]!`: Size labels in grading order. Every row's gradeDeltaHundredths and valuesHundredths line up with this. - `source` [`SizeChartSource!`](https://help.brandmachine.shop/api-enums/#sizechartsource): UPLOADED: a customer's standard spec, never adjusted. DERIVED: a design's chart, copied from another chart. - `sourceFile` `String` - `supersededAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date): Set when a later upload replaced this uploaded chart. Superseded charts stay so design charts can still name them. - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## SizeChartAdjustment A change at the base size on a design chart, in hundredths of a cm. **Fields:** - `deltaHundredths` `Int!` - `provenance` [`SizeChartProvenance!`](https://help.brandmachine.shop/api-enums/#sizechartprovenance) - `reason` `String` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## SizeChartAnnotation A design revision's technical drawings with the size chart's base-size values drawn on. **Fields:** - `backUrl` `String` - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `designerInstanceRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid): The revision whose technical drawings were annotated. - `errorMessage` `String` - `frontUrl` `String` - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `isOutOfDate` `Boolean!`: True when the chart changed after this drawing was made (an adjustment). Offer to annotate again. - `lines` `[String!]!`: The label lines drawn. - `status` [`ContentGenerationStatus!`](https://help.brandmachine.shop/api-enums/#contentgenerationstatus): COMPLETED once both views landed. --- ## SizeChartMatchCandidate **Fields:** - `code` `String` - `confidence` `Int!`: 1 (unlikely) to 5 (strong). Ranks candidates; never sets a measurement. - `name` `String!` - `outsideGarmentType` `Boolean!`: True when this chart is a different garment type than the design was placed in. When every candidate has it, say that no chart of the design's type exists. - `patternGroup` `String`: Candidates sharing a pattern group share a rank and are siblings of one pattern (e.g. two trim widths). Present them together as one choice, never as a ranking. - `rank` `Int!` - `rationale` `String!` - `sizeChartId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) --- ## SizeChartMatchRun One matcher shortlist for a design and what the designer did with it. No accuracy claim is made for the matcher. **Fields:** - `candidates` [`[SizeChartMatchCandidate!]!`](https://help.brandmachine.shop/api-types/#sizechartmatchcandidate): Two or three charts, best first. Show the differences between them; never present one as the answer. Also offer every chart in the library and a 'none of these fit' escape. - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `department` `String!` - `designerInstanceId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `designerInstanceRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `garmentTypeConfident` `Boolean!`: When false, candidates of other garment types may appear, marked outsideGarmentType. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `inferredGarmentTypes` `[String!]!` - `noneFitNotes` `String` - `noneFitReason` [`SizeChartNoneFitReason`](https://help.brandmachine.shop/api-enums/#sizechartnonefitreason) - `outcome` [`SizeChartMatchOutcome!`](https://help.brandmachine.shop/api-enums/#sizechartmatchoutcome) - `pickedSizeChartId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `resolvedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## SizeChartRow One point of measure on a size chart. All centimetre fields are integers in hundredths of a cm. **Fields:** - `adjustment` [`SizeChartAdjustment`](https://help.brandmachine.shop/api-types/#sizechartadjustment): This chart's change at the base size. Null when untouched. - `baseHundredths` `Int`: Value at the base size before any adjustment, in hundredths of a cm. Null on an increment row. - `baseProvenance` [`SizeChartProvenance!`](https://help.brandmachine.shop/api-enums/#sizechartprovenance): Where baseHundredths came from. STANDARD_SPEC equals the block; anything else moved from it in an earlier chart. - `blockBaseHundredths` `Int`: The base value in the uploaded chart this row descends from, as it was when copied. Show a difference from baseHundredths as 'from the block as imported', not as a live comparison. - `code` `String!` - `convention` [`PomConvention!`](https://help.brandmachine.shop/api-enums/#pomconvention): HALF rows are measured flat, edge to edge: half the girth. When a designer edits one, show the full girth (value × 2) live next to the input, so '4 cm wider around' is entered as +2.00 and never +4.00. The backend does not check this. - `gradeDeltaHundredths` `[Int!]!`: Grade step per size relative to the base size, in the chart's size order. 0 at the base. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `origin` `String`: Where the measurement is taken from. Two rows with the same code and different origins are different measurements and must not be compared. - `position` `Int!` - `rowKey` `String!`: CODE[@origin]. The only way to address a row in a mutation; a bare code is ambiguous on most charts. - `sourceLabel` `String!`: The row name as the customer's sheet writes it. - `toleranceMinusHundredths` `Int` - `tolerancePlusHundredths` `Int` - `toleranceRaw` `String`: The tolerance as the source wrote it. - `toleranceState` [`SizeChartToleranceState!`](https://help.brandmachine.shop/api-enums/#sizecharttolerancestate): NONE: the source gave none. UNREADABLE: the source claimed one we could not read; show toleranceRaw as a warning, never as a limit and never as none. PARSED: use the bounds. - `valuesHundredths` `[Int!]`: The value at every size, in hundredths of a cm, in the chart's size order: base + adjustment + grade step. Null on an increment row. --- ## Skill Reusable instruction that tells the agent how to approach batch work **Fields:** - `body` `String!` - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `teamDomain` `String!` - `title` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## SpecStepError One step of a Spec that did not succeed. The delivered image is still the best available result. **Fields:** - `code` `String!`: Why, as a stable machine code: `crop_does_not_fit` (the subject sits too close to an edge for the crop asked for), `no_person` (nothing was found to measure against), `no_landmarks` (the face could not be located for an eye-line crop), `segmentation_failed` (the model call failed after its retries), `config_invalid` (the perspective's crop settings cannot be applied to this image), `internal` (an unexpected error). Phrase these for the customer as what happened to the FILE, e.g. `crop_does_not_fit` reads as "delivered uncropped". - `step` `String!`: Which step failed: `correction` or `crop`. --- ## StoreConnectionPreview The account a code would connect this store into. Show it by name before connecting. **Fields:** - `accountName` `String!` - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `creditBalanceCents` `Int!` - `memberCount` `Int!` --- ## TeamMember A person with access to this team, or a pending invitation to it. **Fields:** - `email` `String`: Null for Shopify staff: a Shopify session carries no address. - `expiresAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date): When an invitation stops working. Null for members. - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) - `isCurrentUser` `Boolean!`: True on the signed-in person's own row. Always false for an invitation. - `joinedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `name` `String` - `role` [`Role!`](https://help.brandmachine.shop/api-enums/#role): For an invitation, the role granted when it is accepted. - `status` [`MemberStatus!`](https://help.brandmachine.shop/api-enums/#memberstatus) --- ## User A person. The same person can reach a team through the web app and the Shopify app. **Fields:** - `email` `String`: Null for Shopify staff: a Shopify session carries no address. - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `name` `String`: Null when the person has not given a name. --- ## VideoButton Interactive button for product videos **Fields:** - `description` `String!` - `label` `String!` --- ## WardrobeItem A styling piece the team completes looks with. Defined by not being what the shot is of, not by whether the team sells it. **Fields:** - `archivedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date): Non-null when the article is hidden from pickers and from the planner - `category` [`WardrobeCategory!`](https://help.brandmachine.shop/api-enums/#wardrobecategory) - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `images` [`[WardrobeItemImage!]!`](https://help.brandmachine.shop/api-types/#wardrobeitemimage) - `styleReference` `String` - `teamDomain` `String!` - `title` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `usageNote` `String` --- ## WardrobeItemImage One photograph of a wardrobe article, from one angle **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageDescription` `String` - `imageKey` `String!` - `imageUrl` `String!`: Resolved CDN URL of the photograph - `viewType` [`ViewType!`](https://help.brandmachine.shop/api-enums/#viewtype) - `wardrobeItemId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) --- ## Workflow An autonomous workflow definition: a name plus Markdown instructions the planner decomposes into steps. **Fields:** - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `instructions` `String!`: The workflow as Markdown. Edited by the agent, not a form. - `name` `String!` - `teamDomain` `String!` - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) --- ## WorkflowRun One execution of a Workflow. Holds the committed plan, a cursor over it, what it's parked on, and per-step outputs. Poll this while non-terminal to watch progress. **Fields:** - `awaitingStepId` `String`: The plan step currently being worked or waited on (the cursor). Null when the run is terminal. - `batchId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The batch this run operates on (UC1). Null for workflows that aren't batch-scoped. - `completedStepIds` `[String!]`: Step ids finished so far (the set behind the cursor). - `createdAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `id` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `lastError` `String`: Why the run stopped or failed, when applicable. - `plan` [`[WorkflowStep!]`](https://help.brandmachine.shop/api-types/#workflowstep): Ordered steps, committed once at run start. Null until planning completes. - `status` [`WorkflowRunStatus!`](https://help.brandmachine.shop/api-enums/#workflowrunstatus): RUNNING, WAITING_FOR_TASKS (parked on a media-task wait-set or the batch's QA), COMPLETED, FAILED, or STOPPED (agent stopped the run). - `stepResultsJSON` `String`: JSON-encoded map of stepId → the small output that step returned (the only cross-step memory). Parse client-side. Null until a step has produced output. - `updatedAt` [`Date`](https://help.brandmachine.shop/api-scalars/#date) - `waitOnEvaluations` `Boolean!`: True when the parked step is waiting on the batch's quality-check (QA) tasks, derived from the run's batch. - `waitingForTaskIds` [`[UUID!]`](https://help.brandmachine.shop/api-scalars/#uuid): The media-generation tasks the parked step is waiting on (the declared wait-set). Null unless parked on a declared set. - `workflow` [`Workflow!`](https://help.brandmachine.shop/api-types/#workflow): The workflow definition this run executes. - `workflowId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) --- ## WorkflowStep One concrete step in a workflow run's plan. Committed once at run start, read-only thereafter. What (if anything) the run waits on after a step is decided at execute time, not by the step. **Fields:** - `description` `String!` - `id` `String!`: Stable slug, e.g. "step-1". Never reused or reordered within a run. - `name` `String!` --- ================================================================================ # Input Types Source: https://help.brandmachine.shop/api-input-types/ Input object types that queries and mutations take as arguments, in alphabetical order. Fields marked **required** must be present; the others can be left out. ## AmendCampaignInput A partial update to one draft CampaignImage: absent fields stay untouched **Fields:** - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio): Present sets the look's frame. Absent leaves it untouched; null cannot clear it, send R1x1 for the default. - `fashionModelRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `itemId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `products` [`[ProductGroupInput!]`](https://help.brandmachine.shop/api-input-types/#productgroupinput) - `sceneInstructions` `String` - `shootingLocationRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `title` `String` - `wardrobeItemIds` [`[UUID!]`](https://help.brandmachine.shop/api-scalars/#uuid): Present replaces the look's wardrobe. An empty array means styled with nothing. --- ## AmendStudioInput A partial update to one draft ProductStudio: absent fields stay untouched **Fields:** - `fashionModelRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `itemId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `perspectiveIds` [`[UUID!]`](https://help.brandmachine.shop/api-scalars/#uuid) - `products` [`[ProductGroupInput!]`](https://help.brandmachine.shop/api-input-types/#productgroupinput) - `stylingNotes` `String` - `wardrobeItemIds` [`[UUID!]`](https://help.brandmachine.shop/api-scalars/#uuid): Present replaces the look's wardrobe. An EMPTY array is meaningful and allowed: it means styled with nothing. Absent leaves the wardrobe untouched. --- ## CampaignImageProductInput Input for campaign image product data **Fields:** - `productDescription` `String!` **required** - `productId` `String!` **required** - `productImage` `String!` **required** - `productImageId` `String!` **required** - `productTitle` `String!` **required** --- ## DesignerAppearanceChange **Fields:** - `intent` `String!` **required** - `views` [`[DesignerPersonView!]!`](https://help.brandmachine.shop/api-enums/#designerpersonview) **required** --- ## DesignerChangeSet A structured declaration of what to change, relative to an explicit base revision. Presence of a sub-object means that dimension changes. Any combination may batch into one plan and one generation. Flats are NOT a dimension here — order them via generateDesignerRevisionTechnicalDrawings. **Fields:** - `appearance` [`DesignerAppearanceChange`](https://help.brandmachine.shop/api-input-types/#designerappearancechange) - `colourway` [`[DesignerColourwayChange!]`](https://help.brandmachine.shop/api-input-types/#designercolourwaychange) - `details` [`DesignerDetailsChange`](https://help.brandmachine.shop/api-input-types/#designerdetailschange) - `fabric` [`DesignerFabricChange`](https://help.brandmachine.shop/api-input-types/#designerfabricchange) - `garment` [`DesignerGarmentChange`](https://help.brandmachine.shop/api-input-types/#designergarmentchange) - `maskedEdits` [`[DesignerMaskedEditChange!]`](https://help.brandmachine.shop/api-input-types/#designermaskededitchange) - `model` [`DesignerModelChange`](https://help.brandmachine.shop/api-input-types/#designermodelchange) - `outfitContext` [`DesignerOutfitContextChange`](https://help.brandmachine.shop/api-input-types/#designeroutfitcontextchange) - `paint` [`DesignerPaintChange`](https://help.brandmachine.shop/api-input-types/#designerpaintchange) - `paints` [`[DesignerResolvedPaintChange!]`](https://help.brandmachine.shop/api-input-types/#designerresolvedpaintchange) - `reconciledDescription` `String` --- ## DesignerColourwayArtworkInput **Fields:** - `artworkKey` `String!` **required**: The resource's image key. Checked against the resource on this design. - `box` [`DesignerColourwayBoxInput!`](https://help.brandmachine.shop/api-input-types/#designercolourwayboxinput) **required** - `label` `String!` **required** - `resourceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** --- ## DesignerColourwayBoxInput A box in fractions (0 to 1) of the flat's frame, not the puppet's. **Fields:** - `height` `Float!` **required** - `width` `Float!` **required** - `x` `Float!` **required** - `y` `Float!` **required** --- ## DesignerColourwayBuildInput What one colourway drawing was built from. Frozen on the revision; a later rebuild carries the colourway only while its flat and fabric are unchanged. **Fields:** - `artwork` [`[DesignerColourwayArtworkInput!]!`](https://help.brandmachine.shop/api-input-types/#designercolourwayartworkinput) **required** - `fabricId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid): The DesignerFabric the fill used. Must be the fabric the render uses. - `fabricImageKey` `String` - `flatKey` `String!` **required**: The drawing revision's flat the fill was drawn on. Must be the flat the render's puppet carries. - `lineStrength` `Float!` **required**: How strongly the flat's lines show over the fill, 0 to 1. - `plainRgb` `String`: #RRGGBB, for a garment with no fabric. - `repeatsAcross` `Float`: The garment's width on the FRONT flat at the chest row (garment top plus 0.30 of its height) divided by the width of one fabric repeat at the approved scale. Computed once on FRONT and reused for BACK. Stored unchanged. - `tileScale` `Float` - `trims` [`[DesignerColourwayTrimInput!]!`](https://help.brandmachine.shop/api-input-types/#designercolourwaytriminput) **required** --- ## DesignerColourwayChange An approved colourway drawing for one view of the photo revision after a drawing revision. The render gets it as its last input image. **Fields:** - `inputs` [`DesignerColourwayBuildInput!`](https://help.brandmachine.shop/api-input-types/#designercolourwaybuildinput) **required** - `key` `String!` **required**: Uploaded through POST /api/designer/colourway-drawings for the base drawing revision. - `view` [`DesignerPersonView!`](https://help.brandmachine.shop/api-enums/#designerpersonview) **required** --- ## DesignerColourwayTrimInput **Fields:** - `piece` `String!` **required** - `rgb` `String!` **required**: #RRGGBB --- ## DesignerComposedPrompts The composer's authored prompts for generateDesignerRevision — exactly one per SHAPE/RENDER slot the plan's needFromComposer requested (a missing or extra slot 400s). Taken verbatim. **Fields:** - `personBaseRegion` [`DesignerPersonBaseRegion`](https://help.brandmachine.shop/api-enums/#designerpersonbaseregion) - `slots` [`[DesignerSlotPrompt!]!`](https://help.brandmachine.shop/api-input-types/#designerslotprompt) **required** --- ## DesignerDetailsChange The placement editor's complete detail set, not a patch; an empty list removes every detail. At most 2 details. Only the views whose details look different re-render; the puppet is never regenerated. Requires a base revision. **Fields:** - `set` [`[DesignerPlacedDetailInput!]!`](https://help.brandmachine.shop/api-input-types/#designerplaceddetailinput) **required** --- ## DesignerFabricChange Swap to an existing (or freshly created) fabric. Both renders regenerate against the new swatch. **Fields:** - `clear` `Boolean` - `fabricRef` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) - `sourcePatternRevisionId` [`UUID`](https://help.brandmachine.shop/api-scalars/#uuid) --- ## DesignerGarmentChange A shape / fit / detail / description change to the given views. **Fields:** - `description` `String` - `intent` `String!` **required** - `views` [`[DesignerPersonView!]!`](https://help.brandmachine.shop/api-enums/#designerpersonview) **required** --- ## DesignerMaskedEditChange A local edit of the base render inside the designer's painted mask. The view must not be planned by any other dimension this turn, and the turn must not rebuild the person base. **Fields:** - `leavesBehind` [`[DesignerMaskedEditLayer!]!`](https://help.brandmachine.shop/api-enums/#designermaskededitlayer) **required**: PERSON_BASE for an outfit piece or shoes, SHAPE for a change of cut inside the paint. The next rebuild rebuilds those layers. - `maskKey` `String!` **required**: Uploaded with kind=mask to POST /api/designer/annotation-overlays for the base revision. - `outfitText` `String`: Required with PERSON_BASE: the outfit the render shows after the edit. - `overlayKey` `String!` **required**: The painted composite for the same view, uploaded for the base revision. - `view` [`DesignerPersonView!`](https://help.brandmachine.shop/api-enums/#designerpersonview) **required** --- ## DesignerModelChange **Fields:** - `fashionModelRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** --- ## DesignerOutfitContextChange The outfit around the hero garment. Empty text clears it. The backend rebuilds the person base only when this differs from the base revision's frozen outfit. **Fields:** - `text` `String!` **required** --- ## DesignerPaintChange A visual garment edit painted on a rendered photo. Set silhouetteAffecting when a FRONT paint changes the silhouette, so the plan pulls the BACK shape + render along (declared here, never smuggled through prompts). **Fields:** - `overlayKey` `String!` **required** - `silhouetteAffecting` `Boolean!` **required** - `view` [`DesignerPersonView!`](https://help.brandmachine.shop/api-enums/#designerpersonview) **required** --- ## DesignerPlacedDetailInput One placed detail. Needs a box on at least one view. **Fields:** - `back` [`DesignerPlacementInput`](https://help.brandmachine.shop/api-input-types/#designerplacementinput) - `front` [`DesignerPlacementInput`](https://help.brandmachine.shop/api-input-types/#designerplacementinput) - `id` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required**: Generated by the editor when the detail is first placed, then kept. A kept id keeps its marker colour. - `label` `String!` **required**: Unique per design, compared case-insensitively. - `resourceId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required**: An image-backed DesignerInstanceResource on this design. The backend resolves and freezes its image key. --- ## DesignerPlacementInput A box in fractions of the view's grey puppet frame. Values 0 to 1, width and height above 0, and the box must stay inside the frame. **Fields:** - `height` `Float!` **required** - `width` `Float!` **required** - `x` `Float!` **required** - `y` `Float!` **required** --- ## DesignerResolvedPaintChange **Fields:** - `affectedViews` [`[DesignerPersonView!]!`](https://help.brandmachine.shop/api-enums/#designerpersonview) **required** - `overlayKey` `String!` **required** - `view` [`DesignerPersonView!`](https://help.brandmachine.shop/api-enums/#designerpersonview) **required** --- ## DesignerSlotPrompt One composer-authored prompt for a SHAPE or RENDER slot. **Fields:** - `prompt` `String!` **required** - `slot` [`OutputSlot!`](https://help.brandmachine.shop/api-enums/#outputslot) **required** --- ## FashionModelResourceInput Patch for fashion model revision resources: absent fields stay untouched, null clears **Fields:** - `beard` `String` - `bodyShape` `String` - `description` `String` - `hairstyle` `String` - `makeup` `String` --- ## FieldRuleInput What a captured field may contain and what it means. `count` is required for DIGITS, `values` for ONE_OF; a payload that contradicts the kind is rejected rather than widened. Constraining an OTHER field is still worth doing: ignoring a segment's value is not the same as ignoring its shape. **Fields:** - `count` `Int` - `field` `String!` **required** - `kind` [`FileNameFieldConstraintKind!`](https://help.brandmachine.shop/api-enums/#filenamefieldconstraintkind) **required** - `role` [`FileNameFieldRole!`](https://help.brandmachine.shop/api-enums/#filenamefieldrole) **required**: What this field means. IDENTITY is part of what makes two photos the same product; VIEW says which view the photo is, at most once per template; OTHER is matched so the pattern fits and then counts for nothing. A field with no rule at all is an unconstrained IDENTITY field. - `values` `[String!]` --- ## FileNameConventionInput A team's whole filename declaration. Templates are ordered and may overlap: the first that matches wins. Saved and validated as one unit. **Fields:** - `exportPattern` `String` - `templates` [`[FileNameTemplateInput!]!`](https://help.brandmachine.shop/api-input-types/#filenametemplateinput) **required** - `viewCodes` [`[ViewCodeMappingInput!]!`](https://help.brandmachine.shop/api-input-types/#viewcodemappinginput) **required** --- ## FileNameTemplateInput One candidate filename shape, e.g. "{master}*{colorname}*{colorcode}_{view}". The literal text between placeholders is this template's delimiter, so a field may contain a character another template separates on. **Fields:** - `fields` [`[FieldRuleInput!]!`](https://help.brandmachine.shop/api-input-types/#fieldruleinput) **required** - `pattern` `String!` **required** --- ## MediaPlanAssetOperand **Fields:** - `asset` `String!` **required**: Brand asset slug. - `size` `Float`: Null uses the asset's default; omitted keeps the size the logo already has. --- ## MediaPlanBrandAssetInput One logo in a set, in the order given. **Fields:** - `brandAssetId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `size` `Float`: Fraction of the frame's shorter edge taken by the logo's longer side. Null uses the asset's default; omitted keeps the size the logo already has; below its minimum is refused. --- ## MediaPlanCardFilter Which cards an operation reaches: every field given must match. An ad matches only when all its cards match. **Fields:** - `channel` [`MediaChannel`](https://help.brandmachine.shop/api-enums/#mediachannel): The ad's channel, e.g. GOOGLE. - `format` `String`: Format slug, e.g. stories-9x16. - `placement` `String`: Catalog unit slug, e.g. stories. - `ratio` `String`: Delivered ratio, e.g. 4:5. - `source` `String`: Source handle, e.g. look-1. --- ## MediaPlanOperation One amendment. Without a filter, SET_TREATMENT and SET_ASSETS change the plan's default, and SET_APPROVAL reaches every ad; with one, each matched ad's own. **Fields:** - `approved` `Boolean`: SET_APPROVAL, required: true approves the matched ads that are ready and notes the rest with the reason; false un-approves every matched ad. - `assets` [`[MediaPlanAssetOperand!]`](https://help.brandmachine.shop/api-input-types/#mediaplanassetoperand): SET_ASSETS: the logo set in order; null clears (none for the plan, inherit for an ad); empty means no logos. Required for SET_ASSETS: an operation without it is refused rather than read as a clear. - `channel` [`MediaChannel`](https://help.brandmachine.shop/api-enums/#mediachannel): ADD_PLACEMENT: add every unit of this channel instead of one placement. Units already in the plan come back as notes. - `discardWork` `Boolean`: REMOVE_CARDS: remove cards even when that loses a person's work (approval, edited or approved copy, a hand-adjusted layout, exported files). Without it such a removal is refused with a message starting "Operation N: Removing these cards would lose work:" that lists the work per ad. Ask the person before sending it. - `filter` [`MediaPlanCardFilter`](https://help.brandmachine.shop/api-input-types/#mediaplancardfilter) - `locales` `[String!]`: SET_LOCALES: the plan's languages as BCP-47 tags, the first being the main one. - `op` [`MediaPlanOperationKind!`](https://help.brandmachine.shop/api-enums/#mediaplanoperationkind) **required** - `placement` `String`: ADD_PLACEMENT: the catalog unit slug. Give this or channel, not both. - `source` `String`: SET_SOURCE: the source handle the matched cards should use. - `sources` `[String!]`: ADD_PLACEMENT: source handles to fan in; absent means all. An empty list is refused. - `treatment` `String`: SET_TREATMENT: treatment slug; null clears (plain for the plan, inherit for an ad). Required for SET_TREATMENT: an operation without it is refused rather than read as a clear. --- ## PatternRevisionInputArg One labelled reference passed by the agent into generatePatternRevision. Snapshotted onto the resulting revision for reproducibility. **Fields:** - `imageKey` `String!` **required** - `label` `String!` **required** --- ## PlanCampaignItemInput A draft CampaignImage to create — grouped products with scene settings **Fields:** - `aspectRatio` [`AspectRatio`](https://help.brandmachine.shop/api-enums/#aspectratio): Frame of this look's render. Absent renders 1:1. A full materializePlan recreates every draft, so re-send each look's ratio on a replan. - `fashionModelRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `products` [`[ProductGroupInput!]!`](https://help.brandmachine.shop/api-input-types/#productgroupinput) **required** - `sceneInstructions` `String` - `shootingLocationRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `title` `String` - `wardrobeItemIds` [`[UUID!]`](https://help.brandmachine.shop/api-scalars/#uuid): Wardrobe articles this look is completed with, by id. One photograph per article on this arc. --- ## PlanStudioItemInput A draft ProductStudio to create — grouped products with perspectives **Fields:** - `fashionModelRevisionId` [`UUID!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `perspectiveIds` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `products` [`[ProductGroupInput!]!`](https://help.brandmachine.shop/api-input-types/#productgroupinput) **required** - `stylingNotes` `String` - `wardrobeItemIds` [`[UUID!]`](https://help.brandmachine.shop/api-scalars/#uuid): Wardrobe articles this look is completed with, by id. Unknown or archived ids are rejected rather than dropped. --- ## ProductGroupInput A group of images belonging to the same product, with a canonical title **Fields:** - `heroImageIds` [`[UUID!]`](https://help.brandmachine.shop/api-scalars/#uuid) - `imageIds` [`[UUID!]!`](https://help.brandmachine.shop/api-scalars/#uuid) **required** - `title` `String!` **required** --- ## ShootingLocationResourceInput Input for shooting location revision resources **Fields:** - `extras` `String` - `lighting` `String` - `location` `String` - `mood` `String` --- ## SizeChartAdjustmentInput One base-size change on a design chart. **Fields:** - `deltaHundredths` `Int!` **required**: Change at the base size in hundredths of a cm. 0 removes the row's adjustment. On a HALF row this is half the girth change. - `reason` `String` - `rowKey` `String!` **required**: The row's full key, CODE[@origin]. --- ## ViewCodeMappingInput Maps one of the team's own view tokens ("001") onto the view the renderer understands. **Fields:** - `code` `String!` **required** - `viewType` [`ViewType!`](https://help.brandmachine.shop/api-enums/#viewtype) **required** --- ================================================================================ # Enums Source: https://help.brandmachine.shop/api-enums/ All enumeration types used in the API, in alphabetical order. ## AiModel **Values:** - `NANO_BANANA_2` - `GEMINI_3_PRO` - `GPT_IMAGE_2_5_MEDIUM` - `GPT_IMAGE_2_5_HIGH` - `GPT_IMAGE_2_5_XHIGH` - `GPT_IMAGE_2_5_MAX` - `IMAGINE_ART_1_5_PRO` - `SEEDREAM_4_5` - `IDEOGRAM_V3` - `REVE` --- ## AspectRatio **Values:** - `R1x1` - `R4x3` - `R3x2` - `R16x9` - `R21x9` - `R5x4` - `R4x5` - `R3x4` - `R2x3` - `R9x16` --- ## AuditActorKind **Values:** - `USER` - `STAFF` - `TOKEN` - `SYSTEM` --- ## AuditCategory **Values:** - `ADMINISTRATIVE` - `SPEND` - `DESTRUCTIVE` - `CONFIGURATION` - `OUTWARD` - `STAFF` - `RECOVERABLE` --- ## BatchStatus **Values:** - `DRAFT` - `PLANNING` - `PLANNED` - `EXECUTING` - `COMPLETED` - `FAILED` --- ## BrandAssetSlot **Values:** - `TOP_LEFT` - `TOP_CENTER` - `TOP_RIGHT` - `BOTTOM_LEFT` - `BOTTOM_CENTER` - `BOTTOM_RIGHT` - `BAND_LEFT` - `BAND_CENTER` - `BAND_RIGHT` --- ## BrandAssetVersion **Values:** - `LIGHT_GROUND` - `DARK_GROUND` --- ## CampaignImageResourcePurpose **Values:** - `STYLING` - `MAKEUP_AND_HAIR` --- ## Capability **Values:** - `CONTRIBUTE` - `START_GENERATION` - `MANAGE_LIBRARY` - `RELEASE_MEDIA` - `DELETE_CONTENT` - `MANAGE_MEMBERS` - `MANAGE_BILLING` --- ## ContentGenerationStatus **Values:** - `DRAFT` - `NOT_STARTED` - `IN_QUEUE` - `IN_PROGRESS` - `COMPLETED` - `FAILED` - `CANCELED` - `READY_FOR_REVIEW` - `APPROVED` - `PUBLISHED` --- ## DesignerCollectionStatus **Values:** - `DRAFT` - `ACTIVE` - `FINALIZED` - `ARCHIVED` --- ## DesignerComposerKind **Values:** - `SHAPE` - `RENDER` - `MASKED_EDIT` --- ## DesignerImpliedWorkKind **Values:** - `PERSON_BASE_REBUILD` - `RENDER_REBUILD` - `SHAPE_REBUILD` --- ## DesignerMarkerColor **Values:** - `PURPLE` - `ORANGE` --- ## DesignerMaskedEditLayer **Values:** - `PERSON_BASE` - `SHAPE` --- ## DesignerPersonBaseRegion **Values:** - `UPPER_BODY` - `LOWER_BODY` - `FULL_BODY` --- ## DesignerPersonView **Values:** - `FRONT` - `BACK` --- ## DesignerRenderQuality **Values:** - `FAST` - `QUALITY` --- ## DesignerRevisionStage **Values:** - `DRAWING` --- ## FashionModelGender **Values:** - `male` - `female` - `other` --- ## FileNameConventionProblemCode **Values:** - `NO_TEMPLATES` - `MALFORMED_PATTERN` - `PATTERN_HAS_NO_FIELDS` - `PATTERN_CARRIES_EXTENSION` - `REPEATED_FIELD` - `ADJACENT_FIELDS` - `DUPLICATE_TEMPLATE` - `MULTIPLE_VIEW_FIELDS` - `NO_IDENTITY_FIELDS` - `RULE_FOR_UNKNOWN_FIELD` - `MALFORMED_EXPORT_PATTERN` - `EXPORT_PATTERN_HAS_EXTENSION` - `EXPORT_FIELD_NEVER_CAPTURED` - `EXPORT_PATTERN_USES_INPUT_VIEW` - `VIEW_CODE_NOT_MAPPED` --- ## FileNameFieldConstraintKind **Values:** - `DIGITS` - `ONE_OF` - `ANY` --- ## FileNameFieldRole **Values:** - `IDENTITY` - `VIEW` - `OTHER` --- ## GptImage25Quality **Values:** - `MEDIUM` - `HIGH` - `XHIGH` - `MAX` --- ## GptImage2Quality **Values:** - `MEDIUM` - `HIGH` --- ## HeadlineBandPosition **Values:** - `TOP` - `BOTTOM` --- ## HeadlineGround **Values:** - `PLAIN` - `SOLID_BAND` - `PANEL` --- ## HeadlineSurface **Values:** - `BAND` - `PHOTO` --- ## ImageCopyLines **Values:** - `HEADLINE` - `HEADLINE_SUBHEADLINE` - `HEADLINE_SUBHEADLINE_CTA` --- ## InspirationCategory **Values:** - `MODEL` - `LOCATION` - `MOOD` - `ANGLE` - `STYLING` --- ## InspirationScanStatus **Values:** - `IDLE` - `SCANNING` - `DONE` - `FAILED` --- ## MarketplacePreset **Values:** - `BREUNINGER` - `BREUNINGER_REST` - `BREUNINGER_SPORT` --- ## MediaAdaptationMethod **Values:** - `USE_AS_IS` - `CROP` - `REFRAME` - `RECOMPOSE` --- ## MediaChannel **Values:** - `META` - `GOOGLE` - `EMAIL` - `WEB` - `LINKEDIN` - `PINTEREST` --- ## MediaCopyOrigin **Values:** - `GENERATED` - `EDITED` --- ## MediaCopySlot **Values:** - `HEADLINE` - `PRIMARY_TEXT` - `DESCRIPTION` - `CTA` - `IMAGE_HEADLINE` - `IMAGE_SUBHEADLINE` - `IMAGE_CTA` --- ## MediaLayoutState **Values:** - `PENDING` - `SCORED` - `NO_VIABLE_ZONE` - `AWAITING_RENDER` - `SOURCE_UNREADABLE` - `FAILED` --- ## MediaLayoutSuggestion **Values:** - `LOGO_NEEDS_DARK_GROUND_VERSION` --- ## MediaLayoutWarning **Values:** - `COVERS_FACE` - `OUTSIDE_SAFE_AREA` - `BAND_OUTSIDE_SAFE_AREA` - `LOGO_COVERS_FACE` - `LOGO_OVERLAPS_HEADLINE` - `LOGO_DOES_NOT_FIT` --- ## MediaPlanOperationKind **Values:** - `SET_SOURCE` - `REMOVE_CARDS` - `ADD_PLACEMENT` - `SET_TREATMENT` - `SET_ASSETS` - `SET_LOCALES` - `SET_APPROVAL` --- ## MediaPlanRenderFailureCode **Values:** - `INVALID_JOB` - `FONT_NOT_LOADED` - `GLYPHS_MISSING` - `TEXT_DID_NOT_FIT` - `SOURCE_UNREADABLE` - `ASSET_UNREADABLE` - `BYTE_BUDGET_EXCEEDED` - `RENDER_ERROR` - `NOT_LAID_OUT` - `COPY_MISSING` - `TIMED_OUT` --- ## MediaPlanRenderStatus **Values:** - `QUEUED` - `RENDERED` - `FAILED` --- ## MediaPlanRenderWarning **Values:** - `NEAR_FLOOR` - `HYPHENATED` - `FIT_NOT_STRICT` - `HYPHENATION_UNAVAILABLE` --- ## MemberStatus **Values:** - `ACTIVE` - `REMOVED` - `INVITED` --- ## OutputImageType **Values:** - `INITIAL_GENERATION` - `HEX_BACKGROUND_CORRECTED` - `USER_EDITED` - `BREUNINGER_FRAMED` - `SPEC_APPLIED` --- ## OutputSlot **Values:** - `SHAPE_FRONT` - `SHAPE_BACK` - `FRONT` - `BACK` - `FRONT_FLAT` - `BACK_FLAT` - `PERSON_FRONT` - `PERSON_BACK` --- ## OutputUnit **Values:** - `image` - `video` - `second` --- ## PerspectivePresetKey **Values:** - `BREUNINGER_FRONT` - `BREUNINGER_BACK` - `BREUNINGER_DETAIL` - `BREUNINGER_REST_FRONT` - `BREUNINGER_REST_BACK` - `BREUNINGER_REST_DETAIL` - `BREUNINGER_REST_FREISTELLER` - `BREUNINGER_SPORT_FRONT` - `BREUNINGER_SPORT_BACK` - `BREUNINGER_SPORT_DETAIL` - `BREUNINGER_SPORT_FREISTELLER` --- ## PomConvention **Values:** - `HALF` - `FULL` --- ## PricingTier **Values:** - `generation` - `release` --- ## ProductStudioExportNameUnavailableReason **Values:** - `NO_EXPORT_PATTERN` - `PERSPECTIVE_HAS_NO_EXPORT_CODE` - `NO_READABLE_FILE_NAMES` - `HEROES_DISAGREE` - `INPUTS_DISAGREE_WITHOUT_HERO` - `PATTERN_FIELD_MISSING` --- ## Role **Values:** - `VIEWER` - `MEMBER` - `CREATOR` - `APPROVER` - `ADMIN` - `OWNER` --- ## ShootType **Values:** - `PRODUCT_STUDIO` - `CAMPAIGN` --- ## SizeChartMatchOutcome **Values:** - `PENDING` - `PICKED` - `NONE_FIT` --- ## SizeChartNoneFitReason **Values:** - `FIT_NOT_IN_LIBRARY` - `WRONG_GARMENT_TYPE` - `NECK_DIFFERS` - `SLEEVE_DIFFERS` --- ## SizeChartProvenance **Values:** - `STANDARD_SPEC` - `DESIGNER_STATED` - `MODEL_PROPOSED` --- ## SizeChartSource **Values:** - `UPLOADED` - `DERIVED` --- ## SizeChartToleranceState **Values:** - `NONE` - `PARSED` - `UNREADABLE` --- ## StudioReviewState **Values:** - `TODO` - `IN_PROGRESS` - `DONE` --- ## TaskType **Values:** - `PRODUCT_STUDIO` - `CAMPAIGN_IMAGE` - `PRODUCT_VIDEO` - `SHOOTING_LOCATION` - `FASHION_MODEL_CASTING` - `FASHION_MODEL_REVISION` - `FASHION_MODEL_SET_CARD` - `GROUP_SHOT_RENDER` - `GROUP_SHOT_COMPOSITE` - `DESIGNER_REVISION_SLOT` - `PATTERN_REVISION` - `DESIGNER_MEASUREMENT_ANNOTATION` - `DESIGNER_INSTANCE_PERSON` - `DESIGNER_FABRIC` - `PRODUCT_STUDIO_EVALUATION` - `MEDIA_PLAN_SEGMENTATION` - `MEDIA_PLAN_EXPORT` - `MEDIA_PLAN_COPY` --- ## VideoModelType **Values:** - `veo2` - `kling` --- ## ViewType **Values:** - `front` - `back` - `other` - `cropped` --- ## WardrobeCategory **Values:** - `FOOTWEAR` - `TOP` - `BOTTOM` - `OUTERWEAR` - `BAG` - `HEADWEAR` - `JEWELRY` - `OTHER` --- ## WorkflowRunStatus **Values:** - `RUNNING` - `WAITING_FOR_TASKS` - `COMPLETED` - `FAILED` - `STOPPED` --- ================================================================================ # Scalars Source: https://help.brandmachine.shop/api-scalars/ Custom scalar types defined in the API. The GraphQL built-in scalars `String`, `Int`, `Float`, `Boolean` and `ID` behave as the GraphQL specification describes. ## Date A point in time as an ISO 8601 string in UTC, for example `2026-03-25T13:21:16Z`. Inputs must use the same format, without fractional seconds. --- ## UUID A UUID string, for example `881CB316-F30B-48D6-A928-59CD44421CD8`. The API returns uppercase and accepts either case. --- ================================================================================