diff --git a/3d-generation-pipeline/generate_image_local.py b/3d-generation-pipeline/generate_image_local.py index c32f52ac..f8415f25 100644 --- a/3d-generation-pipeline/generate_image_local.py +++ b/3d-generation-pipeline/generate_image_local.py @@ -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 args = { "prompt": prompt, + "width": 512, + "height": 512, "model_key": "79401292-0a6b-428d-b7d7-f1e86caeba2b" # Juggernaut XL v9 #"model_key": "735f6485-6703-498f-929e-07cf0bbbd179" # Dreamshaper 8 } diff --git a/3d-generation-pipeline/generate_model_local.py b/3d-generation-pipeline/generate_model_local.py index 76474287..e35b9f71 100644 --- a/3d-generation-pipeline/generate_model_local.py +++ b/3d-generation-pipeline/generate_model_local.py @@ -47,7 +47,7 @@ def generate_no_preview(image_base64: str): 'ss_sampling_steps': 10, 'slat_guidance_strength': 7.5, 'slat_sampling_steps': 10, - 'mesh_simplify_ratio': 0.99, + 'mesh_simplify_ratio': 0.97, 'texture_size': 1024, #'texture_baking_mode': 'opt', 'texture_opt_total_steps': 1000, diff --git a/3d-generation-pipeline/start_pipeline.py b/3d-generation-pipeline/start_pipeline.py index 78293ed7..d8d1afda 100644 --- a/3d-generation-pipeline/start_pipeline.py +++ b/3d-generation-pipeline/start_pipeline.py @@ -33,7 +33,7 @@ async def main(): input_prompt = args.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 timestamp = get_timestamp()