Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheSmallHanCat/flow2api
/ functions
Functions
1,214 in github.com/TheSmallHanCat/flow2api
⨍
Functions
1,214
◇
Types & classes
80
↳
Endpoints
65
Method
remote_browser_base_url
Get remote browser captcha service base URL
src/core/config.py:647
Method
remote_browser_timeout
Get remote browser captcha request timeout (seconds)
src/core/config.py:669
Method
remove_browser
(self, browser_id: int)
src/services/browser_captcha.py:3037
Method
report_flow_error
( self, project_id: str, error_reason: str, error_message: str = "", t
src/services/browser_captcha_personal.py:13797
Method
report_flow_error
(self, project_id: str, error_reason: str, error_message: str = "")
src/services/browser_captcha_extension.py:212
Function
reset_runtime_prepare
(runtime_kind: str, message: str = "")
src/core/browser_runtime_status.py:89
Method
reset_shared_instances
(cls)
src/services/browser_captcha_personal.py:1856
Method
restart_task
()
tests/test_browser_captcha_personal.py:270
Method
restart_unlocked
(project_id, token_id=None, *, fresh_profile=False)
tests/test_browser_captcha_personal.py:229
Method
runner
()
src/services/token_manager.py:600
Method
runner
()
tests/test_browser_captcha_personal.py:202
Function
saveSettings
()
extension/options.js:44
Method
send
(self, _cdp_obj, _is_update=False)
tests/test_browser_captcha_personal.py:56
Function
serialize_cookie_header
(raw_cookie: Any, default_url: str = DEFAULT_COOKIE_URL)
src/services/browser_cookie_utils.py:279
Method
server_host
(self)
src/core/config.py:252
Method
server_port
(self)
src/core/config.py:256
Method
setUp
(self)
tests/test_browser_captcha_personal.py:73
Method
set_browser_launch_background
设置有头浏览器打码是否后台启动。
src/core/config.py:418
Function
set_dependencies
Set service instances
src/api/admin.py:549
Function
set_generation_handler
Set generation handler instance.
src/api/routes.py:85
Method
set_polling_mode_enabled
Set polling mode enabled/disabled.
src/core/config.py:344
Method
set_upsample_timeout
Set upsample (4K/2K) timeout in seconds
src/core/config.py:361
Method
signed_unit
(index: int, scale: float)
src/services/browser_captcha_personal.py:3569
Method
solve_resident
(*args, **kwargs)
tests/test_browser_captcha_personal.py:243
Function
st_to_at
Convert Session Token to Access Token (仅转换,不添加到数据库)
src/api/admin.py:1078
Method
start_resident_mode
(self, project_id: str)
src/services/browser_captcha_personal.py:13937
Method
stop_resident_mode
(self, project_id: Optional[str] = None)
src/services/browser_captcha_personal.py:13948
Function
stream_generate_content
Gemini official streamGenerateContent endpoint.
src/api/routes.py:943
Method
submit_flow_request
在 browser 模式下于同一浏览器上下文内完成打码并提交 Flow 请求。
src/services/browser_captcha.py:2955
Method
test_api_captcha_returns_token_and_user_agent
_get_api_captcha_token 必须返回 (token, userAgent) 元组。
tests/test_api_captcha_fingerprint.py:61
Function
test_captcha_score
使用当前打码方式获取 token,并提交到 antcpt 校验分数。
src/api/admin.py:1933
Method
test_check_video_status_uses_media_payload_and_normalizes_response
(self)
tests/test_veo_lite_support.py:340
Method
test_close_clears_resident_tabs_when_warmup_task_attr_missing
(self)
tests/test_browser_captcha_personal.py:117
Method
test_create_resident_tab_cleans_tab_when_initialization_fails
(self)
tests/test_browser_captcha_personal.py:128
Method
test_create_resident_tab_returns_none_when_browser_missing
(self)
tests/test_browser_captcha_personal.py:110
Method
test_cross_day_video_increment_resets_other_daily_counters
(self)
tests/test_daily_stats_reset.py:50
Method
test_dashboard_stats_ignore_stale_previous_day_counts
(self)
tests/test_daily_stats_reset.py:25
Method
test_default_duration_models_include_explicit_8s_aliases
(self)
tests/test_veo_lite_support.py:181
Method
test_direct_upsampler_keys_are_not_public_models
(self)
tests/test_veo_lite_support.py:212
Method
test_execute_recaptcha_on_tab_accepts_remote_object_success_result
(self)
tests/test_browser_captcha_personal.py:103
Method
test_explicit_8s_aliases_reuse_default_upstream_keys
(self)
tests/test_veo_lite_support.py:159
Method
test_force_fresh_flow_error_defers_sync_browser_restart_until_drain
(self)
tests/test_browser_captcha_personal.py:170
Method
test_generate_video_start_end_uses_v2_payload_for_interpolation_lite
(self)
tests/test_veo_lite_support.py:389
Method
test_generate_video_text_normalizes_media_only_create_response
(self)
tests/test_veo_lite_support.py:259
Method
test_generate_video_text_uses_v2_payload_for_lite
(self)
tests/test_veo_lite_support.py:225
Method
test_get_token_waits_for_pending_fresh_restart_before_resident_pick
(self)
tests/test_browser_captcha_personal.py:212
Method
test_image_model_follows_reference_image_aspect_ratio
(self)
tests/test_veo_lite_support.py:88
Method
test_init_config_from_toml_persists_flow_max_retries
(self)
tests/testgeneration_config_max_retries.py:23
Method
test_nodriver_send_patch_handles_connection_without_closed_attr
(self)
tests/test_browser_captcha_personal.py:346
Method
test_openai_history_reference_image_can_drive_aspect_ratio
(self)
tests/test_veo_lite_support.py:317
Function
test_page
Model testing page
src/main.py:325
Method
test_pending_fresh_restart_task_is_preserved_during_runtime_shutdown
(self)
tests/test_browser_captcha_personal.py:201
Method
test_pool_dispatch_prefers_cold_idle_worker_over_busy_live_worker
(self)
tests/test_browser_captcha_personal.py:332
Method
test_pool_tab_limits_use_browser_count_times_per_worker_tabs
(self)
tests/test_browser_captcha_personal.py:312
Method
test_project_scoped_upload_accepts_media_list_response
(self)
tests/test_flow_client_upload.py:42
Method
test_project_scoped_upload_does_not_fallback_to_legacy_endpoint
(self)
tests/test_flow_client_upload.py:71
Method
test_project_scoped_upload_uses_new_endpoint_with_project_id
(self)
tests/test_flow_client_upload.py:11
Function
test_proxy_connectivity
测试代理是否可访问目标站点(默认 https://labs.google/)
src/api/admin.py:1295
Method
test_quality_4s_upsample_model_generates_then_upsamples
(self)
tests/test_veo_lite_support.py:143
Method
test_quality_6s_i2v_1080p_model_generates_then_upsamples
(self)
tests/test_veo_lite_support.py:151
Method
test_quality_model_does_not_upgrade_to_fake_ultra
(self)
tests/test_veo_lite_support.py:130
Method
test_r2v_models_include_explicit_landscape_aliases
(self)
tests/test_veo_lite_support.py:199
Method
test_reload_config_to_memory_syncs_max_retries
(self)
tests/testgeneration_config_max_retries.py:44
Method
test_resolve_quality_4s_upsample_alias_to_portrait_variant
(self)
tests/test_veo_lite_support.py:36
Method
test_resolve_quality_8s_alias_to_portrait_variant
(self)
tests/test_veo_lite_support.py:62
Method
test_resolve_quality_8s_upsample_alias_to_portrait_variant
(self)
tests/test_veo_lite_support.py:75
Method
test_resolve_t2v_lite_alias_to_portrait_variant
(self)
tests/test_veo_lite_support.py:23
Method
test_resolve_video_image_size_to_upsample_variant
(self)
tests/test_veo_lite_support.py:49
Method
test_restart_browser_for_project_reuses_recent_healthy_runtime
(self)
tests/test_browser_captcha_personal.py:143
Method
test_runtime_surface_profile_contains_extended_browser_environment
(self)
tests/test_browser_captcha_personal.py:290
Method
test_s7_s9_force_expected_min_score
(self)
tests/test_yescaptcha_task_type.py:23
Method
test_short_duration_models_include_explicit_landscape_aliases
(self)
tests/test_veo_lite_support.py:167
Method
test_supported_task_types_are_preserved
(self)
tests/test_yescaptcha_task_type.py:7
Method
test_tab_evaluate_normalizes_deep_serialized_remote_object
(self)
tests/test_browser_captcha_personal.py:90
Method
test_tier_two_does_not_upgrade_lite_model_to_fake_ultra
(self)
tests/test_veo_lite_support.py:103
Method
test_tier_two_still_upgrades_regular_model
(self)
tests/test_veo_lite_support.py:117
Method
test_unknown_task_type_falls_back_to_default
(self)
tests/test_yescaptcha_task_type.py:17
Method
test_upload_without_project_id_keeps_legacy_fallback
(self)
tests/test_flow_client_upload.py:98
Method
test_wait_for_pending_fresh_restart_awaits_existing_task
(self)
tests/test_browser_captcha_personal.py:264
Method
test_wait_for_recaptcha_raises_on_runtime_disconnect
(self)
tests/test_browser_captcha_personal.py:158
Function
update_admin_config
Update admin configuration (error_ban_threshold)
src/api/admin.py:1562
Function
update_admin_password
Update admin password
src/api/admin.py:1574
Function
update_api_key
Update API key (for external API calls, NOT for admin login)
src/api/admin.py:1583
Function
update_cache_base_url
Update cache base URL
src/api/admin.py:1760
Function
update_cache_config_full
Update complete cache configuration
src/api/admin.py:1733
Function
update_cache_enabled
Update cache enabled status
src/api/admin.py:1717
Function
update_call_logic_config
Update token call logic configuration.
src/api/admin.py:1406
Function
update_captcha_config
Update captcha configuration
src/api/admin.py:1776
Function
update_debug_config
Update debug configuration
src/api/admin.py:1598
Method
update_debug_config
Update debug configuration
src/core/database.py:1799
Function
update_generation_config
Update generation timeout configuration
src/api/admin.py:1372
Function
update_generation_timeout
Update generation timeout configuration
src/api/admin.py:1621
Function
update_plugin_config
Update plugin configuration
src/api/admin.py:2318
Function
update_proxy_config
Update proxy configuration
src/api/admin.py:1277
Method
update_proxy_config
Update proxy configuration
src/services/proxy_manager.py:130
Function
update_proxy_config_alias
Update proxy configuration (alias for frontend compatibility)
src/api/admin.py:1259
Function
update_token
Update token - 使用ST自动刷新AT
src/api/admin.py:913
Function
update_token_refresh_config
( request: TokenRefreshConfigRequest, token: str = Depends(verify_admin_token) )
src/api/admin.py:1670
Function
update_token_refresh_enabled
Update protocol ST refresh enabled; AT refresh remains always enabled.
src/api/admin.py:1655
Method
upsample_timeout
Get upsample (4K/2K) timeout in seconds
src/core/config.py:357
← previous
next →
1,101–1,200 of 1,214, ranked by callers