# Static Ads Lab: Meta Image Ads API for AI Agents and Apps

> Let your AI agents create production-ready Meta image ads. Simple APIs for editable Meta image ads your customers will love. Works with any Shopify brand.

## APIs to create production-ready Meta image ads.

Let your AI Agent build Meta image ads your customers will love. Everything just works, out of the box.

- Simple APIs
- Fully Editable Ads
- Figma-Compatible

The engine behind [StaticAds.ai](https://www.staticads.ai).

Build ads for a campaign (returns `202 Accepted`):

```js
const res = await fetch(`${API}/v1/campaigns/${campaignId}/ads`, {
  method: "POST",
  headers: {
    "X-API-Key": API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    ads: references.map((reference) => ({
      product_id: "prod_9c1e2a7b5d3f4860",
      audience_id: "aud_2d7f4a9c1e5b3086",
      reference: { swipe_file_id: reference.id },
    })),
  }),
});

// Then poll GET /v1/batches/{batch_id} until the ads are ready
```

## Goodbye sloppy, hallucinated ads.

If you've built your own ad generator, you know how painful the edge cases get. We obsess over the details so you don't have to.

- **Product hallucinations in images.** Hundreds of hours a month go into keeping product imagery accurate.
- **AI sloppy copywriting.** Our copy model is trained by real copywriters.
- **Edge cases across industries.** One API, tuned for most Shopify industries.

## Every layer is editable, by your agents and your customers.

Editable layers means faster, cheaper, and more precise editing, without blowing up the whole ad.

- **For AI Agents.** Edit layers in English, or with code.
- **For Humans.** Make edits in English, or by hand with the embeddable editor.

Ads can also be imported into Figma: [Figma plugin](https://www.figma.com/community/plugin/1520178578718452654/static-ads-lab).

## Everything you need to launch today.

### APIs

- **Meta Image Ads API.** Turn products into on-brand, editable Meta image ads, with a simple API.
- **Brand Kit Import API.** Pull a brand's logo, colors and fonts straight from its website.
- **Products Import API.** Import any Shopify product from its URL, with every variant and photo.
- **Ad Edits API.** Change any layer of any ad, in plain English or with code.

### Tools

- **Canvas Editor.** A white-label embeddable editor your customers can use to edit any ad.
- **MCP Server.** Connect your own agent to build, read and edit ads, layer by layer.
- **Figma Plugin.** Open any ad in Figma with every layer intact, and sync changes back.

## Book a demo

We'll build ads for one of your customers live, walk through the APIs and quote pricing for your usage. [Book a demo](https://www.staticadslab.com/#book-a-call).

### Pricing

- Usage-based pricing
- Hands-on help with your integration and workflows
- Volume discounts available

## For AI agents

- [llms.txt](https://www.staticadslab.com/llms.txt): how to use the API, in one page.
- [Documentation](https://www.staticadslab.com/docs)
