首頁 / Skills / 品牌與行銷 / Codex 圖片創作室
品牌與行銷

Codex 圖片創作室

skillpeek原創Skill 語言: 英文
授權已核對不含腳本依賴外部服務
演示真實執行紀錄 · gpt-6.1-sol · 2026年10月
Use $codex-image-studio from this workspace to make a real text-to-image demo. Generate one photorealistic square studio product photograph of a small cobalt-blue ceramic vase: rounded pear-shaped body, narrow short neck, glossy glaze, no handle, no decoration, no logo or text. Whole vase centered on a warm off-white seamless surface, soft shadow to the right, diffused light from upper left, straight-on camera and space around the vase. Use only the built-in image generation tool, no API scripts, no API key, no SVG or code-drawn substitutes. Save a copy of the actual returned image as output/imagegen/vase-original.png in this workspace and inspect it. If the built-in tool is unavailable, report that honestly and stop. At the end provide the actual output path and submitted prompt, and do not invent an image model ID.
Codex CLI 0.166.0 — codex-image-studio Skill read from the isolated workspace; built-in image generation enabled.

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.

Use $codex-image-studio for a real image-to-image edit of the attached image and local file output/imagegen/vase-original.png. Inspect it first. Replace ONLY the off-white studio background and tabletop with a pale sage-green seamless studio background and surface. Keep the SAME cobalt-blue ceramic vase: preserve its shape, proportions, glossy glaze, blue color, position, framing, camera angle, and upper-left lighting, with a natural soft shadow to the right. No plants, no extra objects, no logo, no text. Use the built-in image generation/edit tool with the actual source image as its reference; do not generate an unrelated new vase or use API scripts, API keys, or programmatic recoloring. Save a copy as output/imagegen/vase-sage-edited.png and inspect it. Preserve the original file. At the end report the exact prompt, output path, and any visible drift; do not guess the image model ID.

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;指令要求保留原圖。已實際完成一次文生圖及一次圖生圖;人物一致性、文字渲染及其他客戶端版本未測試。

SKILL.md 原文套件內共 4 個檔案