How to change OpenAI temperature with Bubble API Connector
In this Bubble tutorial we explain how to add extra parameters to your OpenAI call such as temperature.
Unlock OpenAI's power: Learn to add temperature control to your Bubble OpenAI calls!
Master Bubble API Connector: Discover how to enhance your API connections with advanced parameters.
Boost your no-code skills: Add custom parameters to OpenAI calls and optimize your Bubble workflows.
The Importance of YouTube Engagement
Thank you to everyone who likes, subscribes and comments on our videos. It really helps us out on YouTube, helps us get discovered by more people. I'm creating this video in response to a comment we received and that was a question about OpenAI, the Bubble API connector and how we can add additional parameters into the API call, in particular temperature.
Setting Up the API Call
If I swap back into the API connector, I've got this API call set up and if you want help getting this far, we've now got loads of videos about OpenAI on our website, planetnocode.com that you can check out and get access to. If you become a member, you get access to even more videos.
Adding Temperature Parameter
So I want to add in temperature here and it's really simple. I'm just going to add it in and then type in temperature. It's really important that we follow JSON syntax here. So that is using the double quotes, the speech marks, making sure that between each line, we have a comma, making sure that the final one doesn't have a comma, it only goes in between.
Checking the Documentation
Then if I go back to the documentation, temperature is looking for a value between one and two. So I'll go back and I can just put into here. Let's try this. And then I'm just going to update the call here so that I don't have to allow make it JSON safe in my workflows or just rather test it here in the API connector.
Testing the API Call
I'm just going to say "write about no code". Okay, I've got an error back and that's probably because I've made a syntax error. Right, I've not got a comma there. I thought I had. Let's try that again. And it's not type number. Okay, now I was honestly thinking in the back of my mind this would happen.
Correcting the Syntax Error
That's because when you declare a string or a piece of text, you have to put it between double quotes, speech marks. But I think if you declare a number or an integer, you don't need the speech marks.
Successful API Response
Okay, and there we've got it. We get our response back and let's just check the temperature is as I set it. Does it give the temperature in the returning message? No, it doesn't. But anyway, you've seen that it is accepted.
Conclusion
So as long as you are careful with how you structure your JSON, that is how you can add additional parameters into OpenAI.
The best way to learn Bubble.io?
Start building with total confidence
No more delays. With 30+ hours of expert content, you’ll have the insights needed to build effectively.
Find every solution in one place
No more searching across platforms for tutorials. Our bundle has everything you need, with 500+ videos covering every feature and technique.
Dive deep into every detail
Get beyond the basics with comprehensive, in-depth courses & no code tutorials that empower you to create a feature-rich, professional app.

Frequently Asked Questions
Find answers to common questions about our courses, tutorials & content.
No. Our Beginner Essentials course and AI No-Code Coach are designed for total newcomers. You’ll learn Bubble.io step by step - no coding required.
Simply type your question in plain English, and our AI taps into the entire video library to recommend the exact lessons you need. It’s like having a personal instructor on demand.
As long as you’re subscribed! With our monthly subscription, you get unlimited access to all 500+ videos, our growing course library, and the AI No-Code Coach.
Your subscription includes:
- Bubble Beginner Essentials – Get up and running fast.
- Build a ChatGPT Clone – Integrate AI into your no-code apps.
- Build Your SaaS Website with AI – Learn to create a scalable startup site.
Plus, new tutorials every week!
The AI No-Code Coach is your first stop for instant answers. If you need deeper help, you can book 1:1 Bubble coaching for expert guidance.
Yes! If you don’t see real progress within 14 days, let us know, and we’ll issue a full refund—no questions asked.
Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.
Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.
If you’re serious about building a successful SaaS startup, check out Mastery—our intensive mentorship program. Mastery goes beyond Bubble.io development and includes:
- 1:1 mentorship to fast-track your progress
- Marketing strategies tailored for no-code founders
- Product management insights to scale your startup
- Personalized support from experienced founders