NEW YEAR SALE: Get 15% Extra Credits, up to $150.Top Up Now!
Home/Explore/Image Editing/openai/gpt-image-1
image-to-image

image-to-image

OpenAI GPT Image 1

openai/gpt-image-1

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.

Hint: You can drag and drop a file or click to upload

preview

Hint: You can drag and drop a file or click to upload

If set to true, the function will wait for the result to be generated and uploaded before returning the response. It allows you to get the result directly in the response. This property is only available through the API.
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.

Idle

Become a comic style.

Your request will cost $0.042 per run.

For $1 you can run this model approximately 23 times.

One more thing::

ExamplesView all

Become a comic style.
Converted to comic style.
Change the black sweater to a white sweater.
Remove the background.
Change the tiger's fur color to orange.
remove the moon.
Change the background to grass.
Change the background to a starry sky.
Add the same pillow as on the left.
The image becomes a watercolor style.
Change hair color to red.

README

OpenAI GPT-Image-1

Edit and transform images with natural language using OpenAI's GPT-Image-1. 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: Excel 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.

Pricing

Pricing varies by quality level and output size.

Square Output (1024x1024)

QualityCost
Low$0.011
Medium$0.042
High$0.167

Rectangular Output (1024x1536 or 1536x1024)

QualityCost
Low$0.016
Medium$0.063
High$0.250

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.