May 4, 2011

Stable Diffusion Image Issues | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Stable Diffusion Image Issues
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
August 31, 2023
3:58 pm
Avatar
steven.growwithseo
Member
Members
Forum Posts: 15
Member Since:
March 7, 2023
sp_UserOfflineSmall Offline

I’m trying to create better images using Stable Diffusion, but running into some issues.

When I use a very simple prompt it works well, but when I make it longer and more advanced it always seems to fail. 

Looking at the log, it says ‘Stable Diffusion error: can’t decode JSON request body: malformed JSON’.

So this seems to suggest it is not the prompt length or complexity, but rather some other issue? But it only happens when I use a longer prompt.

August 31, 2023
4:00 pm
Avatar
CyberSEO
Admin
Forum Posts: 3697
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Please provide your prompt that generates the “Stable Diffusion error: can’t decode JSON request body: malformed JSON” error message. It should be seen in the Syndicator Log above the message.

August 31, 2023
4:07 pm
Avatar
steven.growwithseo
Member
Members
Forum Posts: 15
Member Since:
March 7, 2023
sp_UserOfflineSmall Offline

This is what is in the log:

[31-08-23 01:49:13] Generating Stable Diffusion image for “In the style of Thomas Moran, inspiring, realistic, light colored and highly detailed illustration for Harnessing Wind Power: How Practical Is It for Individual Homes?, ensuring turbines only have 3 or 4 equally spaced
blades.”

All I added was the ‘In the style of Thomas Moran’ at the start, it worked fine without that.

August 31, 2023
4:38 pm
Avatar
CyberSEO
Admin
Forum Posts: 3697
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

The problem was caused by the “:” symbol in the JSON string that wasn’t escaped. This was definitely a bug and it’s fixed now. Please update the core code of your plugin by clicking the “Update plugin to the latest version” button.

Thanks for heads up.

August 31, 2023
4:54 pm
Avatar
steven.growwithseo
Member
Members
Forum Posts: 15
Member Since:
March 7, 2023
sp_UserOfflineSmall Offline

Awesome thanks, that’s fixed it.

While we’re on the topic, do you have any tips for getting it to create an image based on the blog post title?

No matter what I try, it does not seem to cover the whole topic. So for example if it’s ‘The Legal Framework Around Wind Power Development in the UK’ I just get a picture of wind turbines in a field, so nothing legal about it.

August 31, 2023
5:05 pm
Avatar
CyberSEO
Admin
Forum Posts: 3697
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

This is not something I can help with. In most cases, the article title is not something that can be used as a guide for a painter – human or AI. Google Image search can Login to see this link something really relative, but Stable Diffusion needs concrete instructions.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 64

Freedom: 61

MediFormatica: 49

B8europe: 47

saviulisse67: 45

Member Stats:

Guest Posters: 338

Members: 2656

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1543

Posts: 7800

Newest Members:

SKMIT, kellyslrm, pu.analytics.ee, frajaros, federico_pac, rexfordkent

Administrators: CyberSEO: 3697