获取支持的宽高比 Returns: 支持的宽高比列表
(self)
| 55 | return self.config.get('supported_sizes', ['1024x1024']) |
| 56 | |
| 57 | def get_supported_aspect_ratios(self) -> list: |
| 58 | """ |
| 59 | 获取支持的宽高比 |
| 60 | |
| 61 | Returns: |
| 62 | 支持的宽高比列表 |
| 63 | """ |
| 64 | return self.config.get('supported_aspect_ratios', ['1:1', '3:4', '16:9']) |