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.
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.
Votre requête coûtera 0.011 par exécution. Avec $10, vous pouvez exécuter ce modèle environ 909 fois.
Vous pouvez continuer avec :
Les paramètres suivants sont acceptés dans le corps de la requête.
Aucun paramètre disponible.
{
"model": "openai/gpt-image-1/edit"
}Vous devez vous connecter pour accéder à l'historique de vos requêtes de modèle.
Se ConnecterEdit 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.
low, medium, or high quality based on your needs.1024x1024) or rectangular (1024x1536, 1536x1024) formats.| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Text instruction describing the edit or transformation you want. |
image | Yes | Source image to edit (upload or public URL). |
quality | No | Output quality: low, medium, or high. Default: medium. |
mask_image | No | Optional mask to specify edit regions (upload or URL). |
size | No | Output dimensions: 1024x1024, 1024x1536, or 1536x1024. |
enable_sync_mode | No | API only: Waits for result and returns it directly. |
enable_base64_output | No | API only: Returns base64 string instead of URL. |
"Become a comic style").low, medium, or high based on your needs.| Quality | 1024x1024 | 1024x1536 / 1536x1024 |
|---|---|---|
| Low | $0.011 | $0.016 |
| Medium | $0.042 | $0.063 |
| High | $0.167 | $0.250 |
"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 | Best For | Trade-off |
|---|---|---|
| Low | Quick previews, testing concepts, high-volume processing | Fastest, most affordable, lower detail |
| Medium | General use, social media, balanced needs | Good quality/cost balance |
| High | Professional work, final deliverables, maximum detail | Highest quality, premium price |
medium quality to test your prompt, then upgrade to high for final output."comic style", "oil painting", "anime".1024x1536) or landscapes (1536x1024).enable_sync_mode and enable_base64_output options are only available through the API.