'Blender using the same scene with different inputs

I'm not very familiar with blender, but using the API, can I make a scene and run a script with a variable that will render that same scene with that variable in it? I'm trying to make a 3D scene and save it as a 2D image on request.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source