-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add openai app example #195
Conversation
…dd-openai-app-example
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great example! I have no critical comments about the implementation. The code is clear and focused on the scenario. I have only small comments like using console.log
and etc.
Co-authored-by: Kirill Sudarushkin <[email protected]>
Should be ready for app-examples (hopefully 🤞🏼) now! |
const response = await openai.images.generate({ | ||
prompt: prompt, | ||
}); | ||
let image_url = response.data[0].url; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let image_url = response.data[0].url; | |
const image_url = response.data[0].url; |
Add AI Image generation app to app-examples