---
title: "Build AI Video Tools with the Veo 3.1 API: Ideas & Patterns | imaginary.app"
description: "Six AI video products to build on the Veo 3.1 API, each with real settings, credit costs and gallery examples, plus patterns for drafts and stitching."
url: https://www.imaginary.app/blog/build-ai-video-tools-with-veo-api
---

Updated November 2026

# Build AI Video Tools with the Veo 3.1 API: Six Product Ideas and the Patterns Behind Them

The Veo 3.1 tools worth building narrow a big model down to one job: product photo to video, UGC ad variants, logo reveals, explainer clips, dialogue scenes and background loops. Each one below lists the exact API settings, what a clip costs in credits, and a real example from our public gallery.

Key takeaways

- The API gives you text-to-video, image-to-video and first-and-last-frame on Veo 3.1 Lite, Fast and Quality: clips of 4, 6 or 8 seconds, 16:9 or 9:16, up to 4K.
- Good tools hide the prompt behind templates and presets, and sell finished clips, not attempts.
- Draft on Lite (1 credit for a 4-second silent clip), render finals on Fast or Quality.
- No extend on the API. For longer videos, chain clips through their last frame and join them with ffmpeg.

Build on Veo 3.1

Prototype your video tool this week

One API key, no Google Cloud project, credits refunded on failed generations.

