本项目用于将复杂场景的文本描述自动解耦为单个物体及其空间关系,支持多种大模型推理,最终生成 3D 场景。
建议使用 Python 3.9+。
pip install -r requirements.txt

object_info.txt (物体信息),layout_info.txt (空间特征)python object_layout_extractor.pygenerated_images/ 目录python part2_qwen_image.pymodels/ 目录blender_scene_script.py Blender脚本文件python run_part5_only.pypython main.py
# Part 1: 场景解耦
python object_layout_extractor.py
# Part 2: 生成图像
python part2_qwen_image.py
# Part 3 & 4: 在main.py中配置API密钥后运行相应部分
# Part 5: Blender渲染
python run_part5_only.py
Python
100.0%
本项目用于将复杂场景的文本描述自动解耦为单个物体及其空间关系,支持多种大模型推理,最终生成 3D 场景。
建议使用 Python 3.9+。
pip install -r requirements.txt

object_info.txt (物体信息),layout_info.txt (空间特征)python object_layout_extractor.pygenerated_images/ 目录python part2_qwen_image.pymodels/ 目录blender_scene_script.py Blender脚本文件python run_part5_only.pypython main.py
# Part 1: 场景解耦
python object_layout_extractor.py
# Part 2: 生成图像
python part2_qwen_image.py
# Part 3 & 4: 在main.py中配置API密钥后运行相应部分
# Part 5: Blender渲染
python run_part5_only.py
Python
100.0%