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.
| Task | Model | Price | Why start here |
|---|---|---|---|
| Photo to video clip | Veo 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 clips | Wan 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 first | GPT 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.
| Item | Model and tier | Quantity | Cost |
|---|---|---|---|
| Video clips | Veo 3.1, Fast 1080p | 500 clips | $162.50 |
| Image clean-up | GPT Image 2, 2K | 500 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
- Pick one product and run the same prompt on two models in the playground.
- Fix the prompt template (camera move, lighting, what must not change).
- Loop over your catalog with POST /tasks and a callback_url, and store the returned file URL.
- 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.
Keep reading
- Veo API pricingWhat Veo costs per unit, with a worked example
- Wan API pricingWhat Wan costs per unit, with a worked example
- Image to video APIEvery model we sell for this, ranked by price
- n8n Veo 3 and Kling: call a video model with the HTTP Request node
- AI image and video API for ad creative
- AI API for social media content: images, video and voice