try out different text-to-img and img-to-3d params
This commit is contained in:
parent
2980631414
commit
cc3c481295
@ -76,6 +76,8 @@ async def text_to_image_invoke_ai(prompt, output_path):
|
|||||||
# see available model keys via GET http://127.0.0.1:9090/api/v2/models/?model_type=main
|
# see available model keys via GET http://127.0.0.1:9090/api/v2/models/?model_type=main
|
||||||
args = {
|
args = {
|
||||||
"prompt": prompt,
|
"prompt": prompt,
|
||||||
|
"width": 512,
|
||||||
|
"height": 512,
|
||||||
"model_key": "79401292-0a6b-428d-b7d7-f1e86caeba2b" # Juggernaut XL v9
|
"model_key": "79401292-0a6b-428d-b7d7-f1e86caeba2b" # Juggernaut XL v9
|
||||||
#"model_key": "735f6485-6703-498f-929e-07cf0bbbd179" # Dreamshaper 8
|
#"model_key": "735f6485-6703-498f-929e-07cf0bbbd179" # Dreamshaper 8
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,7 +47,7 @@ def generate_no_preview(image_base64: str):
|
|||||||
'ss_sampling_steps': 10,
|
'ss_sampling_steps': 10,
|
||||||
'slat_guidance_strength': 7.5,
|
'slat_guidance_strength': 7.5,
|
||||||
'slat_sampling_steps': 10,
|
'slat_sampling_steps': 10,
|
||||||
'mesh_simplify_ratio': 0.99,
|
'mesh_simplify_ratio': 0.97,
|
||||||
'texture_size': 1024,
|
'texture_size': 1024,
|
||||||
#'texture_baking_mode': 'opt',
|
#'texture_baking_mode': 'opt',
|
||||||
'texture_opt_total_steps': 1000,
|
'texture_opt_total_steps': 1000,
|
||||||
|
|||||||
@ -33,7 +33,7 @@ async def main():
|
|||||||
|
|
||||||
input_prompt = args.prompt
|
input_prompt = args.prompt
|
||||||
print(f"Input prompt: {input_prompt}")
|
print(f"Input prompt: {input_prompt}")
|
||||||
image_generation_prompt = input_prompt + ", single object, plain neutral background, high-resolution, sharp details, soft studio lighting, front and side visible, realistic style, true-to-scale"
|
image_generation_prompt = input_prompt + ", single object, fully visible, plain neutral background, high-resolution, sharp details, soft studio lighting, front and side visible, anime style, true-to-scale"
|
||||||
|
|
||||||
pipeline_folder = Path(__file__).resolve().parent
|
pipeline_folder = Path(__file__).resolve().parent
|
||||||
timestamp = get_timestamp()
|
timestamp = get_timestamp()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user