InstantClips
v1.12.0Create branded vertical video ads from ecommerce product URLs or product photos.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_brands List the account's brands
The account's brands, the plan's brand limit, and `account`: `credits_remaining` and `watermarked: true` on a free account. Call it before answering `brand_decision_required`, so the user chooses a brand by name.
list_products List the account's products
The account's products, newest first, including ones made on the website. Use it to find a product_id you don't have, then `get_product`. Carries `account`, as `list_brands` does.
| Parameter | Type | Description |
|---|---|---|
brand_id | string | Only this brand's products. |
limit | integer | How many, newest first. Default 20. |
query | string | Matches the product's name or source URL, case-insensitively. |
import_product_from_url Import a product from its page URL
Start a product from its page URL; returns at once, so poll `get_product`. It detects the brand, and an external AI service reads the page into facts and ideas. A store locked to another account is refused and reported to support.
| Parameter | Type | Description |
|---|---|---|
url * | string | The product page URL the user gave you or agreed to, e.g. https://store.example.com/products/wool-runner |
brand_id | string | Only when the user said which brand this is (`list_brands`). Without it the import matches the storefront, or asks. |
create_product_from_images Create a product from photos
Start a product from photos when it has no page (`import_product_from_url` when it does). Photos carry no brand: ask the user which, or pass `brand_id`. An external AI service then reads the photos; poll `get_product`. Through this adapter, `image_paths` (files on this machine) replaces `image_urls`; the files are uploaded directly. Send one or the other, not both.
| Parameter | Type | Description |
|---|---|---|
name * | string | Product name. |
brand_id | string | Only when the user said which brand this is (`list_brands`). Without it the product waits on the user's choice. |
creator_note | string | Optional. The user's idea for the ad, in their words: the direction is written from it. |
description | string | Optional. What the product is, in a sentence or two — feeds the direction draft. |
image_paths | array | Paths to photos on this machine, up to 9, 8 MB each. This adapter uploads the files itself; use it instead of image_urls for local photos, never with them. |
image_urls | array | Public photo URLs, best first: 8 MB each, 9 per render. Only URLs the user gave you or agreed to. |
get_product Get a product and its video direction
Read a product: import status, brand decision, photos, the video direction with its settings and `credit_cost`, and its videos. Poll every 20-30 s while it imports or drafts. `next_step` says what to do now.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | The product's id. |
create_brand Create a brand for a product
Create a brand for a product waiting on `brand_decision_required` and attach it; then offer its ideas. Ask the user first: it takes a brand slot. A photos product needs `name` from the user, and the voice and market they give.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | The product waiting on a brand decision. |
name | string | The brand's name, overriding the detected one. Required for a product made from photos. |
target_market | string | Optional. Who it sells to, as "Region, Language" (e.g. "US, English"): every video's market and spoken language. |
voice | string | Optional. How the brand talks, in a sentence or two — the tone every video direction is drafted in. |
set_product_brand Attach a product to an existing brand
Attach a product waiting on `brand_decision_required` to an existing brand (`list_brands`), once the user confirms it belongs there; then offer its ideas (`get_product`). `replace_identity` rewrites that brand for every product on it.
| Parameter | Type | Description |
|---|---|---|
brand_id * | string | The brand to attach it to, from `list_brands`. |
product_id * | string | The product waiting on a brand decision. |
replace_identity | boolean | Overwrite the brand's voice, market, logo and colors with this product's detected ones. Confirm with the user. |
update_brand Edit a brand's identity
Edit a brand's `name`, `voice` or `target_market`; only the fields you pass change. Future drafts use them; `redraft_video_direction` rewrites a direction already drafted.
| Parameter | Type | Description |
|---|---|---|
brand_id * | string | The brand's id, from list_brands. |
name | string | The brand's name. |
target_market | string | Free text, e.g. "US/North America" or "Japan". |
voice | string | How the brand sounds, in a few sentences. |
update_product Edit a product's facts, link and photos
Edit a product's name, description, price and posted `link_url`, and add or remove photos; only the fields you pass change. The direction is drafted from these facts, so `redraft_video_direction` after changing them. Through this adapter, `add_image_paths` (files on this machine) adds photos; the files are uploaded directly.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | The product's id. |
add_image_paths | array | Paths to photos on this machine to add, up to 9, 8 MB each. This adapter uploads the files itself. Send it with product_id alone; other fields go in a separate call. |
add_image_urls | array | Hosted photos to add, in order: 8 MB each, 9 per call. Only URLs the user gave you or agreed to. |
description | string | What the product is; the draft reads it. Empty clears it. |
link_url | string | The product link posted with the video. http(s) only; empty clears it. |
name | string | The product's name. |
price | string | Free text as the store shows it, e.g. "$29" or "¥3,980". Empty clears it. |
remove_image_ids | array | image_id values from get_product's images to delete. |
update_video_direction Edit the video direction and render settings
Edit the next video's `creative_direction`, its idea (`creator_note`), settings and photos; only the fields you pass change. Settings are parameters, not direction text. A new idea, length or ratio rewrites the direction: poll `get_product`.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | The product's id. |
creative_direction | string | The full plan, max 6000 characters; edit the drafted one. Only its scenes make the video. Empty clears it. |
creator_note | string | One of ideas word for word, or the user's words (max 4000). Rewrites the direction unless creative_direction comes too. |
duration_seconds | integer | Length in seconds, priced per second; the text never sets it. Above the plan's ceiling (free: 20) it saves that. |
ratio | string | Aspect ratio; 9:16 suits social feeds. A change rewrites an existing direction, unless creative_direction comes too. |
resolution | string | Resolution is limited by this account's entitlement. A higher pick saves the account's ceiling; adjustments says so. |
selected_image_ids | array | Photos to render, in order, by get_product's image_id: usable ones, at most 9, held_back ones too. Empty: the default. |
target_market | string | Free text, e.g. "US/North America". Sets the spoken language, and is saved on the brand for its other products. |
redraft_video_direction Draft a new creative direction
Draft the next video's direction through an external AI service: with none and no idea yet, from one of the product's ideas we choose; else another take in its format. It overwrites edits: confirm first. Poll `get_product`.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | The product's id. |
generate_video Generate the video (spends credits)
Render the video. SPENDS THE USER'S CREDITS: ask first, with the direction, settings, cost and any watermark, and pass the cost as `expected_credit_cost`. External services render it; it gets a public share page and may send account email.
| Parameter | Type | Description |
|---|---|---|
expected_credit_cost * | integer | The cost you told the user, from get_product's video_direction.credit_cost. A stale one is refused, uncharged. |
product_id * | string | The product to render. Its current direction and settings are used as-is. |
get_video Check a video's render status
Check one video's render. `next_step` says what to tell the user and when to poll again; follow it, since it knows how long this render has run. Mention a watermark only when `watermarked` appears. Done or failed: `launched_with` is its plan.
| Parameter | Type | Description |
|---|---|---|
video_request_id * | string | Returned by generate_video, and listed under `videos` in get_product. |
rate_video Rate a finished video
Record the user's own verdict on a finished video they have watched: `reaction`, and optional `issues` and `comment` in their words. Never rate for them, and ask at most once. A second call replaces the rating.
| Parameter | Type | Description |
|---|---|---|
reaction * | string | |
video_request_id * | string | The finished video, from get_video or get_product's videos. |
comment | string | The user's own words, as they said them. Empty clears it. |
issues | array | What went wrong: the hook or script, voice or audio, the product not shown clearly, pacing and cuts, or a visual glitch. |
send_feedback Tell the InstantClips team about a problem with these tools
Send the InstantClips team a note about these tools: one that failed or surprised, or something the user wanted that no tool does. Show the user the note and send it only with their OK. Not for support or ratings.
| Parameter | Type | Description |
|---|---|---|
message * | string | What happened, what was expected, and the tool and ids involved; leave out personal details it doesn't need. |