DEV Community

useapi.net
useapi.net

Posted on Originally published at useapi.net

Google Flow Errors Explained: Upscaling Failed, PUBLIC_ERROR_UNUSUAL_ACTIVITY and Unsafe Generation

Introduction

Google Flow's "Upscaling failed", PUBLIC_ERROR_UNUSUAL_ACTIVITY and PUBLIC_ERROR_UNSAFE_GENERATION mean, in turn, an upscale your plan or Google couldn't complete, a rejected reCAPTCHA check, and a safety-filter refusal, and PUBLIC_ERROR_AUDIO_FILTERED means Google blocked the sound generated with a video. This page explains each one and what to do, using what the useapi.net Google Flow API sees when the same requests run through it, where Google's response names the reason.

"Upscaling failed"

Flow shows "Upscaling failed" when an upscale did not finish. Through the API, failed upscales come down to these causes, in order of how easy they are to check:

  1. The plan doesn't include that upscale. 4K needs Google AI Ultra for both videos and images. Other paid plans upscale videos to 720p or 1080p, and free accounts cannot upscale videos at all. Images upscale to 2K on every plan, including free. For videos up to 10 seconds, 720p and 1080p are free and 4K costs 50 credits, and each second above 10 adds 1 credit (5 for 4K). Image upscales are free.
  2. The video is longer than 15 seconds, such as an extended clip. Google upscales videos of up to 15 seconds, and the API refuses a longer one with 400 before any captcha is solved.
  3. Google's reCAPTCHA check rejected the request. Upscales go through the same check as videos and images, so the next section applies here too. Nothing is created and no credits are used, and you can retry right away.
  4. A temporary error on Google's side. Retry once. If an earlier upscale of the same video succeeded, upscaling it again returns that cached result at no extra credits.

If every video upscale fails on one account, check that it has a paid Google AI subscription.

PUBLIC_ERROR_UNUSUAL_ACTIVITY

PUBLIC_ERROR_UNUSUAL_ACTIVITY means Google's reCAPTCHA check did not trust the request. Google checks before it starts generating, so nothing was created and no Flow credits were used. You can try again right away.

Our data points to the Google account more than to the captcha solver. Google gives each account its own trust level. Through the API, a trusted account gets about 9 in 10 checks accepted and a distrusted one about 3 in 10, whatever solves the captcha. A related code, PUBLIC_ERROR_UNUSUAL_ACTIVITY_TOO_MUCH_TRAFFIC, arrives as HTTP 429 and Google's message reads "reCAPTCHA evaluation failed". It means the same thing.

What helps:

  • Check which accounts fail with GET /accounts/captcha-stats, which also shows which providers fail. If one account keeps failing while others work, Google has flagged it: leave out email so the API picks another account, or rest it, and replace it if it stays low for more than a day or two.
  • If every account drops at the same time, the captcha solver is the likely cause. Use several providers: the API ranks them by how often Google accepts each one and gives most tries to the best of them.
  • Keep captchaRetry at the default 5. With 1 or 2 tries, a request fails as soon as one or two captchas are rejected.
  • Spread the work over more than one Google account if you have several.

PUBLIC_ERROR_UNSAFE_GENERATION

PUBLIC_ERROR_UNSAFE_GENERATION means Google's safety filters refused the prompt or the result. It is not an account problem. Google names related refusals with similar codes:

  • PUBLIC_ERROR_PROMINENT_PEOPLE_FILTER_FAILED: a real, recognizable person.
  • PUBLIC_ERROR_MINOR, PUBLIC_ERROR_SEXUAL, PUBLIC_ERROR_DANGER_FILTER: the content categories they name.
  • PUBLIC_ERROR_AUDIO_FILTERED: the sound generated with the video was blocked. This one is common and has its own fix, see below.
  • PUBLIC_ERROR_IP_INPUT_IMAGE: an input image looked like protected content.
  • PUBLIC_ERROR_SPEECH_EDIT: a video edit refused because of the speech in the clip, most likely an edit that changes what someone says. Keep the dialogue as it is, or edit a clip without speech.

