Generated with the built-in image tool, saved and inspected. The image matches the requested vase, composition, lighting, and background.
Saved copy: output/imagegen/vase-original.png
Submitted prompt:
Generate one square photorealistic studio product photograph of a small cobalt-blue ceramic vase. The vase has a rounded pear-shaped body, a narrow short neck, glossy glaze, no handle, no decoration, no logo and no text. Show the whole vase centered on a warm off-white seamless surface and background, with generous space around it. Straight-on camera. Diffused light from the upper left creates realistic glossy highlights and a soft shadow to the right. No other objects, no watermark.
Saved the built-in image-to-image edit to output/imagegen/vase-sage-edited.png. Original preserved.
Inspected result: sage-green background and surface, matching vase silhouette and framing, upper-left highlights, and soft rightward shadow. Visible drift: the glaze texture looks slightly coarser and the shadow somewhat darker.
Exact prompt:
Edit the supplied source photograph (edit target: vase-original.png). Replace ONLY the off-white studio background and tabletop with a pale sage-green seamless studio background and surface. Preserve the SAME cobalt-blue ceramic vase exactly as in the source: its silhouette, shape, proportions, rim and opening, glossy glaze texture and reflections, blue color, position, scale, framing, and camera angle. Preserve the upper-left lighting and a natural soft shadow falling to the right on the sage-green surface. Maintain the square composition and photorealistic product photography. Do not redesign or replace the vase. No plants, no extra objects, no logo, no text.
Two actual Codex CLI runs: text-to-image, then editing that output with an attached source image. Agent outputs are reproduced verbatim. The image model ID was not reported. Images are hosted on R2 and shown in the detailed description. No API script or separate API key was used.
依描述生成新圖,或對指定原圖進行定向修改。Skill 會整理提示詞、確認保留細節、呼叫內建圖片工具、檢查結果並另存新檔。
需要已登入且具備內建出圖功能的 Codex CLI,權限與額度依客戶端及帳號而定。Skill 無法替缺少圖片工具的客戶端增加出圖能力。無需安裝 OpenAI CLI、呼叫 API 腳本或另設 API Key。
使用方式
codex 'Use $codex-image-studio to generate a blue ceramic vase on an off-white studio background.'
codex --image ./vase-original.png 'Use $codex-image-studio to change only the background to pale sage green. Preserve the vase and save a new file.'
Codex CLI 真實演示
實測環境:Codex CLI 0.166.0,編排模型 gpt-6.1-sol。工具未回傳圖片模型識別碼,未作猜測。下方均為真實圖片,獨立存放於 R2,不放進 Skill 壓縮包。
1. 文生圖
Generate one square photorealistic studio product photograph of a small cobalt-blue ceramic vase. The vase has a rounded pear-shaped body, a narrow short neck, glossy glaze, no handle, no decoration, no logo and no text. Show the whole vase centered on a warm off-white seamless surface and background, with generous space around it. Straight-on camera. Diffused light from the upper left creates realistic glossy highlights and a soft shadow to the right. No other objects, no watermark.

2. 圖生圖:更換背景
Edit the supplied source photograph (edit target: vase-original.png). Replace ONLY the off-white studio background and tabletop with a pale sage-green seamless studio background and surface. Preserve the SAME cobalt-blue ceramic vase exactly as in the source: its silhouette, shape, proportions, rim and opening, glossy glaze texture and reflections, blue color, position, scale, framing, and camera angle. Preserve the upper-left lighting and a natural soft shadow falling to the right on the sage-green surface. Maintain the square composition and photorealistic product photography. Do not redesign or replace the vase. No plants, no extra objects, no logo, no text.

第一張由文字生成,第二張直接以第一張作為輸入編輯。淺綠色背景已完成,花瓶輪廓與構圖大致保留;釉面紋理稍粗、陰影較深,因此不保證像素級不變。
中風險:使用已登入的 Codex 圖片服務,傳送選定的提示詞與參考圖進行生成或編輯,並寫入新圖片檔案。受帳號權限與使用額度限制。不含可執行腳本,無需另設 API Key;指令要求保留原圖。已實際完成一次文生圖及一次圖生圖;人物一致性、文字渲染及其他客戶端版本未測試。