This commit is contained in:
2025-09-04 11:37:51 +08:00
parent 4f1540961e
commit 1938678c22
6 changed files with 3 additions and 3 deletions

View File

View File

@@ -6,7 +6,7 @@ if __name__ == '__main__':
# 测试获取模型版本信息
print("===== 测试获取模型版本信息 =====")
version_uuid = "21df5d84cca74f7a885ba672b5a80d19"
version_uuid = "0ea388c7eb854be3ba3c6f65aac6bfd3"
model_info = lib.get_model_version_info(version_uuid)
if model_info:

View File

@@ -14,8 +14,8 @@ if __name__ == '__main__':
# 调用自定义Checkpoint方法进行文生图
result = liblib.generate_custom_checkpoint_text_to_image(
template_uuid="e10adc3949ba59abbe56e057f20f883e",
checkpoint_id="0ea388c7eb854be3ba3c6f65aac6bfd3",
template_uuid="e10adc3949ba59abbe56e057f20f883e",# 1.5和XL文生图 - 自定义完整参数
checkpoint_id="0ea388c7eb854be3ba3c6f65aac6bfd3",# Dream Tech XL | 筑梦工业XL v6.0 - 寄语星河
prompt="Asian portrait,A young woman wearing a green baseball cap,covering one eye with her hand",
negative_prompt="ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),",
sampler=15,