Bubweb
  • 🌟News and Releases
    • New Templates
  • 🚀HELP GUIDE
    • Hire me
    • Getting Started
      • New Responsive Properties
      • Stripe
      • Google Login
      • Charts
        • Area
        • Column
        • Pie
        • Dumbbell
        • Polar Area
      • PWA
  • 🎨Templates
    • OpenAI & Claude
      • AI Agent Tools: OpenAI & Claude
    • Stable Diffusion SaaS Image Generator
      • Getting Started
      • Styles & Config
    • OpenAI & DALL-E
      • OpenAI SaaS - Tools Generate
        • 0️⃣New Responsive Properties
        • 1️⃣Configure Role & ID attribute
        • 2️⃣Configure OpenAI & DALL-E
        • 3️⃣Configure Stripe
        • 4️⃣Deploy to Live
        • Styles
        • PWA
    • Ecommerce
      • Ecommerce PWA - Stripe
        • New Responsive Properties
        • Company Role
        • Styles
        • Google Login
        • Stripe
        • PWA
        • 👁️‍🗨️Preview
    • CRM
      • CRM & Dashboard PWA - Lite
    • Dashboard Starter Kit
      • Global
        • 1️⃣New Responsive Properties
        • 2️⃣Configure Role
        • 3️⃣Styles
        • 4️⃣Charts
        • 5️⃣PWA
    • Social Network
      • Social Network Hub
        • 1️⃣New Responsive Properties
        • 2️⃣Configure Role
        • 3️⃣Styles
        • 4️⃣PWA
  • 🔌PLUGINS
    • Jotform
      • Getting Started
    • Microsoft OneDrive
      • Getting Started
Powered by GitBook
On this page
  • ID Attribute
  • Adding data to the 'Global Config' table
  • Disabling demo mode
  • Configure Stable Diffusion
  • Configure Stripe
  • Configuring Static Information for Subscription Plans
  • Set Up Your Stripe Account
  • Configuring Stripe Payments
  • Identifier Mapping
  • Stripe API Version Error, how to resolve?
  • References
  • Deploying to Live
  • Copy Database
  1. Templates
  2. Stable Diffusion SaaS Image Generator

Getting Started

PreviousStable Diffusion SaaS Image GeneratorNextStyles & Config

Last updated 10 months ago

Always check the status of the Bubble!

Always check the status of the Stability!

ID Attribute

Activate the option: "Expose the option to add an ID attribute to HTML elements"

Adding data to the 'Global Config' table

It will only be necessary if there is no data in the 'Global Config' table.

The 'Global Config' table should contain only one record. If it is empty, add a record. This table is used in the 'General' section of your app at the Admin level. If it is empty, it will not be possible to update the information in this section, such as API Key and Privacy Policy.

Disabling demo mode

Go to App > Data > Option Sets > Styles & Config

Change the value of the 'Demo mode' attribute to 'no'.

Configure Stable Diffusion

Go to App > Plugins > API Connector > Stable Diffusion V1 SDXL & SD1.6

  1. Content-Type: application/json

  2. Authorization: Bearer [API Key Here]

  3. Reinitialize call button

Configure Stripe

Configuring Static Information for Subscription Plans

To configure the price and word count for each Plan, access Option sets.

Set Up Your Stripe Account

In order for the subscription plan identifiers to be listed in the Stripe plugin workflow, it is necessary to add the Stripe API keys and initialize the Stripe calls. In the next steps, you will see how to set this up.

Configuring Stripe Payments

Please make sure to add the API keys for the LIVE version of the Stripe plugin, as well as for the 'Stripe Customer Portal' API Connector call.

Identifier Mapping

Referencing the IDs of Each Created Subscription Plan

Stripe API Version Error, how to resolve?

If you encounter the error below while using the V3 version of Stripe checkout, here's how to fix it.

Access the live version of your Stripe account, navigate to the 'Developer' section and locate the option 'Upgrade available'.

References

Deploying to Live

Copy Database

If you haven't added credits to your Stable Diffusion account yet, API requests will temporarily fail for your application until the credits are purchased.

Generate API Key:

From the update on February 17, 2024, there has been a change in how plan IDs are referenced. Therefore, starting from the 1:00 minute mark in the video, it is no longer necessary in the new version. .

VIDEO:

On the page, click Activate link in the Ways to get started section.

VIDEO:

VIDEO:

🎨
https://platform.stability.ai/account/credits
https://platform.stability.ai/account/keys
https://4c4a01da8bad2dda6df45b57c1f3581d.cdn.bubble.io/f1702160757969x275742177368775580/ProductCatalog.mp4
customer portal configuration
https://4c4a01da8bad2dda6df45b57c1f3581d.cdn.bubble.io/f1702158982226x401260072665744900/Stripe_call.mp4
https://4c4a01da8bad2dda6df45b57c1f3581d.cdn.bubble.io/f1708017749420x585084914900909700/price-id.mp4
https://status.bubble.io/
https://stabilityai.instatus.com/
ID Attribute
Adding data to the 'Global Config' table
Disabling demo mode
Configure Stable Diffusion
Configure Stripe
Configuring Static Information for Subscription Plans
Set Up Your Stripe Account
Configuring Stripe Payments
Identifier Mapping
Stripe API Version Error, how to resolve?
References
Deploying to Live
Please refer to the new way of referencing IDs [Click here]
LogoSet up the customer portal
LogoTest payment methods
LogoTesting Stripe Connect
https://dashboard.stripe.com/test/settings/billing/portaldashboard.stripe.com