[Get API Access](https://www.imaginary.app/api)[Read the Docs](https://www.imaginary.app/api-docs)

Sign in with Google to create an account; buy credits only when you need them.

## Six products, with real settings

The examples link to videos people made with imaginary.app and chose to share in our [public gallery](https://www.imaginary.app/gallery), so you can see the actual prompt and output. They were not all made with the exact settings of each idea; the model and length are shown next to each link.

### 1. Product photo to video for online sellers

**For:** Shop owners who have product photos but no video budget.

The seller uploads a product photo. Your backend base64-encodes it into the `image` field, adds a prompt template ("slow push-in, studio light, condensation on the bottle…") and asks for a vertical clip. Offer three camera-move presets rather than a free prompt box. Sellers get better results, and you get predictable costs.

**Settings:** Fast, 1080p, 9:16, 6 s, audio, image-to-video. **Cost:** 8 credits per clip ($1.71–$2.00). **Example:** [soda bottle product shot (Fast, 8 s)](https://www.imaginary.app/gallery/a-giant-transparent-glass-bottle-filled-with-4363c4). More in [product ad use cases](https://www.imaginary.app/use-cases/product-ads).

### 2. UGC-style short ad generator

**For:** Performance marketers who need many ad variants to test.

Users fill in a brief (product, pain point, setting). You expand it into several handheld, "filmed-on-a-phone" prompts and render each as a cheap Lite draft. The user picks winners, and you re-render those on Fast. The draft-then-render loop is the whole product.

**Settings:** Lite, 720p, 9:16, 8 s, audio for drafts; re-render winners on Fast. **Cost:** 3 credits per clip ($0.64–$0.75). **Example:** [wet hiking boots, UGC style (Lite, 4 s)](https://www.imaginary.app/gallery/smartphone-video-ugc-style-handheld-with-slight-fde580). More in [social media shorts](https://www.imaginary.app/use-cases/social-media-shorts).

### 3. Logo reveal and brand intro maker

**For:** Small businesses and YouTubers who want an intro sting.

Use first-and-last-frame. Send a rough sketch or blank background as `image` and the finished logo as `lastFrame`. The model animates between them and is steered to end on your logo, but it can still soften or alter fine detail, so check the final frames before you deliver. Four seconds is usually enough for an intro.

**Settings:** Fast, 1080p, 16:9, 4 s, audio, first-and-last-frame. **Cost:** 5 credits per clip ($1.07–$1.25). **Example:** [mountain logo drawn into view (Lite, 8 s)](https://www.imaginary.app/gallery/the-logos-mountain-outlines-are-drawn-into-6da74d).

### 4. Explainer and motion-graphics clip builder

**For:** Teams making course videos, product explainers and slide-deck b-roll.

Keep a library of style templates (whiteboard line art, dark-background timeline, glowing line). The user supplies only the subject. Detailed style prompts are where Veo 3.1 Quality earns its price, and a fixed `seed` per template keeps the look closer between clips.

**Settings:** Quality, 1080p, 16:9, 8 s, audio. **Cost:** 26 credits per clip ($5.55–$6.49). **Example:** [motion-graphics timeline (Fast, 6 s)](https://www.imaginary.app/gallery/a-clean-elegant-motion-graphics-timeline-animation-c6db8b), [minimalist whiteboard animation (Fast, 8 s)](https://www.imaginary.app/gallery/prompt-a-minimalist-2d-whiteboard-animation-pure-8cc706). More in [explainer and marketing videos](https://www.imaginary.app/use-cases/explainer-and-marketing-videos).

### 5. Short dialogue scenes for storytellers

**For:** Kids’ content channels, language teachers, comic and story apps.

Veo 3.1 generates sound with the picture, including speech when the prompt contains lines of dialogue. Your app turns a script into one prompt per shot, with the speaker, line and tone. Our gallery shows creators writing dialogue prompts in several languages. Check results in each language you plan to support before you promise it.

**Settings:** Fast, 1080p, 8 s, audio on. **Cost:** 10 credits per clip ($2.13–$2.50). **Example:** [talking vegetables, Hinglish dialogue (Lite, 8 s)](https://www.imaginary.app/gallery/aalu-smiling-dosti-aur-mehnat-dono-important-daa56a).

### 6. Ambient background loops for sites and apps

**For:** Landing pages, meditation apps, digital signage.

Silent, slow scenes that sit behind text. Audio off cuts the cost, and Lite is usually enough. Generate a few, let the customer pick, and trim and loop the clip on your side with a crossfade.

**Settings:** Lite, 1080p, 8 s, silent. **Cost:** 3 credits per clip ($0.64–$0.75). **Example:** [sunrise over calm waves (Lite, 720p, 8 s, silent)](https://www.imaginary.app/gallery/a-serene-sunrise-over-calm-ocean-waves-703ff3).

## Unit economics

Your cost per finished clip is the credit cost times what you paid per credit. The last column is a simple starting point, three times our most expensive credit price, to leave room for drafts, user retries, storage and margin. It is not a recommendation; test your own pricing.

| Product                                     | Settings                                                           | Credits    | Your cost   | 3× our top cost |
| ------------------------------------------- | ------------------------------------------------------------------ | ---------- | ----------- | --------------- |
| Product photo to video for online sellers   | Fast, 1080p, 9:16, 6 s, audio, image-to-video                      | 8 credits  | $1.71–$2.00 | $5.99           |
| UGC-style short ad generator                | Lite, 720p, 9:16, 8 s, audio for drafts; re-render winners on Fast | 3 credits  | $0.64–$0.75 | $2.25           |
| Logo reveal and brand intro maker           | Fast, 1080p, 16:9, 4 s, audio, first-and-last-frame                | 5 credits  | $1.07–$1.25 | $3.75           |
| Explainer and motion-graphics clip builder  | Quality, 1080p, 16:9, 8 s, audio                                   | 26 credits | $5.55–$6.49 | $19.48          |
| Short dialogue scenes for storytellers      | Fast, 1080p, 8 s, audio on                                         | 10 credits | $2.13–$2.50 | $7.49           |
| Ambient background loops for sites and apps | Lite, 1080p, 8 s, silent                                           | 3 credits  | $0.64–$0.75 | $2.25           |

Two things move the numbers most. Drafts: if users try four Lite drafts before one Fast final, add four times 3 credits. Failures: a job that fails or is filtered gives the credits back, so you don't have to price in our errors. The [cost calculator](https://www.imaginary.app/tools/veo-3-1-cost-calculator) runs other mixes, and the [pay-as-you-go guide](https://www.imaginary.app/blog/cheap-ai-video-api-pay-as-you-go) explains packs and plans.

Test an idea in the browser before writing code

[Try a key in the browser](https://www.imaginary.app/use-key)

## Patterns that make these tools work

### Templates over free text

Most users write short prompts, and short prompts give generic video. Build the prompt on the server from a template and a few user-supplied slots. Prompts can be up to 2,000 characters, and the developer API never accepts an empty one, even with an image.

```
// Server-side prompt template: users fill slots, you own the craft.
const TEMPLATES = {
  pushIn: (p) =>
    'Slow cinematic push-in on ' + p.product + ' on ' + p.surface + '. Soft studio key light, ' +
    'shallow depth of field, subtle reflections. No text, no people, no hands. Ambient room tone.',
};

function buildRequest(templateId, slots, imageBase64, mimeType) {
  const prompt = TEMPLATES[templateId](slots);
  if (prompt.length > 2000) throw new Error('Prompt too long');
  return {
    model: 'veo3-fast',
    prompt,
    audio: true,
    image: { bytesBase64Encoded: imageBase64, mimeType },     // image/jpeg, image/png or image/webp
    options: { resolution: '1080p', aspectRatio: '9:16', duration: 6 },
  };
}
```

### Draft, then render

Prompt quality carries across models. Let users iterate on Lite, then send the chosen prompt, with the same `seed`, to Fast or Quality. A fixed seed with the same prompt gives similar output, but not identical, and less so across models.

### Longer videos by chaining clips

Every request returns one clip of up to 8 seconds, and the developer API has no extend. To build a longer sequence, use the last frame of each clip as the `image` for the next, then join them:

```
# 1. Grab the last frame of clip 1 to use as the first frame of clip 2
ffmpeg -sseof -0.1 -i clip1.mp4 -frames:v 1 -update 1 -q:v 2 last.jpg

# 2. Send it as the "image" of the next request (write the body to a file:
#    a base64 frame is too big to pass as a command-line argument)
printf '{"model":"veo3-fast","prompt":"%s","image":{"bytesBase64Encoded":"%s","mimeType":"image/jpeg"},"options":{"resolution":"1080p","duration":8}}' \
  "The camera keeps moving forward as the street opens onto the harbour" \
  "$(base64 < last.jpg | tr -d '\n')" > body.json

curl -X POST https://api.veo3gen.app/api/generate \
  -H "Authorization: Bearer $IMAGINARY_API_KEY" -H "Content-Type: application/json" \
  -d @body.json

# 3. Join the clips once both are downloaded
printf "file 'clip1.mp4'\nfile 'clip2.mp4'\n" > list.txt
ffmpeg -f concat -safe 0 -i list.txt -c copy joined.mp4
```

### Background jobs, not blocking requests

Generation takes minutes and there are no webhooks, so every tool above needs a job queue and a polling worker. The [integration architecture guide](https://www.imaginary.app/blog/integrate-ai-video-generation-in-your-app) has a reference worker that respects the concurrency and rate limits.

What not to build on our API

Products that depend on video extend, reference images ("ingredients"), several samples per request, clips longer than 8 seconds in one call, or models other than Veo 3.1. Our API doesn't offer these today. Google Cloud offers some of them directly, as covered in the [Google Cloud comparison](https://www.imaginary.app/blog/veo-3-api-vs-google-vertex-ai).

## Why build on Veo 3.1 now

Veo 3.1 is the current Veo generation. Google retired Veo 3 on June 30, 2026. Veo 3.1 and Veo 3.1 Fast are generally available on Google Cloud, and Google lists them as supported until “May 4, 2027 or later”; Veo 3.1 Lite is in Preview. The Gemini API previews shut down on October 22, 2026, and Google Flow retires Veo 3.1 Fast and Quality on December 5, 2026. We call the Cloud models, so a tool built on our API isn't affected by either change. To get your first clip out, start with the [quick start](https://www.imaginary.app/blog/getting-started-veo-3-api). Model trade-offs are on the [Veo 3.1 model page](https://www.imaginary.app/models/veo-3-1), and the full reference is in the [API docs](https://www.imaginary.app/api-docs).

## Frequently asked questions

### Can I build a commercial product on the Veo 3.1 API?

You can use the API in a commercial product under our Terms of Service and Google’s usage policies. Keep your API key on your own server, never in front-end code. Our Terms do not address reselling generated videos to third parties, so contact us about reselling outputs before you build around it.

### How do I make videos longer than 8 seconds?

Each request returns one clip of 4, 6 or 8 seconds, and the API has no extend feature. Generate several clips, pass the last frame of one as the image for the next to keep continuity, and join them with ffmpeg.

### What should I charge my users?

Start from the most you could pay per clip (our most expensive credit times the clip cost), then add room for drafts, failures your users retry, storage and your margin. Many tools charge per finished video, not per attempt.

### What happens when a prompt is blocked?

Prompts that try to impersonate real people or include other prohibited content are rejected before any credits are taken (400 CONTENT\_POLICY\_VIOLATION). If Google filters the output after generation, the job fails and the credits are refunded. Design your UI to explain both cases.

### Can my team try these ideas without writing code?

Yes. The /generate web app runs the same models, and /use-key lets you paste an API key into a browser form to test settings before you build anything.

How we checked: settings and limits were compared with our backend's developer API routes, and credit costs come from the live pricing catalog, on November 8, 2026. Gallery examples were taken from our public gallery on the same day. Google dates come from the sources below.

## Sources

Prices, model specs and dates on this page were checked on November 8, 2026. Third-party prices change; check the source before you rely on a number.

- [Google Cloud — model versions and lifecycle](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions)
- [Google AI for Developers — Gemini API deprecations](https://aistudio.google.com/docs/deprecations)
- [Google Flow Help — credits and models](https://support.google.com/flow/answer/16526234)
- [imaginary.app pricing](https://www.imaginary.app/pricing)

From idea to API call

## Get a key and build your first video tool

Packs from $9.99 with no subscription. Failed generations are refunded automatically.

[Get API Access](https://www.imaginary.app/api)[Read the Docs](https://www.imaginary.app/api-docs)

Sign in with Google to create an account; buy credits only when you need them.
