Andy P Hong Profile picture
Apr 8 8 tweets 5 min read Twitter logo Read on Twitter
🧵 HOW-to create an #iOS Shortcut to directly integrate #OpenAI services like Dall-E with your iPhone.

(Check out the video for a demo!)

Augmenting Siri. A thread ⤵️
1/ Prerequisites

Two requirements for this to work:

1. Shortcuts app installed on a newer Apple device running the latest iOS.

2 OpenAI API Access and an “API Key” that will be used for in Shortcut logic.

platform.openai.com/account/api-ke… ImageImage
2/ The Logic

Click into the screenshot for all the logic to build into your Shortcut.

Some notes here:

- The shortcut name is used as a “trigger” ( e.g. “Hey Siri… Generate an Image.”)

- I’ve highlighted in green exactly where to paste your unique API Key Image
3/ Logic Overview

When the shortcut runs, an API call is made to OpenAI based on the input provided Siri to generate an image.

The logic then goes on to overlay text on the image based on the prompt, and saved to a Photos album (you must create) called “Dall-E Generated”.. ImageImage
4/ Customizing the Logic

Change the size of the image generated by adjusting the ‘size’ parameter logic (1024x1024, 512x512, or 256x256)

You can change the text overlay as well by modifying it in the logic to include whatever text is desired.

And adjust the formatting.. ImageImageImage
5/ “Ask Chat GPT” Shortcut (Bonus)

Here’s logic for an additional shortcut to augment Siri’s assistive AI with text-davinci-003.

The logic appends the output generated to a note called “Chat GPT Q&A” (which you must create) and copies the generated text to clipboard to paste. ImageImage
6/ Download Shortcuts

Don’t got time for all that? Download the shortcuts instead.

1️⃣Get ‘Generate Image’ Shortcut
drive.google.com/file/d/1q1ORar…
 
2️⃣Get ‘Ask Chat GPT’ Shortcut
drive.google.com/file/d/1UtNgWQ…

Just update the shortcut name and paste your API key (after the word “Bearer”) 🙌 Image
7/ Want more?

Follow me for more tweets and content exactly like this. Lots more to come…

DMs are always open!

Enjoy 🙌

//fin

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Andy P Hong

Andy P Hong Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(