Apart from PUBLIC_ERROR_AUDIO_FILTERED, retrying the same prompt usually fails again. Rephrase the part that tripped the filter, replace the reference image, or remove the real person's name. The list is Google's and grows over time, so match on substrings rather than an exact list. Not every PUBLIC_ERROR_ code is about content: PUBLIC_ERROR_MODEL_ACCESS_DENIED means the plan lacks the model, PUBLIC_ERROR_USER_MINOR means Google treats the Google account as belonging to someone under 18 (Flow refuses such accounts whatever you send), and USER_QUOTA_REACHED, USER_REQUESTS_THROTTLED and PER_MODEL_DAILY_QUOTA_REACHED are account limits.

PUBLIC_ERROR_AUDIO_FILTERED

PUBLIC_ERROR_AUDIO_FILTERED, usually with the label AUDIO_GENERATION_FILTERED, means the picture was fine but Google rejected the sound it generated with it. Every Veo and Omni video comes with sound, even for a prompt without dialogue, and Google checks that sound with a separate audio filter. When the filter says no, Flow fails the whole video by default and charges no credits for it.

It is the most common failure on veo-3.1-lite and the second most common on veo-3.1-lite-low-priority: about 1 in 5 veo-3.1-lite videos and 1 in 12 veo-3.1-lite-low-priority videos fail this way, about 1 in 25 on veo-3.1-fast, and fewer than 1 in 100 on the Omni models. <!-- source: STATS_PROD, 7 days to 2026-11-20 (same numbers as docs/api-google-flow-v1/post-google-flow-videos.md "Videos that failed on their sound"); on veo-3.1-lite-low-priority it is second after PROMINENT_PEOPLE -->

What to do:

  • If the video can do without its sound (b-roll, backgrounds, clips you put music on later), switch on "Return silent videos" in Flow's settings (under the gear icon at the top right, shown on some accounts only). Such a video then comes back without sound instead of failing, and is charged like any other. Through the useapi.net Google Flow API, send returnSilentVideos: true on POST /videos or POST /videos/extend, on any account.
  • If you need the sound, generate again: each attempt makes new sound, so the filter judges it anew.
  • The Omni models (Omni 1.2 Flash, Omni 1.1 Flash) hardly ever fail this way.

If you automate Google Flow

Running Flow from code with the useapi.net Google Flow API handles most of this for you:

  • Rejected captchas are retried with a fresh captcha, up to 5 times by default (captchaRetry). You only get a 403 or 429 back when every try was refused. The error starts with captcha_quality: so your code can tell it apart from other failures.
  • When you leave out email and have several Google accounts connected, accounts whose captchas Google has been rejecting get less of the new work. GET /accounts/captcha-stats shows each account's acceptance rate.
  • Content refusals come back either as an immediate 400 that names the reason, or, for a video that fails while generating, in failureReasons on the job, so you can show the user what to change. Some failures arrive with no reason at all, and those are usually worth one retry.
  • A video whose sound Google's audio filter rejects comes back without sound instead of failing when you send returnSilentVideos: true, per request and on any account.
  • An upscale the account's plan doesn't include (4K without Ultra, or any video upscale on a free account) is refused with a 400 before a captcha is solved, so it costs nothing.
  • An account Google treats as under 18 gets a 403 that says so, after one try instead of five. An image upload to it costs no captcha at all. With email left out, the account is set aside for an hour so other accounts take the work.

The Veo 3.1 tutorial shows a full video request in curl, and the n8n UGC ad template shows retries and refusals handled in a no-code workflow.

Frequently asked questions

Does a failed video use Flow credits? Through useapi.net, a PUBLIC_ERROR_UNUSUAL_ACTIVITY failure costs nothing, because Google checks the captcha before it starts generating, and an upscale the plan doesn't include is refused with a 400 before any captcha is solved. A video that fails on its sound (PUBLIC_ERROR_AUDIO_FILTERED) costs nothing either, as Flow's own settings state, while one returned silent with returnSilentVideos: true is charged. For other failures, compare the account's credit balance before and after (remainingCredits on the finished job) if you need to be sure.

