# Automated AI Video & Ad Creative Production Solution — API Store Hub

> VI: Hợp nhất quy trình viết kịch bản, sinh storyboard hình ảnh (GPT Image 2.5, Nano Banana Pro) và dựng video quảng cáo (Veo 3.1, Seedance 2.5) qua một ví ST.
> EN: Automate ad scripts, storyboard frames (GPT Image 2.5, Nano Banana Pro), and motion video (Veo 3.1, Seedance 2.5) through one unified API gateway.

- Industry: Creative Studio & Performance Marketing
- Canonical VI: https://apistorehub.com/vi/giai-phap/san-xuat-video-anh-quang-cao
- Canonical EN: https://apistorehub.com/en/giai-phap/san-xuat-video-anh-quang-cao

## Reference Architecture
Three-stage automated creative pipeline: (1) LLM writes hooks and camera prompts; (2) Image APIs generate consistent brand keyframes; (3) Video APIs render 5–10s motion ads polled asynchronously.

## Recommended Model Stack (Live ST Pricing)
| Role | Model | Live ST Rate | Why |
|---|---|---|---|
| Cinematic Commercial Video Generation | `st1/veo-3.1` | 4,600 ST / req | Natural physics, smooth camera motion, and broadcast-grade lighting. |
| High-Volume Short-Form Social Video | `st1/seedance-2.5` | 40,700 ST / req | Cost-efficient high-volume A/B testing for TikTok, Reels, and Shorts. |
| Keyframes & Ad Posters | `req/gpt-image-2.5` | 2,500 ST / req | Strong prompt adherence and clean ad typography. |

## Deployment Steps
1. Generate scene-by-scene scripts and camera prompts with `claude-sonnet-5-5` or `gpt-6.2-sol`.
2. Create visual keyframes via `/v1/images/generations` and persist to object storage.
3. Submit async `/v1/videos` jobs (Veo 3.1 / Seedance 2.5) and poll until completion.
4. Download rendered MP4 assets to your CDN for voiceover, captioning, and publishing.

## Quickstart cURL
```bash
curl https://apistorehub.com/v1/videos \
  -H "Authorization: Bearer sk-ash-your_key" \
  -H "Content-Type: application/json" \
  -d '{"model":"veo-3.1","prompt":"Macro slow motion shot of cold brew coffee pouring into crystal glass, warm studio lighting","seconds":5}'
```

## FAQ
- **How is video generation billed on API Store Hub?**: Per-video or per-duration transparent ST pricing published live on `/pricing` and `/docs/video`.
- **Do I need separate accounts for Veo, Seedance, and GPT Image?**: No. One API key and one ST credit wallet access all image and video lanes.
- **How should apps handle video render latency?**: Submit generation tasks via background workers, poll status cleanly, and persist completed MP4 files to your own storage.
