# Ik heb problemen met AI-beeldgeneratie: AI-stabiliteitsgenerator mislukt met status 403

**URL:** https://meta.discourse.org/t/im-having-problems-with-ai-image-generation-ai-stability-generator-failed-with-status-403/322576
**Category:** Bug
**Tags:** ai
**Created:** [20 augustus 2024 om 21:22 UTC](https://meta.discourse.org/t/im-having-problems-with-ai-image-generation-ai-stability-generator-failed-with-status-403/322576 "2024-08-20T21:22:16Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![kuaza](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuaza/32/264151_2.png) [@kuaza](https://meta.discourse.org/u/kuaza)
#### Post date: [20 augustus 2024 om 21:22 UTC](https://meta.discourse.org/t/im-having-problems-with-ai-image-generation-ai-stability-generator-failed-with-status-403/322576/1 "2024-08-20T21:22:16Z")

</div>

I’m having problems with AI image generation. It gives this error. What do you think is causing the problem?

**It responds to normal conversations, if we upload a picture, it analyzes and examines it, it does not just create new images.**

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/d/a/5da7eaa6ad791f7b5919c0b65c0ee1d363caa9bb.png)

* * *

**AI stability generator failed with status 403: {“id”:“b76a5fcfb7e45e1062c2f229fe4b5ee2”,“message”:“English is the only language supported for this service.”,“name”:“invalid\_language”} }**

```plaintext
activesupport-7.1.3.4/lib/active_support/broadcast_logger.rb:134:in `block in error' 
activesupport-7.1.3.4/lib/active_support/broadcast_logger.rb:231:in `block in dispatch' 
activesupport-7.1.3.4/lib/active_support/broadcast_logger.rb:231:in `each' 
activesupport-7.1.3.4/lib/active_support/broadcast_logger.rb:231:in `dispatch' 
activesupport-7.1.3.4/lib/active_support/broadcast_logger.rb:134:in `error' 
/var/www/discourse/plugins/discourse-ai/lib/inference/stability_generator.rb:150:in `perform!' 
/var/www/discourse/plugins/discourse-ai/lib/ai_bot/tools/image.rb:86:in `block (2 levels) in invoke' 

```

* * *

**Failed to generate image for prompt xxxxxxx: Net::HTTPBadResponse**

```plaintext
activesupport-7.1.3.4/lib/active_support/broadcast_logger.rb:130:in `block in warn' 
activesupport-7.1.3.4/lib/active_support/broadcast_logger.rb:231:in `block in dispatch' 
activesupport-7.1.3.4/lib/active_support/broadcast_logger.rb:231:in `each' 
activesupport-7.1.3.4/lib/active_support/broadcast_logger.rb:231:in `dispatch' 
activesupport-7.1.3.4/lib/active_support/broadcast_logger.rb:130:in `warn' 
/var/www/discourse/plugins/discourse-ai/lib/ai_bot/tools/image.rb:98:in `rescue in block (2 levels) in invoke' 
/var/www/discourse/plugins/discourse-ai/lib/ai_bot/tools/image.rb:85:in `block (2 levels) in invoke' 

```

example: [https://meta.discourse.org/t/lifes-journey-from-birth-to-everlasting-memories/322579](https://meta.discourse.org/t/lifes-journey-from-birth-to-everlasting-memories/322579)

**I get the same error here. This problem may occur when it creates multiple images. But I got the same error when I tried to create a single image. I think the problem is due to the Turkish characters or because it is a language other than English. When I tried English, the problem did not occur.**

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [20 augustus 2024 om 23:06 UTC](https://meta.discourse.org/t/im-having-problems-with-ai-image-generation-ai-stability-generator-failed-with-status-403/322576/2 "2024-08-20T23:06:46Z")

</div>

Interesting! Certainly looks like a bug.

Can you try prompt engineering around it? Just tell the persona only to use English when describing images?

I will look at a more comprehensive fix.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [21 augustus 2024 om 07:50 UTC](https://meta.discourse.org/t/im-having-problems-with-ai-image-generation-ai-stability-generator-failed-with-status-403/322576/3 "2024-08-21T07:50:57Z")

</div>

You are using Stability and prompting using non-supported language.

It happends when Stability API is there, but a persona doesn’t have Dall-E tool.

Well, so it happened for me. Here is a support request for that, but I kind of solved it out by myself. But that behaviour changed some days ago. Earlier it worked even an user prompt was in non-english and back then I could prompt using Dall-E requests as size etc. without using Dall-E as a tool.

So… it still can be a bug. Or feature.

---

<div class="post-metadata">

### Author: ![kuaza](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuaza/32/264151_2.png) [@kuaza](https://meta.discourse.org/u/kuaza)
#### Post date: [21 augustus 2024 om 21:21 UTC](https://meta.discourse.org/t/im-having-problems-with-ai-image-generation-ai-stability-generator-failed-with-status-403/322576/4 "2024-08-21T21:21:51Z")

</div>

I tested it, when I write in English it creates without any problems, but when I write in Turkish it responds with this error: Sorry, there was a problem creating the image. Can I help you with anything else?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2 december 2025 om 14:19 UTC](https://meta.discourse.org/t/im-having-problems-with-ai-image-generation-ai-stability-generator-failed-with-status-403/322576/5 "2025-12-02T14:19:38Z")

</div>

See [Improved Image Generation Support in Discourse AI](https://meta.discourse.org/t/improved-image-generation-support-in-discourse-ai/388904)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2 december 2025 om 14:19 UTC](https://meta.discourse.org/t/im-having-problems-with-ai-image-generation-ai-stability-generator-failed-with-status-403/322576/6 "2025-12-02T14:19:41Z")

</div>