Why does it work on the Flow website but fail in my script? Through useapi.net, as in any script, the reCAPTCHA token comes from a captcha-solving service, while on the website it comes from your own signed-in browser, and Google trusts solver tokens less. The account's own trust level applies to both, so an account that keeps failing through the API is worth resting or replacing.

Is there an official Google Flow API? Through useapi.net you call Google Flow from code with a third-party REST API on your Google Flow website subscription, because Google offers no public Flow API. An 8-second Veo 3.1 Fast video costs $0.08 on Google AI Ultra $199.99, against $0.80 on Google's Cloud Agent Platform, Google's own Veo API since the Gemini API's Veo 3.1 Preview models shut down on October 22, 2026 (as of November 2026).

开始使用

每月 15 美元的订阅即可使用 useapi.net 上的所有 API:一个 Token,所有服务。每个服务最多绑定 3 个你自己的账号,useapi.net 负责 REST 接口、负载均衡和轮询。需要更多账号?每增加一个订阅每月 10 美元,每个服务再多 3 个账号。

订阅 — 每月 15 美元 用加密货币支付

没有国际信用卡?可以用加密货币订阅(加密货币付款不退款)。价格与批量方案见订阅页面。用 Stripe 付款,首次购买 14 天内、且成功生成少于 50 次可全额退款。已经订阅?请在 Stripe 客户门户 修改数量,无需重新购买。

API を使い始める

月額15ドルのサブスクリプション1つで、useapi.net のすべての API を使えます。トークン1つで、すべてのサービスに対応します。各サービスにご自身のアカウントを最大3つまで接続でき、REST API、負荷分散、ポーリングは useapi.net が担当します。アカウントを増やしたい場合は、サブスクリプションを1つ追加するごとに月額10ドルで、各サービスのアカウントが3つずつ増えます。

登録する — 月額15ドル 暗号資産で支払う

海外で使えるクレジットカードがない場合は、暗号資産で登録することもできます(暗号資産での支払いは返金できません)。料金とボリュームプランはサブスクリプションのページをご覧ください。Stripe でお支払いの場合、初回購入から14日以内で、成功した生成が50回未満であれば全額返金されます。すでに登録済みの場合は、新たに購入せず Stripe カスタマーポータルで数量を変更してください。

Comece a usar a API

Uma assinatura de US$ 15 por mês dá acesso a todas as APIs da useapi.net: um token, todos os serviços. Você conecta até 3 contas suas por serviço, e a useapi.net cuida da API REST, do balanceamento de carga e do polling. Precisa de mais contas? Cada assinatura extra custa US$ 10 por mês e acrescenta mais 3 contas por serviço.

Assinar — US$ 15/mês Pagar com cripto

Não tem cartão de crédito internacional? Você também pode assinar com criptomoedas (pagamentos em cripto não são reembolsáveis). Preços e planos de volume estão na página de assinatura. Pagando pelo Stripe, você recebe reembolso integral em até 14 dias após a primeira compra, se tiver menos de 50 gerações bem-sucedidas. Já é assinante? Altere a quantidade no portal do cliente Stripe em vez de comprar de novo.

Bắt đầu dùng API

Một gói đăng ký $15/tháng dùng được mọi API trên useapi.net: một token cho tất cả dịch vụ. Mỗi dịch vụ bạn kết nối tối đa 3 tài khoản của riêng mình, còn useapi.net lo REST API, cân bằng tải và polling. Cần thêm tài khoản? Mỗi gói đăng ký thêm giá $10/tháng và cho thêm 3 tài khoản ở mỗi dịch vụ.

Đăng ký — $15/tháng Thanh toán bằng tiền mã hóa

Không có thẻ thanh toán quốc tế? Bạn có thể đăng ký bằng tiền mã hóa (thanh toán bằng tiền mã hóa không được hoàn tiền). Giá và các gói số lượng lớn có trên trang đăng ký. Nếu thanh toán qua Stripe, bạn được hoàn tiền toàn bộ trong 14 ngày kể từ lần mua đầu tiên khi có dưới 50 lượt tạo thành công. Đã đăng ký rồi? Hãy đổi số lượng trong Stripe Customer Portal thay vì mua lại.

