Coder Social home page Coder Social logo

ai-render's People

Contributors

ayaanshah2204 avatar benrugg avatar leonardmeagher2 avatar marianbasti avatar steve-salmond avatar tijszwinkels avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ai-render's Issues

New install crashes on render.

Describe the bug

Fresh install of AI-Render. Simple scene. Simple prompt. Select RENDER in Blender and the plugin ERRORS. Automatic1111 runs fine in my browser window.
-David

flowers_01.zip
Blender_SD_RunError.txt
SD_ServerErrorOnRender.txt
SD_ServerLaunch.txt

blender_q8ijKPueRN

blender_MotbfbUW6s

blender_NantmdhORX

To reproduce

Just try to Render the scene in Blender. Stable Diffusion throws errors in the console.

Error log

Read prefs: C:\Users\drswo\AppData\Roaming\Blender Foundation\Blender\3.3\config\userpref.blend
Reloading external rigs...
Reloading external metarigs...
_______REgister previews
.. .ao
.. .ao_legacy
.. .bevel_mask
.. .cavity
.. .curvature
.. .diffuse
.. .displacment
.. .dust
.. .id_element
.. .id_material
.. .normal_object
.. .normal_object_bevel
.. .normal_tangent
.. .normal_tangent_bevel
.. .paint_base
.. .position
.. .selection
.. .wireframe
register
Registered MACHIN3tools 1.1.0.DeusEx with 9 tools, 9 pie menus
HardOps 0.9.87.33 available!
Info: Updated sidebar tabs
Read blend: G:__Projects__Projects BLENDER\AI Renders\flowers_01.blend
AI Render Error: An error occurred in the Automatic1111 Stable Diffusion server. Check the server logs for more info.

Environment

  • Blender version (upper right corner of splash screen): 3.1.1
  • AI Render version (find in Preferences > Add-ons): 0.5.3
  • Operating system (Windows/Mac/Linux): Windows 10 Pro 21H2 b.19044.2251

Screenshots/video

No response

Additional information

No response

Traceback (Most recent call last)

Describe the bug

image

To reproduce

Its not getting enabled once after instiing the plugin

Error log

Read prefs: C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\config\userpref.blend
found bundled python: C:\Program Files\Blender Foundation\Blender 2.83\2.83\python
reloading addon: AI-Render 1668740773.6741736 1668740883.0887089 'C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render\init.py'
Modules Installed () from 'F:\SOFTWARES\Blender\AI-Render-v0-5-3.zip' into 'C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons'
TypeError: EnumProperty(...): 'default' can't be set when 'items' is a function
Exception in module register(): C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py", line 58, in register
properties.register()
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render\properties.py", line 179, in register
bpy.utils.register_class(cls)
ValueError: bpy_struct "AIRProperties" registration error: sampler could not register

Exception in module register(): C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py", line 53, in register
addon_updater_ops.register(bl_info)
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render\addon_updater_ops.py", line 1516, in register
bpy.utils.register_class(cls)
ValueError: register_class(...): already registered as a subclass 'AddonUpdaterInstallPopup'

reloading addon: AI-Render 1668740883.0887089 1668741004.0677583 'C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render\init.py'
Modules Installed () from 'F:\SOFTWARES\Blender\AI-Render-v0-5-3.zip' into 'C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons'
Exception in module register(): C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py", line 53, in register
addon_updater_ops.register(bl_info)
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render\addon_updater_ops.py", line 1516, in register
bpy.utils.register_class(cls)
ValueError: register_class(...): already registered as a subclass 'AddonUpdaterInstallPopup'

Exception in module register(): C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py", line 53, in register
addon_updater_ops.register(bl_info)
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render\addon_updater_ops.py", line 1516, in register
bpy.utils.register_class(cls)
ValueError: register_class(...): already registered as a subclass 'AddonUpdaterInstallPopup'

Exception in module register(): C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py", line 53, in register
addon_updater_ops.register(bl_info)
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render\addon_updater_ops.py", line 1516, in register
bpy.utils.register_class(cls)
ValueError: register_class(...): already registered as a subclass 'AddonUpdaterInstallPopup'

Exception in module register(): C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py", line 53, in register
addon_updater_ops.register(bl_info)
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render\addon_updater_ops.py", line 1516, in register
bpy.utils.register_class(cls)
ValueError: register_class(...): already registered as a subclass 'AddonUpdaterInstallPopup'

Exception in module register(): C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py", line 53, in register
addon_updater_ops.register(bl_info)
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render\addon_updater_ops.py", line 1516, in register
bpy.utils.register_class(cls)
ValueError: register_class(...): already registered as a subclass 'AddonUpdaterInstallPopup'

