Allow additional settings

Created on 31 October 2023, about 1 year ago
Updated 3 June 2024, 6 months ago

Problem/Motivation

This is a very awesome module. Dreamstudio is quite reliable to generate quality images. It would be great to have the additional options that you get when using the browser app at Dreamstudio.ai available as Interpolator field settings as well. Options such as image size, image style, etc. are super handy, especially when creating banners that don't have a 1:1 aspect ratio, and product photos that always need to use the photography image style, for instance.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇹🇭Thailand AlfTheCat

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @AlfTheCat
  • Assigned to marcus_johansson
  • 🇩🇪Germany marcus_johansson

    On the dev branch it should now expose all the options the API exposes.

  • Status changed to Needs review about 1 year ago
  • 🇹🇭Thailand AlfTheCat

    Great work and thanks for the fast response.

    Having these extra settings is great. The cool thing is that the module now offers more models than DreamStudio does in their app, and the Stable Diffusion 2.0 Depth model works very well.

    I have tested the module using SDXL v1.0 and generated a lot of images using the same prompts in both the Dreamstudio app and via Interpolator. I did run into the issue that it generates very different images than what I get from Dreamstudio.ai and also when I use PromptPerfect.

    Using the same prompt in PP and DS with SDXL v1.0 created similar images but the image the site receives, using the same settings (except I don't know what to set for "DreamStudio Seed", "DreamStudio Clip Guidance", and "DreamStudio Sampler") looks most like what Stable Diffusion 2 generates.

    Is there something I should do with the config options that don't have a default to better track the output of the other apps?

    Thanks!

  • 🇩🇪Germany marcus_johansson

    @AlfTheCat To be honest, I don't really use DreamStudio that much myself at all, so I wouldn't really know why they would differ or if there is a difference between the public API and their own GUI.

    What you could test is to generate a prompt with a fixed seed, that should generate the exact same image if they are using the same models.

  • 🇹🇭Thailand AlfTheCat

    Thanks for the tip. The images are totally different. I can't replicate what Dreamstudio produces with any model, and using the same seed. The outputs are very different.

  • 🇩🇪Germany marcus_johansson

    @AlfTheCat - The answer to this was probably found, there was a big bug in the model selection. See https://www.drupal.org/project/ai_interpolator_dreamstudio/issues/3443838 🐛 Can't save the API key Needs review

    Sorry about that, DEV should now have the correct choice if you resave it. By EOD there will also be generation with v2 API and SD3.

  • 🇹🇭Thailand AlfTheCat

    Awesome, I'll have a look at it again :)

Production build 0.71.5 2024