import json

with open("tmp_api2.json", "r") as f:
    js = json.load(f)
    page_props = js.get("data", {}).get("data", {}).get("props", {}).get("pageProps", {})
    
    print("=== modelInfo keys ===")
    model_info = page_props.get("modelInfo", {})
    if isinstance(model_info, dict):
        print(", ".join(model_info.keys()))
        print("\n=== modelInfo summary ===")
        print("Name:", model_info.get("name"))
        print("Type:", model_info.get("modelTypeName"))
        print("Desc length:", len(str(model_info.get("description", ""))))
        print("Versions count:", len(model_info.get("versions", [])))
    else:
        print(type(model_info))
