openai/gpt-image-1/edit

OpenAI's gpt-image-1 enables image generation and image editing via OpenAI's image API, ideal for creating and refining images. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

IMAGE-TO-IMAGEHOTNEW
圖生圖

OpenAI's gpt-image-1 enables image generation and image editing via OpenAI's image API, ideal for creating and refining images. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

輸入

正在載入參數設定...

輸出

閒置
生成的圖片將在這裡顯示
設定參數後點擊執行開始生成

每次執行將花費 0.011。$10 可執行約 909 次。

你可以繼續:

參數

Queue

整合

輸入 Schema

以下參數可在請求主體中使用。

總計: 0必填: 0選填: 0

無可用參數。

範例請求主體

json
{
  "model": "openai/gpt-image-1/edit"
}

請登入以檢視請求歷史

您需要登入才能存取模型請求歷史記錄。

登入

OpenAI GPT-Image-1-Edit

Edit and transform images with natural language using OpenAI's GPT-Image-1-Edit. This versatile model understands your instructions to apply style changes, modifications, and creative transformations — with optional mask support for precise regional editing and multiple quality tiers to match your needs and budget.

Why It Looks Great

  • Natural language editing: Describe transformations in plain text — style changes, modifications, enhancements.
  • Mask support: Use mask images for precise control over which areas to edit.
  • Quality tiers: Choose from low, medium, or high quality based on your needs.
  • Multiple sizes: Output in square (1024x1024) or rectangular (1024x1536, 1536x1024) formats.
  • Style transformation: Excels at converting images to different artistic styles.
  • OpenAI quality: Powered by advanced vision-language understanding.

Parameters

ParameterRequiredDescription
promptYesText instruction describing the edit or transformation you want.
imageYesSource image to edit (upload or public URL).
qualityNoOutput quality: low, medium, or high. Default: medium.
mask_imageNoOptional mask to specify edit regions (upload or URL).
sizeNoOutput dimensions: 1024x1024, 1024x1536, or 1536x1024.
enable_sync_modeNoAPI only: Waits for result and returns it directly.
enable_base64_outputNoAPI only: Returns base64 string instead of URL.

How to Use

  1. Write your edit instruction — describe the transformation you want (e.g. "Become a comic style").
  2. Upload your image — drag and drop or paste a public URL.
  3. Choose quality — select low, medium, or high based on your needs.
  4. Add mask (optional) — upload a mask image to limit edits to specific areas.
  5. Select size — choose your desired output dimensions.
  6. Run — click the button to apply the edit.
  7. Download — preview and save your transformed image.

Quick Reference

Quality1024x10241024x1536 / 1536x1024
Low$0.011$0.016
Medium$0.042$0.063
High$0.167$0.250

Best Use Cases

  • Style Transfer — Convert photos to comic, cartoon, painting, or other artistic styles.
  • Creative Transformation — Reimagine images with different aesthetics or themes.
  • Regional Editing — Use masks to edit specific areas while preserving the rest.
  • Content Enhancement — Improve or modify specific aspects of images.
  • Artistic Interpretation — Transform photos into various art forms.

Example Prompts

"Become a comic style"
"Transform into a watercolor painting"
"Make it look like a vintage photograph from the 1950s"
"Convert to anime style illustration"
"Apply a cyberpunk neon aesthetic"
"Turn into a pencil sketch"

Quality Guide

QualityBest ForTrade-off
LowQuick previews, testing concepts, high-volume processingFastest, most affordable, lower detail
MediumGeneral use, social media, balanced needsGood quality/cost balance
HighProfessional work, final deliverables, maximum detailHighest quality, premium price

Pro Tips for Best Results

  • Start with medium quality to test your prompt, then upgrade to high for final output.
  • Use masks when you want to preserve specific areas untouched.
  • Be specific about the target style — "comic style", "oil painting", "anime".
  • For style transfers, simpler source images often produce cleaner results.
  • Rectangular sizes work well for portraits (1024x1536) or landscapes (1536x1024).
  • The model interprets style instructions creatively — embrace the artistic interpretation.

Notes

  • If using URLs for images or masks, ensure they are publicly accessible.
  • The enable_sync_mode and enable_base64_output options are only available through the API.
  • Mask images should be black and white, where white indicates areas to edit.
  • Processing time varies by quality level — higher quality takes longer.

300+ 模型,即刻開啟,

探索全部模型