Exception in module register(): C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py", line 53, in register
addon_updater_ops.register(bl_info)
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render\addon_updater_ops.py", line 1516, in register
bpy.utils.register_class(cls)
ValueError: register_class(...): already registered as a subclass 'AddonUpdaterInstallPopup'

Exception in module register(): C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render_init_.py", line 53, in register
addon_updater_ops.register(bl_info)
File "C:\Users\Sujesh Pullanikkat\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\AI-Render\addon_updater_ops.py", line 1516, in register
bpy.utils.register_class(cls)
ValueError: register_class(...): already registered as a subclass 'AddonUpdaterInstallPopup'

Environment

  • Blender version (upper right corner of splash screen):
  • AI Render version (find in Preferences > Add-ons):
  • Operating system (Windows/Mac/Linux):

Screenshots/video

image

Additional information

No response

Local installation: Ai renders but won't show in Blender

Describe the bug

Blender will not show the resault image
Blender's system console is not helping much too

To reproduce

Rendering scene with Local Backend (Automatic1111 before Oct 21)
will resault in image beeing processed as expected
(shows progress in webUI console and can find the image in webUI output folder)

Error log

AI Render Error: Couldn't load the image from Stable Diffusion

Environment

  • Blender version 3.3.0
  • AI Render version 0.3.3
  • Operating system Windows 10
  • WebUI running on Anaconda Environment

Screenshots/video

No response

Additional information

No response

Feature request : Ability to change setup and turn off

Describe the feature you'd like to see:

Hi, firstly, thank you for this addon - it's amazing!

Just noticed that once you have selected image size etc, you cannot change for a different resolution? - This might be handy if you are just testing some camera setups, then want to go to a production size when happy.

Also, there appears to be no way of disabling the ai render once activated? Is that possible to add?

Thanks again!

Additional information

No response

AI-render for blender installation tutorial

Describe the feature you'd like to see:

Hello

can you give me the address of a video tutorial, from start to finish, on how to install AI-render in blender?

would be the local install of AI-render .

I am not able to install by the available text.

thanks

thanks

Additional information

No response

The render image don't change

Describe the bug

Every time i click render but it not change the render image.I try youtube tutorial but it not work at all help me& thank you.
Screenshot (269)

To reproduce

1)install addon and connect to api
2)create a sample scene
3)click to render

Error log

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\urllib3\connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\urllib3\util\connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed

Environment

  • Blender version (upper right corner of splash screen):
  • AI Render version (find in Preferences > Add-ons):
  • Operating system (Windows):

Screenshots/video

No response

Additional information

No response

Feature Request: Ability to specify different prompts/weights/params for different objects or areas of the image

Describe the feature you'd like to see:

edit: Since the title got adjusted, here's the original suggestion I had in the title itself:

Move parameters to the composition node itself, add button to create additional prompts, each prompt with a weight parameter, and also checkbox to inpaint alpha/mask


Something I've been wanting to try was to have multiple simultaneous AI passes, each masked to different objects on the scene and with their own prompts, with objects that will rotate during animation (or have the camera move around them) having multiple prompts specifying from which angle it's visible with the weights for those prompts controlled by drivers that calculate values based on the rotation of the objects relative to the camera; and then finally combine all of those together in a final AI pass.

ps: Lemme know if you need me to break it down into separate suggestions for each part

Additional information

No response

Feature Request: Better Animation interpolation

Describe the feature you'd like to see:

Hi, (I can never thank you enough for this setup!)

I have been playing with the animation which is great - love that you can guide the animation using blender, so intuitive, however, when using the COLAB methods, such as this one https://colab.research.google.com/github/deforum/stable-diffusion/blob/main/Deforum_Stable_Diffusion.ipynb you have the ability to interpolate between AI renders, as well as chose 2d/3d etc - I think it is looking at the previous image, checking against where it has to get to, and then morphs the images progressively over several frames. This produces much more consistent changes between frames. Whereas currently your system is just rendering from the latest Blender render image output (I think)?

Having more animation controls would be amazing! Thanks!

Additional information

No response

" Detail not found "

Describe the feature you'd like to see:

I can't make render AI work with local stable diffusion UI. It works if I use my DreamStudio key, Also stable diffusion UI work from the browser but when I try from blender it does not connect.

serve response {"detail":"Not Found"}

Blender - 3.3.1
Render AI addon - 0.5.3
stable diffusion UI - latest update from 23 ‎November ‎2022

Additional information

No response

AI Renderer not working

Describe the bug

After rendering, nothing changes. In the AI Render Tab, the node "AI Render" is greyed out.