Mulai memakai API

Satu langganan US$15/bulan mencakup semua API di useapi.net: satu token untuk semua layanan. Di setiap layanan Anda bisa menghubungkan hingga 3 akun milik Anda sendiri, dan useapi.net menangani REST API, load balancing, dan polling. Butuh lebih banyak akun? Setiap langganan tambahan US$10/bulan dan menambah 3 akun lagi per layanan.

Berlangganan — US$15/bulan Bayar dengan kripto

Tidak punya kartu kredit internasional? Anda bisa berlangganan dengan kripto (pembayaran kripto tidak bisa di-refund). Harga dan paket volume ada di halaman langganan. Jika membayar lewat Stripe, Anda mendapat refund penuh dalam 14 hari sejak pembelian pertama, selama jumlah generasi yang berhasil kurang dari 50. Sudah berlangganan? Ubah jumlahnya di Stripe Customer Portal, tidak perlu membeli lagi.

เริ่มใช้งาน API

การสมัครสมาชิกเดือนละ $15 ใช้ได้กับทุก API บน useapi.net ใช้ Token เดียวกับทุกบริการ เชื่อมบัญชีของคุณเองได้สูงสุด 3 บัญชีต่อบริการ แต่ละบัญชีใช้แพ็กเกจของเว็บไซต์นั้นเอง ส่วน useapi.net ดูแล REST API การกระจายโหลด และการ polling ให้ ต้องการบัญชีมากกว่านี้? สมัครเพิ่มแต่ละครั้งเดือนละ $10 และได้เพิ่มอีก 3 บัญชีต่อบริการ

สมัครสมาชิก — $15/เดือน ชำระด้วยคริปโต

ไม่มีบัตรเครดิตที่ใช้จ่ายต่างประเทศได้? สมัครด้วยคริปโตก็ได้ (การชำระด้วยคริปโตขอคืนเงินไม่ได้) ดูราคาและแพ็กเกจสำหรับปริมาณมากได้ที่หน้าการสมัครสมาชิก ถ้าชำระผ่าน Stripe ขอคืนเงินเต็มจำนวนได้ภายใน 14 วันหลังซื้อครั้งแรก หากสร้างงานสำเร็จไม่ถึง 50 ครั้ง สมัครไว้แล้ว? เปลี่ยนจำนวนได้ที่ Stripe Customer Portal โดยไม่ต้องซื้อใหม่

Empieza a usar la API

Una sola suscripción de US$15 al mes cubre todas las API de useapi.net: un token para todos los servicios. Conectas hasta 3 cuentas propias por servicio, cada una con la suscripción de su sitio web, y useapi.net se encarga de la API REST, el balanceo de carga y el polling. ¿Necesitas más cuentas? Cada suscripción adicional cuesta US$10 al mes y suma 3 cuentas más por servicio.

Suscríbete — US$15/mes Pagar con cripto

¿No tienes una tarjeta de crédito internacional? También puedes suscribirte con criptomonedas (los pagos con cripto no se reembolsan). Los precios y los planes por volumen están en la página de suscripción. Si pagas con Stripe, recibes el reembolso completo dentro de los 14 días posteriores a la primera compra, si tienes menos de 50 generaciones exitosas. ¿Ya tienes una suscripción? Cambia la cantidad en el portal de clientes de Stripe en lugar de volver a comprar.

Start using the API

A single $15/month subscription covers every API on useapi.net — one token, all services. You connect up to 3 accounts per service, each with its own website subscription, and useapi.net handles the REST API, load balancing, and polling. Need more accounts? Each extra subscription is $10/month and adds 3 more accounts per service.

Subscribe — $15/month Pay with crypto

Pricing and volume options — full refund within the first 14 days if you have fewer than 50 successful generations. Already subscribed? Change the quantity in the Stripe Customer Portal instead of buying again.

Top comments (0)