# TheSmallHanCat/flow2api

无限次数的banana pro！逆向账号池，支持负载均衡、AT自动刷新、缓存策略、代理等。Q交流群1073237297

Repository: https://github.com/TheSmallHanCat/flow2api
Canonical: https://ross.abutalabs.com/products/flow2api
Language: Python
License: MIT
License Family: permissive
Last push: 2026-08-19T17:37:21+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 20
- inputs: {"age_days": 282, "days_push": 14, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2834, forks 661 (observed 2026-08-28T04:07:24.484038+00:00)

## What it is
Flow2API is a self-hosted Python/FastAPI service that exposes an OpenAI- and Gemini-compatible API on top of Google Flow (VideoFX/ImageFX) accounts. It manages a reverse-engineered account pool with load balancing, automatic token refresh, caching, proxy support, and a web admin UI for text-to-image and text-to-video generation.

## Use cases
- use Flow/ImageFX image generation through an OpenAI-compatible API
- self-host a proxy API for VideoFX video generation
- pool multiple Flow accounts with load balancing and token auto-refresh
- call Gemini generateContent format against Flow models
- run banana pro image generation without per-request limits
- integrate Flow text-to-video into AI tools like Cherry Studio or Cline

## When to choose
- you want a self-hosted OpenAI/Gemini-compatible gateway for Google Flow image and video generation
- you need multi-account pooling, load balancing, and automatic AT/ST token refresh
- you want a web admin UI, proxy support, and caching for a reverse-engineered API

## When to avoid
- you need an officially supported or ToS-compliant Google API integration
- you want a simple client library rather than a full self-hosted service
- you cannot handle captcha-solving dependencies or the risk of account bans from reverse-engineering

## Facets
- artifact type: service
- maturity: active
- function: api-framework, http-server, llm-inference, image-processing, video-processing, proxy, caching
- domain: artificial-intelligence, large-language-models, image-processing, apis, self-hosted, developer-tools
- platform: python, self-hosted, windows
- tags: openai-compatible-api, reverse-proxy, account-pool, gemini-api, text-to-image, text-to-video, load-balancing, token-refresh, captcha-solving, fastapi, video, docker, web-server, linux, macos

## Member repositories
- TheSmallHanCat/flow2api (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:24.484038+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:37:48.646992+00:00, confidence not recorded.
  - readme: https://github.com/TheSmallHanCat/flow2api (fetched 2026-08-28T04:07:24.484038+00:00, sha 04ab7c87b1cf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