To reproduce

Every time I try to render it.

Expected behavior

No response

Screenshots/video

Render AI Console

Environment

  • AI Render version:
  • Blender version:
  • Operating system: (Windows, OS X, etc)

Logs

Traceback (most recent call last):
File "C:\Users\henri\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\AI-Render\task_queue.py", line 12, in execute_queued_functions
function()
File "C:\Users\henri\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\AI-Render\operators.py", line 308, in send_to_api
img = bpy.data.images.load(tmp_filename, check_existing=True)
RuntimeError: Error: Cannot read '/tmp\ai-render-temp/ai-render-1666126304-2-after.png': No such file or directory

Additional information

No response

Small QOL feature - Auto Steps/Similarity Ratio Adjustment (toggleable)

Describe the feature you'd like to see:

Hello, considering that in the large majority of cases when increasing similarity beyond 50% (.50) it becomes necessary to increase the step count in order to maintain proper cohesion, it would be handy to have a toggle/checkbox that one could click to enable an 'auto steps/similarity ratio adjustment' feature, where - if selected - then when a user goes up past 50%, the steps count is linked and goes up at a sensible ratio as similarity is increased.

Just a small QOL feature but it would save having to bother with manual adjustment when raising similarity to high levels.

Additional information

No response

Still seeing server timeouts?

Describe the bug

Looks like you've been working on fixes for server timeouts, but it appears I'm still seeing some.

The install works fine, default settings. My API-Key account connects to the server just fine through the dreamstudio brower UI, so I know the server is responsive.... just not in the Blender session. Note that this was working for me just fine about two weeks ago.

Help appreciated!

Log screenshot included.

To reproduce

Install in default-cube scene, connect api key and set resolution, type a simple prompt, hit render.

Render appears, but the ai_render node fails after about 15 seconds.

Error log

see attached image
(Is there a way to cut-and-paste the log from blender?)

Environment

  • Blender version (upper right corner of splash screen):
  • AI Render version (find in Preferences > Add-ons):
  • Operating system (Windows/Mac/Linux):

v0-6-6 plugin
Blender 3.1.2 and 3.3.1 both tried
Windows 10 pro

Screenshots/video

blender_render_ai_0-6-6_errorlog

Additional information

No response

Request: Discord server

Describe the feature you'd like to see:

Having a discord server with the following channels:
• General
• faq
• Ideas and feedback
• bug report
• feature request
• art (and techniques) sharing
• development general

I've also seen holding voting for new features is a good unofficial way to assess priorities.

I know that most of this can be debated on Github, but on discord chat can be way less structured and the platform is much less intimidating for ones not involved on development, encouraging more engagement.
I can take care of building the server if that's okay.

Additional information

No response

AI Image style conversion

Describe the feature you'd like to see:

Photoshop actions are awful. I would like to take an image or 3D scene and preserve as much of the detail and elements as desired and turn it into a sketch or ink drawing or oil painting etc in the style of various artists and have it look like that style.

Additional information

No response

Error

Hi,

thanks a lot for the add-on, but unfortunately it doesn't work in my case. Please see below the error I get aft rendering:

image

The compositing node is also muted but even when I unmute it, it doesn't work.

Feature Request: Better progress bar during rendering

Describe the feature you'd like to see:

No need for API. Calculate remaining time by the root mean square of previous runs' time, like Gradio does.
I don't know how possible is to use this progress bar
image
If not possible, have it in the style of the second answer here https://blender.stackexchange.com/questions/3219/how-to-show-to-the-user-a-progression-in-a-script, in a little panel with console open like this.
image

Also, find a way for interface not to freeze during process? (multithreading?).

Additional information

No response

QOL Feature - Ability to change models from Blender AI-Render interface

Describe the feature you'd like to see:

Hello again.
Currently, I can change models easily enough by keeping the Automatic1111 UI open in the browser and selecting them there, but it's tedious to have to switch out of blender to the browser, change it there, and swap back to blender again to render. It would be much nicer to be able to select a model right in the AI-Render interface in Blender.

Additional information

No response

Feature Request: Negative prompt

Describe the feature you'd like to see:

This is a great addon, I actually completed the 3D guru donut tut while installing it. Great fun to see how it works.
As an SD local user, big part of getting specific results is controlling the negative prompt. Took a look around and couldn't find a way, maybe there is one, if so I missed it.
Tried "--neg" and "Negative prompt:" followed by the negative prompt content but that doesn't seem to be it.

Additional information

No response

ReferenceError: StructRNA of type Scene has been removed

Describe the bug

I installed the Blender addon and added the api key from the website then tried to render but there were no changes in the render whatsoever

To reproduce

