InstantClips

v1.12.0
ai.instantclips/instantclips Checked 2 days ago Published 6 days ago

Create 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.

ParameterTypeDescription
brand_idstringOnly this brand's products.
limitintegerHow many, newest first. Default 20.
querystringMatches 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.

ParameterTypeDescription
url *stringThe product page URL the user gave you or agreed to, e.g. https://store.example.com/products/wool-runner
brand_idstringOnly 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.

ParameterTypeDescription
name *stringProduct name.
brand_idstringOnly when the user said which brand this is (`list_brands`). Without it the product waits on the user's choice.
creator_notestringOptional. The user's idea for the ad, in their words: the direction is written from it.
descriptionstringOptional. What the product is, in a sentence or two — feeds the direction draft.
image_pathsarrayPaths 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_urlsarrayPublic 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.

ParameterTypeDescription
product_id *stringThe 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.

ParameterTypeDescription
product_id *stringThe product waiting on a brand decision.
namestringThe brand's name, overriding the detected one. Required for a product made from photos.
target_marketstringOptional. Who it sells to, as "Region, Language" (e.g. "US, English"): every video's market and spoken language.
voicestringOptional. 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.

ParameterTypeDescription
brand_id *stringThe brand to attach it to, from `list_brands`.
product_id *stringThe product waiting on a brand decision.
replace_identitybooleanOverwrite 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.

ParameterTypeDescription
brand_id *stringThe brand's id, from list_brands.
namestringThe brand's name.
target_marketstringFree text, e.g. "US/North America" or "Japan".
voicestringHow 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.

ParameterTypeDescription
product_id *stringThe product's id.
add_image_pathsarrayPaths 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_urlsarrayHosted photos to add, in order: 8 MB each, 9 per call. Only URLs the user gave you or agreed to.
descriptionstringWhat the product is; the draft reads it. Empty clears it.
link_urlstringThe product link posted with the video. http(s) only; empty clears it.
namestringThe product's name.
pricestringFree text as the store shows it, e.g. "$29" or "¥3,980". Empty clears it.
remove_image_idsarrayimage_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`.

ParameterTypeDescription
product_id *stringThe product's id.
creative_directionstringThe full plan, max 6000 characters; edit the drafted one. Only its scenes make the video. Empty clears it.
creator_notestringOne of ideas word for word, or the user's words (max 4000). Rewrites the direction unless creative_direction comes too.
duration_secondsintegerLength in seconds, priced per second; the text never sets it. Above the plan's ceiling (free: 20) it saves that.
ratiostringAspect ratio; 9:16 suits social feeds. A change rewrites an existing direction, unless creative_direction comes too.
resolutionstringResolution is limited by this account's entitlement. A higher pick saves the account's ceiling; adjustments says so.
selected_image_idsarrayPhotos to render, in order, by get_product's image_id: usable ones, at most 9, held_back ones too. Empty: the default.
target_marketstringFree 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`.

ParameterTypeDescription
product_id *stringThe 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.

ParameterTypeDescription
expected_credit_cost *integerThe cost you told the user, from get_product's video_direction.credit_cost. A stale one is refused, uncharged.
product_id *stringThe 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.

ParameterTypeDescription
video_request_id *stringReturned 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.

ParameterTypeDescription
reaction *string
video_request_id *stringThe finished video, from get_video or get_product's videos.
commentstringThe user's own words, as they said them. Empty clears it.
issuesarrayWhat 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.

ParameterTypeDescription
message *stringWhat happened, what was expected, and the tool and ids involved; leave out personal details it doesn't need.