Image Generation with Background Tasks

Configuration for DeepAI, our third party service

Want more?

This lesson for enrolled students only. Join the course to unlock it!

You can see the code changes implemented in this lecture below.

If you have purchased the course in a different platform, you still have access to the code changes per lecture here on Teclado. The lecture video and lecture notes remain locked.
Join course for $30

Modified files

storeapi/config.py
--- 
+++ 
@@ -23,6 +23,7 @@
     B2_KEY_ID: Optional[str] = None
     B2_APPLICATION_KEY: Optional[str] = None
     B2_BUCKET_NAME: Optional[str] = None
+    DEEPAI_API_KEY: Optional[str] = None


 class DevConfig(GlobalConfig):