followed the Tutorial

Error log

no error log alerts

Environment

  • Blender version (upper right corner of splash screen): 3,30
  • AI Render version (find in Preferences > Add-ons): 0,2,8
  • Operating system (Windows/Mac/Linux): Windows

Screenshots/video

No response

Additional information

No response

Add the ddim sampler

Describe the feature you'd like to see:

as I know that one of the next features will be the implementation of animations, I suggest adding the sampler ddim. I had better results with coherence between frames using this sampler in Deforum notebook.

Additional information

No response

Blender closes when rendering an animation

Describe the bug

When I try to render an animation, Blender hangs for about 20-40 seconds and then just closes.

To reproduce

I'm using version 3.0 of Blender. The project I'm rendering takes up about 5 GB of VRAM on its own, and I'm rendering at 512 x 1024. My GPU is an RTX 2080 (8GB VRAM). Does the renderer have to have both the AI model and the Blender scene BVH loaded into VRAM at the same time, or is there a way I can unload one before loading the other to avoid running out of VRAM?

Error log

No error log available, as Blender just outright closes.

Environment

  • Blender version (upper right corner of splash screen): 3.0.1
  • AI Render version (find in Preferences > Add-ons): 0.6.8
  • Operating system (Windows/Mac/Linux): Windows 10

Screenshots/video

No response

Additional information

No response

Render Animation doesn't work

Describe the bug

