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

集成

Input 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+ 模型,即刻开启,

探索全部模型