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

Method get_supported_sizes

backend/generators/base.py:48–55  ·  view source on GitHub ↗

获取支持的图片尺寸 Returns: 支持的尺寸列表

(self)

Source from the content-addressed store, hash-verified

46 pass
47
48 def get_supported_sizes(self) -> list:
49 """
50 获取支持的图片尺寸
51
52 Returns:
53 支持的尺寸列表
54 """
55 return self.config.get('supported_sizes', ['1024x1024'])
56
57 def get_supported_aspect_ratios(self) -> list:
58 """

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected