MCPcopy Create free account
hub / github.com/HisMax/RedInk / get_supported_aspect_ratios

Method get_supported_aspect_ratios

backend/generators/base.py:57–64  ·  view source on GitHub ↗

获取支持的宽高比 Returns: 支持的宽高比列表

(self)

Source from the content-addressed store, hash-verified

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'])

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected