Guides & updates
Tutorials, quickstarts and product updates for generative media & LLM APIs.
AI Video Generation Duration API — Set Length for Veo 3.1, Grok & Omni Flash
How to set video generation duration via API for Veo 3.1 Lite, Grok Imagine 1.0/1.5, and Omni Flash. Includes duration parameters, cost math, and Python integration examples.
AI Image Generation API Error Handling — Retry, Timeout & Fallbacks
Production guide to AI image API errors: HTTP status codes, exponential backoff retry, per-model timeouts, and model fallback patterns for Nano Banana Pro, Nano Banana 2, and GPT-image-2.
Omni Flash vs Grok Imagine 1.0 — Video API Billing Models Compared
Per-generation vs per-second billing for AI video APIs: when Omni Flash beats Grok 1.0 on cost and vice versa. Breakeven math, code examples, use-case verdicts.
AI Avatar Generation API — Consistent Character Images for Apps and Games
Generate consistent avatars and character images via API using Nano Banana Pro on GenRelay. Auth, reference-guided generation, batch patterns, and pricing math.
Veo 3.1 Audio Generation API — Video with Synchronized AI Sound
Veo 3.1 generates synchronized audio natively alongside video via the GenRelay API. Learn what audio it produces, how to enable it, poll for output, and what it costs.
AI Portrait Generation API — Consistent Character Images at Scale
Generate consistent portrait images at scale via API using Nano Banana Pro reference-guided generation on GenRelay. Python examples, pricing, and batch patterns.
AI Video API Latency Guide — Generation Time by Model and Resolution
Understand AI video API latency for Veo 3.1 Lite, Grok 1.0 & 1.5, and Omni Flash. Polling intervals, timeout logic, and cost-vs-speed tradeoffs explained.
AI Background Generation API — Product and Scene Backgrounds
Generate product backgrounds and scene images via API using Nano Banana Pro and GPT-image-2. Includes Python code, cost math, and FAQ. (2026)
Grok Imagine 1.0 vs Veo 3.1 Lite — Video API Comparison 2026
Side-by-side comparison of Grok Imagine 1.0 and Veo 3.1 Lite video generation APIs: per-second pricing, capabilities, quality trade-offs, and use-case verdicts.
How to Save AI-Generated Images to S3 and GCS via API
Step-by-step guide to persisting AI-generated images from Nano Banana Pro and GPT-image-2 to Amazon S3 and Google Cloud Storage with Python.
Veo 3.1 ref2v API: Transform Existing Videos with AI Style Prompts
Developer guide to Veo 3.1 reference-video (ref2v) API on GenRelay — job submission, async polling, resolution tiers, pricing, and comparison with t2v and i2v.
How to Maintain Visual Consistency in AI-Generated Images via API
Developer guide to visual consistency across AI-generated images — reference-guided generation with Nano Banana Pro and GPT-image-2, batch strategies, and cost math on GenRelay.