{"id":196140,"date":"2025-04-21T07:03:59","date_gmt":"2025-04-21T07:03:59","guid":{"rendered":"https:\/\/peraltafinancing.com\/analytics\/i-tried-to-build-image-captioning-app-with-openai-codex-cli\/"},"modified":"2025-04-21T07:03:59","modified_gmt":"2025-04-21T07:03:59","slug":"i-tried-to-build-image-captioning-app-with-openai-codex-cli","status":"publish","type":"post","link":"https:\/\/fivemor.com\/?p=196140","title":{"rendered":"I Tried to Build Image Captioning App With OpenAI Codex CLI"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div id=\"article-start\">\n<p>OpenAI Codex CLI is an open\u2011source command-line tool that brings the power of OpenAI\u2019s latest reasoning models directly to your terminal. Think of it as a lightweight AI coding assistant that lives <em>in your shell<\/em>: it can read your code, modify files, and even execute commands in your project environment. This means you can ask it to build features, fix bugs, or explain unfamiliar code without leaving your development workflow. In short, it\u2019s <em>chat-driven development<\/em> \u2013 you interact with Codex in natural language and it responds with code edits or command results, effectively giving you ChatGPT-level reasoning plus the ability to run code and see outcomes in real-time\u200b. Sounds intriguing, right? Further in this article, I will tell you about how to access it and use for your queries.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-key-features-of-openai-codex-cli\">Key Features of OpenAI Codex CLI<\/h2>\n<p>OpenAI Codex CLI comes with several powerful features that make it a handy companion for developers. One of the biggest advantages of Codex CLI is that it runs entirely on your local machine. Your source code and files stay in your environment and aren\u2019t uploaded wholesale to a cloud service\u200b. Only your prompts and high-level context (like summarized diffs or relevant snippets) are sent to the OpenAI API for generating responses\u200b. Because the CLI is open-source and works locally, it gives you privacy and control by design \u2013 your workflow and code remain private. This makes Codex CLI especially appealing for codebases that you can\u2019t or don\u2019t want to share, while still leveraging powerful AI assistance.<\/p>\n<p>By integrating directly into the terminal, Codex CLI fits naturally into a developer\u2019s day-to-day work. You can chat with the AI assistant right next to your git commands, text editor, and build tools, which means less context-switching compared to using a separate chat interface. The tool is designed for quick iteration: ask a question or give an instruction, let it propose or apply a change, run the code, and repeat \u2013 all in one place\u200b.<\/p>\n<p>Here are some of the highlights:<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-1-zero-setup-installation\">1. Zero-Setup Installation<\/h3>\n<p>Codex CLI is extremely easy to get running. All you need is Node.js and an <a href=\"https:\/\/www.analyticsvidhya.com\/blog\/2024\/12\/api-keys-in-google-colab\/\" target=\"_blank\" rel=\"noreferrer noopener\">OpenAI API key<\/a> \u2013 a single command like npm install -g @openai\/codex installs the CLI globally, with no other setup required\u200b. There\u2019s no complex configuration or environment fiddling; bring your API key and it \u201cjust works\u201d\u200b. (You can even update to the latest version at any time with a simple codex \u2013upgrade command\u200b.)<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-2-terminal-native-design\">2. Terminal-Native Design<\/h3>\n<p>Codex runs entirely in your terminal, so it feels like a natural extension of your shell environment\u200b. You can invoke it from your project directory and have it interact with your local files and tools. This terminal-native approach means you don\u2019t have to switch to a browser or GUI \u2013 perfect for maintaining flow and context while coding\u200b. The CLI provides an interactive chat-like interface in text, so you see the AI\u2019s responses (like code diffs or command outputs) right in the console.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-3-multimodal-inputs\">3. Multimodal Inputs<\/h3>\n<p>Unlike plain text-only tools, Codex CLI accepts multimodal inputs \u2013 you can pass not just text prompts, but also images such as screenshots or diagrams to guide the assistant\u200b. For example, you could drag a screenshot of an error message or a UI sketch into the terminal, and Codex can interpret it and act on it. This is a unique capability that lets the AI use visual information to generate or edit code accordingly\u200b. Under the hood, it uses vision-enabled models to understand images, enabling use cases like debugging from a screenshot of a stack trace or building a layout from a wireframe.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-4-rich-approvals-workflow\">4. Rich Approvals Workflow<\/h3>\n<p>Codex CLI gives you fine-grained control over what it can do autonomously through a rich approval system. You can choose between three modes (Suggest, Auto Edit, Full Auto) that determine whether the AI\u2019s proposed code changes or commands are auto-executed or require your confirmation\u200b. This flexible workflow lets you decide how hands-on you want to be: you can start conservatively (manual approvals for everything) and dial up to full automation for repetitive tasks. We\u2019ll dive deeper into these modes in the next section, but the key point is that Codex won\u2019t make changes you\u2019re uncomfortable with \u2013 you\u2019re always in charge of approvals.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-5-local-execution-and-privacy\">5. Local Execution and Privacy<\/h3>\n<p>All code execution and file editing happens on <em>your<\/em> machine, within your project\u2019s environment. Aside from the model queries, nothing is sent out \u2013 the CLI doesn\u2019t upload your codebase to <a href=\"https:\/\/openai.com\/\">OpenAI<\/a>. This means you retain complete privacy. You can safely use Codex CLI on proprietary or sensitive code knowing that the tool isn\u2019t retaining or sharing your data. Even when using the most autonomous mode, Codex runs in a sandboxed environment with no network access, ensuring any actions it takes stay local to your system\u200b. In short, you get the benefits of an AI pair programmer without giving up privacy or security.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-codex-cli-modes-that-you-must-know\">Codex CLI Modes that You Must Know<\/h2>\n<p>Github Link: <a href=\"https:\/\/github.com\/openai\/codex\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">openai\/codex<\/a><\/p>\n<p>A standout feature of Codex CLI is its approval workflow \u2013 essentially, you decide how much freedom the AI has to make changes or run commands. There are three approval modes: Suggest, Auto Edit, and Full Auto. Each mode strikes a different balance between automation and user oversight, so you can pick what fits your comfort level for the task at hand\u200b. Here\u2019s an overview of how they work:<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-1-suggest-mode-default\">1. Suggest Mode (Default)<\/h3>\n<p>This is the most conservative mode, ideal for when you want to carefully review everything. The AI can read your project files and <em>suggest<\/em> code edits or terminal commands, but it won\u2019t apply changes or execute anything without your explicit approval\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Suggest%20\"> <\/a>. Essentially, Codex will interact with you like an expert advisor: it might propose a patch diff for a bug fix or show a shell command to run tests, and then ask for your confirmation. Use Suggest mode for safe exploration \u2013 e.g. learning a new codebase or doing a code review \u2013 where you want to see recommendations but apply them manually\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Suggest%20\"> <\/a>.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-2-auto-edit-mode\">2. Auto Edit Mode<\/h3>\n<p>In Auto Edit, Codex is allowed to automatically apply code changes (it can edit\/write to files on its own) but still must ask before running any shell commands\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Auto%20Edit\"> <\/a>. This mode is great for tasks like refactoring or making repetitive edits across a codebase. You get the efficiency of the AI directly modifying code for you, while retaining a checkpoint of control before any program execution. For example, Codex might rewrite a function in multiple files and save the changes immediately, but if it wants to run your test suite or start the dev server, it will pause and ask for your go-ahead. Auto Edit mode is a balance: faster coding iterations, yet you still supervise side-effects like commands\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Auto%20Edit\"> <\/a>.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-3-full-auto-mode\">3. Full Auto Mode<\/h3>\n<p>Full Auto gives the AI the most autonomy. Codex can read and write files and also execute shell commands on its own without stopping for approval\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Full%20Auto\"> <\/a>. In this mode, it becomes a truly automatic agent \u2013 you could ask it to perform a complex task and then sit back while it works through the steps. To keep things safe, Full Auto runs in a restricted sandbox: all commands are executed with network access disabled and scoped to your project directory (it can\u2019t wander outside or access the internet)\u200b. This mode is ideal for longer tasks where you trust the AI to iterate, for instance, fixing a broken build or prototyping a new feature while you take a short break\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Read%2C%20write%2C%20and%20execute%20commands,scoped%20to%20the%20current%20directory\"> <\/a>. Of course, you should use Full Auto with caution \u2013 it\u2019s powerful, but you\u2019ll want to ensure you\u2019ve backed up or version-controlled your code (the CLI will actually warn you if you\u2019re not in a git repo when starting Auto Edit or Full Auto)\u200b\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Pro%20tip%3A%20Codex%20warns%20you,directory%20isn%E2%80%99t%20under%20version%20control\"> <\/a>.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-comparison-of-modes\">Comparison of Modes<\/h3>\n<p>The differences between the three modes are summarized in the table below, along with typical use cases for each:<\/p>\n<figure class=\"wp-block-table\">\n<table class=\"table table-bordered border-black table-striped\">\n<tbody>\n<tr>\n<td><strong>Mode<\/strong><\/td>\n<td><strong>What the Agent Can Do<\/strong><\/td>\n<td><strong>When to Use (Use Cases)<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>Suggest<\/strong> (default)<\/td>\n<td>\u2013 Read any files in your repo<br \/>&#8211; Propose edits and shell commands (requires your approval to apply\/execute)\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Suggest%20\">\u00a0<\/a><\/td>\n<td>Safe exploration of codebases, code reviews, learning a new project\u2019s structure where you want full control over changes\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Suggest%20\"> <\/a>.<\/td>\n<\/tr>\n<tr>\n<td><strong>Auto Edit<\/strong><\/td>\n<td>\u2013 Read and <em>modify<\/em> files (apply edits automatically)<br \/>&#8211; Propose shell commands (execution still requires approval)\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Auto%20Edit\">\u00a0<\/a><\/td>\n<td>Refactoring code or making bulk edits while keeping an eye on side effects. Great for repetitive changes where manual file editing is tedious but you still want to approve any commands\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Auto%20Edit\"> <\/a>.<\/td>\n<\/tr>\n<tr>\n<td><strong>Full Auto<\/strong><\/td>\n<td>\u2013 Read, write, and execute commands autonomously (all actions auto-approved)<br \/>&#8211; Runs in sandbox (no network, confined to project directory)\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Full%20Auto\">\u00a0<\/a><\/td>\n<td>Large or time-consuming tasks like fixing all tests in a broken build or scaffolding a new app from scratch. Useful when you want to delegate execution entirely to the AI (e.g. quick prototyping)\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=Read%2C%20write%2C%20and%20execute%20commands,scoped%20to%20the%20current%20directory\"> <\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>In practice, you can select the mode that makes sense for your situation. By default, if you just run codex it starts in Suggest mode. To explicitly choose a mode, you can launch the CLI with a flag: for example, use \u2013auto-edit or \u2013full-auto to start in those modes\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=How%20do%20I%20change%20approval,modes\"> <\/a>. There\u2019s also an interactive command (\/mode) to toggle modes during a session\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=How%20do%20I%20change%20approval,modes\"> <\/a>. This way, you might begin in Suggest mode to see what Codex plans to do, then switch to Auto Edit once you\u2019re comfortable with its suggestions, and maybe kick into Full Auto for the final stretch of a task. The important thing is that <em>you<\/em> control the level of autonomy at all times.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-system-requirements-for-codex-cli\">System Requirements for Codex CLI<\/h2>\n<p>Before installing Codex CLI, make sure your development environment meets the minimum requirements. The tool is cross-platform, but currently works best on Unix-like systems. Here are the minimum and recommended specs:<\/p>\n<figure class=\"wp-block-table\">\n<table class=\"table table-bordered border-black table-striped\">\n<tbody>\n<tr>\n<td><strong>Requirement<\/strong><\/td>\n<td><strong>Minimum<\/strong><\/td>\n<td><strong>Recommended<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>Operating System<\/strong><\/td>\n<td>macOS 12+ or Ubuntu 20.04+\/Debian 10+ (Linux)\uff1b Windows 11 via WSL2<\/td>\n<td>Latest OS updates (latest macOS or LTS Linux release; Windows with latest WSL2) for best compatibility.<\/td>\n<\/tr>\n<tr>\n<td><strong>Node.js<\/strong><\/td>\n<td>22 (or newer)\u200b<\/td>\n<td>Latest LTS version of Node.js (&gt;= 22) for stability.<\/td>\n<\/tr>\n<tr>\n<td><strong>Git<\/strong> (optional)<\/td>\n<td>2.23+ (if using version control features)\u200b<\/td>\n<td>Newest Git available (optional, but recommended for full functionality like PR helpers).<\/td>\n<\/tr>\n<tr>\n<td><strong>Memory (RAM)<\/strong><\/td>\n<td>4 GB minimum<\/td>\n<td>8 GB or more (for smoother performance on large tasks)\u200b.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>Codex CLI has been tested on macOS and Linux. Windows users can run it via WSL2 (Windows Subsystem for Linux) since native Windows support is still experimental\u200b<a href=\"https:\/\/help.openai.com\/en\/articles\/11096431-openai-codex-cli-getting-started#:~:text=What%20platforms%20are%20supported%3F\"> <\/a>. You\u2019ll also need an OpenAI API key (from your OpenAI account) to authenticate the CLI \u2013 we\u2019ll cover that next. Aside from these, no other special hardware is required; if you can run modern Node.js, you\u2019re likely good to go.<\/p>\n<p><em>Note:<\/em> It\u2019s recommended to have your project under source control (git) when using Codex CLI, especially for Auto modes. While Git isn\u2019t strictly required to run the CLI, having version control will allow you to easily review changes and rollback if needed. In fact, Codex will remind you with a warning if you try to use Auto Edit or Full Auto in a directory that\u2019s not a git repo\u200b<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-how-to-use-openai-codex-cli\">How to Use OpenAI Codex CLI?<\/h2>\n<h3 class=\"wp-block-heading\" id=\"h-step-1-install-node-js\">Step 1: Install Node.js<\/h3>\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1100\" height=\"671\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/step_1.png\" alt=\"\" class=\"wp-image-231693\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/step_1.png 1100w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/step_1-300x183.png 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/step_1-768x468.png 768w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/step_1-150x92.png 150w\" sizes=\"(max-width: 1100px) 100vw, 1100px\"\/><\/figure>\n<ol class=\"wp-block-list\">\n<li>Download Node.js v22+ from <a href=\"https:\/\/nodejs.org\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">nodejs.org<\/a>.<\/li>\n<li>Install using default settings.<\/li>\n<li>Verify installation:<\/li>\n<\/ol>\n<pre class=\"wp-block-code\"><code>bash\nnode --version\u00a0 <em># Should show v22+<\/em>\nnpm --version \u00a0 <em># Should show v10<\/em><\/code><\/pre>\n<h3 class=\"wp-block-heading\" id=\"h-step-2-install-codex-cli\">Step 2: Install Codex CLI<\/h3>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1034\" height=\"140\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/image-33.png\" alt=\"\" class=\"wp-image-231696\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/image-33.png 1034w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/image-33-300x41.png 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/image-33-768x104.png 768w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/image-33-150x20.png 150w\" sizes=\"auto, (max-width: 1034px) 100vw, 1034px\"\/><\/figure>\n<pre class=\"wp-block-code\"><code>bash\nnpm install -g @openai\/codex<\/code><\/pre>\n<ul class=\"wp-block-list\">\n<li>Troubleshooting: If you see permission denied errors:\n<ul class=\"wp-block-list\">\n<li>Windows: Run PowerShell as Administrator.<\/li>\n<li>Linux\/macOS: Use sudo npm install -g @openai\/codex (not recommended; fix npm permissions instead).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 class=\"wp-block-heading\" id=\"h-step-3-set-openai-api-key\">Step 3: Set OpenAI API Key<\/h3>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"320\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/step_2_setting_up_openai_key_in_enviroment-1.webp\" alt=\"Terminal\" class=\"wp-image-231723\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/step_2_setting_up_openai_key_in_enviroment-1.webp 975w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/step_2_setting_up_openai_key_in_enviroment-1-300x98.webp 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/step_2_setting_up_openai_key_in_enviroment-1-768x252.webp 768w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/step_2_setting_up_openai_key_in_enviroment-1-150x49.webp 150w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\"\/><\/figure>\n<\/div>\n<h4 class=\"wp-block-heading\" id=\"h-for-powershell-windows\">For PowerShell (Windows):<\/h4>\n<p>Powershell<\/p>\n<pre class=\"wp-block-code\"><code>$env:OPENAI_API_KEY = \"your-api-key-here\"<\/code><\/pre>\n<p>To make it permanent:<\/p>\n<p>Powershell<\/p>\n<pre class=\"wp-block-code\"><code>setx OPENAI_API_KEY \"your-api-key-here\"<\/code><\/pre>\n<h3 class=\"wp-block-heading\" id=\"h-for-git-bash-mingw64\">For Git Bash\/MINGW64:<\/h3>\n<pre class=\"wp-block-code\"><code>bash\nexport OPENAI_API_KEY=\"your-api-key-here\"<\/code><\/pre>\n<p>To make it permanent, add to ~\/.bash_profile:<\/p>\n<pre class=\"wp-block-code\"><code>bash\nnano ~\/.bash_profile\u00a0 # Add \"export OPENAI_API_KEY=...\"\nsource ~\/.bash_profile<\/code><\/pre>\n<h3 class=\"wp-block-heading\" id=\"h-step-4-fix-sh-exe-errors-windows-only\">Step 4: Fix \u201csh.exe\u201d Errors (Windows Only)<\/h3>\n<ol class=\"wp-block-list\">\n<li>Install Git for Windows from <a href=\"https:\/\/git-scm.com\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">git-scm.com<\/a>.<\/li>\n<li>During installation:\n<ul class=\"wp-block-list\">\n<li>Select \u201cUse Git and Unix tools in the Command Prompt\u201d.<\/li>\n<li>Enable \u201cEnable symbolic links\u201d.<\/li>\n<\/ul>\n<\/li>\n<li>Restart your terminal.<\/li>\n<\/ol>\n<h3 class=\"wp-block-heading\" id=\"h-step-5-run-codex\">Step 5: Run Codex<\/h3>\n<h4 class=\"wp-block-heading\" id=\"h-interactive-mode\">Interactive Mode<\/h4>\n<p>Run interactively:<\/p>\n<pre class=\"wp-block-code\"><code>Codex<\/code><\/pre>\n<h2 class=\"wp-block-heading\" id=\"h-hands-on-openai-codex-cli-to-build-game-and-image-captioning-app\">Hands-on OpenAI Codex CLI to Build Game and Image Captioning APP<\/h2>\n<h3 class=\"wp-block-heading\" id=\"h-task-1-basic-prompt-execution\">Task 1: Basic Prompt Execution<\/h3>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1769\" height=\"405\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/image-34-1.webp\" alt=\"first task CODEX CLI\" class=\"wp-image-231707\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/image-34-1.webp 1769w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/image-34-1-300x69.webp 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/image-34-1-768x176.webp 768w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/image-34-1-1536x352.webp 1536w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/image-34-1-150x34.webp 150w\" sizes=\"auto, (max-width: 1769px) 100vw, 1769px\"\/><\/figure>\n<p>I started with a simple task\u2014asking Codex to write 2\u20133 sentences about myself. The CLI responded quickly and accurately, generating coherent, grammatically sound output in just seconds. It demonstrated strong prompt understanding and fluency, even with minimal input.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-task-2-image-captioning-app-with-openai-model\">Task 2: Image Captioning App with OpenAI Model<\/h3>\n<p>\n<iframe src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/task_1-1.mp4\" loading=\"lazy\" title=\"GPT-40 vs GPT-4.5\" allowfullscreen=\"\"><\/iframe>\n<\/p>\n<p>Next, I tried building a more complex application: an image captioning tool where users upload an image and receive a descriptive caption generated by an OpenAI model. While Codex provided a decent starting point, the code was outdated\u2014referencing deprecated code and missing key components for file handling and model integration. I had to step in and update the code myself. (I\u2019ve included a screenshot for reference.) This highlighted a limitation: for newer or less-documented APIs, Codex might fall back on older patterns or incomplete implementations.<\/p>\n<p>\n<iframe src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/task_1_response_gives_outdated_code.mp4\" loading=\"lazy\" title=\"GPT-40 vs GPT-4.5\" allowfullscreen=\"\"><\/iframe>\n<\/p>\n<p>Error with Codex CLI<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"755\" height=\"317\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/unnamed-2025-04-21T113921.720.webp\" alt=\"ERROR IN IMAGE CAPTIONING\" class=\"wp-image-231708\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/unnamed-2025-04-21T113921.720.webp 755w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/unnamed-2025-04-21T113921.720-300x126.webp 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/unnamed-2025-04-21T113921.720-150x63.webp 150w\" sizes=\"auto, (max-width: 755px) 100vw, 755px\"\/><\/figure>\n<h3 class=\"wp-block-heading\" id=\"h-task-3-tetris-game-with-python-and-pygame\">Task 3: Tetris Game with Python and Pygame<\/h3>\n<p>\n<iframe src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/task_2-1.mp4\" loading=\"lazy\" title=\"GPT-40 vs GPT-4.5\" allowfullscreen=\"\"><\/iframe>\n<\/p>\n<p>Output<\/p>\n<p>\n<iframe src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/04\/task_2_response_works_well.mp4\" loading=\"lazy\" title=\"GPT-40 vs GPT-4.5\" allowfullscreen=\"\"><\/iframe>\n<\/p>\n<p>For the final task, I asked Codex to build a Tetris game using Python and Pygame. This time, it nailed it. The code was well-structured, fully functional, and required no major edits. The game ran smoothly and included all the core mechanics\u2014block movement, rotation, line clearing, and scoring. A solid demonstration of Codex\u2019s ability to handle interactive, graphics-based projects when working with well-established libraries like Pygame.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-use-cases-for-codex-cli\">Use Cases for Codex CLI<\/h2>\n<p>Codex CLI can supercharge your development workflow across several common tasks:<\/p>\n<ol class=\"wp-block-list\">\n<li><strong>Bug Fixing: <\/strong>When you hit a bug or failing test, use Suggest mode to ask things like \u201cWhy is the login function throwing an error?\u201d Codex analyzes the code, spots issues (like a wrong variable or missing check), and suggests fixes. You review and approve the patch. For trickier issues, Full Auto mode lets Codex fix multiple failures by iteratively running tests and applying changes. You still verify the results, but it handles the heavy lifting.<\/li>\n<li><strong>Code Refactoring: <\/strong>Refactoring across files\u2014like switching from callbacks to async\/await\u2014can be tedious. In Auto Edit mode, Codex can apply consistent changes throughout your codebase. For example, say \u201cRefactor the API routes to async\/await,\u201d and it\u2019ll handle the file edits, pausing only if needed. You supervise the changes via diffs, letting Codex do the grunt work while you oversee quality.<\/li>\n<li><strong>Learning a New Codebase: <\/strong>Just cloned a repo? Use Suggest mode to ask, \u201cWhat does the Scheduler class do?\u201d or \u201cHow does authentication work?\u201d Codex reads the code and explains in plain language, helping you navigate unfamiliar projects quickly. You can request summaries, understand module responsibilities, and explore functionality without making changes.<\/li>\n<li><strong>Prototyping and Scaffolding: <\/strong>Want to kickstart a new project or feature? Full Auto mode can generate code and set everything up. Ask it to \u201cCreate a simple TODO web app in Flask,\u201d and it\u2019ll generate files, install dependencies, and run the app\u2014automatically. For new features like \u201cAdd CSV export to this CLI tool,\u201d Codex writes and integrates the code, giving you a working baseline to build on.<\/li>\n<\/ol>\n<p>Codex CLI acts like an AI pair-programmer\u2014helping with everything from mundane edits to complex automation. You control how hands-on or autonomous it is, depending on the task.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2>\n<p>With the <a href=\"https:\/\/www.analyticsvidhya.com\/blog\/2025\/03\/voice-agent-using-openai-agent-sdk\/\" target=\"_blank\" rel=\"noreferrer noopener\">OpenAI<\/a> Codex CLI, developers gain a friendly AI partner right in the terminal \u2013 one that can reason about code and handle the mechanics of editing and running it. I have covered what Codex CLI is and how it works, from its zero-effort installation to the clever approval modes that keep you in control. You\u2019ve seen how to get started and run some basic commands, and how it can help in real-world use cases like fixing bugs, refactoring, learning codebases, and prototyping new ideas. In essence, Codex CLI brings the ChatGPT experience into your development environment, turning natural language instructions into working code, all while you remain in charge. It\u2019s an exciting tool that embodies the future of AI-assisted software development: fast, flexible, and built with developer empowerment in mind. Give it a try on your next project!<\/p>\n<div class=\"border-top py-3 author-info my-4\">\n<div class=\"author-card d-flex align-items-center\">\n<div class=\"flex-shrink-0 overflow-hidden\">\n                                    <a href=\"https:\/\/www.analyticsvidhya.com\/blog\/author\/pankaj9786\/\" class=\"text-decoration-none active-avatar\"><br \/>\n                                                                       <img decoding=\"async\" src=\"https:\/\/av-eks-lekhak.s3.amazonaws.com\/media\/lekhak-profile-images\/converted_image_Lb7Lh0T.webp\" width=\"48\" height=\"48\" alt=\"Pankaj Singh\" loading=\"lazy\" class=\"rounded-circle\"\/><\/p>\n<p>                                <\/a>\n                                <\/div>\n<\/p><\/div>\n<p>                Hi, I am Pankaj Singh Negi &#8211; Senior Content Editor | Passionate about storytelling and crafting compelling narratives that transform ideas into impactful content. I love reading about technology revolutionizing our lifestyle.                 <\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p><h4 class=\"fs-24 text-dark\">Login to continue reading and enjoy expert-curated content.<\/h4>\n<p>                        <button class=\"btn btn-primary mx-auto d-table\" data-bs-toggle=\"modal\" data-bs-target=\"#loginModal\" id=\"readMoreBtn\">Keep Reading for Free<\/button>\n                    <\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>OpenAI Codex CLI is an open\u2011source command-line tool that brings the power of OpenAI\u2019s latest reasoning models directly to your terminal. Think of it as a lightweight AI coding assistant that lives in your shell: it can read your code, modify files, and even execute commands in your project environment. This means you can ask [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":196141,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12033],"tags":[4364,5293,75809,75810,41946,15867,11438],"dealstore":[],"offerexpiration":[],"class_list":["post-196140","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analytics","tag-app","tag-build","tag-captioning","tag-cli","tag-codex","tag-image","tag-openai"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>I Tried to Build Image Captioning App With OpenAI Codex CLI - Som2ny Network<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fivemor.com\/?p=196140\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"I Tried to Build Image Captioning App With OpenAI Codex CLI - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"OpenAI Codex CLI is an open\u2011source command-line tool that brings the power of OpenAI\u2019s latest reasoning models directly to your terminal. Think of it as a lightweight AI coding assistant that lives in your shell: it can read your code, modify files, and even execute commands in your project environment. This means you can ask [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fivemor.com\/?p=196140\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-21T07:03:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/04\/codexcli.webp.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fivemor.com\/?p=196140#article\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/?p=196140\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\"},\"headline\":\"I Tried to Build Image Captioning App With OpenAI Codex CLI\",\"datePublished\":\"2025-04-21T07:03:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=196140\"},\"wordCount\":2686,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=196140#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/04\/codexcli.webp.webp\",\"keywords\":[\"APP\",\"Build\",\"Captioning\",\"CLI\",\"Codex\",\"Image\",\"OpenAI\"],\"articleSection\":[\"Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fivemor.com\/?p=196140#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fivemor.com\/?p=196140\",\"url\":\"https:\/\/fivemor.com\/?p=196140\",\"name\":\"I Tried to Build Image Captioning App With OpenAI Codex CLI - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=196140#primaryimage\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=196140#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/04\/codexcli.webp.webp\",\"datePublished\":\"2025-04-21T07:03:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fivemor.com\/?p=196140#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fivemor.com\/?p=196140\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/?p=196140#primaryimage\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/04\/codexcli.webp.webp\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/04\/codexcli.webp.webp\",\"width\":1080,\"height\":540},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fivemor.com\/?p=196140#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fivemor.com\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"I Tried to Build Image Captioning App With OpenAI Codex CLI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fivemor.com\/#website\",\"url\":\"https:\/\/fivemor.com\/\",\"name\":\"Som2ny Network\",\"description\":\"Daily Deals\",\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fivemor.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/fivemor.com\/#organization\",\"name\":\"Som2ny Network\",\"url\":\"https:\/\/fivemor.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"width\":300,\"height\":86,\"caption\":\"Som2ny Network\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/fivemor.com\"],\"url\":\"https:\/\/fivemor.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"I Tried to Build Image Captioning App With OpenAI Codex CLI - Som2ny Network","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:\/\/fivemor.com\/?p=196140","og_locale":"en_US","og_type":"article","og_title":"I Tried to Build Image Captioning App With OpenAI Codex CLI - Som2ny Network","og_description":"OpenAI Codex CLI is an open\u2011source command-line tool that brings the power of OpenAI\u2019s latest reasoning models directly to your terminal. Think of it as a lightweight AI coding assistant that lives in your shell: it can read your code, modify files, and even execute commands in your project environment. This means you can ask [&hellip;]","og_url":"https:\/\/fivemor.com\/?p=196140","og_site_name":"Som2ny Network","article_published_time":"2025-04-21T07:03:59+00:00","og_image":[{"width":1080,"height":540,"url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/04\/codexcli.webp.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fivemor.com\/?p=196140#article","isPartOf":{"@id":"https:\/\/fivemor.com\/?p=196140"},"author":{"name":"admin","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371"},"headline":"I Tried to Build Image Captioning App With OpenAI Codex CLI","datePublished":"2025-04-21T07:03:59+00:00","mainEntityOfPage":{"@id":"https:\/\/fivemor.com\/?p=196140"},"wordCount":2686,"commentCount":0,"publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"image":{"@id":"https:\/\/fivemor.com\/?p=196140#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/04\/codexcli.webp.webp","keywords":["APP","Build","Captioning","CLI","Codex","Image","OpenAI"],"articleSection":["Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fivemor.com\/?p=196140#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fivemor.com\/?p=196140","url":"https:\/\/fivemor.com\/?p=196140","name":"I Tried to Build Image Captioning App With OpenAI Codex CLI - Som2ny Network","isPartOf":{"@id":"https:\/\/fivemor.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fivemor.com\/?p=196140#primaryimage"},"image":{"@id":"https:\/\/fivemor.com\/?p=196140#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/04\/codexcli.webp.webp","datePublished":"2025-04-21T07:03:59+00:00","breadcrumb":{"@id":"https:\/\/fivemor.com\/?p=196140#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fivemor.com\/?p=196140"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/?p=196140#primaryimage","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/04\/codexcli.webp.webp","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/04\/codexcli.webp.webp","width":1080,"height":540},{"@type":"BreadcrumbList","@id":"https:\/\/fivemor.com\/?p=196140#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fivemor.com\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"I Tried to Build Image Captioning App With OpenAI Codex CLI"}]},{"@type":"WebSite","@id":"https:\/\/fivemor.com\/#website","url":"https:\/\/fivemor.com\/","name":"Som2ny Network","description":"Daily Deals","publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fivemor.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/fivemor.com\/#organization","name":"Som2ny Network","url":"https:\/\/fivemor.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","width":300,"height":86,"caption":"Som2ny Network"},"image":{"@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","caption":"admin"},"sameAs":["https:\/\/fivemor.com"],"url":"https:\/\/fivemor.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/196140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=196140"}],"version-history":[{"count":0,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/196140\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/media\/196141"}],"wp:attachment":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=196140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=196140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=196140"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=196140"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=196140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}