{"id":27570,"date":"2023-04-11T09:18:55","date_gmt":"2023-04-11T16:18:55","guid":{"rendered":"https:\/\/cloudinary.com\/blog\/?p=27570"},"modified":"2025-11-26T14:39:50","modified_gmt":"2025-11-26T22:39:50","slug":"playing_with_chatgpt","status":"publish","type":"post","link":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt","title":{"rendered":"Playing With ChatGPT"},"content":{"rendered":"\n<p>As a lifelong lover of art and technology, I&#8217;ve been fascinated by the recent advances in artificial intelligence (AI) that have allowed machines to create images that are almost indistinguishable from those made by human hands. <\/p>\n\n\n\n<p>From realistic portraits to entire landscapes, AI algorithms have the ability to generate incredibly detailed and visually stunning images with ease. The idea that machines can now produce images that look like they were made by humans has left me with a sense of wonder and curiosity. I&#8217;m eager to learn more about the techniques and applications of AI image generation, and to explore the ethical questions raised by this rapidly evolving field.<\/p>\n\n\n\n<p>In this post, I&#8217;ll share some of my insights and reflections on the topic of AI image generation and how we can use Cloudinary API with OpenAI API to generate text and images.<\/p>\n\n\n\n<p>Before exploring ChatGPT (or OpenAI), you\u2019ll need to follow couple of steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Sign up to OpenAI and have your API KEY handy. You can generate them <a href=\"https:\/\/platform.openai.com\/account\/api-keys\">here<\/a>. Please note that you can\u2019t display your secret API keys again after you generate them.<\/li>\n\n\n\n<li>Create a Cloudinary account and have the credential of your account ready.&nbsp;<\/li>\n\n\n\n<li>On your Cloudinary account, create structure metadata and call it info (type text)<\/li>\n\n\n\n<li>Create named transformation <code>joke<\/code>. Here is a code for creating it:<\/li>\n<\/ol>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript shcb-wrap-lines\">cloudinary.api.create_transformation(<span class=\"hljs-string\">\"joke\"<\/span>, <span class=\"hljs-string\">\"$newtext_md:!info!\/w_iw,h_ih_mul_1.4,c_pad,b_rgb:BEDDE5,g_north\/w_iw,h_ih,c_fit,l_text:arial_20:$(newtext),g_south,y_ih_div_12\"<\/span>)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Now that we have everything ready, let install the packages that we will need:<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs shcb-wrap-lines\">npm install os\n\nnpm install cloudinary\n\nnpm install openai<\/code><\/span><\/pre>\n\n\n<p>Create an <code>.env<\/code> file that should look like this:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript shcb-wrap-lines\">OPENAI_API_KEY = <span class=\"hljs-string\">\"XXXXX\"<\/span>\ncloud_name = <span class=\"hljs-string\">\"XXXX\"<\/span>\napi_key = <span class=\"hljs-string\">\"XXXXX\"<\/span>\napi_secret = <span class=\"hljs-string\">\"XXXXX\"<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Create <code>main.py<\/code> and load the credentials:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php shcb-wrap-lines\">import cloudinary.uploader\nfrom cloudinary.utils import cloudinary_url\nfrom dotenv.main import load_dotenv\nload_dotenv()\n\ncloudName = os.environ&#91;<span class=\"hljs-string\">'cloud_name'<\/span>]\napiKey = os.environ&#91;<span class=\"hljs-string\">'api_key'<\/span>]\napiSecret = os.environ&#91;<span class=\"hljs-string\">'api_secret'<\/span>]\nopenAIKey = os.environ&#91;<span class=\"hljs-string\">'OPENAI_API_KEY'<\/span>]\n\n<span class=\"hljs-comment\"># Load your API key from an environment variable or secret management service<\/span>\nopenai.api_key = openAIKey\ncloudinary.config(cloud_name=cloudName, api_key=apiKey, api_secret=apiSecret)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Now let\u2019s upload an image to Cloudinary and use one (or more) of our add-ons to get the tags of the image:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php shcb-wrap-lines\">result = cloudinary.uploader.upload(<span class=\"hljs-string\">\"https:\/\/res.cloudinary.com\/shirly-dam\/image\/upload\/v1678817388\/Owl.png\"<\/span>,crop=<span class=\"hljs-string\">\"limit\"<\/span>,width=<span class=\"hljs-number\">500<\/span>,hight=<span class=\"hljs-number\">500<\/span>,categorization = <span class=\"hljs-string\">\"google_tagging\"<\/span>)\ntags = result&#91;<span class=\"hljs-string\">'info'<\/span>]&#91;<span class=\"hljs-string\">'categorization'<\/span>]&#91;<span class=\"hljs-string\">'google_tagging'<\/span>]&#91;<span class=\"hljs-string\">'data'<\/span>]\nresult_list = &#91;]\npublic_id = result&#91;<span class=\"hljs-string\">'public_id'<\/span>]\n\n<span class=\"hljs-comment\"># Get list of tags from google tagging<\/span>\n<span class=\"hljs-keyword\">for<\/span> qs in tags:\nresult_list.append(qs&#91;<span class=\"hljs-string\">'tag'<\/span>])\n\nmystring = <span class=\"hljs-string\">\"\"<\/span>\n\n<span class=\"hljs-keyword\">for<\/span> x in result_list:\n\n\u00a0\u00a0\u00a0mystring +=<span class=\"hljs-string\">\" \"<\/span> + x\n\n<span class=\"hljs-keyword\">print<\/span>(result_list)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>In this stage we can get the list of tags from the image. For example:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/cloudinary-marketing-res.cloudinary.com\/image\/upload\/v1764196465\/blog-playing_with_chatgpt-1.png\" alt=\"Image of an owl in black and white\"\/><\/figure><\/div>\n\n\n<p>From this image, we got:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"JSON \/ JSON with Comments\" data-shcb-language-slug=\"json\"><span><code class=\"hljs language-json shcb-wrap-lines\">&#91;'Bird', 'White', 'Beak', 'Owl', 'Grey', 'Screech owl', 'Great horned owl', 'Snout', 'Art', 'Bird of prey', 'Terrestrial animal', 'Eastern Screech owl', 'Monochrome photography', 'Wildlife', 'Symmetry', 'Pattern', 'Drawing', 'Monochrome', 'Fur', 'Illustration', 'Visual arts', 'Painting', 'Sketch', 'Eyelash', 'Still life photography']<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JSON \/ JSON with Comments<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">json<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Now the fun part: Let ask open AI for a joke. When using Open AI you have different models that you can use. Here is a list of all the models: <a href=\"https:\/\/platform.openai.com\/docs\/models\/gpt-3-5\">https:\/\/platform.openai.com\/docs\/models\/gpt-3-5<\/a><\/p>\n\n\n\n<p>And here is a nice tool to choose which model to use: <a href=\"https:\/\/gpttools.com\/comparisontool\">https:\/\/gpttools.com\/comparisontool<\/a><\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php shcb-wrap-lines\">response = openai.Completion.create(model=<span class=\"hljs-string\">\"gpt-3.5-turbo-0301\"<\/span>, prompt=<span class=\"hljs-string\">\"write a joke\"<\/span>+ mystring , temperature=<span class=\"hljs-number\">0<\/span>, max_tokens=<span class=\"hljs-number\">170<\/span>)\n<span class=\"hljs-keyword\">print<\/span>(response&#91;<span class=\"hljs-string\">'choices'<\/span>]&#91;<span class=\"hljs-number\">0<\/span>]&#91;<span class=\"hljs-string\">'text'<\/span>])\njoke = response&#91;<span class=\"hljs-string\">'choices'<\/span>]&#91;<span class=\"hljs-number\">0<\/span>]&#91;<span class=\"hljs-string\">'text'<\/span>]<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>The joke that we got this time is:<\/p>\n\n\n\n<p>Q: What did the owl say when it saw a painting of itself?<\/p>\n\n\n\n<p>A: &#8220;That&#8217;s a hoot!&#8221;<\/p>\n\n\n\n<p>Now add the joke as a structure metadata (I called it info):<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript shcb-wrap-lines\">cloudinary.uploader.explicit(public_id,type=<span class=\"hljs-string\">\"upload\"<\/span>, metadata={<span class=\"hljs-string\">\"info\"<\/span>:joke})<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Overlay the joke with our named transformation:<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/res.cloudinary.com\/shirly-dam\/image\/upload\/t_joke\/Owl.png\n<\/div><\/figure>\n\n\n\n<p>Bonus part:<\/p>\n\n\n\n<p>Ask Dalle for a new image from those tags and upload it to Cloudinary:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-8\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php shcb-wrap-lines\"><span class=\"hljs-comment\"># Generate new image with Dalle and upload to Cloudinary<\/span>\nresponse = openai.Image.create(\n   prompt=mystring,\n   n=<span class=\"hljs-number\">1<\/span>,\n   size=<span class=\"hljs-string\">\"512x512\"<\/span>,\n)\ndalleImg = cloudinary.uploader.upload(response&#91;<span class=\"hljs-string\">\"data\"<\/span>]&#91;<span class=\"hljs-number\">0<\/span>]&#91;<span class=\"hljs-string\">\"url\"<\/span>])<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-8\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/cloudinary-marketing-res.cloudinary.com\/image\/upload\/v1764196466\/blog-playing_with_chatgpt-2.png\" alt=\"Image of the same owl in black and white, with the joke written in a text box underneath\"\/><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/cloudinary-marketing-res.cloudinary.com\/image\/upload\/v1764196467\/blog-playing_with_chatgpt-3.png\" alt=\"Image of an owl with horns sticking up\"\/><\/figure><\/div>\n\n\n<p>The combination of Cloudinary and OpenAI APIs provides a powerful tool for generating and manipulating images and text. The integration of AI image generation raises fascinating possibilities and demonstrates how these two technologies can be harnessed in creative ways.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As a lifelong lover of art and technology, I&#8217;ve been fascinated by the recent advances in artificial intelligence (AI) that have allowed machines to create images that are almost indistinguishable from those made by human hands. From realistic portraits to entire landscapes, AI algorithms have the ability to generate incredibly detailed and visually stunning images [&hellip;]<\/p>\n","protected":false},"author":54,"featured_media":27689,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_cloudinary_featured_overwrite":false,"footnotes":""},"categories":[1],"tags":[409],"class_list":["post-27570","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-generative-ai"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.6 (Yoast SEO v26.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Playing With ChatGPT<\/title>\n<meta name=\"description\" content=\"As a lifelong lover of art and technology, I&#039;ve been fascinated by the recent advances in artificial intelligence (AI) that have allowed machines to\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Playing With ChatGPT\" \/>\n<meta property=\"og:description\" content=\"As a lifelong lover of art and technology, I&#039;ve been fascinated by the recent advances in artificial intelligence (AI) that have allowed machines to\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt\" \/>\n<meta property=\"og:site_name\" content=\"Cloudinary Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-11T16:18:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-26T22:39:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1680047627\/blog-ChatGPT\/blog-ChatGPT.jpg?_i=AA\" \/>\n\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t<meta property=\"og:image:height\" content=\"1100\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"NewsArticle\",\"@id\":\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#article\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"Playing With ChatGPT\",\"datePublished\":\"2023-04-11T16:18:55+00:00\",\"dateModified\":\"2025-11-26T22:39:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt\"},\"wordCount\":464,\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1680047627\/blog-ChatGPT\/blog-ChatGPT.jpg?_i=AA\",\"keywords\":[\"Generative AI\"],\"inLanguage\":\"en-US\",\"copyrightYear\":\"2023\",\"copyrightHolder\":{\"@id\":\"https:\/\/cloudinary.com\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt\",\"url\":\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt\",\"name\":\"Playing With ChatGPT\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1680047627\/blog-ChatGPT\/blog-ChatGPT.jpg?_i=AA\",\"datePublished\":\"2023-04-11T16:18:55+00:00\",\"dateModified\":\"2025-11-26T22:39:50+00:00\",\"description\":\"As a lifelong lover of art and technology, I've been fascinated by the recent advances in artificial intelligence (AI) that have allowed machines to\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#primaryimage\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1680047627\/blog-ChatGPT\/blog-ChatGPT.jpg?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1680047627\/blog-ChatGPT\/blog-ChatGPT.jpg?_i=AA\",\"width\":2000,\"height\":1100,\"caption\":\"ChatGPT\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudinary.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Playing With ChatGPT\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\",\"url\":\"https:\/\/cloudinary.com\/blog\/\",\"name\":\"Cloudinary Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudinary.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\",\"name\":\"Cloudinary Blog\",\"url\":\"https:\/\/cloudinary.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"width\":312,\"height\":60,\"caption\":\"Cloudinary Blog\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Playing With ChatGPT","description":"As a lifelong lover of art and technology, I've been fascinated by the recent advances in artificial intelligence (AI) that have allowed machines to","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt","og_locale":"en_US","og_type":"article","og_title":"Playing With ChatGPT","og_description":"As a lifelong lover of art and technology, I've been fascinated by the recent advances in artificial intelligence (AI) that have allowed machines to","og_url":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt","og_site_name":"Cloudinary Blog","article_published_time":"2023-04-11T16:18:55+00:00","article_modified_time":"2025-11-26T22:39:50+00:00","og_image":[{"width":2000,"height":1100,"url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1680047627\/blog-ChatGPT\/blog-ChatGPT.jpg?_i=AA","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#article","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt"},"author":{"name":"","@id":""},"headline":"Playing With ChatGPT","datePublished":"2023-04-11T16:18:55+00:00","dateModified":"2025-11-26T22:39:50+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt"},"wordCount":464,"publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1680047627\/blog-ChatGPT\/blog-ChatGPT.jpg?_i=AA","keywords":["Generative AI"],"inLanguage":"en-US","copyrightYear":"2023","copyrightHolder":{"@id":"https:\/\/cloudinary.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt","url":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt","name":"Playing With ChatGPT","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#primaryimage"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1680047627\/blog-ChatGPT\/blog-ChatGPT.jpg?_i=AA","datePublished":"2023-04-11T16:18:55+00:00","dateModified":"2025-11-26T22:39:50+00:00","description":"As a lifelong lover of art and technology, I've been fascinated by the recent advances in artificial intelligence (AI) that have allowed machines to","breadcrumb":{"@id":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudinary.com\/blog\/playing_with_chatgpt"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#primaryimage","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1680047627\/blog-ChatGPT\/blog-ChatGPT.jpg?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1680047627\/blog-ChatGPT\/blog-ChatGPT.jpg?_i=AA","width":2000,"height":1100,"caption":"ChatGPT"},{"@type":"BreadcrumbList","@id":"https:\/\/cloudinary.com\/blog\/playing_with_chatgpt#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudinary.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Playing With ChatGPT"}]},{"@type":"WebSite","@id":"https:\/\/cloudinary.com\/blog\/#website","url":"https:\/\/cloudinary.com\/blog\/","name":"Cloudinary Blog","description":"","publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudinary.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cloudinary.com\/blog\/#organization","name":"Cloudinary Blog","url":"https:\/\/cloudinary.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","width":312,"height":60,"caption":"Cloudinary Blog"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":""}]}},"jetpack_featured_media_url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1680047627\/blog-ChatGPT\/blog-ChatGPT.jpg?_i=AA","_links":{"self":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/27570","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/users\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/comments?post=27570"}],"version-history":[{"count":8,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/27570\/revisions"}],"predecessor-version":[{"id":39400,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/27570\/revisions\/39400"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media\/27689"}],"wp:attachment":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media?parent=27570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/categories?post=27570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/tags?post=27570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}