-
How to use custom voices with the ElevenLabs API
It’s possible to make your own custom voices generated by ElevenLabs. Here’s how you can use them in your Python code. Continue reading
-
Image Generation with the OpenAI API (DALL-E) and Python
How to easily generate images using Python and the OpenAI API (DALL-E). Create images from scratch as well as variations of an existing image. Continue reading
-
Avoid Key Errors with Python’s get() Function
Level up your Python programming with the ‘get()’ function, and avoid missing key errors, e.g. with GPT function calling. Continue reading
-
Unofficial Guide to OpenAI API Keys
There’s some confusion about OpenAI API keys, so this FAQ tries to answer the questions developers may have. Continue reading
-
How to Get Voice Output With Python: An ElevenLabs API Tutorial
A beginner-friendly tutorial to learn how to generate high-quality speech using the ElevenLabs API with a few lines of Python. Continue reading
-
The Most Important Coding Habits
The most important coding habits are those that enable us to enjoy this craft for years to come. Here are tips for programming without pain. Continue reading
-
How to Print ChatGPT API Response as a Stream
When using the ChatGPT API, sometimes we want to print the output as we receive it, as a stream, rather than waiting a few seconds for the full response. Here’s how. Continue reading
-
How to Get a JSON Object From ChatGPT Using Function Calling
It’s now possible to get the ChatGPT API to return a JSON object. Here’s how. Continue reading
-
How to Hide API Keys When Deploying Code
If you’re deploying code to a server, you should not store your API keys in a .env file. Here’s what you should do instead. Continue reading
-
The Simplest Way to Use ChatGPT with Python
Get a basic understanding of how to use the ChatGPT API with Python. This is an easy step-by-step guide, from setting up the API keys to sending a prompt and printing a response. Continue reading
Recent Posts
- How to use custom voices with the ElevenLabs API
- Image Generation with the OpenAI API (DALL-E) and Python
- Avoid Key Errors with Python’s get() Function
- Unofficial Guide to OpenAI API Keys
- How to Get Voice Output With Python: An ElevenLabs API Tutorial
advice AI API books ChatGPT DALL-E deploy ElevenLabs example FAQ free GitHub guide health Heroku howto JSON OpenAI programming Python safety server text-to-speech tips TTS voice