AI Video Generation API for Eyewear and Sunglasses Brands
An eyewear brand has clean studio photos of a frame in five colorways for a launch next week, but no video, and a shopper scrolling a product page is far more likely to stop on a clip of the frame slowly rotating under studio light — or a lens catching a glint of sunlight — than on a static photo grid. Booking a product videographer for every colorway in a five-way launch costs more than most eyewear brands budget for a single drop, and it has to happen before any clip can go into the launch page or a paid social campaign. Turning existing studio photos into short rotation clips via API answers the "what would this cost per colorway" question before booking a shoot.
Direct answer: GenRelay's video models bill either per second of output or per generation, and a 5-second frame rotation clip costs between $0.05 and $0.30 depending on the model and resolution — low enough to generate a clip for every colorway in a launch rather than reserving video for a single hero frame.
How Much Does a Single Frame Showcase Clip Cost?
A 5-second clip's cost depends entirely on which model and resolution generate it, since per-second models scale with duration while per-generation models charge a flat fee regardless of length. As of September 2026, GenRelay's video pricing: Grok Imagine 1.0 (text-to-video) $0.010/s, Grok Imagine 1.5 (image-to-video) $0.022/s, Veo 3.1 Lite $0.060/s at 720p or $0.120/s at 1080p, and Gemini Omni Flash a flat $0.10 per generation at 720p or $0.15 at 1080p.
| Model | Mode | Billing | 5s clip cost (720p) | Native audio |
|---|---|---|---|---|
| Grok Imagine 1.0 | Text-to-video | Per second | 5 × $0.010 = $0.050 | No |
| Grok Imagine 1.5 | Image-to-video | Per second | 5 × $0.022 = $0.110 | No |
| Veo 3.1 Lite | Image-to-video | Per second | 5 × $0.060 = $0.300 | Yes |
| Gemini Omni Flash | Image-to-video | Flat per generation | $0.10 (720p) | No |
For a studio photo of a frame or a pair of sunglasses with no existing motion footage, image-to-video is the relevant mode — it animates the product photo itself, holding the lens tint and frame color from the source image, rather than generating a scene from a text description alone.
Which Model Fits Eyewear Showcase Clips?
Grok Imagine 1.5's lower per-second rate fits a full-catalog rollout where every colorway or lens tint gets a clip regardless of expected sales volume; Veo 3.1 Lite's native audio is a better fit for a smaller set of hero clips meant for paid social, where an ambient soundtrack or a subtle lens-glint cue adds to the scene rather than playing silently.
Gemini Omni Flash's flat per-generation price becomes cheaper than Grok Imagine 1.5 once a clip runs past roughly 4.5 seconds at 720p, which matters for brands standardizing on a fixed clip length across a catalog rather than varying duration per frame.
How Do I Generate a Rotation Clip From a Frame Photo?
Submit the studio photo with a prompt describing the intended motion and lighting — a slow rotation with a controlled light source reads better than trying to animate ambient motion around a static frame.
import requests
import time
API_KEY = "YOUR_GENRELAY_KEY"
BASE_URL = "https://genrelay.ai/v1"
def submit_job(image_url, prompt, duration=5, model="grok-imagine-1.5"):
r = requests.post(
f"{BASE_URL}/videos/generations",
headers={"Authorization": f"Bearer {API_KEY}"},
json={
"model": model,
"mode": "image-to-video",
"image_url": image_url,
"prompt": prompt,
"duration": duration,
},
timeout=30,
)
return r.json()["id"]
def poll_job(job_id, interval=5, timeout=180):
elapsed = 0
while elapsed < timeout:
r = requests.get(
f"{BASE_URL}/videos/generations/{job_id}",
headers={"Authorization": f"Bearer {API_KEY}"},
)
data = r.json()
if data["status"] in ("completed", "failed"):
return data
time.sleep(interval)
elapsed += interval
raise TimeoutError(f"job {job_id} did not finish in {timeout}s")
job_id = submit_job(
"https://cdn.example.com/products/frame-tortoise-01.jpg",
"A pair of tortoiseshell sunglasses rotating slowly on a studio turntable, "
"soft directional light catching the lens, dark seamless background",
)
result = poll_job(job_id)
print(result.get("output_url"))
What Does a Full Launch Rollout Cost?
A five-colorway launch at 5-second clips via Grok Imagine 1.5 costs 5 × 5 × $0.022 = $0.55. Adding a hero tier of 3 lifestyle clips through Veo 3.1 Lite at 720p with audio adds 3 × 5 × $0.060 = $0.90. A combined rollout — full colorway set plus hero tier — totals $0.55 + $0.90 = $1.45 for a five-frame launch with video.
from concurrent.futures import ThreadPoolExecutor
CATALOG = [
("frame-tortoise-01", "https://cdn.example.com/products/frame-tortoise-01.jpg"),
("frame-black-01", "https://cdn.example.com/products/frame-black-01.jpg"),
("frame-clear-01", "https://cdn.example.com/products/frame-clear-01.jpg"),
]
PROMPT_TEMPLATE = (
"This pair of sunglasses rotating slowly on a studio turntable, "
"soft directional light catching the lens, dark seamless background"
)
def generate_and_wait(entry):
sku, image_url = entry
job_id = submit_job(image_url, PROMPT_TEMPLATE)
return sku, poll_job(job_id)
with ThreadPoolExecutor(max_workers=3) as pool:
results = list(pool.map(generate_and_wait, CATALOG))
for sku, r in results:
print(f"{sku}: {r.get('output_url')}")
| Package tier | Composition | Cost |
|---|---|---|
| Full colorway clips (Grok Imagine 1.5) | 5 × 5s | $0.55 |
| Hero lifestyle clips (Veo 3.1 Lite, 720p) | 3 × 5s | $0.90 |
| Combined rollout | Both above | $1.45 |
| Flat-rate alternative (Gemini Omni Flash) | 5 × $0.10 | $0.50 |
At $1.45 for a five-frame launch with a hero tier included, adding video to every colorway on a product page costs less than a single stock lifestyle photo license, without scheduling a studio shoot around a launch calendar. See the image-to-video pipeline guide for the async polling and error-handling pattern this batch relies on at larger catalog sizes.
Internal Links
FAQ
Can the API animate lens tint changes within the same clip?
No — each lens tint or frame colorway needs its own reference photo and job; generate one clip per variant rather than trying to shift tint mid-clip.
Is per-second or per-generation billing cheaper for eyewear showcase clips?
It depends on clip length — Grok Imagine 1.5 stays cheaper than Gemini Omni Flash's flat $0.10 (720p) up to roughly 4.5 seconds; past that, the flat rate wins regardless of duration.
Does Veo 3.1 Lite's audio track require a separate API call?
No. Audio generates synchronized with the video in the same request when using Veo 3.1 Lite — there's no separate audio generation step or additional endpoint.
How fast can a five-colorway batch finish?
Individual clips typically complete within a few minutes; a five-clip batch submitted with bounded concurrency finishes well within a same-day turnaround for a launch deadline.
Is there a free tier to compare models before committing to a full launch?
Yes. GenRelay includes free credits on signup, enough to generate sample clips across Grok Imagine 1.5 and Veo 3.1 Lite before choosing a model for the full rollout.
As of September 2026. Pricing subject to change — verify current rates at genrelay.ai.