import bpy
scene=bpy.context.scene
# Store high-quality benchmark intent in the scene; do not actually spend 64 samples here.
scene.render.engine='CYCLES'
scene.cycles.samples=64
scene.cycles.use_denoising=True
scene.render.resolution_x=1536; scene.render.resolution_y=1536; scene.render.resolution_percentage=100
scene.render.image_settings.file_format='PNG'
scene.render.filepath='<repo>/classical_head_bust_final.png'
# Add useful authored metadata for interactive inspection.
scene['Artwork']='Classical atelier head bust — idealized Greco-Roman plaster cast'
scene['Material_Choice']='Warm ivory atelier plaster with dust-grey carved recesses and subtle SSS'
scene['Eye_Convention']='Blank antique eye'
scene['Lighting_Design']='Large warm raking key, cool bounce fill, restrained rear rim'
scene['Presentation']='Eye-level three-quarter catalogue view'
# Keep camera as active and all visible.
cam=bpy.data.objects.get('Catalogue camera • 3/4 eye level')
scene.camera=cam
# Ensure scene is saved with render settings and camera.
bpy.ops.wm.save_as_mainfile(filepath='<repo>/classical_head_bust.blend')
print('FINAL SAVED',bpy.data.filepath,'engine',scene.render.engine,'samples',scene.cycles.samples,'res',scene.render.resolution_x)
result={'filepath':bpy.data.filepath,'engine':scene.render.engine,'samples':scene.cycles.samples,'resolution':[scene.render.resolution_x,scene.render.resolution_y],'camera':scene.camera.name,'objects':len(bpy.data.objects),'collections':len(bpy.data.collections)}


Info: Saved as "classical_head_bust.blend"
FINAL SAVED <repo>\classical_head_bust.blend engine CYCLES samples 64 res 1536