---
name: bloop-scenes
description: Create Bloop skits via the Scenes HTTP API or MCP. Use when an agent should generate chat, lock-screen, or email-story props, import scene JSON, or export PNG/video.
---

# Bloop scenes for agents

Base URL: `https://usebloop.studio`

Site map for agents: https://usebloop.studio/llms.txt

## Prefer HTTP

1. Build a `bloop-scene.v1` JSON document.
   - Schema: https://usebloop.studio/schemas/bloop-scene.v1.json
   - Docs: https://usebloop.studio/docs/agent-api.md
2. `POST https://usebloop.studio/api/scenes` with that JSON (`Content-Type: application/json`).
3. Open `studioUrl` so the creator can edit, or open `exportPngUrl` / `exportVideoUrl` to auto-export.

## Templates

`imessage` | `whatsapp` | `social` | `lockscreen` | `email`

## MCP tools (Cursor / Claude Desktop)

| Tool | What it does |
|------|----------------|
| `create_skit` | Create a scene → returns studio + export URLs |
| `get_skit` | Fetch a scene by id |
| `export_skit` | Build a Studio deep-link that auto-exports PNG or video |

Same underlying API as HTTP.

## Minimal iMessage example

```json
{
  "version": 1,
  "template": "imessage",
  "exportMode": "device",
  "imessage": {
    "contactName": "Alex",
    "bubbles": [
      { "type": "received", "text": "we need a skit tonight" },
      { "type": "sent", "text": "on it", "status": "read", "color": "blue" }
    ]
  }
}
```

## Studio deep-links

- `?scene={id}` — load the skit
- `&export=png|video` — auto-download after load
- `&mode=device|screen|bubbles` — export crop
