StarModel 邀请活动
← 返回 Skill 列表
extension
分类: 营销与增长API Key 暂未确认

blitzreels-carousels

通过BlitzReels API创建TikTok/Instagram轮播项目(静态幻灯片+文本叠加)

person作者: jakexiaohubgithub

BlitzReels Carousels

A carousel is a board: an ordered row of slides whose elements carry stable IDs. Every surface reads the same board summary and applies the same operation list.

| Action | MCP | CLI | REST | | --- | --- | --- | --- | | Write a deck from a prompt | carousels_board_generate | carousels generate | POST /carousels/{id}/board/generate | | Read slides and element IDs | carousels_board_get | carousels board | GET /carousels/{id}/board | | List templates and slots | carousels_board_templates | carousels templates | GET /carousels/board/templates | | Check operations, save nothing | carousels_board_edit dryRun: true | carousels validate | PATCH …/board dry_run: true | | Apply operations | carousels_board_edit | carousels edit | PATCH /carousels/{id}/board | | AI photo for a slide | carousels_board_image | carousels photo | POST …/board/image | | Render slide images | carousels_preview | carousels preview | POST /carousels/{id}/preview | | List or read saved versions | carousels_board_versions | carousels versions | GET …/board/versions[/{versionId}] | | Restore a saved version | carousels_board_version_restore | carousels restore-version | POST …/versions/{versionId}/restore |

Workflow

  1. Start. For a new deck, create a carousel project, then generate into it with a prompt, goal (grow, convert, both), slide count, style, withImages and an idempotency key. Generation takes about a minute and spends credits; a retry with the same key replays the first result, and a retry while it still runs is a conflict to wait out. For an existing deck, take its project ID. Done when you hold the project ID.
  2. Read. Get the board summary: each slide's id and its elements in paint order with id, type, parentId, text, src, box (slide pixels) and main style values, plus themes (brand and saved). Done when every slide and element you will change is named by ID from this read.
  3. Batch. Write every change as one ordered operation list; shapes are in board operations. Add slides with insertTemplateSlide and slot values; restyle the deck with applyTheme. Done when the list covers the whole request.
  4. Validate. Send the batch as a dry run. A failure names the operation (Operation 3 (moveSlide): …) and lists current slide IDs or template slots; fix that operation and validate again. Done when the dry run succeeds and changedSlides shows the intended text and boxes.
  5. Apply. Send the same batch with a new idempotency key. Operations apply to the latest board, so a person editing in the app keeps their changes; pass expectedRevision only when the batch depends on content you read and must stop if the board moved (conflict: exit 5, HTTP 409). A retry with the same key replays the receipt. Done when the receipt shows revision = baseRevision + 1.
  6. Look. Render previews of every changed slide and inspect each image for clipped text, overlaps and unreadable contrast; previews spend the workspace preview budget. Photos still generating appear in pendingAssetIds; render after they finish. Done when every changed slide has been seen at full size.
  7. Hand off. Export carousel_zip through project export, or schedule through publishing tools when asked. Share editorUrl for hands-on edits; the open editor shows agent changes live.

Every save is kept as a version (newest 50; saves by one author and source within three minutes merge). To take back a change, list the versions, read the one before it, and restore it; the restore is itself a new version.

Board carousels answer only to these board operations; slot-document commands (carousels get, patch-slide, patch-document, compile onto an existing deck) return an error that names them.

Content

  • Keep the person's voice and claims. Use only proof they supplied: real numbers, real quotes.
  • One idea per slide: hook first, ordered value, a clear final action.

Completion

Return the project ID, final revision, slide count, editorUrl and the preview images you inspected. The work is incomplete until step 6 has covered every changed slide.