Build the future of communications.
Start Building for Free

AI posts

  • By Anthony Wong
    Build a Text to Image Service via SMS Text to AI Image Service Hero

    This past summer, OpenAI announced that Dall•E is open for public beta. Dall•E is a “text to image” service. In it, you tell Dall•E what you want to see, and within a few minutes you receive AI generated images. You’ve probably seen memes where creative users have instructed Dall•E to build silly images like “Yoda as a waiter” or “aliens at the Eiffel Tower”.

    At the moment of writing this blog post, Dall•E doesn’t have a public API exposed. However, there are multiple competitors in this space, and some of them have public APIs. In this tutorial we will use a similar API, Stable Diffusion, to generate images when we text in.

    Generating "Fancy Cakes" with MMS and Stable Diffusion


    To complete the tutorial, you will need the following:

    Read More
  • By Anthony Dellavecchia
    Summarize Text from Images Using AI, Python, and Twilio Summarize Text from Images using AI, Python, and Twilio

    Content, content, content! Are you overwhelmed by the amount of content you’re asked to read on a daily basis? Don’t you wish you could quickly summarize large chunks of text? It’d be a huge timesaver, especially for college students who read a lot of content!

    In this blog post, I will teach you how to build an app in Python that performs text recognition on photos, summarizes that text, and then sends you a summary via SMS.

    The app in action, text your phone and get a summary

    Here’s a typical use case: you see a large wall of text that you don’t want to read, so you pull out your phone to take a picture of that text, then you receive a SMS with a nice summarization. Boom, time saved!

    Gif of me using the app with a typical use case


    Before getting started, it’s important to have the following before moving on:

    Read More
  • By Dhruv Patel
    How to Call an AI Friend using GPT-3 with Twilio Voice and Functions How to call an AI friend Header

    I always used to find myself getting into unwanted social situations that I could never get out of. As the engineer I am, I decided it’d be fun to build and publish a quick solution to this using my toolbelt here at Twilio: How to Escape Pesky Situations using Twilio Functions and TwiML Bins. This solution allowed me to text my “friend” Joanna – an Amazon Polly voice – a key phrase which would trigger Joanna to call me and respond as if there was an emergency using a human-like synthesized speech.

    This solution then made me wonder what other fun ways Joanna could help me out. Since it’s also National Anti-Boredom Month (July), I started focusing on ways to tackle boredom and pass time.

    Gif of bored kid on couch

    Whether it’s walking home from the subway or waiting in line at the store I always find myself needing to kill time. I could …

    Read More
  • By Bader Hamdan
    Google Cloud Contact Center AIとTwilio Flexの連携により顧客&オペレーター体験の価値を向上 Drive value across customer and agent experience with Google Cloud CCAI and Twilio Flex JP

    この記事はBader Hamdanこちらで公開した記事(英語)を日本語化したものです。


    本稿では、弊社パートナーでもあるSabio社の開発・提供する、Twilio Flex向けGoogle Cloud CCAIコネクタのリリースをお知らせします。このコネクタにより、どのような企業でもすぐにGoogle Cloud CCAIをコンタクトセンターに統合することができます。

    Google Cloud Contact Center AI(CCAI)を使用することにより、GoogleのAI技術の粋(すい)を集めて、コスト削減、顧客満足度の向上を実現することができます。Google Cloud CCAIの機能をTwilio Flexに統合することにより、対話応対が可能な仮想オペレーターに顧客は24時間いつでも問い合わせ可能となり、またAIによるリアルタイム支援の下に、複雑な問題に対してオペレーターが対処可能となります。

    Twilioは、GoldグレードのコンサルティングパートナーであるSabioと協力し、Google Cloud CCAIコネクタを開発し …

    Read More
  • By Yan Sun
    Build a Doctor Appointment Bot with Azure Bot Service, Language Understanding, and Twilio SMS Build a Doctor Appointment Bot with Azure Bot Service, Language Understanding, and Twilio SMS

    Telehealth services can improve access to healthcare for people living in remote areas. One common issue in remote areas is unreliable internet service. It’s a challenge for patients in remote areas to make appointments via web applications when internet service is poor or not available at all.

    SMS is a reliable and low-cost alternative to reach people living in remote areas. In this article, you will learn how to build a doctor appointment booking system which allows users to book via SMS.

    System Overview

    The architecture of the SMS booking system is illustrated below.

    A diagram to explain how the SMS booking system works. Users send text messages using their phones to a Twilio Phone Number, Twilio forwards the message to the webhook URL which is pointing to the Azure Bot, the Azure Bot forwards the message to the Language Understanding service for AI analysis. The Azure Bot responds to Twilio and Twilio forwards the response back to the users" phone.

    Twilio is the communication channel between Microsoft Azure Bot Service and the end user. The core of the system is an Azure Bot built on the Microsoft Bot Framework. When the bot receives a message, it asks Language Understanding (LUIS) to analyze the message. LUIS responds with the intent of the message, which the bot …

    Read More
  • By Lizzie Siegle
    Liebt mich, liebt mich nicht: Klassifizieren von Texten mit TensorFlow und Twilio Liebt mich, liebt mich nicht: Klassifizieren von Texten mit TensorFlow und Twilio

    Hallo und Danke fürs Lesen! Dieser Blogpost ist eine Übersetzung von Loves Me, Loves Me Not: Classify Texts with TensorFlow and Twilio. Während wir unsere Übersetzungsprozesse verbessern, würden wir uns über Dein Feedback an freuen, solltest Du etwas bemerken, was falsch übersetzt wurde. Wir bedanken uns für hilfreiche Beiträge mit Twilio Swag :)

    Der Valentinstag steht kurz bevor und nicht nur die Liebe sondern auch maschinelles Lernen liegen in der Luft. Manche würden wohl die althergebrachten Blütenblätter verwenden, um herauszufinden, ob jemand ihre Liebe erwidert, aber Entwickler würden vermutlich eher auf ein Tool wie TensorFlow zurückgreifen. In diesem Blog zeige ich, wie eine binäre Textklassifizierung mit neuronalen Netzwerken über Twilio und TensorFlow in Python durchgeführt wird. Wir können eine Textnachricht an +16782767139 senden, um diese Textklassifizierung zu testen.



    Read More
  • By Lizzie Siegle
    Pose Detection in Twilio Video with TensorFlow.js Detect Poses TensorFlow.js header

    Pose detection is one fun and interesting task in computer vision and machine learning. In a video chat, it could be used to detect if someone is touching their face, falling asleep, performing a yoga pose correctly, and so much more!

    Read on to learn how to perform pose detection in the browser of a Twilio Video chat application using TensorFlow.js and the PoseNet model.

    Join Room.png


    To build a Twilio Programmable Video application, we will need:

    Follow this post to get setup with a starter Twilio Video app and to understand Twilio Video for JavaScript a bit more, or download this repo and follow the …

    Read More
  • By Lizzie Siegle
    Build a Punchy Quiz Bot with Twilio in Eight Minutes header img

    Have you ever wondered what Twilio product you are most like? Now you can text +1 (321) 340-6085 to find out!

    These entertaining "What kind of ____ are you?” quizzes have risen in popularity, getting shared an average of 1900 times on social media according to Buzzsumo. Read on to see how you can make a punchy and fun Buzzfeed-style quiz "What Twilio Product are You?" with Twilio.

    What unusual celeb baby name

    Set Up and Configure your Bot with a Twilio Number

    To follow along with this post, you need two things:

    Go to your Autopilot console and un …

    Read More
  • By Lizzie Siegle
    Create, Innovate, and Make Art with Machine Learning Make Art with Machine Learning

    One thing I love about programming is the chance to get creative. There are many cool APIs that help developers make art. This post will go over how to generate text from another text or image, recognize celebrities' faces, colorize photos and videos, and perform neural style transfer using the machine learning library DeepAI.

    the Scream edited pikachu image

    What is DeepAI?

    DeepAI is a platform that aggregates guides such as Separate sampling: its effects and one potential solution, as well as research, data science, a glossary, a newsletter, job listings, and more to increase AI accessibility to both consumers and developers. This post will look at some of its machine learning models and APIs that can help you get creative juices flowing.

    They offer language support for JavaScript, Python, Ruby, and C#, and you can also hit the APIs with a cURL request.


    To follow along with this post, make …

    Read More
  • By Lizzie Siegle
    Loves Me, Loves Me Not: Classify Texts with TensorFlow and Twilio loves me loves me not cover

    Valentine's Day is coming up and both love and machine learning are in the air. Some would use flower petals to determine if someone loves them or not, but developers might use a tool like TensorFlow. This post will go over how to perform binary text classification with neural networks using Twilio and TensorFlow in Python. Text +16782767139 to test out this text classification.




    loves me not bear

    Activate …

    Read More
  • Newer
    Sign up and start building
    Not ready yet? Talk to an expert.