If I try to render an animation, the output is just the original non-AI render (except if I did do an AI render previously, the first frame gets replaced by the previously AI rendered image even if the scene has actually been modified in the meantime.

ps:If it makes any difference, I believe the Auto1111 script here updates it on every launch, and I fired it up about half an hour or so ago before filing this bug report (so something like about 03:00 UTC on the 22th of October). Lemme know what other details you need.

To reproduce

Use it normally, but instead of rendering one frame, render in animation mode (Ctrl-F12 by default, or Render Animation in the Render Menu), and then look at the results.

Error log

There are no error messages, but the addon behaves unexpectedly.

Environment

  • Blender version (upper right corner of splash screen): 3.3.0
  • AI Render version (find in Preferences > Add-ons): 0.3.3
  • Operating system (Windows/Mac/Linux): Linux

Screenshots/video

No response

Additional information

No response

Error with Automatic1111: Unexpected keyword argument `include_init_images`

Describe the bug

Was working few days ago, did the latest 1111 update, tried to render something in blender and got the following message "An error occurred in the Automatic1111 Stable Diffusion server. Check the server logs for more info." not sure where to find the logs...

To reproduce

latest 1111 and AI render addon

Error log

ERROR: Exception in ASGI application
Traceback (most recent call last):
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py", line 94, in receive
return self.receive_nowait()
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py", line 89, in receive_nowait
raise WouldBlock
anyio.WouldBlock

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 43, in call_next
message = await recv_stream.receive()
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory.py", line 114, in receive
raise EndOfStream
anyio.EndOfStream

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 404, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\fastapi\applications.py", line 270, in call
await super().call(scope, receive, send)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call
raise exc
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call
await self.app(scope, receive, _send)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 72, in call
response = await self.dispatch_func(request, call_next)
File "C:\ai\stable-diffusion-webui\extensions\auto-sd-paint-ext\backend\app.py", line 344, in app_encryption_middleware
res: StreamingResponse = await call_next(req)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 46, in call_next
raise app_exc
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\base.py", line 36, in coro
await self.app(scope, request.receive, send_stream.send)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call
await responder(scope, receive, send)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 43, in call
await self.app(scope, receive, self.send_with_gzip)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 75, in call
raise exc
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 64, in call
await self.app(scope, receive, sender)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call
raise e
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 680, in call
await route.handle(scope, receive, send)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 275, in handle
await self.app(scope, receive, send)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 65, in app
response = await func(request)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\fastapi\routing.py", line 231, in app
raw_response = await run_endpoint_function(
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\fastapi\routing.py", line 162, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\starlette\concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "C:\ai\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "C:\ai\stable-diffusion-webui\modules\api\api.py", line 149, in img2imgapi
p = StableDiffusionProcessingImg2Img(**vars(populate))
File "C:\ai\stable-diffusion-webui\modules\processing.py", line 736, in init
super().init(**kwargs)
TypeError: StableDiffusionProcessing.init() got an unexpected keyword argument 'include_init_images'

Environment

  • Blender version (upper right corner of splash screen): 3.3
  • AI Render version (find in Preferences > Add-ons): 05.03
  • Operating system (Windows/Mac/Linux): Windows 10

Screenshots/video

No response

Additional information

No response

Server Error

Describe the bug

I create a simple scene with a cube and a light. Try to render and recive a report log:

205305466-6f5e8855-72cd-4e33-840e-c68690928208

To reproduce

Use all the passage in the tutorial when start rendering there's report log

Error log

205305466-6f5e8855-72cd-4e33-840e-c68690928208

Environment

  • Blender version (upper right corner of splash screen):
  • AI Render version (find in Preferences > Add-ons):
  • Operating system (Windows/Mac/Linux):

Screenshots/video

205305466-6f5e8855-72cd-4e33-840e-c68690928208

Additional information

No response

Sampler steps is off by (half + 1)

Describe the bug

using the current release, for any sampler, the steps actually ran are (half the steps requested + 1). The default of 40 runs 21 steps, when I set it to 80, it ran 41 steps.

To reproduce

using 0.4.01, running Automatic1111 locally on Windows, render any blend file with the default AI-Render settings. Check the cmd window output from Automatic1111 to see the progress of the sampler.

Error log

No errors found. Does not crash Blender or Automatic1111 api.

Environment

  • Blender version (upper right corner of splash screen): 3.3.1
  • AI Render version (find in Preferences > Add-ons): 0.4.01
  • Operating system (Windows/Mac/Linux): Window 10

Screenshots/video

Capture

Additional information

No response

Local Stable Diffusion Render

Describe the feature you'd like to see:

Any plans to support generating local diffusion images locally?
Perhaps it could tie into Automatic1111's API (with it being a dependency to install) after launching it and save a lot of work that way, and just pull it into Blender from there.

Additional information

No response

Timeout when integrating with Diffusion Bee

Describe the bug

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/blendersushi/Library/Application Support/Blender/3.4/scripts/addons/AI-Render/task_queue.py", line 12, in execute_queued_functions
    function()
  File "/Users/blendersushi/Library/Application Support/Blender/3.4/scripts/addons/AI-Render/operators.py", line 278, in send_to_api
    response = requests.post(config.API_URL, params=params, headers=headers, files=files, timeout=config.request_timeout)
  File "/Applications/BLENDER_34/Blender.app/Contents/Resources/3.4/python/lib/python3.10/site-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/Applications/BLENDER_34/Blender.app/Contents/Resources/3.4/python/lib/python3.10/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Applications/BLENDER_34/Blender.app/Contents/Resources/3.4/python/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/Applications/BLENDER_34/Blender.app/Contents/Resources/3.4/python/lib/python3.10/site-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/Applications/BLENDER_34/Blender.app/Contents/Resources/3.4/python/lib/python3.10/site-packages/requests/adapters.py", line 501, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', TimeoutError('The write operation timed out'))

To reproduce

I was running this AI render while also doing Diffusion Bee (tasking stuff). And I kept getting this time out issue and no render being produced.

Expected behavior

It should just work.

Screenshots/video

No response

Environment

  • AI Render version: latest
  • Blender version: 3.4
  • Operating system: macOS Ventura

Logs

No response

Additional information

No response

Code License Addition

Describe the feature you'd like to see:

Hello, could you add a license to the repo?
Perhaps MIT? :)

Additional information

No response

In case you are running multiple sessions

Describe the feature you'd like to see:

Hi, Great Job. I'm impressed. I have multiple GPU's running . SD doesn't see but one at a time. So in the bat file I have a line for one session using Automatic1111 on a browser that is currently training "set CUDA_VISIBLE_DEVICES=0"
and then I saved another copy of bat to "webui-blender.bat" and there I changed that line to "set CUDA_VISIBLE_DEVICES=1"
and then added
"set COMMANDLINE_ARGS=--vae-path "models\Stable-diffusion\vae-ft-mse-840000-ema-pruned.pt" --api --port 7861"
So that I can set my port to something different in Blender...works great. The pruned.pt is optional, I found it helps the faces look better.

Thanks, just thought you might like to let others know.

Additional information

No response

Error in Blender 3.5

Describe the bug

When i render I get:

ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug.
Screenshot 2022-12-22 092801
this should not happen!

To reproduce

Attempt to render using any blender 3.0+

Error log

ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!
ERROR: Python context internal state bug. this should not happen!

Environment

  • Blender version (3.5):
  • AI Render version (0.6.8):
  • Operating system (Windows 10):

Screenshots/video

No response

Additional information

No response

It continuously give the error of server timing out

Describe the bug

Whenever I click the render button the AI renderer give server times out error

To reproduce

I do everything correctly but when i click the render bttun it shows the error

Error log

AI Render Error: The server timed out. Try again in a moment, or get help. Get help with timeouts

Environment

  • Blender version (upper right corner of splash screen): 3.3.1
  • AI Render version (find in Preferences > Add-ons): 0.5.3
  • Operating system (Windows/Mac/Linux): Mac

Screenshots/video

No response

Additional information

No response

Feature Request: Loop Render (using previous AI image as input)

Describe the feature you'd like to see:

Since unlimited "local render" is working, maybe we need also the ability to batch render static or animated frames -- with different random seed or same seed. I would like to render over night usually, since my local render is kind of slow 4-10 minutes per image, I can let it render for 6-8 hours while asleep or when computer idle.

Another request is if we could "loop" render X times the image from last render or image last AI render, sometimes it could produce interesting details.

Thanks!

Additional information

No response

Couldn't create temp directory for images

Describe the bug

I rendered simple test scene, but blender couldn't render AI Render and showed such a messege "Couldn't create temp dirctory for images" and didn't funtion rendering (only render base blender render. Didn't rendered AI render)
I relocated other directory for render, but same happen.

  • AI Render node is mute too !

To reproduce

Install AI Render
Make simple test scene
Did Render (with AI Render)
Renedered blender Render, but no AI Render
show error log at Prompt :Couldn't create temp dirctory for images

Expected behavior

Render currectly and save images,

Screenshots/video

No response

Environment

  • AI Render version:
  • Blender version:
  • Operating system: (Windows, OS X, etc)

AI Render 0..2.6
Blender 3.1
Window 10

Logs

No response

Additional information

No response

More than 50 steps

Describe the feature you'd like to see:

For some cases I would like to take further 100 or 150 steps and the interface limits me to 50.

Thanks for the software, it's working great. :-)

Additional information

No response

Question: Google Analytics

Hi there,

Just noticed after each return from a locally served SD run, the addon is sending something to google analytics? , Can you tell me what's being sent here please? - Thanks!

When Using local AI, ability to select model

Describe the feature you'd like to see:

When using the locally installed engine, the model selection disappears - if I go to the browser UI, the different models are available.

Additional information

No response

Feature Request: Add seed (and possibly other params) to output filename

Describe the feature you'd like to see:

Please add the ability to save the generation seed in the file name.
So I could repeat the result I like. Right now there is a set of digits which looks like a seed, but it has nothing to do with the actual seed. In the related field other digits are displayed.
Also it would be cool if you could add possibility to animate based on previous generation result. So I could generate e.g. 50 shots automatically.
Right now the animation can only be rendered based on the original image. Thank you!

Additional information

No response

Render image not working

Describe the bug

Hi, I tried to use AI Render but after I clicked Render Image, it was showing the original image from Blender. Blueprint showed that it was connected to AI Render

To reproduce

  1. installed AI Render in Blender
  2. size, prompts, style selected
  3. Render Image but AI Render not working (showing the same original image)

Expected behavior

No response

Screenshots/video

No response

Environment

  • AI Render version: 0.2.6
  • Blender version: latest
  • Operating system: (Windows)

Logs

No response

Additional information

No response

Enable Automatic's 'HiRes Fix' option in AI-Render interface

Describe the feature you'd like to see:

Hello, if we could hook in and render using the 'HiRes Fix' option included in Automatic1111 that would be amazing.
I tried enabling it in the UI and running in Blender, but unlike changing models as HiRes Fix is applied after the image is rendered it won't work in the AI-Render plugin the same way.

I do realize the plugin isn't the Automatic1111-UI and that many of the features of the webui won't translate well to the plugin, but considering how common it is in Blender to render to various aspect ratios I think it would be a great feature to have.

Additional information

No response

Couldn't decode base64 image, or couldn't write to temp file

Describe the bug

The error in the title is all I get, using a local Automatic1111 install (updated at the time of writing). The webui terminal output shows that an image does get generated.

To reproduce

Just trying to render anything with AI render enabled causes the issue.

Error log

DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:7860
DEBUG:urllib3.connectionpool:http://127.0.0.1:7860 "POST /sdapi/v1/img2img HTTP/1.1" 200 216413
AI Render Error:  Couldn't decode base64 image, or couldn't write to temp file

Environment

  • Blender version (upper right corner of splash screen): 3.3.1
  • AI Render version (find in Preferences > Add-ons): 0.4.0
  • Operating system (Windows/Mac/Linux): EndeavourOS Linux

Screenshots/video

No response

Additional information

The AI Render node appears muted and, if I unmute it manually, automatically mutes itself the moment I start a render, but I assume that's intended behavior?

TypeError: StableDiffusionProcessing.__init__() got an unexpected keyword argument 'include_init_images'

Describe the bug

A1111 spits out that error when I try to render with the addon .

Doesn't seem to be an issue with A1111 in itself since I don't get any error when using Interpause's Krita plugin.

To reproduce

Just try to render something with the addon

Error log

ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/anyio/streams/memory.py", line 94, in receive
    return self.receive_nowait()
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/anyio/streams/memory.py", line 89, in receive_nowait
    raise WouldBlock
anyio.WouldBlock

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/base.py", line 77, in call_next
    message = await recv_stream.receive()
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/anyio/streams/memory.py", line 114, in receive
    raise EndOfStream
anyio.EndOfStream

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 404, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/fastapi/applications.py", line 270, in __call__
    await super().__call__(scope, receive, send)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/applications.py", line 124, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/base.py", line 106, in __call__
    response = await self.dispatch_func(request, call_next)
  File "/home/username/Stab-Diff/AUTOMATIC1111/stable-diffusion-webui/extensions/auto-sd-paint-ext/backend/app.py", line 344, in app_encryption_middleware
    res: StreamingResponse = await call_next(req)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/base.py", line 80, in call_next
    raise app_exc
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/base.py", line 69, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/base.py", line 106, in __call__
    response = await self.dispatch_func(request, call_next)
  File "/home/username/Stab-Diff/AUTOMATIC1111/stable-diffusion-webui/extensions/auto-sd-paint-ext/backend/app.py", line 344, in app_encryption_middleware
    res: StreamingResponse = await call_next(req)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/base.py", line 80, in call_next
    raise app_exc
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/base.py", line 69, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 24, in __call__
    await responder(scope, receive, send)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 43, in __call__
    await self.app(scope, receive, self.send_with_gzip)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/routing.py", line 706, in __call__
    await route.handle(scope, receive, send)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/fastapi/routing.py", line 235, in app
    raw_response = await run_endpoint_function(
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/fastapi/routing.py", line 163, in run_endpoint_function
    return await run_in_threadpool(dependant.call, **values)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
    return await anyio.to_thread.run_sync(func, *args)
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "/home/username/anaconda3/envs/py310/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "/home/username/Stab-Diff/AUTOMATIC1111/stable-diffusion-webui/modules/api/api.py", line 155, in img2imgapi
    p = StableDiffusionProcessingImg2Img(**vars(populate))
  File "/home/username/Stab-Diff/AUTOMATIC1111/stable-diffusion-webui/modules/processing.py", line 738, in __init__
    super().__init__(**kwargs)
TypeError: StableDiffusionProcessing.__init__() got an unexpected keyword argument 'include_init_images'

Environment

  • Blender version (upper right corner of splash screen): 3.3.1
  • AI Render version (find in Preferences > Add-ons): 0.3.6
  • Operating system (Windows/Mac/Linux): Linux

Screenshots/video

No response

Additional information

No response

[Feature request]: Send to Web-UI Button in Image Editor

Describe the feature you'd like to see:

When using the local installation, it would be awesome if we could send an image from the image editor in Blender directly to the web-ui in order to use all the scripts.
Then we also could use a quick viewport image render and send it to A1111 and continue there.
F3xTU6TWnT

Additional information

No response

Render Routed via API to Automatic1111 Extension Instead

Describe the feature you'd like to see:

Would love to have the render sent immediately to a Blender tab/extension in A1111... so I can use the models and settings there. Definitely something I could do manually doing it in img2img... but would be awesome to leverage API.

Additional information

No response

Feature Request: xno.ai integration

Describe the feature you'd like to see:

Ability to use xno.ai as the generation source, using their api: xno.ai/api

Additional information

xno.ai's API is cheaper in bulk than Dreamstudio so it'd be a good alternative, especially for potential future animation support.

Imac Os Ventura/ Blender/ AI Render / error message

Describe the bug

Hello
I worked with AI render with a plane + JPEG TEXTURE and all was OK
but oops! Error message with the same material .
Sans titre

thanks for your help and Bravo for your wonderful Addon
Sans titre

ps : I am french and it is difficult for me to explain
cheers

To reproduce

Imac 2019 / Os ventura / 8 go Ram / Radeon Pro 555X 2 Go / Hd 1 tetra go
open blender
add a plane
add new material = jpeg pic
add image size 960 x 960
add a prompt = music
render and right now error message

But Ii worked with the same pic 2 hours without issues

Error log

Last login: Sat Dec 17 08:55:02 on ttys000
laurencemas@iMac-de-Jean-MAS-2 ~ % cd /Applications/Blender.app/Contents/MacOS && ./Blender
Read prefs: /Users/laurencemas/Library/Application Support/Blender/3.4/config/userpref.blend

Environment

  • Blender version (upper right corner of splash screen):
  • AI Render version (find in Preferences > Add-ons):
  • Operating system (Windows/Mac/Linux):

Screenshots/video

No response

Additional information

No response

SSL Connection Error

Describe the bug

I've read all closed isssues on this problem but nothing helped. The same problem each time - doesn't render and the node is muted (as on the picture).

To reproduce

press F12 and doesn't work

Error log

Read prefs: C:\Users\79963\AppData\Roaming\Blender Foundation\Blender\3.3\config\userpref.blend
Read blend: C:\Users\79963\Desktop\3D\first works\try ai.blend
GPUTexture: Blender Texture Not Loaded!
GPUTexture: Blender Texture Not Loaded!
GPUTexture: Blender Texture Not Loaded!
GPUTexture: Blender Texture Not Loaded!
GPUTexture: Blender Texture Not Loaded!
GPUTexture: Blender Texture Not Loaded!
GPUTexture: Blender Texture Not Loaded!
GPUTexture: Blender Texture Not Loaded!
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\urllib3\connectionpool.py", line 700, in urlopen
self._prepare_proxy(conn)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\urllib3\connectionpool.py", line 994, in _prepare_proxy
conn.connect()
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\urllib3\connection.py", line 364, in connect
conn = self._connect_tls_proxy(hostname, conn)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\urllib3\connection.py", line 501, in connect_tls_proxy
socket = ssl_wrap_socket(
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\urllib3\util\ssl
.py", line 453, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\urllib3\util\ssl
.py", line 495, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\ssl.py", line 512, in wrap_socket
return self.sslsocket_class._create(
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\ssl.py", line 1070, in _create
self.do_handshake()
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\ssl.py", line 1341, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:997)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\requests\adapters.py", line 440, in send
resp = conn.urlopen(
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\urllib3\connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\urllib3\util\retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='c7vllddffse76obdapr6s2p4du0ydjrn.lambda-url.us-west-2.on.aws', port=443): Max retries exceeded with url: /?prompt=two+princesses+are+sitting+on+the+beach+near+the+sea%2C+oil%2C+beautiful+portrait%2C+8k+resolution+concept+art+portrait%2C+hyperdetailed%2C+intricately+detailed%2C+trending+on+Artstation%2C+triadic+colors%2C+volumetric+lighting%2C+soft+focus%2C+dynamic+lighting&width=512&height=512&image_similarity=0.1899999976158142&seed=1672575428&cfg_scale=7.0&steps=40&sampler=k_lms (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\79963\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\AI-Render\task_queue.py", line 12, in execute_queued_functions
function()
File "C:\Users\79963\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\AI-Render\operators.py", line 471, in send_to_api
output_file = dreamstudio_api.send_to_api(params, img_file, after_output_filename_prefix)
File "C:\Users\79963\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\AI-Render\sd_backends\dreamstudio\dreamstudio_api.py", line 27, in send_to_api
response = requests.post(config.API_URL, params=params, headers=headers, files=files, timeout=config.request_timeout)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\requests\api.py", line 117, in post
return request('post', url, data=data, json=json, **kwargs)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\requests\api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\requests\sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\requests\sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\requests\adapters.py", line 517, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='c7vllddffse76obdapr6s2p4du0ydjrn.lambda-url.us-west-2.on.aws', port=443): Max retries exceeded with url: /?prompt=two+princesses+are+sitting+on+the+beach+near+the+sea%2C+oil%2C+beautiful+portrait%2C+8k+resolution+concept+art+portrait%2C+hyperdetailed%2C+intricately+detailed%2C+trending+on+Artstation%2C+triadic+colors%2C+volumetric+lighting%2C+soft+focus%2C+dynamic+lighting&width=512&height=512&image_similarity=0.1899999976158142&seed=1672575428&cfg_scale=7.0&steps=40&sampler=k_lms (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))
Warning: Object has non-uniform scale, sculpting may be unpredictable

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\modules\bpy_types.py", line 877, in draw_ls
def draw_ls(self, context):
KeyboardInterrupt

Environment

  • Blender version (upper right corner of splash screen): 3.3.1
  • AI Render version (find in Preferences > Add-ons): 0.5.3
  • Operating system (Windows/Mac/Linux): Windows

Screenshots/video

image

Additional information

No response

AI render node Muted

Describe the bug

The AI render node is muted in the beginning. When unmuted , shows black screen.

To reproduce

Blender default scene> enable AI render> add prompts> Render

Expected behavior

Export AI image

Screenshots/video

image
image

Environment

  • AI Render version:
  • Blender version:
  • Operating system: (Windows, OS X, etc)

Logs

No response

Additional information

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.