- Issue created by @marcus_johansson
- Merge request !686Resolve #3531212 "Create image to image operation" → (Merged) created by marcus_johansson
- 🇮🇳India prashant.c Dharamshala
@marcus_johansson
I have a few queries:
Are we supposed to use the https://www.drupal.org/project/ai_provider_dreamstudio → as a provider for this?
I created an account on https://dreamstudio.stability.ai/ and a trial one, do not see any link or way to get the API key.Could you please guide me here?
Thankyou
- 🇩🇪Germany marcus_johansson
Do you see it if you login here: https://beta.dreamstudio.ai/account?
- 🇮🇳India prashant.c Dharamshala
No, I do not see it, assuming in Trial account they do not provide the ability to use API key.
- 🇩🇪Germany marcus_johansson
The documentation is here: https://platform.stability.ai/docs/getting-started
- Assigned to dan2k3k4
- Status changed to Needs review
about 1 month ago 7:58am 28 August 2025 - 🇨🇭Switzerland dan2k3k4 Zurich
Will take a look into testing this today.
It requires this issue/MR too from the ai_provider_dreamstudio module:
https://www.drupal.org/project/ai_provider_dreamstudio/issues/3531285 ✨ Add ImageToImage capabilities Active - 🇨🇭Switzerland dan2k3k4 Zurich
Marcus asked me to test this alongside https://www.drupal.org/project/ai_provider_dreamstudio/issues/3531285 ✨ Add ImageToImage capabilities Active
Marking this as RBTC.
Testing Steps
Set up a new local Drupal, then added modules with source via:
composer require 'drupal/ai:1.2.x-dev' -W --prefer-source composer require 'drupal/ai_provider_dreamstudio:1.0.x-dev' -W --prefer-source
Enabled modules via (AI gets enabled as it's a dependency):
drush en -y ai_provider_dreamstudio drush en -y ai_api_explorer
Added a new Key with my API key from DreamStudio / Stability AI
Set up the provider for the Image-to-ImageWent to the Image-to-Image Explorer page at:
/admin/config/ai/explorers/image_to_image_generator
I tried a few options.
The Outpaint does not seem to generate a new image.
The Erase sort of works, at least the image is edited but it might have been the combination of the image and mask image that produced a weird overlay effect.
The Remove Background worked as expected.One thing I noticed, when I first loaded the explorer, I think I clicked on Upscale but the "prompt" field was not showing up on first load, so when I clicked generate I got this error - but I think this is unrelated to this provider issue
Error invoking model response: The Dreamstudio API returned an error: {"errors":["prompt: string must contain at least 1 character(s)"],"id":"f470c1eeea8ba89398fc93769c9adfaa","name":"bad_request"} with code 400
- 🇩🇪Germany marcus_johansson
Thank you, I will create a follow up for AI API Explorer - I think the dynamical loading of the provider configuration is failing.
-
marcus_johansson →
committed 9829008b on 1.2.x
Resolve #3531212 "Create image to image operation"
-
marcus_johansson →
committed 9829008b on 1.2.x