/google-flow:omni-flash-videofrom Google Flow (useapi.net)
Generates AI video via Google's Omni 1.2 Flash or Veo 3.1 Lite through the useapi.net Google Flow API. Supports text-to-video, reference images, start/end frames, preset voices, and video-to-video edits. Requires curl, jq, and a USEAPI_TOKEN.
Ships in Google Flow (useapi.net). Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
These scripts call the useapi.net Google Flow API, a third-party REST API that drives the user's Google Flow account. Each clip spends Flow credits from the user's Google AI subscription. Every script is in scripts/ next to this file. Run them with bash.
USEAPI_TOKEN must be set. If it is missing, ask the user for their useapi.net API token (setup: https://useapi.net/docs/start-here/setup-useapi). Their Google account must already be connected (https://useapi.net/docs/start-here/setup-google-flow). To connect one by hand, the clean sign-in scripts at https://github.com/useapi/google-account-setup give cookies that keep working. Never print the token or write it to a file.USEAPI_EMAIL is optional: the connected Google account to use. Leave it unset and the API picks the healthiest account.curl and jq must be installed.scripts/video.sh "<prompt>" [key=value ...]
Values that are existing local files (for referenceImage_N, startImage, endImage, referenceVideo_1) are uploaded first. It prints progress on stderr and the saved .mp4 paths on stdout (OUT_DIR sets the folder, default the current one). A clip usually takes 1 to 3 minutes; run it in the background (in Claude Code, run_in_background) or with a timeout of at least 10 minutes, and do not start a second copy while it runs.
Examples:
# Text to video, 8 s landscape at 720p (the defaults)
scripts/video.sh "A lighthouse keeper climbs the spiral stairs at dusk, lantern swinging. Slow handheld follow shot."
# A presenter from a photo, speaking with a preset voice, portrait for Shorts/Reels
scripts/video.sh "The woman in @referenceImage_1 holds up the mug, smiles and says: 'Honestly the best coffee I've had all year.' Handheld phone camera." \
referenceImage_1=./presenter.jpg referenceAudio_1=Kore aspectRatio=portrait duration=6
# Animate from a first frame to a last frame
scripts/video.sh "The paper boat drifts down the gutter stream and into the drain." startImage=./first.png endImage=./last.png
# A cheap draft: 360p costs about half; upscale the keeper later
scripts/video.sh "..." resolution=360p duration=4
Veo 3.1 Fast, Veo 3.1 Quality and Omni 1.1 Flash retire in Google Flow on December 5, 2026; this skill uses omni-flash-1.2 and veo-3.1-lite.
| Duration | Credits at 720p | At 360p |
|---|---|---|
| 4 s | 12 | 4 |
| 6 s | 18 | 6 |
| 8 s (default) | 24 | 8 |
| 10 s | 30 | 10 |
| Video-to-video edit | 3 a second of the edited length | 1 a second |
aspectRatio: landscape (default) or portrait. Ask the user which one; for phone video it is portrait, and forgetting it is the most common wasted generation.count (1 to 4) multiplies the cost.model=veo-3.1-lite) makes 8 s clips at 720p on every plan (4 and 6 s need Google AI Ultra), has no 360p, takes up to 3 reference images and one voice, and also accepts 1:1, 4:3 and 3:4. It costs 10 credits (5 on Ultra).model=omni-flash-1.2 (Google released it on November 5, 2026) takes any whole number of seconds from 3 to 15 (duration=3 … duration=15; 3 to 10 with startImage + endImage), at 720p or 360p, with up to 10 references and up to 5 voices. Credits are per second, the same on every plan: at 720p 3 a second up to 10 s and 6 a second above (8 s = 24, 15 s = 60), at 360p 1 and 2. Free Google accounts can use it up to 10 s. Google is giving it to accounts over several days; an account that does not have it yet answers HTTP 400 saying so. To make a video longer than 15 s, extend it with POST /videos/extend (https://useapi.net/docs/api-google-flow-v1/post-google-flow-videos-extend): 3 to 10 s at a time, on a paid plan, for any video shorter than 30 s.
referenceAudio_N (a preset name like Kore, Charon, Puck, Aoede, or a voice id) only works together with a referenceImage_N, a character_N or a video edit. A voice on its own is rejected. Omni takes up to 5 voices for several speakers, Veo one.@referenceImage_1, @character_1, @referenceAudio_1. Each marker needs its matching parameter.referenceImage_* and character_* together; Veo 3.1 Lite 3). More references are slower and fail more often; 1 to 3 is the sweet spot.startImage/endImage mode takes no other references and no voice.USEAPI_EMAIL, set it to the first upload's account before the next upload, or the generation is rejected for mixing accounts; video.sh does this for you.
IMG=$(scripts/upload.sh ./presenter.jpg)
JOB=$(scripts/generate.sh "The woman in @referenceImage_1 waves and says: 'Hi!'" referenceImage_1="$IMG" referenceAudio_1=Kore)
scripts/wait-job.sh "$JOB" > job.json
scripts/download.sh job.json ./out
All options of generate.sh are listed in its header and at https://useapi.net/docs/api-google-flow-v1/post-google-flow-videos
If a run is interrupted after job j... was logged, do not run it again: that spends the credits twice. Resume with the job id:
scripts/wait-job.sh "<jobid>" > job.json && scripts/download.sh job.json
The scripts never retry a generation request on their own, for the same reason.
Every failed request prints the API's error and a one-line hint. The common ones:
HTTP 400: a parameter was rejected (the message names it), or Google refused the content. For a content refusal, rephrase the prompt or change the image. Video-to-video moderation is not deterministic, so one plain resubmit can also clear it.HTTP 401: the token is wrong. HTTP 404: USEAPI_EMAIL is not a connected account.HTTP 402: the account has no Google AI Plus, Pro or Ultra subscription, or no Flow credits left.HTTP 403: Google rejected the captcha on every try (wait a minute, try once more), or MODEL_ACCESS_DENIED (the account's Google AI subscription does not include the model).HTTP 429: the account is busy or out of quota. retryAfter says when to try again; or unset USEAPI_EMAIL so the API uses another account. Do not loop on it.HTTP 503: Google is temporarily overloaded. Try again in a minute or two, with fewer references or a lower count.HTTP 596: the Google account needs reconnecting: https://useapi.net/docs/start-here/setup-google-flowTell the user the file path(s), the duration and the credits it used. The video links in job.json stay valid for about 6 hours. The clip is also in the user's Google Flow project.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub useapi/google-flow-api --plugin google-flowOther plugins' skills for the same job