Use case

AI video API for ecommerce product videos

A product video API takes a product photo and a prompt and returns a short clip you can put on a listing page, an ad or a social post. You send the photo as the first frame, describe the motion, and pay per clip or per second.

Prices checked Nov 26, 2026

What you can build

  • A button in your catalog admin that makes a 6 to 8 second clip from each product's main photo
  • A nightly job that fills in videos for new SKUs
  • Variants for different channels: a 16:9 clip for the product page and a 9:16 clip for Reels and Shorts

Models to start with

These are starting points to test on your own inputs, chosen by price and listed capabilities. We publish no quality or speed benchmarks.

TaskModelPriceWhy start here
Photo to video clipVeo 3.1$0.325 per video (Fast 1080p)Takes a first-frame image, bills per clip, and offers 4, 6 and 8 second lengths, so a catalog job has a fixed price per product.
Cheaper bulk clipsWan 3.0$0.08 per second (720p)A low per-second price at 720p, which suits long-tail SKUs where a cheaper clip is enough.
Clean the source photo firstGPT Image 2$0.05 per image (2K)Image editing with up to 10 reference images, for removing a background or fixing lighting before the video step.

Worked cost example

500 products, one 8-second 1080p clip each, plus one image clean-up each. One Veo 3.1 Fast 1080p clip and one GPT Image 2 2K edit per product. No retries counted; add 20 to 30 percent while you tune prompts.

ItemModel and tierQuantityCost
Video clipsVeo 3.1, Fast 1080p500 clips$162.50
Image clean-upGPT Image 2, 2K500 images$25.00
Total$187.50

Prices checked 2026-11-26, in dollars at 100 credits = $1. Failed tasks are not charged. Put your own numbers into the media cost calculator or the LLM cost calculator.

How to build it

  1. Pick one product and run the same prompt on two models in the playground.
  2. Fix the prompt template (camera move, lighting, what must not change).
  3. Loop over your catalog with POST /tasks and a callback_url, and store the returned file URL.
  4. Watch failed tasks in the logs: they cost nothing, so retry them with a changed prompt.

A request to Veo 3.1 looks like this. Same key and endpoint for every model; see the API docs for the full reference.

curl https://api.tapmodels.com/v1/tasks \
  -H "Authorization: Bearer $TAPMODELS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "veo-3-1",
    "input": {
      "mode": "Fast",
      "prompt": "A matte white ceramic mug on grey stone, soft window light",
      "duration": "4",
      "resolution": "720p",
      "aspect_ratio": "16:9",
      "audio": true
    },
    "callback_url": "https://your.app/hooks/tapmodels"
  }'

Frequently asked questions

Can the API animate my own product photo?

Yes, on the models that list Image to Video: send the photo as the first frame together with a prompt that describes the motion. Check the model page for the exact parameter.

How do I keep the product looking the same?

Prompt for camera motion and lighting only, keep the first frame as the reference, and review a sample before you run the whole catalog. We publish no accuracy numbers, so test your own products.

What does a failed clip cost?

Nothing. Credits are held on submit and charged only when the task succeeds.