generate_video
Make a product video from a prompt and up to 30 reference images.
writeSellerSheet
Returns a job receipt — poll check_video_job every 30 s until status is 'done', then read video_url. Charged once the video service accepts the job, at the option's price (list_video_options); a failed or cancelled video is refunded in full, and a request the service refuses costs nothing. HTTP 402 insufficient_credits when the balance is below the price — top up at sellersheetai.com/billing.
Call it
In an AI client (MCP)
{
"name": "generate_video",
"arguments": {
"store": "myStore-US",
"sku": "<sku>",
"prompt": "<prompt>",
"option_id": "<option_id>",
"seconds": 1,
"resolution": "<resolution>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/generate_video \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"store":"myStore-US","sku":"<sku>","prompt":"<prompt>","option_id":"<option_id>","seconds":1,"resolution":"<resolution>"}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
storerequired | string | the store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim. Required. |
skurequired | string | the SKU the video is for. Required. |
promptrequired | string | what the video shows: the subject, its action and the camera movement. |
option_idrequired | string | from list_video_options; required. It decides the model and the price. |
secondsrequired | integer | the video's length; required. Use a length the option's description allows; an option billed per second is charged for each second asked. |
resolutionrequired | string | required. For an option that lists resolutions, one of them (its price); otherwise one its description states, e.g. '720p'. |
size | string | a pixel size, only for options whose description asks for one (e.g. '1376x768'); it must agree with resolution. When given, the size alone is sent and resolution only sets the price. |
aspect_ratio | string | e.g. '16:9' or '9:16', where the option supports it. |
images | object[] | reference images as public URLs (a cdn_url from generate_image or edit_image works), up to the number the option's description allows. |
Result
Every tool answers {notification, data, human_action}; data carries:
data.job_id— the receipt — poll check_video_job.data.credits.charged / data.credits.balance— this video's price and what is left.
Gotchas
- Never resubmit a 'processing' job: a resubmit is a new, charged video. Re-run only on status 'error'.