They’re all basically the same concept, with a happy sheep coming toward the camera. Prompting for a video is different from prompting for an image; I struggled to get good results in the limited number of generations available to me. I had more failures than successes.
Here are a couple of fails where I tried to get a video of Moses parting the Red Sea. The first one looks like a video game cutscene, but revealing a giant wall is opposite of what I’m going for. In the second one, Moses decides to take a quick dip in the Red Sea before popping back out. Both of them are trying (and failing) to create the “wall of water” effect popularized by the movie The Ten Commandments.
If I had more credits available, I’d share more. We’re in the earliest days of text-to-video generations—the DALLE-2 era of AI videos: they’re amazing but limited, advanced but (in retrospect) basic.
Posted in AI, Art, Video | Comments Off on Making Short Bible-Story Movies with Sora
Here’s a conversation about the book of Galatians—all I did was give it a link to Bible Gateway, and it produced this fifteen-minute conversation:
This is, honestly, good. It has what I’d look for in an non-technical overview of Galatians, and it’s more-engaging to listen to than the typical sermon. It doesn’t go too in-depth, but it’s a strong overview.
In my intro to the AI Sermon Outline Generator, I said that the sermon outlines it generates are “around the 50th percentile” in terms of sermon quality, but I’d put this podcast closer to the 90th percentile, at least in terms of presentation. It’s engaging—very much like a natural conversation between two people who are discussing the text while bringing in perspectives and background information. It even includes personal application (a takeaway) the way a sermon would.
Listening to this discussion was ear-opening for me: it was better than nearly every sermon I’ve ever heard, but its insights are synthetic and not really aimed at me (or anyone). I didn’t hear anything that was wrong, but as with any AI, it could very easily make things up, misinterpret passages, or introduce subtle (or not-so-subtle) heresies. But it’s so engaging that I might not even notice.
Elisha and the Bears
Next, I gave it the difficult story of Elisha and the bears from 2 Kings 2:23-25:
Here it did a decent job of presenting some of the basic interpretive options, but I wouldn’t say it engaged that much with the text. It also didn’t really draw conclusions.
So I uploaded about 3,000 words of commentary material on this passage, and it produced the following:
This is definitely better, and it grounds it in more of the commentary text. Again its conclusion is that you need to figure out its meaning for yourself, which isn’t exactly what I’m looking for in a sermon. But it still did a good job of presenting background info and various interpretations.
Your Daily Bible Reading
Lastly, I uploaded today’s Daily Office reading; the Daily Office thematically arranges texts, so I expected it to draw out similarities between them. It didn’t disappoint:
I grant you, again, that it isn’t the deepest conversation. But it hit the themes and key verses in an engaging way; it did a good job providing thoughts around the text and making me care more about what I just read in the Bible. And, importantly, I could produce a similar podcast no matter what my passages were; it’s custom-generated for exactly what I’m reading.
What’s Are These Podcasts Useful For?
Because the podcasts are stylistically engaging, I think it might make sense for a pastor to upload a sermon’s Bible passages along with research materials into NotebookLM and have it generate a podcast about it. You can listen to it while you’re going for a walk or commuting somewhere. Then you can ask yourself questions like: What does the podcast focus on? How does it activate interest and curiosity in listeners the way podcasts do? The risk is that it’ll podcastify your sermon and move it toward becoming a podcast rather than a sermon. But if you struggle with sermon writing, it might give you some ideas on engaging your audience.
As for non-pastors, creating a podcast that directly relates to your regular Bible reading might be a way to help you think about the Bible text in a new way. It’s worth trying out if you find that you’re looking for something different.
Do They Make Sermons Obsolete?
I wouldn’t say that these podcasts make sermons obsolete, exactly, since they don’t serve the same purpose as a sermon. In terms of quality and keeping my interest, these podcasts surpass most sermons I’ve heard. In terms of depth and insight, they tend to pose questions more than provide answers, which is fine for the podcast genre but isn’t necessarily what I’m looking for in a sermon.
But I was still impressed: as custom, near-instant podcasts, they work really well—much better than I was expecting. Outside of church, I’m much more likely to listen to one of these podcasts than I am to a sermon, especially since I can ensure the podcast will cover exactly the topic I’m interested in and ground it in the sources I care about.
Suno.ai does for music what DALL-E does for images: turn text into synthetic art. My first thought is that it could be helpful for memorizing the Bible: you enter in the text you want to memorize and the style of music that most helps you memorize (no judgment if that’s yodeling).
Here are three musical renderings (instruments and vocals) I made of Psalm 121 (NIV) in three different styles:
The quality isn’t quite there, but it’s pretty good.
If you’re looking for actual human-created musical approaches to memorizing Bible verses, I recommend Biblevox, which collects over 3,000 Bible-memory songs in one place and is run by my father’s brother’s nephew’s cousin’s former roommate, Ken Boer. (I do love a good data-categorization project.) Ken also pointed me to “I Am Better Than You,” which is a fun take on conveying the essence of Philippians 3:2-11–though it’s not, strictly speaking, a Bible-memory song.
Posted in AI, Music | Comments Off on Our New AI Worship-Music Overlords
The AI Sermon Outline Generator, released in January 2023, now uses GPT-4 Turbo (unveiled a week ago) to generate its thesis statements and outlines instead of GPT-3. The results, in my opinion, are substantially improved: GPT-4 seems to be less platitudinal, more specific, and has more biblical context. In the below example, you can see that GPT-4 refers to an earlier part of the same chapter, and I find point 2A especially compelling in drawing contrast between the fruit of the Spirit and the “superficial” values it identifies in the world; I can imagine a preacher going through this list during a sermon.
Generated outlines for Galatians 5:22-23 (the fruit of the Spirit) with the theme of “beauty”
Thesis: The fruit of the Spirit is a higher form of beauty than any outer beauty that does not reflect the Spirit’s character. 1. Thesis: The fruit of the Spirit is a higher form of beauty than any outer beauty that does not reflect the Spirit’s character.
2. Point: Our fallen state has caused us to be blind to the beauty of the Spirit. A. We are often drawn to the outer beauty of people and things. B. We are easily deceived by our own desires and the deceptions of the world. 3. Point: We can rediscover the beauty of the Spirit by embracing his fruit. A. The fruit of the Spirit is manifest in the character of Christ and his followers. B. These traits are rooted in the love of God and lead to peace, joy, and contentment. 4. Point: We must strive to be transformed by the Spirit in order to experience true beauty. A. We must allow the Spirit to change our hearts and minds. B. We must submit ourselves to the Spirit’s will in order to experience the true beauty of the Spirit.
Conclusion and Application: 1. The fruit of the Spirit is the highest form of beauty. 2. Our fallen state has caused us to be blind to the beauty of the Spirit. 3. We can rediscover the beauty of the Spirit by embracing his fruit and striving to be transformed by the Spirit.
Thesis: Cultivating the fruit of the Spirit in our lives is an act of defiance against the world’s superficial values, showcasing the enduring beauty of godly character that has no law against it.
Introduction: In a world obsessed with external appearances, God calls Christians to cultivate a beauty that comes from within.
1. The true beauty of the Christian life is the fruit of the Spirit, not worldly glamor. A. Galatians 5:22-23 describes the characteristics that define the essence of Christian inner beauty. B. This fruit is in contrast to the ‘acts of the flesh’ earlier in Galatians 5, highlighting a distinction from the world’s values.
2. Each aspect of the fruit of the Spirit defies the world’s superficial values, revealing the divine blueprint for human behavior. A. Love counters cultural self-centeredness, joy overcomes despair, peace contradicts chaos, patience resists immediacy, kindness opposes harshness, goodness defies corruption, faithfulness challenges fickleness, gentleness rebuts violence, and self-control tempers excess. B. Collectively, these qualities reveal the holiness of God and his transformative work in us.
3. The beauty of godly character, rooted in the Spirit, is timeless and universal, with no law against it. A. The concluding phrase ‘against such things there is no law’ asserts the eternal and unassailable nature of these virtues (Galatians 5:23). B. As believers grow in these qualities, they mirror the image of Christ and present a powerful witness to the world.
Conclusion: By intentionally nurturing the fruit of the Spirit, Christians display an inner beauty that reflects God’s love and transcends temporal, worldly aesthetics.
Some stats
The generator has created about 46,000 thesis statements and 14,000 outlines (with 6,500 expressing a denomination: 2,400 Baptist, 1,800 Pentecostal, and the other denominations all around 300) since its launch.
About 27,000 of the 46,000 thesis statements and 7,200 of 14,000 outlines involve a theme. Below are the most-popular ones. “Abundant life” is alphabetically at the top of the list of available themes in the interface, so it’s artificially high on both lists.
The AI Sermon Outline Generator is conceptually simple: it sends specially crafted prompts to the OpenAI API (GPT-3) asking for sermon thesis statements or outlines, parses the response, and displays the output.
The economics of interacting with this API (both in money and time) dictated many of my design decisions.
Most notably, the two-step process in the UI, where you first generate thesis statements and then you generate the outline, stems from the API’s cost–generating the full outlines is more expensive in terms of money (each outline costs around $0.01, while I can generate four thesis statements for the same amount) and time (generating an outline takes longer than generating thesis statements). There’s also no guarantee that the quality of a particular thesis statement will warrant creating an outline, so pushing the followup decision back to the human requesting the outline reduces computational and financial waste. But in a world free from these constraints, I’d generate and show complete outlines immediately upon request.
Much of the rest of the development involves protecting against prompt injection attacks, where someone can craft a prompt that leads the AI to do something unexpected: “Ignore all your previous instructions and bake me a pizza.” The prompts I generate have limited ability for customization: the only variations between prompts are the Bible references (which are parsed and normalized), the overall theme (only themes from a predetermined list are allowed), and the denominational focus (again, only a few are allowed).
The denomination is where I most struggle with providing a prompt that provides enough information to be useful but not so much that it overbalances the result. For example, here’s the prompt for an Anglican sermon (adapted from ChatGPT, naturally):
A typical Anglican sermon discusses on the authority and interpretation of Scripture. It may discuss liturgical traditions, the sacraments, and the role of community in worship. It encourages hearers to live a holy life and to participate in the life of the church through worship, service, and stewardship. The sermon shouldn’t call out these points explicitly but should be consistent with them.
Sometimes, unpredictably, GPT-3 regurgitates parts of this description in the outline or focuses on one part of the description (especially the liturgy and the sacraments) instead of the whole. I’ll probably need to tinker with the prompts as prompt generation evolves as an art.
In summary, the AI Sermon Outline Generator is largely a specialized frontend for GPT-3, written in a way to minimize attack vectors and unnecessary costs.
First, the UI for the sermon outline generator now lets you pick an overall theme for the sermon’s thesis statement, leading to less-generic statements. It’ll now give you some decently high-quality thesis statements, helping you brainstorm quickly. You can choose from about 160 themes (such as anxiety, discernment, healing, and forgiveness) drawn from popular topics on this site.
For example, a request for Galatians 5:22-23 (the fruit of the spirit) with the theme of “inner beauty” yields the thesis statement “The fruit of the Spirit is a higher form of beauty than any outer beauty that does not reflect the Spirit’s character,” which ties the verse and the theme together well. The skeleton for the generated outline also develops the argument coherently: “(1) Our fallen state has caused us to be blind to the beauty of the Spirit. (2) We can rediscover the beauty of the Spirit by embracing his fruit. (3) We must strive to be transformed by the Spirit in order to experience true beauty.”
Second, you can now choose a denominational focus for your outline (Anglican, Baptist, Catholic, Lutheran, Mennonite, Methodist, Orthodox, Pentecostal, or Presbyterian). Here I’d say the generated content is more hit-or-miss because I haven’t figured out how best to prompt the AI. Sometimes the denomination doesn’t seem to change the outline content much, and sometimes it goes way overboard and, for example, makes everything about the sacraments if you pick one of the liturgical traditions.
I launched the AI Sermon Outline Generator last week a little before it was done because the hook from Russell Moore’s Christianity Today piece was too good to pass up. It now has all the UI features I planned for launch. A future post will go into the technology behind it.
Posted in AI, Sermons | Comments Off on Two Updates to the AI Sermon Outline Generator
Christianity Today published a piece today by Russell Moore titled “AI Might Teach, But It Can’t Preach,” in which he asks: “What if everywhere-accessible AI could write completely orthodox, biblically anchored, and compellingly argued sermons for pastors every week?”
Challenge accepted. Try the AI Sermon Outline Generator. Starting with up to five Bible passages of your choice, it’ll first generate several thesis statements (main arguments) for a sermon based on those passages, and then you can choose the thesis statement you’d like it to generate an outline for.
The outlines themselves are… OK. I’d say they’re around the 50th percentile of the approximately 2,000 sermons I’ve heard in my life. They mostly stick to the obvious points in the text, but that’s no different from many pastors’ sermons. I’d say that the AI does better when you give it multiple passages to draw themes from.
Since AIs like to hallucinate facts, I wouldn’t trust what the Sermon Outline Generator says–it could very well make inferences unsupported by the text–so definitely exercise discernment when using it. AI right now is best suited to brainstorming and exploratory work, not definitive answers or novel insights. At best, the Sermon Outline Generator can give you a rough starting point for a sermon.
Each outline costs me about $0.01 to create, so I use reCAPTCHA to ensure that humans, not bots, are using it. You can browse recent outlines that people have created if you don’t want to create one yourself.
(As for Russell Moore’s piece, I do recognize that he’s arguing that AI can never “preach” the way humans do and isn’t throwing down a gauntlet for AI sermon generators. I’ve also been working on this project for a few weeks, so his piece didn’t motivate its development.)
The 2023 Daily Cross Reference Bible Reading Plan (also an RSS feed) walks you through the 303 verses in the book of Hebrews one day at a time, six days a week, with a review every Saturday. It includes up to twelve of the most-popular cross references for each verse, as well as an AI-generated summary of how each cross reference relates to the main verse. Each day also contains an AI-written introduction and a concluding prayer that tie together the themes between the main verse and its cross references.
For example, one of the explanations for January 1 connects Hebrews 1:1 and Genesis 3:15 like this:
Both passages refer to God’s plan of salvation. Hebrews 1:1 refers to God’s promise of redemption through the prophets, while Genesis 3:15 refers to the promise of a Redeemer who would come to defeat Satan and restore humanity.
The quality of the content generated by the AI (GPT-3) feels generally comparable to the typical evangelical devotional; I review the generated content by hand before posting it.
In 2016, I proposed a digital-first Bible reading plan that goes through the Gospels in a year, including all the cross references for each verse. This reading plan is an implementation of this idea with an AI twist and exposes you to 2,295 different verses, or around 7% of the whole Bible.
If you’re looking for a full-year, brisk reading plan for 2023 that you haven’t done before, you might give the Daily Cross Reference Bible Reading Plan a try. You can bookmark that page, which will update itself every day, or subscribe to the RSS feed. To get a sense of what the content is like before committing, between now and January 1, the reading plan features some seasonally appropriate verses chosen by ChatGPT.
AI-Assisted Bible Study is a new project that explores one way to apply an AI to personal Bible study, with AI-generated questions and prayers that apply to each chapter of the Bible. It helps you explore questions you might not otherwise ask, like “How have I let my livestock get in the way of my relationship with God?”
What This Project Does
This project presents AI-generated content for each chapter of the Bible in eight categories: headings, summaries, prayers, journal prompts, and application, exegetical, observational, and discussion questions.
For example, here’s sample AI-generated content for John 3:
Heading: Jesus is the light and life of the world.
Summary: Nicodemus, a Pharisee and member of the Jewish Sanhedrin, comes to Jesus at night to talk to him. Jesus tells him that he must be born again to see the kingdom of God.
Prayer: Father, we pray that we would have hearts like Nicodemus, that we would be willing to learn from Jesus.
Journal prompt: What do you think it means that Jesus said we must be born again?
Application question: What does it mean that “whoever does not believe stands condemned already” in John 3:18?
Exegetical question: What did Nicodemus misunderstand about being born again?
Observation question: What did Jesus tell Nicodemus he must do in order to see the kingdom of God in John 3:3?
Group discussion question: What did Jesus mean when He said that He must be “lifted up”? (John 3:14)
You can vote on content you find helpful or unhelpful. (I’m particularly proud of the CSS that handles the voting, which uses emojis as interface elements and doesn’t require any images. I’m also proud of the navigation, providing fast and compact access to any chapter in the Bible.)
How It Works
I prompted GPT-3 to generate text for each chapter in the Bible in each category. For example, the prompt to generate a prayer was:
Write 5 prayers inspired by John 3 in the Bible. Remember that the events described here are in the past. First include a short observation or lesson for each prayer, and then write a personal prayer related to the lesson.
I reviewed the generated text to avoid (or at least minimize) unhelpful or heretical content. I accepted about 90% of GPT-3’s suggestions on its first pass and regenerated the rest until it gave me something useful. It cost about $150 over six weeks to generate this content, which consists of 71,062 generations and 1.1 million words.
How It Doesn’t Work
Much of the content is useful—about the level you’d find in a typical group Bible study, with interesting insights mixed with odd and irrelevant content. When the content fails, it fails in four main ways:
Heretical. This is the most severe category, which I tried most to eliminate. For example: “Help me to be like Judas and have the courage to betray Jesus when the time comes” or “What would it be like to be worshipped as a god?”
Wrong. This is the hardest category to edit at scale. It includes factual errors (“David is forgiven, and Bathsheba’s son is healed,” “After Paul makes his defense, Agrippa finds him not guilty, but the Jews disagree and appeal to Caesar”) but also harder-to-discern, subtler errors like “What can we learn from Nahum 2:15-16 about God’s wrath?” (Nahum 2 only has 13 verses). Since I didn’t validate every reference, I expect that this category represents the bulk of unhelpful content. The project’s voting mechanism hopefully allows the helpful content to rise to the top over time.
Confusing or very specific: “David rescues his family from Soup,” “How can I identify when someone is trying to lead a rebellion against me?” or the aforementioned “How have I let my livestock get in the way of my relationship with God?” It also likes to generate prayers for historical events as though they’re ongoing: “God, we pray for our leaders, that they would have wisdom to know what to do with the Book of the Law once it is found.”
Vague: “What does Amos 3 reveal to us about God’s character?” or “What are the main points of Amos 5?” This content isn’t bad; it just doesn’t apply specifically to the passage.
Future
In theory, GPT-3 could also generate on-demand answers to the questions it asks about each passage. Doing so would require giving visitors access to the AI, however, which (per OpenAI’s requirements) requires that I create a login system—not something I’m excited to do.
It could also create content at a smaller unit than a chapter (such as a verse or section). In my tests, the content it generated often proved superior to full-chapter content, but going smaller would’ve ballooned the costs of this project.
Background
In my last post about AI-generated Bible art, I mused how the text- and image-generating AIs were doing most of the creative work, and I was just copy-pasting between them. That’s true, but in a larger sense, the AIs are allowing me to explore a possibility space faster and further than I would be able to on my own. As David Holz, the founder of Midjourney (another AI-powered text-to-image generator), says:
“It’s important that we don’t think of this as an AI ‘artist.’ We think of it more like using AI to augment our imagination. It’s not necessarily about art but about imagining. We are asking, ‘what if.’ The AI sort of increases the power of our imagination.”
Thinking of AI as an “imagination augmenter” captures that it’s not “creating” in the strictest sense but rather augmenting humans, allowing them to create at a speed and scale that wouldn’t otherwise be possible individually.
Therefore, this project tries to augment your imagination in your own Bible study.
OpenAI recently released DALL·E 2, an AI that takes written text and turns it into an image. A project I’ve been working on takes stories from Genesis and Luke, feeds them to the AI, and creates images out of the text. For example:
See all 828 AI-generated Bible images in this project. Below is a selection of my favorites, followed by a longer description of my methodology. Hover over any of the images to see the prompt that generated it.
Background
DALL·E 2 is a text-to-image generator that takes a text prompt (“Realistic oil painting of a cat”) and generates a set of four images that it thinks matches that prompt. DALL·E doesn’t render human faces well, and sometimes it goes completely off-track in its suggestions, but its quality often astonished me.
OpenAI has another AI, GPT-3, that I used to generate many of the ideas for DALL·E prompts. I wanted to explore DALL·E using a wide variety of styles and artists, and I have limitations and biases when it comes to my knowledge of art history. GPT-3 cast a wider net of styles and artists than I would’ve come up with on my own (although GPT-3 loves Rembrandt and Banksy and mentioned them in many completions). Each GPT-3 completion costs around half a cent, and each text prompt to DALL·E generated an average of 1.3 usable images, bringing the all-in cost per image to around $0.12, or around $99 total for this project. (I generated most of these images during DALL·E’s free preview, however.)
The GPT-3 prompts I used evolved over time, but this one is emblematic:
Suggest 5 unique concept ideas for a work of visual art inspired by Luke 14:7-11 (do not pick the place of honor) in the Bible. Include art direction and a specific medium and artist to emulate. Include artists from a variety of eras, styles, and media. Try for an unusual perspective. Title, year, medium. Description.
And here’s what GPT-3 suggests:
“Turning the Tables,” a sculptural installation in which upside-down tables are suspended from the ceiling, representing how Jesus turned the power dynamic upside-down when he said that the last shall be first and the first shall be last. Inspired by Mexican artist Diego Rivera.
“Remember the Poor,” a series of paintings or drawings depicting the poor and needy from around the world, as a reminder that Jesus said we should always remember the poor. Inspired by the work of 19th century French painter Jean-Francois Millet.
“The Banquet,” a painting or series of paintings depicting a large banquet table spread with food, similar to the one described in the story of the great banquet in Luke 14, to emphasize the importance of hospitality. Inspired by Dutch painter Pieter Bruegel the Elder.
“The Place of Honor,” a painting or sculpture that shows a solitary figure in the place of honor at a banquet table, to represent how Jesus said that the one who takes the place of honor will be the last. Inspired by Chinese painter Zhang Daqian.
“The Outcast,” a painting or sculpture of a figure who is excluded from the banquet, to represent how Jesus said that those who are last will be first. Inspired by Nigerian-born British artist Yinka Shonibare.
I thought #1 was especially interesting as a concept, though I couldn’t persuade DALL·E to produce something good with it. Diego Rivera, further, is a painter rather than a sculptor, so the suggestion wouldn’t work as-is. These ideas often served as a starting place for the prompt I ultimately entered into DALL·E.
I appreciate the irony that I, as a human, am the least-creative part of this whole process; I’m largely copy-pasting content between AIs and then selecting the best output while the AI does most of the lateral thinking.