ajaysi bc311cfdf6 refactor(phase1): extract image generation helpers, edit, face_swap into separate modules + fix subscription bugs
Extracted from main_image_generation.py (1002->591 lines):
- image_generation/helpers.py: _validate_image_operation, _track_image_operation_usage
- image_generation/edit.py: generate_image_edit (with _get_edit_provider)
- image_generation/face_swap.py: generate_face_swap (with _get_face_swap_provider)

Main image_generation.py now imports and re-exports from these modules.
All existing imports (api/images.py, step4_asset_routes.py, studio services) continue to work unchanged.

Bug fixes included:
1. generate_image_edit: Added missing 'return result' (was returning None!)
2. generate_image_edit: Added missing _track_image_operation_usage call
3. generate_face_swap: Removed duplicate dead tracking code after return statement
2026-05-14 09:11:51 +05:30
2026-04-19 13:21:36 +05:30
2026-04-19 13:21:36 +05:30
2026-04-19 13:21:36 +05:30

Render CLI

Installation

Documentation

Documentation is hosted at https://render.com/docs/cli.

Contributing

To create a new command, use the cmd/template.go template file as a starting point. Reference the CLI Style Guide to learn more about command naming, flags, arguments, and help text conventions.

Description
No description provided
Readme 161 MiB
Languages
Python 52.6%
TypeScript 47.1%
CSS 0.2%