Spaces:
Sleeping

File size: 559 Bytes
e67ded9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from gradio_client import Client, handle_file

client = Client("frogleo/Image-to-3D")

result = client.predict(
    image=handle_file(
        r"C:\Users\zbook 17 g3\Desktop\15.05.2026_10.37.20_REC.png"
    ),
    steps=5,
    guidance_scale=5.5,
    seed=1234,
    octree_resolution=256,
    num_chunks=8000,
    target_face_num=10000,
    randomize_seed=True,
    api_name="/gen_shape"
)

glb_url = "https://frogleo-image-to-3d.hf.space" + result[2]
obj_url = "https://frogleo-image-to-3d.hf.space" + result[3]

print("GLB:", glb_url)
print("OBJ:", obj_url)