remix_from_swipe_file
Remix an Inspiration reference into on-brand draft creatives: kicks off
generation of count images seeded by the reference (its extracted angle
- copy + curator notes) plus this org’s brand grounding, each stored as a draft AdCreative reviewable in the Library.
BILLS image-generation credits per draft (same rate as generate_ad_image). Runs ASYNCHRONOUSLY — this returns immediately with a PENDING job; each draft takes ~10-60s and appears in the Library (lifecycle=draft) when ready. Tell the user the drafts are being generated and will show up in the Library shortly; do not block waiting on them.
Args: item_id: The swipe-file item to remix (needs a stored image) guidance: Optional steering text woven into the specs count: Draft variants to generate (1-10, default 1) platform: Optional platform hint for the drafts (default: the item’s, when known) request_key: Optional key; a retry with the same key returns the same remix ad_account_id: Optional account the drafts are for (grounding scope)
Returns: A dictionary containing:
- job: the creative job (id, kind, status, requested_count, outputs); poll get_creative_job with its id
- message: human-facing note about where the drafts will appear
- source: provenance tag
Parameters#
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
item_id | string | yes | Swipe-file item id (from list_swipe_file). | |
guidance | string | no | Optional steering — offer, product, audience, tone to emphasize. | |
count | integer | no | 1 | Draft variants to generate (1-10, default 1). |
platform | string | no | Optional platform the drafts are meant for (‘meta’, ‘google’, …); defaults to the item’s own when known. The ad plan that uses a draft chooses where it runs. | |
request_key | string | no | Optional key you choose for this remix; reuse it when retrying the same remix so it is not started twice. | |
ad_account_id | string | no | Optional ad account the drafts are for: grounds them on that account’s winning angles rather than the whole platform’s. |
Generated by generate_mcp_docs from the server tool. Add to this page below this block; the block is rewritten on every run.